Skip to content

Releases: overextended/ox_core

v0.21.2

26 Feb 06:01
Compare
Choose a tag to compare
v0.21.2 Pre-release
Pre-release

Bug Fixes

  • server/player: typo in GetCharacterLicenses query (Linden)
  • server/accounts: type fixes (Linden)
  • lib: types path (Linden)

Code Refactoring

  • server: only allow license as primary identifier (Linden)
  • package: export types (Linden)
  • server: improve db and query typing (Linden)

Commits

  • 5e59dde: v0.21.1 (GitHub Actions)

v0.21.1

24 Feb 02:23
Compare
Choose a tag to compare
v0.21.1 Pre-release
Pre-release

Bug Fixes

  • client/vehicle: wait for entity to exist in state handlers (Linden)
  • lib: load server/vehicle.lua, various fixes and tweaks (Linden)

Code Refactoring

  • server/vehicle: stricter types (Linden)

Commits

  • 042b6bf: v0.21.0 (GitHub Actions)

v0.21.0

21 Feb 03:41
Compare
Choose a tag to compare
v0.21.0 Pre-release
Pre-release

This release should have everything from the Lua version of ox_core implemented, though still some breaking changes exist.

Features

  • lib/server: add Lua vehicle bindings (Linden)

Bug Fixes

  • client/vehicle: don't set properties on null (Linden)
  • server/vehicle: store vehicles on resource stop (Linden)

Code Refactoring

  • lib: type updates and tweaks (Linden)

Commits

  • 67396a8: v0.20.3 (GitHub Actions)

v0.20.3

18 Feb 08:37
Compare
Choose a tag to compare
v0.20.3 Pre-release
Pre-release

Bug Fixes

  • package: prepublish -> prepare (Linden)

Continuous Integration

  • update release node-version (Linden)
  • dry-run: add test workflow (Linden)

Commits

  • 2d25d0a: v0.20.2 (GitHub Actions)

v0.20.2

18 Feb 08:10
Compare
Choose a tag to compare
v0.20.2 Pre-release
Pre-release

Bug Fixes

  • remove and ignore zip files (Linden)
  • include package and .js files with npm (Linden)

Commits

  • f53aba4: v0.20.1 (GitHub Actions)

v0.20.1

18 Feb 07:50
Compare
Choose a tag to compare
v0.20.1 Pre-release
Pre-release

Continuous Integration

  • release: change working directory and package path (Linden)
  • release: git config (Linden)
  • release: disable git-tag-version on pnpm version (Linden)

v0.20.0

18 Feb 07:36
Compare
Choose a tag to compare
v0.20.0 Pre-release
Pre-release

Massively breaking version

This version marks the first build for the TypeScript ox_core rewrite. Nothing is yet documented and there may be some breaking changes.

Features

  • player: add isNew field to newly created characters (Linden)
  • client/player: death loop (Linden)
  • locales: setup locales and typed wrapper (Linden)
  • server/player: support -cl2 (Linden)
  • server/groups: initial groups support (Linden)
  • client/player: set player data and groups on spawn (Linden)
  • server/accounts: initial accounts support (Linden)
  • server/accounts: account creation exports (Linden)
  • server/player: add inventory and account on character creation (Linden)
  • server/player: generate phone number when creating character (Linden)
  • sql: accounts table (Linden)
  • common: GetRandomString (Linden)
  • server/vehicle: initial vehicle support (Linden)
  • client/vehicle: getNearbyVehicles callback (Linden)
  • server/vehicle: completed /car and /dv commands (Linden)
  • common/vehicles: load and export vehicle data (Linden)
  • server/vehicle: vehicle management (Linden)
  • lib/server: wip vehicle interface (Linden)
  • vehicle: add vehicle parser / data generation (Linden)
  • server/vehicle: cleanup on onResourceSstop and entityRemoved (Linden)
  • server/commands: /saveall command (Linden)
  • player: statuses (Linden)
  • server/player: GetCharIdFromStateId (Linden)
  • server/accounts: exports to select default account (Linden)
  • server/accounts: deposit and withdraw exports (Linden)
  • server: allow depositing to shared accounts for people with access (Luke)
  • server/accounts: insert new account owner into accounts_access (Linden)
  • server/accounts: SetAccountAccess (Linden)
  • server/accounts: GetAccountRole (Linden)
  • server/player: add methods for getting accounts (Luke)
  • server/accounts: add DeleteAccount (Linden)
  • server/player: add /charinfo command (Linden)
  • setup package (Linden)
  • server/player: initial licenses support (Linden)
  • server/player: player filtering (Linden)
  • client/player: OxPlayer singleton (Linden)
  • player: extra methods and minor refactoring (Linden)
  • lib/player: setup class bindings (Linden)
  • server/vehicle: vehicle creation/spawn tweaks and lib bindings (Linden)
  • client/vehicle: setup statebag handlers (Linden)
  • server/vehicle: set initVehicle and vehicleProperties states (Linden)

