Releases: overextended/ox_lib
Releases · overextended/ox_lib
v3.22.2
Bug Fixes
- timer: accessing private variable out of scope (#591) #591 (Austin Dunn)
Code Refactoring
- class: disable experimental warning for internal modules (Linden)
Chores
Commits
v3.22.1
v3.22.0
Features
Bug Fixes
- package/locale: sync behaviour with Lua (Linden)
- math: torgba types and alpha value (Linden)
- streamingRequest: remove @Package annotation (Linden)
- alertDialog: set timeout as optional parameter (#580) #580 (faizy#6969)
- imports/logger: loki indexing for varargs (#583) #583 (Mirco T)
Code Refactoring
- class: mark mixins.new as protected (Linden)
- callback: increase default timeout (Linden)
- callback: assertions (Linden)
Chores
v3.21.0
Features
- callback: add timeout to callback events (Linden)
- math: linear interpolation (#570) #570 (Austin Dunn)
- interface/multi-select: add maxSelectedValues (#563) #563 (northsqrd)
- raycast: add fromCoords method (Linden)
- interface/alert: support dialog timeout (Linden)
- math: expose interpolate function as math.interp (Linden)
Bug Fixes
- notify: reset circle animation on notification re-trigger with id (#559) #559 (RrybaN)
- class: fixed private access in method calls (#553) #553 (deFuzz)
- timer: add async argument to restart method (#567) #567 (404)
- array: array:findIndex should return index (#565) #565 (Jarosław)
- web/notify: prevent resetting the notifications circle without an id (#566) #566 (RrybaN)
- math: math.interp return type should be T (Linden)
Code Refactoring
- settings: safeGetKvp (Linden)
- raycast: smoother raycast during camera movement (#569) #569 (Mas)
- interface/progress: allow rotation order for created props (#564) #564 (xHorntail)
Chores
- locale: update no.json (#555) #555 (Mads)
- locale: update cs.json (#551) #551 (wx)
- fxmanifest: remove comments (Linden)
- locales: update multiple languages (#573) #573 (Domi)
- locales: update pl.json (#574) #574 (Maciej Ratyński)
- locales: create pt.json (#575) #575 (WindoX)
Commits
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)