Skip to content

Releases: overextended/ox_lib

v3.1.0

01 Mar 17:31
Compare
Choose a tag to compare

Features

  • client/radial: add lib.disableRadial to prevent radial access (Linden)

Bug Fixes

Code Refactoring

  • client/interface: nui focus tweaks (Linden)

Chores

v3.0.1

26 Feb 22:12
Compare
Choose a tag to compare

Bug Fixes

  • web/dialog: delay fetch until promise is resolved (Linden)

Code Refactoring

  • client/radial: allow onSelect as string to call an export (Linden)
  • web/context: move inline styling to createStyles (Luke)

Continuous Integration

  • release: update pnpm version (Luke)

v3.0.0

25 Feb 16:06
Compare
Choose a tag to compare

Biggest changes for v3.0.0:

Breaking Changes

  • Removed getCore
  • Removed getPlayer
  • Changed addCommand syntax
  • Deprecated lib.defaultNotify, now calls lib.notify instead

New Features

  • Radial menu
  • Added ox:primaryColor and ox:primaryShade convars, which allow you to easily change the primary colour of the UI (progress bar/circle, skill check, input dialog, etc...)
  • Added support for input dialog fields to be required
  • New input dialog fields: color, date, date-range, time, multi-select, textarea
  • allowCancel input dialog option
  • New alert dialog options: size and overflow
  • Redesigned notifications, which include new notification positions: center-right and center-left
  • Added option to pass inputs to skill check, where a random one will be picked from the table
  • Added points system to the npm package
  • Probably more stuff that I forgot

Changelog

Breaking Changes

  • 4d15b38: feat(imports/addCommand)!: update syntax and support param help text (Linden)

