Commit Graph
498 Commits
Author SHA1 Message Date
Linden 0691160aeb fix(database/connection): disable typecasting for execute method 2024-06-17 16:39:53 +10:00
Linden 0f385900b4 chore: update dependencies 2024-06-17 16:15:50 +10:00
Linden cea371c90c refactor(database/pool): warn if using multipleStatements 2024-06-17 16:01:03 +10:00
Linden 78be0238f5 fix(database/connection): return promise from commit method 2024-06-17 15:51:39 +10:00
Linden 35c6a9ee7f refactor(profiler): move from logger module 2024-06-17 15:50:33 +10:00
Linden c38f646bb9 refactor(database): add new connection class and misc tweaks
Use disposable symbol to ensure connection cleanup.
Improvements to internal types.
Code splitting and removal of redundant variables.
2024-06-17 15:33:39 +10:00
Linden 19d55a21ed fix(update): catch error on failed fetch
Resolves #225.
2024-06-17 12:53:57 +10:00
GitHub Actions 5440e03b5b v2.10.1 2024-05-09 02:05:34 +00:00
Linden b242c5af83 fix(ci/release): update node 2024-05-09 12:04:07 +10:00
Linden 364d317fac fix(ci/release): update pnpm 2024-05-09 12:02:19 +10:00
Linden a3284373d1 chore(dependencies): set target versions
Updating to a more recent version of mysql2 will introduce breaking
changes (execute typecasting). Look at updating again in the future..
2024-05-09 11:54:13 +10:00
Linden 4ab7bb7a10 refactor(db/connection): additional info for auth_gssapi_client error 2024-05-09 11:43:32 +10:00
Linden 68028f1f4e fix(update): incorrect regex patterns 2024-05-09 11:43:19 +10:00
GitHub Actions 40faa5eaf5 v2.10.0 2024-05-08 18:23:18 +00:00
Luke e7dc967eef fix(web): resolve dead font cdn link 2024-05-08 20:19:33 +02:00
Linden 691ee508d1 feat(utils/validateResultSet): add warning for oversized result sets
This behaviour is generally undesirable and may lead to
excessive memory use or crashes.
2024-03-19 13:07:04 +11:00
Luke 7b488f8ad2 feat: query search for debug ui 2024-03-07 12:26:41 +01:00
GitHub Actions 9b2b34ffa5 v2.9.1 2024-03-06 03:00:25 +00:00
Linden d17559ba39 refactor(db/startTransaction): include query and values in errors 2024-03-06 13:59:23 +11:00
Linden 20083c6831 refactor(db/startTransaction): add 30s timeout to transactions 2024-03-06 13:54:15 +11:00
Linden 6a014b51e2 refactor(db/startTransaction): remove execute from cb 2024-03-05 01:05:32 +11:00
Linden 46a7dabc1e fix(db): incorrect error handling when no callback is defined
Partly reverts some changes made for the experimental
transaction export.
2024-03-05 00:47:46 +11:00
GitHub Actions 8b8670e462 v2.9.0 2024-02-29 22:20:42 +00:00
Linden c32d7af4d9 ci(release): set repo ref to main 2024-03-01 09:19:52 +11:00
Linden 8a3b8465f2 ci(release): push updates to repo 2024-03-01 09:12:27 +11:00
Linden 0f5c044050 fix(logger): potential error on error handling 2024-03-01 09:07:32 +11:00
Linden 0ede55d66c Create FUNDING.yml 2024-02-11 16:11:44 +11:00
Linden 123a003332 refactor(db/startTransaction): use internal query functions
Some changes to function signature and callback.
Make null-returns commit changes rather than rollback.
2024-02-09 18:06:44 +11:00
Linden a876f92ead refactor(db/connection): set and get active connections 2024-02-09 18:04:16 +11:00
Linden 572c6ede88 feat(db): experimental transaction export
Don't use this if you don't understand it.
2024-02-09 13:14:57 +11:00
Linden 43e0df4a5b fix(logger): strip lua scheduler errors 2024-02-09 13:14:19 +11:00
Linden a020693a9f ci(release): update checkout action 2024-02-02 17:11:29 +11:00
Linden d5b5ae39be ci(release): correct commit message
🤞I'm bad at this.
2024-02-02 17:03:55 +11:00
Linden e4e4145c8f ci(release): update commit action
🤞
2024-02-02 17:01:31 +11:00
Linden 0a8b15a9b5 feat(logger): add logStorage size limit
Prevent excessive memory use when people use ui in production.
2024-02-02 16:50:07 +11:00
Linden f05d375c14 refactor: update esbuild and build process 2024-02-02 16:34:57 +11:00
Linden 779ecca76f feat: provide additional compatibility exports 2023-12-31 10:37:54 +11:00
Linden e31d84019e refactor(logger): non-debug query profiling
Use less precise query profiling (script based, rather than sql
server based). Re-enables slow query warning, and reduces
overhead when ui is enabled.
2023-12-27 23:52:47 +11:00
Linden d0683b7f30 refactor(logger): handle error event in error logger 2023-12-27 13:44:05 +11:00
Manifest Bumper af86041f51 chore: bump manifest version to v2.7.7 2023-12-04 23:30:22 +00:00
Linden 17841acc45 refactor(db): loop createConnectionPool until success 2023-11-28 12:01:55 +11:00
Linden 3fef918000 fix(db/connection): don't establish connection from getPoolConnection
Should prevent connection timeouts when queries are
called during server startup.
2023-11-28 12:01:55 +11:00
Linden 0f5f397814 refactor(db/connection): tweak waitForConnection logic 2023-11-28 12:01:55 +11:00
Manifest Bumper e4f8c98cc4 chore: bump manifest version to v2.7.6 2023-11-15 14:46:05 +00:00
George e7ae5a6f30 fix(config): json parsing (e.g. ssl) (#203) 2023-11-08 02:04:57 +11:00
Linden 0398abc501 refactor(database): move pool and connection variables
Mostly reorganising module.
Added getPoolConnection helper.
2023-09-15 14:36:31 +10:00
Linden b3f4a7aa6b fix(ci): update lib path 2023-09-13 16:41:59 +10:00
Linden 1553b119fa fix(ci): remove Lua definitions 2023-09-13 16:39:11 +10:00
Manifest Bumper 3e538edef4 chore: bump manifest version to v2.7.5 2023-09-13 06:30:07 +00:00
Linden 32c9beb7d8 fix(utils/parseTransaction): parse arguments for query array 2023-09-13 15:40:18 +10:00