Commit Graph
477 Commits
Author SHA1 Message Date
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
Luke e6a669b212 chore(web): bump pnpm 2023-09-11 23:22:33 +02:00
Linden fedc40c109 refactor(lib): remove Lua type definitions
Part of a separate repo.
2023-09-06 13:32:36 +10:00
Linden a065c1c545 fix(db/rawExecute): don't unpack responses for rawExecute
Oversight when implementing the rawExecute export. Technically breaking..
Return ResultSetHeader rather than just a number for affectedRows or insertId.
2023-09-06 13:29:04 +10:00
Linden 840d39493e fix(lib/lua): show stacktrace when safeArgs throws error 2023-09-06 13:04:06 +10:00
Linden 86aaf157fa fix: rename printError function
This apparently conflicts with and overrides a global used in cfx's JS runtime.
2023-09-06 12:31:22 +10:00
Linden 8daa2b7e63 fix(update): leftover console.log 2023-08-17 07:45:26 +10:00
Manifest Bumper d83cd5d5c4 chore: bump manifest version to v2.7.4 2023-08-08 18:36:47 +00:00
Linden 958e18d07f fix(database/rawTransaction): don't error on transaction failure
This was a compatibility-breaking change.
2023-08-08 18:14:34 +10:00
Linden 03e2a9dd8b chore: update readme 2023-07-29 19:52:41 +10:00
Manifest Bumper 2583933680 chore: bump manifest version to v2.7.3 2023-07-28 07:50:44 +00:00
Linden f59ca17200 chore(lib): update types 2023-07-28 17:49:15 +10:00
Linden 924fd6a3cf refactor: improve error handling 2023-07-28 17:21:13 +10:00
Linden f3e9aa52d9 refactor(database): use setCallback 2023-07-28 06:09:35 +10:00
Linden bcb703a11f refactor(utils): setCallback 2023-07-28 06:09:08 +10:00
Linden 68f0dc526a chore: upload .yarn.installed
yarn-be-gone. Until package.json updates at least.
2023-07-21 13:35:58 +10:00
Linden e07947d3b9 refactor(logger): more consistent error output 2023-07-20 16:10:51 +10:00
Linden 77251b3739 refactor: type improvements 2023-07-20 16:10:08 +10:00
Linden 4870c56045 refactor(database): general code review/cleanup 2023-07-19 23:57:20 +10:00
Linden fbc2542136 fix(utils/parseTransaction): properly handle arrays of queries 2023-07-19 20:16:23 +10:00
Linden c2f0dca0c2 refactor(logger): output db version in debug/warning logs 2023-07-19 19:52:21 +10:00
Linden 11b7433398 refactor(database): output db version in connection message 2023-07-19 19:52:02 +10:00