Features

  • web/notifications: center left and center right positions #197 (Luke)
  • web/input: color input field #197 (Luke)
  • web/input: required fields #197 (Luke)
  • web/input: allow select to be cleared #197 (Luke)
  • web/input: select row icon #197 (Luke)
  • web/input: allowCancel option #197 (Luke)
  • web/input: date input #197 (Luke)
  • web/input: min and max date #197 (Luke)
  • web/input: date range picker #197 (Luke)
  • web/input: textarea row #197 (Luke)
  • web/input: multi-select row #197 (Luke)
  • web/menu: initial planet menu design #197 (Luke)
  • web: alert dialog and text ui github flavoured markdown support #197 (Luke)
  • web/input: time input field (#206) #206 (masonschafercodes)
  • web/alert: new options for alert dialog (#213) #213 (masonschafercodes)
  • imports: getNearbyObjects and getClosestObject #201 (Dolu)
  • web/progress: progress bar in context menu's metadata (#217) #217 (Marcel)
  • web/context: mouse enter and mouse leave events (#218) #218 (masonschafercodes)
  • web: primary colour and shade convars #197 (Luke)
  • web/skillcheck: random skill check key from inputs table #197 (Luke)
  • package: add radial menu exports #197 (Luke)
  • web/meu: support images as icons in context and list menu (#230) #230 (renzuzu)
  • package: points system (Luke)
  • web/radial: gap variable (DokaDoka)
  • imports/require: custom require for script files (Linden)
  • client/radial: radial menu history and radial id getter (Linden)
  • client/radial: refresh menu when current menu is removed (Linden)
  • client/radial: support refreshing menus (Linden)
  • client/radial: refresh menu when parent is re-registered (Linden)
  • web/radial: global menu pagination (Luke)
  • client/radial: return currentMenu and itemIndex onSelect (Linden)

Bug Fixes

  • locale/shared: phrase-construction for strings without placeholders (Linden)
  • imports: return coords getNearbyObjects and getNearbyVehicles #201 (Dolu)
  • client/progress: anim task/scenario check (Linden)
  • callback: return types (Linden)
  • web/notifications: add string as type to id #197 (Luke)
  • package: export radial file into index #197 (Luke)
  • client/radial: don't display radial menu when nui is focused #197 (Luke)
  • client/radial: handle submenu transition (Linden)
  • client/radial: hide radial before running onSelect (Luke)
  • client/radial: don't hide radial when opening submenu (Linden)
  • web/progress: nui callback on progress unmount (Luke)
  • client/radial: don't refresh radial menu when in sub menu (Luke)
  • imports/locale: prevent error from invalid locales (Linden)
  • web/radial: fix transition not showing for global radial menu (Luke)
  • client/radial: refresh when current submenu updates (Linden)
  • client/radial: refresh current submenu if path is still valid (Linden)
  • client/radial: don't refresh submenu if unrelated option updates (Linden)
  • missing and invalid types and parameters (Linden)
  • web/radial: go back to correct more page when going back from sub ([Luke](http...
Read more

v2.21.0

20 Jan 21:26
Compare
Choose a tag to compare

Features

  • client/zones: break triangle creating loop of it is going to deadloop (DokaDoka)
  • client/zones: ensure polyzone is coplanar (DokaDoka)
  • table: limited merge function (DokaDoka)

Bug Fixes

  • client/zones: get diagonal offsets in 2d (DokaDoka)
  • resource/zoneCreator: revert to using event for addSuggestion (DokaDoka)
  • client/zones: abort triangle creation if polygon is not simple (DokaDoka)
  • shared/locale: only construct phrases for strings (Linden)

v2.20.0

08 Jan 04:26
Compare
Choose a tag to compare

Features

  • locales: chinese simplified language files (#194) #194 (Jerry Ma)
  • resource/zoneCreator: lastZone arg and camera-aligned movement #189 (Malcolm)
  • shared/locale: locale phrases (Linden)

Code Refactoring

  • resource/zoneCreator: general cleanup (DokaDoka)
  • resource/zoneCreator: last zone and axis mode tweaks (DokaDoka)
  • client/zones: break polygon into triangles with the ear clipping method (DokaDoka)

v2.19.2

30 Dec 10:17
Compare
Choose a tag to compare

Bug Fixes

Chores

v2.19.1

24 Dec 06:28
Compare
Choose a tag to compare

Bug Fixes

  • client/raycast: missing table (Linden)

Code Refactoring

  • client/zones: re-order zones and call onExit before onEnter (Linden)

v2.19.0

19 Dec 21:23
Compare
Choose a tag to compare

Features

Bug Fixes

  • web/menu: combine initial select and first render checks (#172) #172 (Jag)
  • server/logger: validate response on failed http request (Linden)
  • web: fix values persisting across input dialogs opened quickly (Luke)
  • client/zones: disable marker rotation (Linden)

Code Refactoring

  • client/zones: redo triangle algorithm (DokaDoka)
  • client/points: ensure coords are a vector (Linden)
  • imports/getCore: add removal notice (Linden)

Chores

Commits

  • 9e3cc61: Update issue templates (Luke)
  • f81ad35: Update issue templates (Luke)

v2.18.0

12 Dec 21:45
Compare
Choose a tag to compare

Features

Bug Fixes

  • resource: set cache.game (Linden)
  • web/menu: fix onSideScroll getting called on open (Luke)
  • client/context: reset focus (Linden)

Code Refactoring

  • client/progress: move controls outside of function (Linden)
  • imports/callback: response varargs #171 (Linden)
  • package/callbacks: improve typings #171 (Luke)

Chores

  • web: remove unused settings component (Luke)

Commits

  • resource/zoneCreator: specify vec2 (DokaDoka)

v2.17.0

02 Dec 21:30
Compare
Choose a tag to compare

Features

Bug Fixes

  • types and nil-checks (Linden)
  • resource: don't export internally loaded modules (Linden)
  • locales/ru: cancel string #160 (David Malchin)
  • client/addKeybind: get control button when indexing currentKey (Linden)

Code Refactoring

  • streaming: convert to modules (Linden)
  • client/addKeybind: save control hash (Linden)
  • client/raycast: change los flags (Linden)

Chores