Skip to content

Releases: overextended/ox_lib

v2.16.0

19 Nov 11:17
Compare
Choose a tag to compare

Features

  • web/context: disabled buttons (Luke)
  • resource/cache: cache.weapon (#151) #151 (BerkieBb)
  • zones: add basic zone support to the server (Linden)

Bug Fixes

  • client/zones: convert vector4 to vector3 (Linden)
  • web/menu: fix button tooltip not displaying on side scroll button (Luke)
  • web/skillcheck: fix not being able to hit skill check with capslock (Luke)
  • web/input: ensure number type input is max length (Luke)
  • web/input: ensure select rerender between dialogs (Luke)

Code Refactoring

  • web/context: cache context option into a variable (Luke)

Chores

v2.15.1

02 Nov 18:22
Compare
Choose a tag to compare

Bug Fixes

  • web/menu: show values description without requiring button desc (Luke)

v2.15.0

29 Oct 20:56
Compare
Choose a tag to compare

Features

  • interface/dialog: disabled row property (#142) #142 (davidxd33)
  • web/menu: add description support on list items (Luke)
  • web/input: description tooltip on fields (Luke)
  • interface/menu: checkbox #146 (BerkieBb)

Bug Fixes

  • logger/loki: Fix error when passing invalid/nil tags (#139) #139 (Ehbw2)
  • web/input: remove unused isReadOnly property (Luke)
  • client/cache: GetVehiclePedIsIn (Linden)
  • web: set color-scheme to normal (Luke)
  • web/menu: move firstRengerRef check earlier in the function (#145) #145 (Jag)
  • web/menu: fix vertical icon alignment (Luke)

Code Refactoring

  • web/input: move field components into fields folder (Luke)
  • resource: export load error (Linden)
  • init: report ox_lib error when loading imports (Linden)
  • web/menu: update checkbox styling #146 (Luke)

Performance Improvements

  • web/menu: memoize button and header components (Luke)

Chores

  • web: move skill check into dev draw tools (Luke)
  • web: update react and chakra versions (Luke)

Commits

  • 9cc7b92: refactor(web/menu)!: pass scrollIndex or checked in the same value (Luke) #146

v2.14.2

25 Oct 10:33
Compare
Choose a tag to compare

Bug Fixes

  • callback: multi-return values for callback method (Linden)

Code Refactoring

  • addKeybind: move RegisterCommand to top (Linden)
  • addCommand: send raw input to callback (Linden)

v2.14.1

20 Oct 11:59
Compare
Choose a tag to compare

Bug Fixes

  • callback: bad argument to unpack when callback throws error (Linden)
  • web/skillcheck: use proper skill check calculations (Luke)

v2.14.0

19 Oct 07:28
Compare
Choose a tag to compare

Features

  • interface/context: context menu onBack function (#122) #122 (Sam Shanks)
  • imports: add keybinds manager (#124) #124 (Dominic)
  • client/textui: open state getter for textUI (#126) #126 (BerkieBb)
  • web: skillcheck minigame #129 (Luke)
  • client/skillcheck: winning/losing promise resolving #129 (Luke)
  • web/skillcheck: add support for custom game difficulty #129 (Luke)
  • client/skillcheck: skillcheck array chaining #129 (Luke)
  • package: skillcheck typings #129 (Luke)

Bug Fixes

Styles

  • web/skillcheck: update appearance #129 (Luke)

Code Refactoring

  • keybinds: formatting and tweaks (Linden)
  • keybinds: rename module, tweaks (#127) #127 (Dominic)
  • addKeybind: consistency with defaultKey (#128) #128 (Dominic)
  • addKeybind: improve types (Linden)
  • locale: simplify (Linden)
  • web/skillcheck: move visibility into it's own state #129 (Luke)
  • skillcheck: move array handling into ui #129 (Luke)
  • web/skillcheck: remove unused code and comments #129 (Luke)

Chores

Commits

  • web/skillcheck: adjust game difficulty #129 (Luke)

v2.13.0

10 Oct 13:41
Compare
Choose a tag to compare

Features

Bug Fixes

  • web/dialog: set slider value to min if default is not defined (Luke)
  • callback: pack nil values (Linden)
  • no-op (Linden)

Code Refactoring

  • server/logger: batch log submissions (Linden)
  • logger/server: cleanup (Linden)

Commits

v2.12.0

04 Oct 12:42
Compare
Choose a tag to compare

Features

  • client/zones: debug walls (DokaDoka)
  • web/menu/list: keyPressed on closeMenu #105 (BerkieBb)
  • package/interface/menu: onClose keyPressed #105 (BerkieBb)
  • interface/menu: onClose keyPressed #105 (BerkieBb)
  • locales: add Traditional Chinese #106 (JinFa)
  • client/interface: close functions for input and alert dialogs (Luke)

Bug Fixes

  • client/zoneCreator: box zone length and width (DokaDoka)
  • client/zones: expand vectors (DokaDoka)
  • client/vehicleProperties: livery getter (Linden)
  • interface/menu: getOpenMenu() returns id rather than entire menu (DokaDoka)
  • version: split and compare semver in 3 parts (Linden)
  • web/features/menu/list: force close menu when using the nui event #111 (BerkieBb)
  • resource/interface/client/menu: add close missing field to MenuOptions (#112) #112 (BerkieBb)
  • client/zoneCreator: rotation output (DokaDoka)
  • resource/zoneCreator: floating point error mitigation (DokaDoka)
  • types (Linden)

Commits

  • client/points: set point.isClosest (Linden)

v2.11.1

18 Sep 12:56
Compare
Choose a tag to compare

Bug Fixes

  • imports/player: return function (Linden)
  • package/cache: check if cached value is defined (Linden)

Code Refactoring

v2.11.0

18 Sep 10:38
Compare
Choose a tag to compare

Features

  • web: ability to not be able to close the context menu (Luke)
  • web: add ability to not be able to close menu (Luke)
  • web/context: allow hiding arrow by setting it to false (Luke)
  • web/input: allow defining icon for number row field (Luke)
  • client/zones: set cache.coords (Linden)
  • client/points: set cache.coords (Linden)
  • resource: zone creator (DokaDoka)
  • resource: load callbacks (Linden)
  • server/acl: add ox_lib:checkPlayerAce as callback (Linden)
  • client/resource: RegisterCommand wrapper (Linden)
  • package: interface definitions #97 (Luke)
  • resource/zoneCreator: change output format in dialog (DokaDoka)
  • resource/zoneCreator: target output format (DokaDoka)
  • client/zoneCreator: command suggestion (DokaDoka)
  • package: acl wrapper #97 (Luke)
  • package: locale wrapper #97 (Luke)
  • package: streaming wrapper #97 (Luke)
  • package: vehicle properties wrapper #97 (Luke)
  • web: version wreapper #97 (Luke)
  • client/zoneCreator: display modes (DokaDoka)
  • package: add citizen typings #97 (Luke)
  • package: cache #97 (Linden)
  • menu: Open Menu with specified item index selected #99 (Jag)

Bug Fixes

  • client/interface: fix openMenu getting defined nil (#86) #86 (Tony Stark)
  • web/menu: fix misalignment on the list buttons in the menu (Luke)
  • client/zones: zone triggers twice when inside and debug is enabled (Linden)
  • client/zones: scuffed ternary (Linden)
  • client/zones: CZone.contains return type (Linden)
  • package: remember to actually save the file #97 (Luke)
  • client/zoneCreator: prevent canceling from opening pause menu (DokaDoka)
  • client/zoneCreator: no more wild rhombus (DokaDoka)
  • package: include tsconfig files in server and shared #97 (Luke)
  • package: fix incorrect typings for context menu #97 (Luke)
  • client/zones: yet another debug fix (Linden)
  • package: include position in progress circle interface #97 (Luke)
  • package: set notification types as optional #97 (Luke)
  • package: getVehicleProperties param #97 (Linden)
  • package: use generics to define return type #97 (Luke)
  • package: checkDependency type #97 (Linden)

Code Refactoring

  • client/zoneCreator: restrict command access (Linden)
  • imports: assign modules directly to lib namespace (Linden)
  • init: type-fixes and minor adjustments (Linden)
  • client/zones: add types and change indentation (Linden)
  • client/zoneCreator: create temporary thread (Linden)
  • server/zoneCreator: output format and path, security fix (Linden)
  • imports: more type fixes (Linden)
  • package: import shared and declare cache in server/client #97 (Linden)
  • resource/interface: formatting and type definitions (Linden)
  • resource/vehicleProperties: typings and formatting (Linden)
  • resource/vehicleProperties: type fixes (Linden)

Performance Improvements

  • client/zones: reduce overhead (Linden)
  • client/points: apply optimisations used in zones (Linden)

Continuous Integration

  • release: publish new npm package version on release #97 (Luke)
  • release: fix incorrect path name (Luke)

Chores

Commits

  • client/zoneCreator: activate controls when starting creator (DokaDoka)