Skip to content

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)