Releases: overextended/ox_lib
Releases · overextended/ox_lib
v2.5.2
v2.5.1
v2.5.0
Features
- interface/context: onExit function (Luke)
- callback: client callback (Linden)
- web/dialog: alert dialog (Luke)
- web/context: images in metadata (Luke)
- web/input: display value when no label is provided for select (Luke)
- locales: Russian translation (#36) #36 (waddle_dee)
- locales: German locale(#39) #39 (Cranksome)
Bug Fixes
- interface/context: correct id if a float is received (DokaDoka)
- web/progress: remove cancelled timeout animation (Luke)
Code Refactoring
- callback: rewrite (Linden)
- web/dialog: use locale for alert confirm button (Luke)
- version/server: reliable resource name check (Linden)
Chores
- manifest: version bump (Luke)
Commits
v2.4.0
Features
- context: prevent event triggering (#34) #34 (JsSusenka)
- player: add server methods (Linden)
- getCore/server: initialise player module and add getter (Linden)
- getCore/server: hasGroup method (Linden)
- interface/context: ability to forcefully hide the context menu (Luke)
- web/circleprogress: add optional label (#33) #33 (Sam Shanks)
Bug Fixes
- interface/context: increment received option id by one (Luke)
- web/circleprogress: remove transition (Luke)
- interface/context: don't hide menu when there is no event (Luke)
- interface/context: set openContextMenu to nil when closing a menu (Luke)
Code Refactoring
- init: separate global and local cache (Linden)
- getCore/shared: adjust ox_core imports (Linden)
- player/client: create player instance at init (Linden)
- player/client: set CPlayer.__index as a function (Linden)
- getCore/client: instantiate player (Linden)
Chores
- update version (Linden)
Commits
- vehicleProperties: increase timeout when setting properties (DokaDoka)
v2.3.3
Features
- locales: Added locales (#25) #25 (Panda)
- locales: Czech translation (#27) #27 (IceCubePiso)
- locales: Slovakia language #28 (WarmCube)
- locales: Balkanic locale (#30) #30 (Katoteki)
Bug Fixes
- zones: zone.inside should not depend on zone.onEnter (Linden)
Chores
- web/dialog: remove leftover print (Luke)
Commits
v2.3.2
Features
- zones: consistent zone debug appearance (DokaDoka)
- player/client: player class and methods (Linden)
- getCore/client: load and extend player class (Linden)
Bug Fixes
- web/progressbar: fix progressbar getting stuck on screen (Luke)
- zones: thickness workaround (DokaDoka)
- zones: debug thickness misalignment and standardize defaults (DokaDoka)
- vehicleProperties: store correct extra values (Linden)
Code Refactoring
- zones: create data.triangles even if the polygon is convex (DokaDoka)
- init: return a stub for imports with no return (Linden)
- player: simplify (Linden)
- getCore/client: clean up hasGroup method and return values (Linden)
Chores
Commits
- zones: make makeTriangles available outside of getTriangles (DokaDoka)
v2.3.1
v2.3.0
Features
- imports/zones: basic glm polygon zones (DokaDoka)
- zones: box (DokaDoka)
- zones: add contains method to zones (Linden)
- zones: debugBox draw lines on edges (Linden)
- resource: throw an error if the UI is not built (Linden)
- locale system (Linden)
- locales: include some locales (Linden)
- web: Settings modal, locale state provider (Luke)
- web/dialog: Add checkbox type (Luke)
- web/dialog: Add Select input type (Luke)
- web/dialog: Add password option to input #18 (ANTOND)
- web/dialog: Add option for left icon on input field (Luke)
- zones: sphere zone (Linden)
- web/context: allow manually sorting the options (Luke)
- web/context: allow custom metadata order (Luke)
Bug Fixes
- loadFramework: catch error during load (Linden)
- loadFramework: call correct function after load (Linden)
- interface/progress: check for data.disable.move (Linden)
- zones: draw complex polygons properly (DokaDoka)
- zones: debug functions should not be global (Linden)
- locale: server hotload and "external" kvp (Linden)
- client: Move loadLocale function out of init (Luke)
- web/dialog: Use locales for buttons (Luke)
- web/dialog: Handle multiple password states #18 (ANTOND)
- client: Missing event for defaultNotify (Luke)
- vehicleProperties: wait until entity exists before setting vehicle properties (DokaDoka)
Code Refactoring
- interface/progress: disable controls (Linden)
- loadFramework: determine target based on resource state (Linden)
- zones: perf, args, and insideZone (Linden)
- zones: change new to poly, default box rotation (Linden)
- zones: reduce value reassignments (Linden)
- zones: rename variables and minor perf (Linden)
- zones: use array table structure when creating triangles (Linden)
- zones: assign X directly and store triangles as matrices (Linden)
- rename lualib variable and move clipboard export (Linden)
- zones: handle multiple points in the same horizontal line (DokaDoka)
- getCore: rename loadFramework, tweaks (Linden)
- web/dialog: Use conventional naming #18 (ANTOND)
- web/dialog: Separate fields into individual components (Luke)
- imports/getCore: create import files for esx and qb (Linden)
- imports/getCore: set constants and use new import files (Linden)
- zones: call zone:contains instead of zone.polygon:contains (Linden)
- locale: default locale (Linden)
- server/locale: get array of valid locales (Linden)
- client/locale: send GlobalState.locales to ui (Linden)
- zones: centroid -> coords (Linden)
- zones: global Zones (Linden)
Performance Improvements
Chores
Commits
v2.2.1
v2.2.0
Features
- nui: Initial NUI files #12 (Luke)
- nui: Notifications #12 (Luke)
- nui: Circle progressbar #12 (Luke)
- nui: Progressbar #12 (Luke)
- nui: Progress bar cancel #12 (Luke)
- nui: Text UI #12 (Luke)
- nui: Allow changing position of circle progressbar #12 (Luke)
- nui: Input dialog #12 (Luke)
- nui: Icon support for custom notifications #12 (Luke)
- nui: Use pnpm instead of Yarn #12 (Luke)
- nui: WIP Context menu #12 (Luke)
- nui: Context menu metadata mapping #12 (Luke)
- nui: Metadata popover #12 (Luke)
- nui: Display an arrow if an item goes into a sub menu #12 (Luke)
- nui: Add scale fade transition to context menu #12 (Luke)
- nui: Add markdown support to text ui #12 (Luke)
- nui: Context menu sub menus #12 (Luke)
- logger: add datadog logging (Linden)
- acl: if principal is a number, reference player.num (Linden)
- imports/loadFramework: loader for ox, qb, and esx (Linden)
- nui: Context menu Lua callbacks #12 (Luke)
- nui: TextUI icon support #12 (Luke)
- resource/interface: export notify #12 (Linden)
- client: Input dialog function (Luke)
- client: Text UI functions (Luke)
- resource/interface: progress bar (Linden)
- points: remove points (Linden)
- points: get closest point (Linden)
- resource/interface: progressActive and cancelprogress command (Linden)
- web/context: Get open context menu function (Luke)
- client/notifications: Add default chakra notification functions (Luke)
- client/web: Set clipboard export (Luke)
Bug Fixes
- nui: Don't display metadata popover if there is no metadata #12 (Luke)
- nui: Set frame visibility to true by default #12 (Luke)
- nui: Fix incorrect string typing and remove tsignore (Luke)
- nui: Make description optional (Luke)
- client: Add missing NUI callbacks (Luke)
- nui: Update input dialog font (Luke)
- web/context: Don't close menu when clicking item without events (Luke)
- client/context: Allow using events to open context menus (Luke)
- client/context: Throw error when context id doesn't exist (Luke)
- web/context: Properly align text (Luke)
- client/context: Ensure is ordered correctly (Luke)
- web: Ensure font awesome icons have fixed width (Luke)
- points: remove tick value when clearing interval (Linden)
- interface/textui: localise input (Linden)
Code Refactoring
- nui: Style adjustments #12 (Luke)
- nui: Custom notification layout #12 (Luke)
- nui: Styling and sizing changes #12 (Luke)
- nui: Context menu style adjustments #12 (Luke)
- nui: Move context items into separate files #12 (Luke)
- nui: Better organize components #12 (Luke)
- resource/interface: keymapping and multi-prop support (Linden)
- web/progress: Rewrite progressbar component (Luke)
- resource/version: checkDependency optional print and return (Linden)
Performance Improvements
- points: use interval for on-frame thread (Linden)
Continuous Integration
- release: create release workflow (Linden)