Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: webpro-nl/knip

Release 5.84.1

18 Feb 16:23

Choose a tag to compare

  • Fix false positives for arrow-wrapped dynamic imports assigned to variables (#1544) (75a42c3) - thanks @jantimon!
  • Improve pnpm arg handling (df8c353)
  • Ignore module.register if 2nd arg is not import.meta.url (#1535) (970fdb1)

Release 5.84.0

18 Feb 10:07

Choose a tag to compare

  • Post-release shenanigans (e7965cb)
  • Move most compilers to plugins & register from there (61beafe)
  • Minor refactor (e20a682)
  • Fix lint issues (d2bbc13)
  • Add missing catalog property to rules in JSON schema (#1518) (5d49dea) - thanks @Mohmdev!
  • feat(plugins): add @typescript/native-preview (tsgo) support (#1513) (babfb10) - thanks @jgoux!
  • Fix up quoting for spaced args (resolve #1515) (2b735cb)
  • Switch to tsconfig-aware module resolver in input handler (634d0f6)
  • Use bun test positionals as entry points (resolve #1521) (da94725)
  • Edit docs (327726f)
  • Minor refactor while at it (dc87e8e)
  • Add config hints for unused ignore and ignoreFiles items (a4989ee)
  • Accept known bins only behind double-dash (resolve #1524) (b9214e3)
  • feat(plugins): add support for bun test preloaded files (#1525) (14ee32a) - thanks @jgoux!
  • Add date to IGNORED_GLOBAL_BINARIES (#1476) (f08f92b) - thanks @duci9y!
  • Fix edge case for binaries in scripts (82331ee)
  • Report ignore/files config hints only if sure & relevant (4c3bd08)
  • Add consistent repository fields (781a0fd)
  • Add language-server bin (13d7845)
  • Use --stdio if no transport provided (bedb21a)
  • Refactor from "enabled" to "deferSession" (resolve #1499) (15e3360)
  • Use initializationOptions.config or default fallback config obj (resolve #1503) (0abe568)
  • Also publish ls + mcp with pkg-pr-new (7806526)
  • Auto-format (51b7dc1)
  • Remove chdir shenanigans (close #1516) (0cbee8f)
  • Bind console.* to distinguish internal↔ external logs (3eac278)
  • Add early bail-outs for changed files we can ignore (36c2dd5)
  • Avoid unnecessary module graph updates for unmodified files (f94c41f)
  • Fix typo in pkg-pr-new-pkg-dir (7e7a8b0)
  • Add .DS_Store to .gitignore (#1530) (40fe5cc) - thanks @wojtekmaj!
  • Ignore RNC CLI and metro internals in react-native projects (#1528) (0f892ae) - thanks @wojtekmaj!
  • Support nested _generated dirs in Convex plugin (#1531) (bd75e9f) - thanks @kvnwolf!
  • Housekeep cli help output (c24e746)
  • Fix up gitignore test (6bc640c)
  • Introduce isFilterTransitiveDependencies flag (close #1507, close #1101) (8678df2)
  • Housekeep webpack plugin (2cc1306)
  • Move up plugin.setup & tear down plugin.teardown (4dbf23d)
  • Skip config file loading if only external re-exports (ab775b1)
  • Improve & optimize ignore pattern handling (c3d3912)
  • Housekeep compiler registration (2aaf9fc)
  • Edit docs re. config file location (79bfb35)
  • Register visitors from plugins (9b059f8)
  • importMetaGlobCall visitor for Vite plugin (1874b19)
  • Extend registerVisitors with script visitor support (728c814)
  • Move execa script visitor to execa plugin (71c739a)
  • Move zx script visitor to zx plugin (5ac24c7)
  • Add require.context visitor to webpack plugin (100f174)
  • Add module.register() visitor for Node.js loader API (resolve #1535) (742407c)
  • Add .DS_Store in fixtures to .gitignore (#1534) (90fa677) - thanks @wojtekmaj!
  • Mention that depcheck recommends knip (#1536) (75d00ff) - thanks @ArtskydJ!
  • Remove @source matcher from tailwind plugin (resolve #1537) (b7149b6)
  • Fix -w-W flag for Yarn (f305250)
  • Update AGENTS.md (ec83887)
  • Extract and extend react-native plugin (#1538) (9fd04a8)
  • Add pm2 plugin (#1540) (3bb4203) - thanks @wojtekmaj!
  • Fix Yarn (Berry) plugins and binaries reported as unused (#1523) (4f0a307) - thanks @wojtekmaj!
  • Update docs (ed23dd2)
  • Minor refactor while at it (4115b97)
  • Add @knip/create-config to release script (1135b82)

Release 5.83.1

06 Feb 17:43

Choose a tag to compare

  • Fix package.json import (f8c14c8)
  • Organize imports (5d716ba)
  • Update a bunch of dependencies (78bf644)
  • Add minimal test suite to vscode-knip (b639508)
  • Add support for monorepo when installing dependency (close #1501) (5782b07)
  • Fix unused file output in table (0f3dbb4)
  • Restore slonik in ecosystem tests (35d9185)
  • Fix type in exported value case (resolve #1508) (d6dda74)
  • Organize imports (fcdd33b)
  • Remove unused export (c777bae)
  • Don't flag exports (including used as type) in protected or consumed exports (a01bec1)
  • Add npmx.dev to ecosystem tests (8f82052)
  • fix: fix vitest setupFiles resolution (#1511) (273b940) - thanks @tmair!
  • Improve & extend vitest args handling (6c49e5c)
  • Detect Bun differently to avoid TS complaint (c1499d3)
  • A temporary workaround until they catch up 🤫 (028b972)
  • feat(vite): detect module entry from index.html (#1487) (a76ab85) - thanks @WooWan!
  • Auto-format (69150bf)
  • Add double-dash handling and add tests (close #1404) (4c1de75)
  • Revert most of previous commit 4c1de75 (0cd91ae)
  • Auto-format (cf3d8ff)

Release 5.83.0

02 Feb 16:32

Choose a tag to compare

Release 5.82.1

19 Jan 12:44

Choose a tag to compare

  • Add vsce + ovsx verify PATs (6bec128)
  • Improve coverage for isReferencedInExport types (570eafe)

Release 5.82.0

18 Jan 09:49

Choose a tag to compare

Release 5.81.0

14 Jan 07:45

Choose a tag to compare

Release 5.80.2

09 Jan 07:14

Choose a tag to compare

Release 5.80.1

08 Jan 18:16

Choose a tag to compare

Release 5.80.0

05 Jan 10:29

Choose a tag to compare

  • Edit docs (d6f33a5)
  • Only try to use tsconfig files if tsconfig.json exists (707c96d)
  • Also create comment for commits that close an issue (3485d67)
  • Plugin for Parcel (#1438) (24d8131) - thanks @AlexanderKaran!
  • Edit "Knip for Editors & Agents" (e031018)
  • Timerify hasRefsInFile (#1435) (c6fa5e4)
  • Fixes #1436 - Make stderr redirection platform-agnostic (#1437) (61305e7) - thanks @ClementValot!
  • Refactor isReferenced and hasStrictlyNsReferences to better express intent (fa23a33)
  • Fix up and reuse base graph objects in tests (ddc6693)
  • Rename file node key to importedBy, and then some.. (cabee8e)
  • Refactor hasStrictlyNsReferences (resolve #1427) (0768c8a)
  • Replace entry symbol in trace output (circle → enter) (a7bc12b)
  • Add comments to module graph types (9971d47)
  • Work + comment release script (e848615)