Bug Fixes

  • client/utils: swap entityStateHandler error arg order (Linden)
  • server/imports: oopsie (Linden)
  • server/player: set player death on player spawn (#97) #97 (PyschoShock)
  • sql/upgrade: set isDead as TINYINT(1) (Linden)
  • server/player: set initial isDead state (Linden)
  • build: readme filename (Linden)
  • server/player: properly handle stopping ox_core (Linden)
  • client/spawn: delay character menu creation (Linden)
  • server/player: don't save if no parameters are passed (Linden)
  • locales: actually call it (Linden)
  • client/spawn: hide character deletion if no character exists (Linden)
  • spawn: resolve race condition and death on spawn (Linden)
  • server/player: parse JSON statuses (Linden)
  • server/vehicle: cancel /car command if no ped was found (Linden)
  • server/vehicle: check vehicle.id is valid when querying db (Linden)
  • build: create .yarn.installed file (Linden)
  • server/db: disable autoJsonMap (Linden)
  • server/player: date of birth from timestamp (Linden)
  • client/spawn: loading screen race condition (Linden)
  • server/accounts: pass missing amount param to remove balance query (Luke)
  • server/accounts: set default account on character creation (Linden)
  • lib/server: correct export name (#117) #117 (claudebernard)
  • server/vehicle: get row from GetStoredVehicleFromId (Linden)
  • common/vehicles: adjust import path ([Linden](https://github.com/overextended/ox_core/commit/...
Read more

v0.19.0

26 Aug 03:18
Compare
Choose a tag to compare
v0.19.0 Pre-release
Pre-release

Major breaking changes - see 2a0f2b7

Run upgrade.sql to rename columns and reapply foreign keys. You may need to modify other tables that reference these columns.
Queries should generally be fine as column names should be case-insensitive, but player properties are now camel case.

  • player.charid -> player.charId
  • player.get('dateofbirth') -> player.get('dateOfBirth')

Recommend you look through the changelog and our resources for updating.


Code Refactoring

  • web/LocaleProvider: import locale types (Linden)
  • server/player: remove dead/name from player statebag (Linden)
  • client/spawn: don't check dead state when spawning player (Linden)
  • client/death: trigger ox:playerDeath on client (Linden)

Chores

Commits

  • 2a0f2b7: refactor!: consistent camelCase (Linden)

v0.18.0

24 Aug 13:30
Compare
Choose a tag to compare
v0.18.0 Pre-release
Pre-release

If you're updating from another version, run this query.

ALTER TABLE `characters` ADD `stateId` VARCHAR(7) NOT NULL

Features

  • server: character stateid (Luke)
  • server/player: add Ox.GenerateStateId (Linden)
  • server/player: load and create new stateids (Linden)
  • server/vehicle: match OxPlayer class spec (Linden)
  • server/vehicle: clear vehicle on entityRemoved event (Linden)

Bug Fixes

  • server/utils: use the actual math.random function (Luke)
  • sql: characters table syntax (#84) #84 (Dolu)
  • server/player: type (#83) #83 (Dolu)
  • server/vehicle: return nil for invalid key in get method (Linden)
  • shared/init: require started resources for GetExport (Linden)
  • client/utils: Wait before setting EntityState as nil (Linden)
  • server/vehicle: set correct vehicle net type for quads (Linden)
  • client/debug: correctly mark vehicles as amphibious (Linden)
  • client/player: set falsey player keys (Linden)
  • server/vehicle: check vehicle entity exists on despawn (#88) #88 (Galuža moree)
  • server/vehicle: registry return types (Linden)

Code Refactoring

  • client/utils: adjust waitFor timeout (Linden)
  • server/player: limit users to two accounts (Linden)
  • server/utils: return module (Linden)
  • server/vehicle: use utils module, minor GenerateVin tweaks (Linden)
  • shared/init: remove require (Linden)
  • db: remove characters_after_insert trigger (Linden)
  • client/debug: generateVehicleData tweak (Linden)
  • server/player: rename GetAllPlayers to GetPlayerRegistry (Linden)
  • server/player: CharacterProperties (Linden)
  • server/player: selectCharacter/deleteCharacter tweaks (Linden)
  • update ox_lib dependency; entityStateHandler tweaks (Linden)
  • client/spawn: remove SetEntityHealth protected call (Linden)
  • server/player: use DoesPlayerExist (Linden)
  • server/player: check if active user exists on login (Linden)
  • server/lib: remove useclass/usemetatable parameters (Linden)

Continuous Integration

Chores

Commits

  • e5b5461: Revert "fix(shared/init): require started resources for GetExport" (Linden)

v0.17.0

01 Apr 04:28
Compare
Choose a tag to compare
v0.17.0 Pre-release
Pre-release

Features

Bug Fixes

  • types and missing arguments (Linden)
  • vehicle: prevent infinite loop on vehicle spawn init (#76) #76 (Jag)
  • server/player: replicate player metadata and remove redundant data (Linden)
  • client/spawn: wipe tattoos on character creation (#77) #77 (ESK0)
  • server/player: Actually get gender information (#79) #79 (Jag)

Code Refactoring

  • resource startup tweaks (Linden)
  • update all commands and ox_lib dependency (Linden)
  • server/player: add delay when triggering onServerResourceStart (Linden)
  • player: remove gender from primary table (Linden)
  • client/spawn: pcall when setting player health (Linden)

Chores