Skip to content

Releases: webpro-nl/knip

Release 6.0.5

24 Mar 19:46

Choose a tag to compare

  • Fix up ecosystem pipeline, add sanity (a338b21)
  • Fix broken links in Writing a Plugin docs (#1640) (963f206) - thanks @skoeva!
  • Minor alignment edits to MCP texts.js (714089f)
  • Merge JSDoc tags across function overload signatures (resolve #1639) (6269ec3)
  • Housekeep tag matching (b15bc7e)
  • Housekeep reference type matching (d9c8731)
  • fix(nx): fall back to workspace cwd when run-commands target has no cwd (#1638) (cf2dc7d) - thanks @liorp!

Release 6.0.4

23 Mar 19:52

Choose a tag to compare

  • Defer ns member ref resolution to post-walk batch pass (resolve #1633) (304504f)
  • Show namespace member statuses in trace output (47ddf43)
  • Add shadow detection for function params, arrow params, and catch bindings (70ebb76)
  • Strip trailing slashes from tsconfig outDir and rootDir (resolve #1635) (1dcdb02)

Release 6.0.3

23 Mar 11:29

Choose a tag to compare

  • Handle symlinks → real paths from tsconfig files (#1630) (529810a)
  • Filter empty strings from Qwik routesDir values (resolve #1632) (beb8ae3)

Release 6.0.2

22 Mar 18:11

Choose a tag to compare

  • Add scope-aware shadow detection to fix false negatives from name-based matching (9ec38b3)
  • Fix false negatives from overly broad collectRefsInType (261bd06)
  • Add doc re. exports (f82d3ad)
  • Bump get-tsconfig to 4.13.7, remove patch (resolve #1630) (09bbce5)
  • Pass on rootDirs to work around oxc-resolver feature gap (resolve #1628) (4dc16cc)
  • Update patches (836c2cf)

Release 6.0.1

20 Mar 17:58

Choose a tag to compare

  • Update sponsors (0659240)
  • Handle computed access in local refs visitor (b998bab)

Release 6.0.0

20 Mar 07:11

Choose a tag to compare

Blog post: Announcing Knip v6

See the pre-releases for details:

Breaking changes:

  • Dropped support for Node.js v18 → Knip v6 requires Node.js v20.19.0 or newer
  • Dropped issue type classMembers
  • Dropped --include-libs → this is now the default and only behavior
  • Dropped --isolate-workspaces → this is now the default and only behavior
  • Dropped --experimental-tags → use --tags
  • In reporter functions, issues.files is consistent with other issue shapes. Removed issues._files.
  • In the JSON reporter, issues are consistently arrays for any issue type. Removed root files.

Release 6.0.0-3

20 Mar 06:31

Choose a tag to compare

Release 6.0.0-3 Pre-release
Pre-release
  • Improve Nuxt plugin (staticExportsExportNamedDeclaration) (6554251)
  • Improve isReferencedInUsedExport items (d4d9967)

Release 5.88.1

19 Mar 10:51

Choose a tag to compare

  • Bump GitHub actions to their latest versions (#1624) (bf2ffca) - thanks @deining!
  • Prettier config for other formatters (e.g. unified-prettier) (e034cbd)
  • Fix module/namespace regression (resolve #1603) (394bcba)
  • Fix counter type and --fix exit code (37b6f60)
  • Restore all ecosystem tests (4d2cd9b)
  • Release knip@5.88.1 (8c25e4b)

Release 6.0.0-2

19 Mar 20:43

Choose a tag to compare

Release 6.0.0-2 Pre-release
Pre-release
  • Bump GitHub actions to their latest versions (#1624) (bf2ffca)
  • Use resolveFromAST to skip jiti loading for JS/TS configs (91cb6f6)
  • Use resolveFromAST for flat configs, skip jiti loading (5e5f63c)
  • Housekeeps (5e5e0a8)
  • Use resolveFromAST for JS/TS configs, skip jiti loading (426f527)
  • Prettier config for other formatters (e.g. unified-prettier) (e034cbd)
  • Fix module/namespace regression (resolve #1603) (394bcba)
  • Fix counter type and --fix exit code (37b6f60)
  • Restore all ecosystem tests (4d2cd9b)
  • Release knip@5.88.1 (8c25e4b)
  • Add useLocalVersion to vscode extension (resolve #1572) (e180e65)
  • Merge main into v6 (c1d4b2f)
  • Fix v6 extension: oxc-parser bundling + system Node runtime (1d79aea)
  • Cache findWorkspaceByFilePath lookups (c9fe8c5)
  • Flatten visitor handler dispatch in buildVisitor (fbf9e75)
  • Dedupe plugin visitor registration across workspaces (5b9df9f)
  • Consistent object shapes in JSON reporter (b10d87e)
  • Add coverage for module {} syntax (f4706c9)

Release 5.88.0

18 Mar 05:10

Choose a tag to compare