Skip to content

Releases: overextended/ox_lib

v2.10.5

05 Sep 00:57
Compare
Choose a tag to compare

Features

  • interface/menu: improve error handling for invalid option override (Luke)

Bug Fixes

  • client/zones: debug erroneously triggers zone:inside (Linden)

v2.10.4

29 Aug 17:00
Compare
Choose a tag to compare

Features

  • web: developer drawer (Luke)
  • web: support min and max value for number input type (Luke)

Bug Fixes

  • notification: Notification id now works as documentation states (#78) #78 (Jag)
  • web: move input dialog enter handler (Luke)
  • client/zones: convert tables to vectors (Linden)

Code Refactoring

  • web: prettier format for input dialog (Luke)

Chores

  • web: fix incorrect notification props spelling (Luke)
  • web: add prettier and format (Luke)

v2.10.3

25 Aug 14:36
Compare
Choose a tag to compare

Commits

  • callback: error handling (Linden)

v2.10.2

23 Aug 09:31
Compare
Choose a tag to compare

Bug Fixes

  • client/interface: set openMenu to nil before triggering callbacks (Linden)
  • version: properly compare minor/patch semver (Linden)

v2.10.1

22 Aug 18:52
Compare
Choose a tag to compare

Features

Bug Fixes

  • client/interface: progressbar props not deleted (Linden)

v2.10.0

22 Aug 10:57
Compare
Choose a tag to compare

Features

  • locales: Make all language names localised (#65) #65 (ANTOND)
  • web/dialog: add slider input type (#69) #69 (ANTOND)
  • client/progress: add interrupt options (#70) #70 (Jag)
  • imports: getClosestVehicle and getNearbyVehicles (#71) #71 (Jag)
  • web: onSelect function for options (Luke)

Bug Fixes

  • web/dialog: setting non-selectable placeholder (#67) #67 (ANTOND)
  • zones/client: do not overwrite zone.distance with contains (Linden)
  • zones/client: debug DrawPoly and DrawLine (Linden)
  • web: clear nui focus from input before resolving the promise (Luke)
  • client/interface: cache input promise (Luke)
  • client/interface: cache alert promise (Luke)
  • client/vehicleProperties: store neons as an array (Linden)
  • version: compare semver numbers (Linden)

Code Refactoring

  • callback: types (Linden)
  • interface/menu: set openMenu to reference menu data, not id (Linden)
  • web/dialog: split interfaces (#68) #68 (ANTOND)

Chores

  • manifest: update version (Luke)

Commits

  • interface/menu: SetNuiFocusKeepInput (Linden)
  • 274f254: Update README.md (Linden)
  • 8c8da4b: refactor(raycast/client)!: use new native (GetWorldCoordFromScreenCoord) (Linden)
  • 8defbaf: Revert "chore(manifest): update version" (Luke)

v2.9.0

06 Aug 19:14
Compare
Choose a tag to compare

List menu

New menu type added to the library, navigated by keyboard.

image

You can read the documentation on how to use it and it's features here:
https://overextended.github.io/docs/ox_lib/Interface/Client/menu/

Features

  • imports: raycast module (Linden)
  • imports: getClosestPlayer (Linden)
  • imports: loadAnimDict (Linden)
  • locales: Update czech and slovak translation (#64) #64 (ANTOND)
  • web/menu: initial list menu design #60 (Luke)
  • web/menu: menu list focus trapping #60 (Luke)
  • web/menu: array side scrolling #60 (Luke)
  • web/menu: list menu icon support #60 (Luke)
  • web/menu: add current and max option count into the list button #60 (Luke)
  • web/menu: fetchnui on item change #60 (Luke)
  • web/menu: confirm on enter callback #60 (Luke)
  • web/menu: initial list menu Lua api #60 (Luke)
  • web/menu: enter callback function #60 (Luke)
  • web/menu: visibility handling #60 (Luke)
  • web/menu: exit listener and onClose function #60 (Luke)
  • web/menu: tooltip description support #60 (Luke)
  • web/menu: include backspace in close keys #60 (Luke)
  • web/menu: reset indexes on next last item #60 (Luke)
  • web/menu: display arrow when menu is scrollable #60 (Luke)
  • web/menu: send args in callback function #60 (Luke)
  • client/interface: list menu error catching #60 (Luke)
  • client/interface: allow separately setting list menu options #60 (Luke)
  • web/menu: allow passing default index for horizontal lists #60 (Luke)
  • client/interface: allow replacing specific index in menu options #60 (Luke)
  • client/interface: menu close arg on button #60 (Luke)
  • menu: lib.hideMenu #60 (Luke)
  • imports: getNearbyPlayers (Linden)
  • web/input: support default values (#66) #66 (ANTOND)

Bug Fixes

  • client/streaming: timeout (Linden)
  • client/streaming: invalid print argument (Linden)
  • locales: update Estonian translation (#63) #63 (Dolbajoba)
  • web/menu: focus on first menu item on load #60 (Luke)
  • web/menu: set pointer events to none on body div #60 (Luke)
  • web/menu: debounce menu item selected callback #60 (Luke)
  • web/menu: fix not being able to press enter on first button index #60 (Luke)
  • web/menu: fix selected value focus getting stuck on another menu #60 (Luke)
  • web/menu: set selected index to 0 on menu open #60 (Luke)
  • web/menu: fix scrolling clipping menu items #60 (Luke)
  • web/menu: don't render no label buttons #60 (Luke)
  • web/menu: use same font for tooltip #60 (Luke)
  • client/interface: allow reregistering list menus #60 (Luke)
  • client/interface: fix indexing registered menu options with table #60 (Luke)
  • client/interface: changeSelected args #60 (Linden)
  • web/menu: offset default index #60 (Luke)
  • web/menu: fix border radius not applying when there is 6 options (Luke)

Styles

  • web/menu: change menu header font and weight #60 (Luke)

Code Refactoring

Read more

v2.8.0

28 Jul 17:10
Compare
Choose a tag to compare

Features

  • web/context: context menu exit button (Luke)

Bug Fixes

  • fxmanifest: oal-flag (Linden)
  • cache/client: change vehicle getter (Linden)

Code Refactoring

  • resource/cache: new cache event (Linden)
  • init: cache handling (Linden)
  • resource/cache: remove getVehicle method (Linden)

Chores

Commits

  • resource/version: currentVersion validation (Linden)

v2.7.0

12 Jul 17:37
Compare
Choose a tag to compare

Features

  • locales: Spanish locales (#54) #54 (Mgil10)
  • web/context: allow displaying icons in context menu items (Luke)
  • addCommand: Allow multiple groups (#57) #57 (Jag)

Bug Fixes

  • web/context: stretch back arrow to height of the title (Luke)
  • web/context: allow displaying image without any metadata defined (Luke)

Chores

  • manifest: bump version (Luke)

Commits

  • 770ae63: relicense to LGPLv3 (Linden)
  • vehicleProperties: allow local entities (Linden)

v2.6.0

03 Jul 21:34
Compare
Choose a tag to compare

Features

  • web/input: number input type (Luke)
  • web/input: submit on enter press (Luke)
  • vehicleProperties: extra settings (Linden)
  • web: vite (Luke)

Bug Fixes

  • locale: FR cancel (#49) #49 (Nfire)
  • locales: DE Cancel (#50) #50 (Cranksome)
  • locale: always assign a table to dict (Linden)
  • web/settings: run the close function when exiting with ESC (Luke)
  • locales: update Hungarian cancel button (#53) #53 (Zan)

Chores

  • manifest: bump version (Luke)

Commits

  • zones: store distance to zone center (Linden)
  • 0a1b465: Merge remote-tracking branch 'origin/master' (Luke)