Releases: webpro-nl/knip
Releases · webpro-nl/knip
Release list
Release 6.27.0
- Add Temporal plugin (98191a0)
- Handle -d alias for react-email dir argument (53d1fec)
- Expand pnpm script references with forwarded arguments (33e9799)
- Treat path-shaped script tokens as file references, extend known global binaries (d9508c2)
- Mark tsdown neverBundle dependencies as referenced (5fd863b)
- Support TanStack Start in tanstack-router plugin (bd63cd8)
- Mark vite ssr.external dependencies as referenced (91de938)
- Expand bun, npm, and yarn script references with forwarded arguments (b5a3176)
- Add Latitude as sponsor (4267675)
- Regenerate plugin list in docs (1d2cdff)
- Support Vue 2 template auto-imports (close #1881) (2157f39)
- Ignore block-commented stylesheet imports (resolve #1880, close #1882) (a627f53)
- Support TypeScript 5.0 narrowing for ssr.external (989292f)
- Resolve local binaries from bun run (5e9a7f0)
- Support Vitest inline project config extensions (f682327)
- Resolve package names from aliased node_modules paths (c273d5f)
- Support Tailwind CSS URL imports (57a4770)
- Resolve unbuilt workspace package exports (close #1877) (1b0a2c0)
- Skip unresolved imports of gitignored generated files (605c904)
- Attribute imports of aliased packages to the declared dependency (d05e775)
- Flag unresolvable imports of transitive peer deps as unlisted (resolve #1883) (18f0bff)
- Don't count ambient module declarations in script files as imports (e52aecf)
- Update rolldown snapshot (a63e927)
- Remove obsolete workarounds from ecosystem tests (a521cf7)
- Handle snapshotSerializers in Vitest plugin (resolve #1884) (b597de9)
- Set the stage (c059c2b)
Release 6.26.0
- ci: add path filters (#1871) (4249935) - thanks @trueberryless!
- Add CodeRabbit as gold sponsor (1da09fd)
- Fix up docs a bit more (39125a7)
- Don't report ambient declaration files as unused (aed361c)
- Register oclif command files as entries (3b4d58c)
- Add electron-vite plugin (d92107e)
- Add esbuild plugin (ef3b601)
- Ignore more globally available binaries (8292981)
- Resolve
#-imports to source when node condition is unbuilt (resolve #1873) (f2713ed) - Ignore gh as a globally available binary (a6f0772)
- Resolve Vitest benchmark files as entries (5742913)
- Extract shared Vue auto-import machinery into plugins/_vue (7301075)
- Scope compiler extensions per workspace (5e6f82b)
- Resolve auto-imported components in the Vue SFC compiler (009aad8)
- Add plugins for the Vue auto-import ecosystem (f638c83)
- Enable Vue SFC compiler on unplugin-vue and @vitejs/plugin-vue (9396ab1)
- Recognize vite-plugin-vue-meta-layouts (same layouts convention) (3ceee89)
- Add vite-plugin-pages and unplugin-icons plugins (9bc1754)
- Add vite-plugin-pwa and @intlify/unplugin-vue-i18n plugins (45dea0a)
- Dog, food. (e1249ad)
- Update query snapshot (a45941d)
- Don't misread Nitro route types as Vue component auto-imports (43aecd5)
- Read oxlint jsPlugins from vite-plus vite.config and .oxlintrc.json (589ffda)
- Add vite-plus plugin for run.tasks and staged scripts (f041c19)
- Support @vite-pwa/nuxt PWA config in nuxt.config (8fa7b11)
- Add @vite-pwa/assets-generator plugin (4254f7d)
- Add @nuxtjs/i18n plugin (dfb9acb)
- Read plugin entries from vite.config options and index.html (d533da8)
- Fix false positives in VitePress, next-mdx and unplugin-vue-i18n plugins (b99702a)
- Respect optional peers in pnpm and Yarn packageExtensions (aab080b)
- Detect babel plugins in the Storybook config (5dea975)
- Add shared AST helpers for imported calls and first property values (c84bb7a)
- Inline trivial resolveFromAST wrappers and normalize orval and sst (620079d)
- Extract inline resolveFromAST implementations to dedicated files (b5231c1)
- Normalize resolveFromAST files to a uniform contract (fc1ba0f)
- chore: migrate to Astro 7 and Sätteri (#1875) (f256a5b) - thanks @trueberryless!
- Show contributor count on docs homepage (6b8454a)
- Exclude gitignored package entry points (606e5d0)
- Add Tauri plugin (199180d)
- Add Laravel plugin (1974533)
- Add Quasar plugin (a220729)
Release 6.25.0
- fix: derive package name from package.json under Yarn
nodeLinker: pnpmstore (#1852) (3764605) - thanks @blowery! - Pick up types used in module augmentations via path aliases (resolve #1850) (9cc5a41)
- feat: add support for
packageExtensionsin yarn and pnpm (#1847) (61d3164) - thanks @trueberryless! - fix(ci): do not run integration on forks (#1855) (d23c10d) - thanks @trueberryless!
- chore(ci): improve security through specific permissions (#1856) (1eb42e6) - thanks @trueberryless!
- chore(ci): add concurrency blocks (#1857) (3bf3d11) - thanks @trueberryless!
- fix(next): resolve src/ entry patterns like Next.js does (#1859) (6e6a509) - thanks @dayongkr!
- Fix Bun test defaults (#1860) (2ac4c04) - thanks @jakeleventhal!
- Extend agentic guidelines re. plugins (da606eb)
- Support rspack and path aliases in require.context (d231d67)
- Support path aliases in import.meta.glob (resolve #1821) (fc7bb1e)
- Register MDX compiler in Storybook plugin (6f18138)
- Resolve TypeDoc customCss and customJs files (105687d)
- Resolve inline Babel presets/plugins in Jest transform (38e4a4a)
- Mark graphql-codegen generated outputs as entries (1255369)
- Add Fumadocs plugin (77c2142)
- Support next.config.mts in Next.js plugin (0f27e77)
- Add script command parser built on unbash (195510c)
- Gate Bun test entries on an actual bun test invocation (92903ec)
- Detect Node.js test runner via script command parser (a0bfe7b)
- Extract shared command walker for bash-parser and plugins (1301475)
- Normalize aliased glob patterns to posix for Win (23b4a74)
- Resolve inherited tsconfig paths from the extended config's directory (resolve #1866) (e3f0e5c)
- Handle var interpolations in shell cmd scripts (resolve #1867) (9422d06)
- Update query snapshot (5e192e9)
- Add support for Prettier overrides (#1869) (5dc7f12) - thanks @remcohaszing!
- Handle Serverless esbuild inject entries (#1865) (46111ef) - thanks @jakeleventhal!
- docs: add links to Discord and Contributing in issue templates (#1868) (5ab3483) - thanks @trueberryless!
- Add eve (Vercel framework) plugin (#1864) (20cd970) - thanks @jakeleventhal!
- Add circular dependencies as opt-in
cyclesissue type (resolve #1734) (#1812) (1b0ed6b) - chore(ci): remove redundant tag triggers (#1863) (c61d008) - thanks @trueberryless!
- Fix up docs a bit (89a2d8d)
Release 6.24.0
- chore: update year in license (#1833) (32bc844) - thanks @trueberryless!
- ci: pin github actions (#1835) (82a8d09) - thanks @trueberryless!
- Assume Node 24+/Bun and remove compilation step (d9ef038)
- Don't report working-directory scripts as unlisted binaries (resolve #1834) (aea7923)
- Add
pnpm run lintto CI workflow (ec9aa1c) - feat: add settings for Zed editor to use oxlint and oxfmt (#1836) (111f2e0) - thanks @trueberryless!
- fix: remove format_on_save: true settings from Zed settings to respect user settings (#1838) (dc2a640) - thanks @trueberryless!
- feat: add Renovate for GitHub actions only (#1839) (ffce88c) - thanks @trueberryless!
- Ignore import() in JSDoc examples (#1844) (6f090f9) - thanks @cyphercodes!
- Don't report types used only in module augmentations as unused (resolve #1843) (7901abd)
- Restore CI intent (0d739be)
- feat: add less, stylus compilers and astro, svelte, vue import resolution (#1845) (5525759) - thanks @trueberryless!
- Don't report built-in compiler dependencies as unused (3c9d4ad)
- feat: add scss handling to stencil plugin (#1846) (acba6b8) - thanks @johnjenkins!
- fix(reporters): always print the issue-type title for a single group (#1848) (cf997b2) - thanks @morgan-coded!
- Export Issue, IssueRecords and IssueType types (resolve #1840) (260f192)
- Squeeze every bit of perf out around compilers (bb0eeb6)
Release 6.23.0
- feat: add customCss to Starlight plugin (#1828) (f85d96f) - thanks @trueberryless!
- fix: enable vite and vitest plugins when vite-plus is found (#1830) (62e9753) - thanks @ghostdevv!
- feat: add support for @astrojs/markdoc (#1829) (94e2863) - thanks @trueberryless!
- Support nub (resolve #1831) (8a6050e)
- Don't report optimizeDeps and dedupe deps as unlisted (resolve #1832) (849b5ac)
Release 6.22.0
- Support XO v1+ (#1819) (1dffe36) - thanks @patrik-csak!
- feat: detect execaNode scripts in execa visitor (#1824) (5095ae1) - thanks @gwagjiug!
- Skip optional peerDeps referenced only via a host (resolve #1823) (7759a98)
- docs: update npmjs.com links to npmx.dev (#1826) (11fe8bd) - thanks @serhalp!
- docs: fix semi-broken link to DEVELOPMENT.md in CONTRIBUTING.md (#1827) (a5302b2) - thanks @serhalp!
- feat: add support for Lunaria (#1825) (3e1b821) - thanks @trueberryless!
- Fix lint issues (76c92e2)
Release 6.21.0
- Detect Vite config dependencies (resolve #1721) (8754c43)
- fix: Update timerifyMethods to include resolveFromAST (#1814) (3c8deac) - thanks @gwagjiug!
- Fix crash on null root export in package.json (resolve #1815) (9b8af2b)
- Fix unresolved subpath imports with a colon prefix (resolve #1816) (f89db41)
- Detect Next.js entry files in subdirectory (resolve #1817) (f32c6ea)
Release 6.20.0
Release 6.19.0
Release 6.18.0
- Update dependencies (pin oxc-resolver) (7dda4ec)
- Resolve tsconfig paths for non-TS importers independent of oxc ownership (3b71565)
- Format (64865f8)
- Fix false positive for Vitest mocks (#1802) (ec93e20) - thanks @remcohaszing!
- Mark npx-run binaries optional unless --no-install (resolve #1803) (203c31e)
- Ignore pnpm [WARN] lines in ecosystem snapshots (392835a)
- Update slonik snapshot (62d802b)
- Update Jest entry patterns for Jest 30 (#1808) (d2caedd) - thanks @gwagjiug!
- Report stale workspaces configuration keys as configuration hints (#1807) (9083c16) - thanks @WooWan!