Releases: webpro-nl/knip
Releases · webpro-nl/knip
Release 5.84.1
Release 5.84.0
- 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 testpositionals as entry points (resolve #1521) (da94725) - Edit docs (327726f)
- Minor refactor while at it (dc87e8e)
- Add config hints for unused
ignoreandignoreFilesitems (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
datetoIGNORED_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
repositoryfields (781a0fd) - Add language-server bin (13d7845)
- Use --stdio if no transport provided (bedb21a)
- Refactor from "enabled" to "deferSession" (resolve #1499) (15e3360)
- Use
initializationOptions.configor default fallback config obj (resolve #1503) (0abe568) - Also publish ls + mcp with pkg-pr-new (7806526)
- Auto-format (51b7dc1)
- Remove
chdirshenanigans (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
isFilterTransitiveDependenciesflag (close #1507, close #1101) (8678df2) - Housekeep webpack plugin (2cc1306)
- Move up
plugin.setup& tear downplugin.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
@sourcematcher from tailwind plugin (resolve #1537) (b7149b6) - Fix
-w→-Wflag 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
- 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
- fix: skip empty string entries in package.json exports (#1477) (6b64ac5) - thanks @SBoudrias!
- add LS version to serverInfo (#1468) (2c28cb8) - thanks @niklas-wortmann!
- Avoid highlighting path-like specifiers (#1488) (c8fec09) - thanks @azat-io!
- Update avatar URLs (#1489) (d612ac2) - thanks @azat-io!
- Copy fix-fixtures to tmp dir (bd1519c)
- Don't add excluded issue types (resolve #1486) (4eeeec6)
- Minor refactor (767b2c5)
- Edit docs (78111c9)
- feat: add plugin for expressive-code (#1493) (fbf958a) - thanks @cylewaitforit!
- Truncate file path left-side (resolves #1494) (235949c)
- Revert fix-fixture format test (fails in outside cwd) (8e96125)
- Skip empty manifest entries (resolve #1497) (d314ce4)
- Filter out empty issue objects in compact reporter (resolve #1482) (7df0b4d)
- Lint/group import statements (61e7a24)
- Update AGENTS.md & docs (7537f8a)
- Optimize
relativepath helper (ac8a454) - Move
postinstallscript to non-production (360110b) - Ignore simple-git-hooks in production (like husky etc) (bbab35b)
- Move & add testimonials (5ab1813)
- Update sponsors page (4534a55)
- Edit docs, add config hints page (1a73a05)
- Rename reporter to match project style (58f8c4e)
- Auto-format (854124f)
- Refactor fs helper to match project style (f22e7e9)
Release 5.82.1
Release 5.82.0
- Release @knip/[email protected] (31eaaf5)
- Update docs (0384673)
- Add config load error hint + example env var fixes (close #1470) (844beb0)
- Improve mdx "compiler" (resolve #1471) (cd145e2)
- Add and use
deputy.addIgnoredUnresolved(4f6d9e5) - Unescape regex in config hint output (b517726)
- Create new sveltekit plugin (split from svelte) (714af2e)
- Use [email protected] (cf5bae2)
- Detect and install none installed packages (#1473) (abefd09) - thanks @AlexanderKaran!
- Auto-format (4430175)
Release 5.81.0
- Update CLI documentation to match current implementation (#1458) (937dd83) - thanks @sebacardello!
- Replace glob with fs helpers (#1454) (880f718) - thanks @gameroman!
- Expand workspace filter (#1455) (b3edb80) - thanks @fightZy!
- Sync up cli-arguments ↔ md docs further (47559d2)
- Minor refactor for lints & consistency (c5e66db)
- Fix manual enabled compilers (#1457) (57df2e1) - thanks @digitsum!
- add push notification once module graph is built (#1461) (57825f4) - thanks @niklas-wortmann!
- fix(prisma): Avoid crash if Prisma schema path is not specified (#1464) (1e0ffc7) - thanks @stephenwade!
- Add Nitro plugin (#1415) (ecf5e34) - thanks @lynnntropy!
- Add a few impl guidelines to AGENTS.md (5923a20)
- Optimize workspaces storage & usage inside
ConfigurationChief(602603f) - Exclude optional peer deps from the production deps check in strict mode (resolve #1145) (605fb85)
- Consider all members of
keyof typeof MyEnumused (7d5b9d6) - Add entry files to sveltekit (resolve #1162, resolve #1465) (c0ed40a)
- Consistent config options (dc11214)
- Warn for faux monorepo in init script (b94dcfa)
- Document new --workspace behavior (#1455) (9cbbbc2)
- Auto-format (4c3e45f)
- Add
npm loginto release script (968d339)
Release 5.80.2
- Add astro-og-canvas plugin (#1445) (bb93a2b) - thanks @JoshuaKGoldberg!
- Small performance optimization on bun commands (#1453) (af0d736) - thanks @ClementValot!
- Accept
cwdOrPathinisDirectoryandisFile(2d0bb0c) - Improve
hasRefsInFile(86bde97) - Rename find-internal-references.ts → has-refs-in-file.ts (307c37b)
- Move
posfrom exporteddefaultkeyword to identifier (8e74ec7) - Fix release script (71206b7)
Release 5.80.1
- Minor lints/formats (26a6f7b)
- Resolve _partial.scss in compiler (close #1439) (ee09aa3)
- Add tip re. Knip editor extension early on (88c488a)
- Add more deterministic workspace mapping to remedy test flakiness (4d000e7)
- Remove
ignoreExportsUsedInFilefrom default config (f3eddf3) - Update docs (29e5f17)
- Show link to docs for module load errors in CLI (31ce18a)
- Bump release-it (64ad7b4)
- Improved TanStack Router Configs (#1449) (3e0b847)- thanks @AlexanderKaran!
- Add warning about invalid tag characters to docs (#1448) (de508e3) - thanks @solomonhawk!
- Housekeep a few thingies around
resolvein plugins (5b98269) - Improve react-router
appDir+ fix glob escaper (f993591) - Extended the NX plugins (#1443) (b9dc80e) - thanks @AlexanderKaran!
- Remove mention of editor plugins from FAQ (#1444) (d8fa043) - thanks @sebacardello!
- Fix remaining broken links (a8d0bfd)
- Bump md/mdx presets (a4d6b1e)
- Fix quoting in release script (2f663e3)
Release 5.80.0
- 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
isReferencedandhasStrictlyNsReferencesto 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)