Releases: overextended/ox_lib
Releases · overextended/ox_lib
v3.20.0
Features
- settings: notification position (Linden)
- notify: show duration (#542) #542 (RrybaN)
- array: array class (Linden)
- array: reduce method (Linden)
- imports/client: playAnim (Linden)
- imports: timer module (#539) #539 (Austin Dunn)
- array: isArray method (Linden)
- settings: ox:userLocales convar (Linden)
Bug Fixes
- class: use rawset during instantiation (Linden)
- class: private access in method calls (Linden)
- settings: swapped variable order (Linden)
Code Refactoring
- locale: set default locale in settings (Linden)
- streamingRequest: mention unreleased assets (Linden)
- settings: reset saved locales (Linden)
- streaming: bump default timeout (Linden)
- client/vehicleProperties: remove entity owner check (Linden)
- locale: merge locales with english definitions (Linden)
- timer: adjust module return and types (Linden)
- client/vehicleProperties: return true if client owns entity (Linden)
v3.19.2
v3.19.1
v3.19.0
Features
- imports/server: getFilesInDirectory (Linden)
- locale: locale hotloading (Linden)
- settings: add ox_lib command and user-selected locales (Linden)
- client/notification: add support for native audio sounds (#455) #455 (Ethan)
- settings: toggle notification audio (Linden)
- server: triggerClientEvent with multi-target support (Linden)
- imports/logger: add fivemanage as logging option (#536) #536 (Christopher)
Bug Fixes
- locale: trigger setLocale in locale module (Linden)
- streamingRequest: missing asset name in error message (Linden)
- streamingRequest: missing return value (Linden)
Code Refactoring
- streamingRequest: internal method for request functions (Linden)
- resource: load extra modules (Linden)
- requestAudioBank: return string (Linden)
- notify: minor cleanup for notification audio (Linden)
- require: improve module resolution and debugging info (Linden)
- require: cleanup and improve debug info (Linden)
Chores
- add gitignore to forcibly keep cache directories (Linden)
v3.18.0
Features
- interface/progress: add allowSwimming option (#516) #516 (Abdelouahed TOUIMI)
- interface: add locales for progress and radial menu (#509) #509 (ANTOND)
- client/marker: add marker options (#520) #520 (GiroudMathias)
Bug Fixes
- types: optional params in getClosest* (#519) #519 (ANTOND)
- package/streaming: return promise from streamingRequest (Linden)
Code Refactoring
v3.17.0
Features
- web: support icon urls in radial menu (#487) #487 (ktx-mega)
- web/select: searchable option (#513) #513 (Lily)
- class: add instanceOf method (Linden)
- class: recursive instanceOf and isClass method (Linden)
- class: add temporary super method during class init (Linden)
- class: deprecate init in favour of constructor (Linden)
- class: true private fields (Linden)
Bug Fixes
- imports/require: resource source extraction in
getModuleInfo
(#504) #504 (Kenshin13) - locales/cs: more natural phrases (#508) #508 (ANTOND)
- class: disallow calling constructor from objects (Linden)
- class: only show warning if constructor is undefined (Linden)
Code Refactoring
- class: use mixins for default class methods (Linden)
- class: stricter type-checking (Linden)
- class: improve types (Linden)
Commits
v3.16.3
Bug Fixes
- waitFor: type corrections (Linden)
- require: return
false
when module returnsfalse
(#502) #502 (David Malchin) - notify: missing iconAnimation type (#500) #500 (Flávio Pereira)
- interface/input: clearable lua type (#498) #498 (BerkieBb)
Code Refactoring
- package: move and export VehicleProperties interface (Linden)
Chores
v3.16.2
Bug Fixes
- waitFor: allow timeout to be disabled (Linden)
Chores
- deps: bump vite from 5.0.5 to 5.0.12 in /web (#486) #486 (dependabot[bot])