Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Releases: overextended/oxmysql

v2.2.5

02 Apr 19:25
Compare
Choose a tag to compare

Reverts rawExecute (MySQL.prepare) to the promise API, rather than callbacks. This was a minor optimisation change that could halve the time it takes to complete a large transaction, but seemingly lead to increased chances of dead locks for some. Several people also reported timeouts as of v2.2.4.

This should be the last update for a while, assuming no more bugs are reported.

Bug Fixes

  • execute: revert to promise api (Linden)

Code Refactoring

  • update: add convar for mysql_versioncheck (Linden)

v2.2.4

02 Apr 17:30
Compare
Choose a tag to compare

Bug Fixes

  • execute: incorrect response parsing (Linden)

v2.2.3

02 Apr 08:55
Compare
Choose a tag to compare

Bug Fixes

  • utils/typeCast: typeerror (Linden)

v2.2.2

01 Apr 14:39
Compare
Choose a tag to compare

Bug Fixes

  • execute: incorrect execution time for multiple queries (Linden)
  • query: less verbose errors (Linden)

Code Refactoring

  • execute: don't use transactions for SELECT statements (Linden)
  • transaction: individual transaction logging (Linden)
  • execute: remove mysql2 promise api (Linden)
  • index: redundant code (Linden)

Performance Improvements

  • execute: ignore results if cb is undefined (Linden)

v2.2.1

25 Mar 14:00
Compare
Choose a tag to compare

Bug Fixes

  • execute: properly await all query responses (Linden)

v2.2.0

25 Mar 08:15
Compare
Choose a tag to compare

Features

  • logger/command: Warning message when mysql command is run from server (#97) #97 (Cuchi)
  • nui: Use pnpm instead of Yarn (Luke)

Bug Fixes

  • execute: handle nil parameters in prepared statements (Linden)

Code Refactoring

  • lib/MySQL: use coroutine instead of promise (Linden)
  • index: simpler creation of async exports (Linden)
  • database: response is always a callback now (Linden)
  • database: move from mysql2/promise to callback api (Linden)
  • execute: use transactions and parse values (Linden)

Chores

  • update version and workflows (Linden)
  • update packages (Linden)

Commits

  • b6f850d: Revert "refactor(lib/MySQL): use coroutine instead of promise" (Linden)

v2.1.1

07 Mar 04:15
Compare
Choose a tag to compare

Bug Fixes

  • db: move query responses to their own try block (Linden)

Chores

  • remove annoying commit lint and husky (Linden)

v2.1.0

03 Mar 08:52
Compare
Choose a tag to compare

Features

  • nui: copy query on left click (Luke)

Bug Fixes

Code Refactoring

  • index: cease resistance against 0 iq fivem community (Linden)

v2.0.4

02 Mar 13:06
Compare
Choose a tag to compare

Bug Fixes

  • db/rawTransaction: Await scheduleTick (Linden)
  • db: Define pool type (Linden)

Code Refactoring

  • utils/parseArguments: Reduce redundant assignments (Linden)

Chores

  • update dependencies and commit lint (Linden)

v2.0.3

28 Feb 05:03
Compare
Choose a tag to compare

Bug Fixes

  • update: Catch errors when fetching GitHub API (Linden)
  • utils/parseArguments: Missing type check (Linden)

Code Refactoring

  • utils/scheduleTick: Await database connection (Linden)
  • db: Delay connection until first tick (Linden)