Releases: overextended/ox_lib
Releases · overextended/ox_lib
v3.1.0
Features
- client/radial: add lib.disableRadial to prevent radial access (Linden)
Bug Fixes
- radial: go back to correct more page when going back from sub (#247) #247 (Diogo Manuel Coelho Morais dos Santos)
- radial: replace global item with same id instead of duplicating (#255) #255 (Diogo Manuel Coelho Morais dos Santos)
- client/radial: onSelect export handler (Linden)
- client/radial: reset NuiFocusKeepInput (Linden)
- version: match major versions with multiple digits (#259) #259 (David Malchin)
Code Refactoring
- client/interface: nui focus tweaks (Linden)
Chores
v3.0.1
v3.0.0
Biggest changes for v3.0.0:
Breaking Changes
- Removed
getCore
- Removed
getPlayer
- Changed
addCommand
syntax - Deprecated
lib.defaultNotify
, now callslib.notify
instead
New Features
- Radial menu
- Added
ox:primaryColor
andox: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
andoverflow
- Redesigned notifications, which include new notification positions:
center-right
andcenter-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...
v2.21.0
v2.20.0
v2.19.2
v2.19.1
v2.19.0
Features
- web: notify and context markdown wrapper (#174) #174 (david)
- web/notifications: add variant support to default notifications (#175) #175 (Scully)
- imports: requestScaleformMovie (#180) #180 (TheFarFantomas)
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
v2.18.0
Features
- web: context and list menu progress bars (#166) #166 (ItsANoBrainer)
- web/alert: allow defining alert dialog button labels (Luke)
- package: TS callback events #171 (Linden)
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
Features
- locales: add hebrew #160 (David Malchin)
- improved RedM support (#162) #162 (Scully)
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)