Skip to content

Releases

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 22:53
466d35f

1.5.0 (2026-11-28)

New Features

  • ai-lib: ai/cache-* suggests aiLib.cache for PlayerPedId, PlayerId, GetPlayerServerId, the own vehicle and weapon (f64c02c)
  • ai-lib: aiLib. completes the modules of the file's side; ai/wrong-side flags a module of the other side (3d353b9)
  • ai-lib: events and callbacks of aiLib in the event index (872dac4)
  • ai-lib: unchecked-net-arg reads aiLib.onClientEvent and aiLib.onClientCallback handlers (058f755)
  • ts: edited TypeScript files update the index without a restart (4c019d9)
  • ts: read exports and events from TypeScript sources (0a53f11)

Bug Fixes

  • lint: own deprecations are a struck-through hint, not hidden (f9b162b)
  • lint: placeholders, own deprecations and directive notes (588607a)
  • types: a global, local or table with ---@class on its assignment has the class's fields in other files (0f9a2d8)
  • workspace: check . inside a resource names it after its folder (9f9b11c)

Performance

  • exports: a resource reading its own exports while registering them builds the list once (9f9b11c)

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 20:09
86aae16

1.4.0 (2026-11-26)

New Features

  • lint: calls to documented functions of other files are checked, overloads included (c425451)
  • lint: check calls through exports, lone locals and agreeing definitions (2a6ce4c)
  • lint: fivem/event-argument-count and fivem/event-missing-arguments check triggers against their handlers (8f682bd)
  • lint: missing-fields and type mismatches check against classes of the resource's other files (529a6ff)
  • lint: ox/missing-locale reports locale keys no locale file has (d057ec6)
  • lint: security/sql-concatenation reports values joined into MySQL queries (7269ef9)

Bug Fixes

  • lint: cast-local-type checks an a and b value assigned to a local (59815c8)
  • lint: cross-file call checks skip a local shadowing the global and a signature whose types mean other classes here (6a0d7ac)
  • lint: perf/concat-in-loop skips a local declared in the loop (923723a)
  • lint: unsigned-hash skips the hash fields game events send unsigned (288ddb1)
  • lsp: hover and completion follow a table an export returns through an alias (3ec7434)
  • types: a doc comment above a blank line is not the next statement's, as in LuaLS (7012f31)
  • types: a type() test of a field narrows the field (a6f7b8d)
  • types: a type() test whose branch rewrites the local narrows it after the if (515d7dd)
  • types: type(x) tests narrow when false, after an early return and in else branches (f88de69)
  • types: x == 'a' or x == 'b' narrows a union of literals to the values tested (9a2fd65)

Performance

  • types: field type narrowing reads only the conditions above the field (5e4e3d3)

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 13:15
43ab44a

1.3.0 (2026-11-26)

New Features

  • lsp: Lua.workspace.library folders give definitions to a single opened resource (a842781)

Bug Fixes

  • lsp: _G.X and _ENV.X define the global X, so ox_lib's lib.onCache and server lib.notify resolve (55413df)

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 11:43
98e1c51

1.2.0 (2026-11-26)

New Features

  • vscode: extension icon, gallery banner and repository links (2e64e91)

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 09:57

1.1.0 (2026-11-26)

New Features

  • callback params from overloads, function keyword shows the expected fun, class overload calls, type() keeps fun shapes (8b3266f)
  • closures read upvalues from where they are defined; a local with no value is unknown until written; writes in nested functions do not flow (7515538)
  • diagnostics for enum fields, generic bounds, class overload calls, dot-defined methods, union missing-fields (8a4c342)
  • fields written on a class variable are seen through its values; strings read stringlib (1af746f)
  • generic arguments of parent classes, methods found through the object's class, class generics in method returns (7517971)
  • generic class operators, params from parent fun fields, LuaLS overload scoring (56ecf8e)
  • generics bound late on returned funs; self of : functions; inherited member functions (2d2c763)
  • ide: Lua.runtime.special for every builtin the type engine knows, Lua.hover.expandAlias, inference 524 -> 608 of 608 (see docs/ROADMAP.md phase 5) (8d3ee8b)
  • ide: package visibility across files (---@field package, ---@package, Lua.doc.packageName) reports invisible (d7d8bab)
  • inferred types print as LuaLS prints them; type cases run with their LuaLS settings (ecf1cc8)
  • inline fun<T> generics, callback returns and params bind generics, generic aliases, library generics (next) (9274ab8)
  • lint: add name-style-check, spell-check, codestyle-check and unnecessary-assert (cd6f1d3)
  • lint: LuaLS diagnostic groups, first finding per place, narrower unnecessary-assert (c3c7a25)
  • LuaLS type switches, cfx.lualsCompat, every LuaLS diagnostic case scored with its settings (bb027ec)
  • type checks compare table shapes, class-tagged local values and fields typed by the class's own writes (384181c)
  • variadic return tails, generic shapes, closure params from bound generics, bare generic classes, integer-keyed constructor reads (9fd9456)

Bug Fixes

  • ide: hover paths are read in a loop, so a.b.b... chains thousands of links long no longer overflow the stack (5b3face)
  • lint: unnecessary-assert checks version and side; VS Code declares Lua.spell.dict and Lua.nameStyle.config (a9aebaf)
  • LuaLS's nil rules under strict nil checks; harness guards compat cases and runs compat alone (901ad2a)

Performance

  • index class field writes and class-tagged globals once per file; library calls parse docs only for generics (15b1be9)

Documentation

  • roadmap: record the corpus A baseline measurement (8965621)

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 21:08

1.0.0 (2026-11-18)

New Features

  • assign-type-mismatch checks table constructor entries against the declared type (6341350)
  • cast-local-type and assign-type-mismatch read ---@type on assignments, literal types, fractional numbers and table<K, V> (85ecfaf)
  • cfx-lua-ls, a Lua language server for FiveM (CfxLua), ported from LuaLS (8e94d8e)
  • inference narrows the falsy side, a truthy boolean to true, and type() tests inside and (6fb7eb0)
  • inference reads detached ---@cast, same-line ---@type and types and/or as LuaLS does (21d7eda)
  • type checks read enums and aliases, typed local values, and multi-value calls returned last (9787701)
  • typed references follow a call's later values and generic returns (027aba4)

Bug Fixes

  • typed field rename refuses a global table handed on in the resources searched (6a059ba)

Performance

  • cache each local's declaring statement and the typed field writes, linear on long blocks (06c563d)

Miscellaneous Chores