Commit Graph
55 Commits
Author SHA1 Message Date
Linden 8fe63bc88a chore: update dependencies and patch 2022-09-21 13:57:55 +10:00
Linden 31212e0198 refactor(lib/ts): improve typing and methods 2022-07-12 00:47:06 +10:00
Luke 91985638e2 feat: oxmysql exports wrapper as node package
https://www.npmjs.com/package/@overextended/oxmysql
2022-07-10 17:14:16 +02:00
Linden 2e751a3537 chore: version bump 2022-05-16 04:46:26 +10:00
Linden 7752b7fc12 chore: update packages 2022-05-12 08:48:18 +10:00
Luke dadc7ff15f feat: Lerna
Links root and ui packages together, running `pnpm i` in the root folder will also install deps in the ui folder, same with the build script.
2022-05-02 21:03:35 +02:00
Linden fda3cab3b5 chore: version bump 2022-04-30 04:14:28 +10:00
Linden 050eef58b9 fix(execute): revert to promise api
Several reports of increased chances to hit a deadlock since v2.2.2, and
three reports of a timeout during prepare since v2.2.4.
Simpler to revert to the old prepare function and api (with improvements)
than to work out the solution.

Look into rewriting prepare in the future or including the mariadb connector,
which doesn't suffer from the same perf issues.
2022-04-03 06:10:13 +11:00
Linden fa1cdcc668 fix(execute): incorrect response parsing
Fixes several regressions and issues from ef0dfaa.
Sending a single parameter would set 'single' to true, ignoring multiple
results from the database and returning 'null'.
SELECT should not trigger transactions, not the other way around.
Results should not be parsed when no callback is defined.
2022-04-03 03:52:07 +11:00
Linden 9511af734b chore: update version 2022-04-03 01:27:51 +11:00
Linden c9e402ccdc fix(query): less verbose errors 2022-04-02 01:37:56 +11:00
Linden d34bbc45f5 fix(execute): properly await all query responses 2022-03-26 00:58:27 +11:00
Linden 920252f138 chore: update packages 2022-03-25 19:13:25 +11:00
Linden d45e98f38e chore: update version and workflows 2022-03-25 19:01:06 +11:00
Linden 7b4ae91dbe chore: remove annoying commit lint and husky 2022-03-07 15:10:22 +11:00
Linden 98b4f108e8 chore: update dependencies and commit lint 2022-03-03 00:04:27 +11:00
Linden 2d28c447ec fix(db/rawExecute): Parse multiple returned rows 2022-02-24 10:59:12 +11:00
Linden b2ca6b0c66 chore: Update version 2022-02-19 10:07:19 +11:00
Linden 0d64cb8cfe chore: Update version refs to 2.0.0 2022-02-19 03:55:12 +11:00
Luke a4b7f0d341 feat: Setup build scripts 2022-02-14 14:49:58 +01:00
Luke fff70785eb feat: Add husky 2022-01-10 23:01:58 +01:00
dunak-debug 3a1462e0c0 fix(execute): Parse parameters as intended 2022-01-04 16:10:27 +01:00
Luke b2b1a64c8f chore(nui): WIP React rewrite 2021-12-30 20:05:07 +01:00
dunak-debug f6b68037c2 feat(lib): Introduce wrapper for typescript 2021-12-27 23:17:22 +01:00
dunak-debug 4498dddbac WIP: Rewrite to TS & Cleanup 2021-12-26 02:21:46 +01:00
Linden 17c4916010 refactor: replace webpack with esbuild 2021-12-23 13:35:43 +11:00
Linden 3e266ec952 chore: update dependencies 2021-12-01 00:41:29 +11:00
Linden f3fc016f31 refactor(pool): new createConnection function
Remove the connection string parsing and send the URI directly, if it exists. For semicolon connection strings, check for and replace aliases.
2021-11-25 20:29:02 +11:00
Linden 9fc06c2132 refactor(versioncheck): remove module and perform check with Lua
Unnecessary dependency with functionality that can be easily handled via PerformHttpRequest.

Since the check references fxmanifest instead, we will no longer maintain the version in package.json.
2021-10-29 08:14:39 +11:00
Linden 4913d6e50a chore: Version bump 2021-10-24 02:15:10 +11:00
Linden f7ed2d5b60 chore: Bump version 2021-10-19 04:41:55 +11:00
Linden abf259543d chore: Update version and dependencies 2021-10-18 02:19:09 +11:00
Linden b1babdbc09 chore: Update version 2021-10-17 02:04:09 +11:00
Linden c1f5bb3375 chore: Version bump 2021-10-16 10:43:27 +11:00
Linden 3b55e890a8 fix: Display correct query execution time 2021-10-16 10:20:35 +11:00
Linden bacd9c171d chore: Point mysql2 dependency to fork
I'd like some control over incoming changes to fit our use-case, and patch-package doesn't quite fulfil our needs.
2021-10-16 10:20:35 +11:00
Linden 29d28197bb chore: Version bump dependencies 2021-10-16 10:20:35 +11:00
Linden 1266f4a7b6 chore: Update dependencies and version bump 2021-10-08 11:17:50 +11:00
dunak-debug 6acd0ac352 chore: Bump to 1.5.0 2021-10-06 23:52:38 +02:00
Linden 7e5d4cce06 chore: Version bump and set to production 2021-09-27 10:13:36 +10:00
darksaid98 634bbffd46 feat: version check on startup (#28) 2021-09-23 20:55:08 +02:00
dunak-debug 372a95632c refactor: Transaction tweaks and version bump 1.4.0 2021-09-20 17:32:58 +02:00
dunak-debug 5e89d62688 chore: Bump version to 1.3.5
- Removed unused ts-loader
2021-09-20 13:45:55 +02:00
dunak-debug 4b2b564591 chore: Bump version to 1.3.2 2021-09-18 12:45:37 +02:00
Linden 20f35143db Revert "v2.0.0"
This reverts commit 49a5087d70.
2021-09-17 01:00:20 +02:00
Linden 49a5087d70 v2.0.0 2021-09-17 01:09:04 +10:00
dunak-debug e09b3482ba chore: bump version to 1.2.0 2021-09-12 18:09:37 +02:00
dunak-debug 04e03e4fef fix: Type casting, removed old query format, dont prepare execute/insert
- fixed https://github.com/overextended/oxmysql/issues/6
- fixed https://github.com/overextended/oxmysql/issues/7
- fixed https://github.com/overextended/oxmysql/issues/8
- fixed https://github.com/overextended/oxmysql/issues/9
- closes https://github.com/overextended/oxmysql/issues/12
- support for modified named-placeholders package patch
2021-09-12 16:46:38 +02:00
dunak-debug 93d86f849a chore: bump version to 1.1.0 2021-09-11 03:40:23 +02:00
dunak-debug 6517951c83 feat: Parse URI-like connection string, support for slow query warning 2021-09-08 01:07:27 +02:00