Skip to content

Releases: sverweij/dependency-cruiser

v16.8.0

12 Dec 08:36
v16.8.0
1cd25c2
Compare
Choose a tag to compare

✨ features

  • dd81580 feat: enables matching transitive dependencies in 'required' rules (#975) - thanks to @ThiagoMaia1 for suggesting and testing the feature

🐛 fixes

  • 7bcabe7 refactor: simplifies a few boolean expressions
  • the dependency bump below (20a7a2f) also bumped watskeburt to latest, which makes both the --affected cli option and the cache work better on ms-windows and other ms-dos based operating systems.

👷 maintenance

  • 20a7a2f build(npm): updates external dependencies

🧹 chores

  • fdbb72a chore(configs): makes 'unlimited' config inherit individual options from the base config
  • 8595b73 chore(tools): adds a script that prints a readable AST from any tsc-readable file
  • 476c956 chore(npm): updates external devDependencies

v16.8.0-beta-1

11 Dec 14:04
v16.8.0-beta-1
34beb97
Compare
Choose a tag to compare
v16.8.0-beta-1 Pre-release
Pre-release

✨ features

  • enables checking against indirect ('transitive') dependencies in required rules:
    • 26df92c feat(schema): adds 'reachable' attribute to the ones possible in 'required' rules
    • 64957b9 feat(enrich): adds reachable/ reaches detection based on 'required' rules
    • e984d85 feat(validate): adds validation of required rules with 'reachable' attributes (for transitive dependencies)
    • fb99edc doc(types|rules-reference): adds the reachable attribute to the types, adds an example to the rules reference
    • fcba072 fix(validate): in required rules also take the module itself as a dependency

🐛 fixes

  • 7bcabe7 refactor: simplifies a few boolean expressions

👷 maintenance

  • 20a7a2f build(npm): updates external dependencies

🧹 chores

  • fdbb72a chore(configs): makes 'unlimited' config inherit individual options from the base config
  • 8595b73 chore(tools): adds a script that prints a readable AST from any tsc-readable file

v16.7.0

01 Dec 20:18
v16.7.0
da9b8d5
Compare
Choose a tag to compare

✨ feature: recognize type imports in jsdoc

Dependency-cruiser now has the ability to recognize imports in jsdoc - both the new ones introduced in TS5.5 (e.g. /** @import { something } from "blah"; */), as well as the older ones (e.g. /** @type {import('blah').something} */). It's behind an option so it will only detect them if you want it to.

Thanks to @louwers for raising the associated issue and testing a very early version of PR #965

commits:

  • 09e9e41 feat(extract): adds recognition of jsdoc @import type imports (#965)
  • 0d49477 feat(extract): adds recognition of the 'classic' jsdoc 'bracket' imports (#969)
  • fedead6 feat(init): adds question to enable detection of jsdoc imports (#970)

🐛 fixes

  • 09ae707 fix(npm): shortens the message in the (only) distributed script

👷 maintenance

  • aae6edd/ b5bfe76 refactor: addresses small linting issues
  • 2d2b0e5 refactor(resolve): uses Maps for the context maps
  • 79e1aa1 build(npm): updates external dependencies
  • 09ae707 fix(npm): shortens the message in the (only) distributed script

🧹 chores

  • 8a288dd chore: migrates to eslint 9 & flat config (#968)
  • 69b59b6 chore: makes ci use node 23 instead of 22
  • 78960d3 build(npm): adds svgo to devDependencies

v16.7.0-beta-2

24 Nov 19:31
v16.7.0-beta-2
4157070
Compare
Choose a tag to compare
v16.7.0-beta-2 Pre-release
Pre-release

✨ features

  • 09e9e41 feat(extract): adds recognition of jsdoc @import type imports (#965) (same as in v16.7.0-beta-1)
  • c01204f feat(extract): adds recognition of jsdoc 'bracket' imports (#969) (✨ new a.c.t. v16.7.0-beta-1)

👷 maintenance

  • aae6edd/ b5bfe76 refactor: addresses small linting issues
  • 6948da5 build(npm): updates external dependencies
  • 09ae707 fix(npm): shortens the message in the (only) distributed script

🧹 chores

  • 8a288dd chore: migrates to eslint 9 & flat config (#968)
  • 69b59b6 chore: makes ci use node 23 instead of 22
  • 78960d3 build(npm): adds svgo to devDependencies

v16.7.0-beta-1

17 Nov 19:38
v16.7.0-beta-1
49a73af
Compare
Choose a tag to compare
v16.7.0-beta-1 Pre-release
Pre-release

✨ features

  • 09e9e41 feat(extract): adds recognition of jsdoc @import type imports (#965) - thanks @louwers for raising the associated issue and testing a very early version of this feature!

This feature will be released in v16.7.0 (or later?) when the 'bracket style' jsdoc imports also work, so we don't create a breaking change when it's separately introduced.

👷 maintenance

  • 69b59b6 chore: makes ci use node 23 instead of 22
  • b5bfe76 refactor(graph-utl): renames a private function
  • 78960d3 build(npm): adds svgo to devDependencies

v16.6.0

03 Nov 21:34
v16.6.0
8a701ee
Compare
Choose a tag to compare

✨ features

👷 maintenance

  • 7683e90 fix(extract): removes extraneous capturing group from a regular expression
  • 65f2748 build(npm): updates external dependencies

v16.6.0-beta-1

31 Oct 21:03
v16.6.0-beta-1
53aced3
Compare
Choose a tag to compare
v16.6.0-beta-1 Pre-release
Pre-release

✨ features

  • d362be9 feat: adds support for svelte 5

👷 maintenance

  • 7683e90 fix(extract): removes extraneous capturing group from a regular expression

v16.5.0

23 Oct 19:04
v16.5.0
8e74e85
Compare
Choose a tag to compare

✨ features

  • 802ff6f feat(cli): expands the info displayed in --info (#959)

📖 documentation

  • 1ca77ec doc(FAQ): corrects a typo
  • 8269857 doc(cli): clarify when using --max-depth is a good idea (never, that's when 😄)

👷 maintenance

  • 9453f20 build(npm): updates external dependencies

v16.4.2

22 Sep 18:35
v16.4.2
58ffa24
Compare
Choose a tag to compare

👷 maintenance

  • 4314428 refactor: uses explicit exports over default where possible (#956)
  • 6d1b8bb build(npm): updates external dependencies + minor refactor

🧹 chores

  • c7802df chore(ci): adds repo check to provenance publishing
  • 76da16f chore(npm): updates external devDependencies

v16.4.1

01 Sep 18:34
v16.4.1
3986915
Compare
Choose a tag to compare

🐛 fixes

  • e414c0a fix(extract): ignore entries in 'workspaces' arrays that aren't strings (instead of throwing) (#955) - thanks to @asfaltboy for raising the issue that led to this fix

🧹 chores

Things not influencing the built & distributed artifact:

  • 75f946f chore(doc): removes a few @ts-expect-errors now typescript has caught up with some new features
  • b2cd13d/ bb215ae chore(npm): updates external devDependencies
  • 079f7d8 chore(ci): cache based on the lockfile, now we use it