Skip to content

Releases: overextended/oxmysql

v2.7.6

15 Nov 14:46
Compare
Choose a tag to compare

Bug Fixes

Code Refactoring

  • database: move pool and connection variables (Linden)

v2.7.5

13 Sep 06:42
Compare
Choose a tag to compare

Bug Fixes

  • update: leftover console.log (Linden)
  • rename printError function (Linden)
  • lib/lua: show stacktrace when safeArgs throws error (Linden)
  • db/rawExecute: don't unpack responses for rawExecute (Linden)
  • utils/parseTransaction: parse arguments for query array (Linden)
  • ci: remove Lua definitions (Linden)
  • ci: update lib path (Linden)

Code Refactoring

  • lib: remove Lua type definitions (Linden)

Chores

v2.7.4

08 Aug 18:36
Compare
Choose a tag to compare

Bug Fixes

  • database/rawTransaction: don't error on transaction failure (Linden)

Chores

v2.7.3

28 Jul 07:50
Compare
Choose a tag to compare

Bug Fixes

  • config: don't set connection info with falsey key (Linden)
  • config: respect connection-string flags (Linden)
  • logger: check player ace when fetching resource data (Linden)
  • database: handle profiles for >100 statements in batch queries (Linden)
  • config: export convertNamedPlaceholders (Linden)
  • utils/parseTransaction: properly handle arrays of queries (Linden)

Code Refactoring

  • database: use mysql2/promise (Linden)
  • database: query profiling (Linden)
  • minor tweaks and cleanup (Linden)
  • update: improve version checking (Linden)
  • web: increase query time precision (Linden)
  • database/rawTransaction: per-query profiling (Linden)
  • database/rawExecute: split batched query logs (Linden)
  • logger: add profileBatchStatements (Linden)
  • logger: only enable profiling with debugging (Linden)
  • database: output db version in connection message (Linden)
  • logger: output db version in debug/warning logs (Linden)
  • database: general code review/cleanup (Linden)
  • type improvements (Linden)
  • logger: more consistent error output (Linden)
  • utils: setCallback (Linden)
  • database: use setCallback (Linden)
  • improve error handling (Linden)

Chores

v2.7.2

06 Jul 02:57
Compare
Choose a tag to compare

Bug Fixes

  • utils/parseExecute: only set undefined parameters to null (Linden)

Code Refactoring

  • utils/parseExecute: allow other methods through prepare calls (Linden)

v2.7.1

20 Jun 22:03
Compare
Choose a tag to compare

Bug Fixes

  • lib/lua: missing rawExecute.await (Linden)

v2.7.0

17 Jun 19:07
Compare
Choose a tag to compare

Features

  • rawExecute: "prepare" alternative without unpacking (Linden)
  • isReady and awaitConnection exports (Linden)

Bug Fixes

  • don't throw errors outside of promises (Linden)

Code Refactoring

  • lib/lua: reorganise and rewrite function factory (Linden)
  • db: rename serverReady variable (Linden)

Chores

v2.6.0

31 Mar 17:30
Compare
Choose a tag to compare

Features

  • web: ability to search resources #172 (Luke)
  • web: resource specific query data on the resource page #173 (Luke)

Code Refactoring

  • web: initial svelte rewrite files #172 (Luke)
  • web: change routing libraries and app design #172 (Luke)
  • web: use dark colours instead of slate #172 (Luke)
  • web: scroll resources container #172 (Luke)
  • web: use nui data #172 (Luke)
  • web: store for general data #172 (Luke)
  • web: move search into header and add icons #172 (Luke)
  • web: use border for focus instead of outline #172 (Luke)
  • web: move search component under root page dir #172 (Luke)
  • web: initial resource page layout #172 (Luke)
  • web: separate resource page into components #172 (Luke)
  • web: improve resource page layout #173 (Luke)
  • web: wip pagination #173 (Luke)
  • web: visibility handling #173 (Luke)
  • web: use proper execution time accessor for styling #173 (Luke)
  • web: disable nui focus when exiting ui #173 (Luke)
  • web: conditional colors for slow rows #173 (Luke)
  • web: set fixed widths for columns #173 (Luke)
  • web: clear queries on page leave #173 (Luke)
  • web: manual sorting #173 (Luke)
  • web: fetch query data on page change #173 (Luke)
  • web: debounce pagination to avoid callback spam #173 (Luke)
  • web: query tooltip #173 (Luke)
  • web: set row length and truncate text, again #173 (Luke)
  • web: import icon components directly #173 (Luke)
  • web: resource query charts #173 (Luke)
  • web: pie chart size changes #173 (Luke)
  • web: round digits to 2 decimals #173 (Luke)

Chores

  • update dependencies & patches (Linden)
  • lib: typos (Linden)
  • update dependencies (Linden)
  • patch mysql2 (Linden)
  • web: remove build files #172 (Luke)
  • web: remove svelte router package from root package.json #173 (Luke)

Commits

  • 571691c: Update README.md (Linden)

v2.5.4

17 Nov 22:01
Compare
Choose a tag to compare

See commit description for rant about people failing to correctly utilise the most basic function on FiveM.

Bug Fixes

  • database: throw Error before creating promise (Linden)

v2.5.3

14 Nov 01:42
Compare
Choose a tag to compare

Further development on this resource is being halted. Actually writing code or contributing to FiveM is frowned upon by the masses and deterministic-bubble himself. I have no obligation to improve or update it, and likely won't unless absolutely "necessary".

If you want to benefit from fixes and improvements made to the mysql driver, you'll need to update dependencies, patch them, and build the resource yourself.


Bug Fixes

  • execute: handle nil values in nested arrays (Linden)
  • utils/parseExecute: incorrect parameter reassignment (Linden)
  • database/rawExecute: append extra null values (Linden)
  • config: update mysql_debug when using oxmysql_debug command (Linden)

Code Refactoring

  • src/config: poll convars (Linden)
  • database: waitForConnection (Linden)