Skip to content
forked from hub4j/github-api

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jun 1, 2021

Bumps archunit from 0.17.0 to 0.19.0.

Release notes

Sourced from archunit's releases.

ArchUnit 0.19.0

Bug Fixes

  • The last release archive contained a couple of classes from dependencies that were not relocated and thus lead to duplicate classes warnings in some environments. These classes have been removed (see #593)

Enhancements

Core

  • JavaField now knows its generic type (retrievable via JavaField.getType()). Furthermore type arguments of generic field types are now part of the JavaClass.directDependencies{From/To}Self (see #595; thanks a lot to @​hankem for extensive reviews)

Lang

  • new method noClasses()...should().transitivelyDependOnClassesThat(..)... (see #575; thanks a lot to @​hankem)
  • the failure descriptions of ArchRules can not be customized (see #343; thanks a lot to @​Farbauti89)

Library

  • new method layeredArchitecture()...mayOnlyAccessLayers(..)... (see #592; thanks a lot to @​GiorgadzeLuka)
  • improved readability for cycle rule violations (see #369; thanks a lot to @​jzheaux)
  • FreezingArchRule can now refreeze all violations, if current violations should simply be added to the ViolationStore without any failure (see #510)

JUnit

  • annotations of test methods and fields are now passed to the TestDescription by the JUnit 4 test support (see #552)

Further Acknowledgement

ArchUnit 0.18.0

Breaking Changes

  • JavaClass.get{All}Interfaces() is now JavaClass.get{All}RawInterfaces() to be consistent with regards to the generic JavaClass.getInterfaces(). We decided that this is still a less painful way than deprecating getInterfaces(), introducting a new getGenericInterfaces(), then deprecate getGenericInterfaces() in favor of getInterfaces() in a later release. To be consistent with other places in ArchUnit JavaClass.getInterfaces() needs to provide the generic version of the interfaces (compare e.g. JavaClass.getSuperclass()).

Enhancements

Core

  • Support for Java Records (see #295; thanks a lot to @​rweisleder)
  • JavaClass now knows its generic interfaces (retrievable via JavaClass.getInterfaces()). Furthermore type arguments of generic interfaces are now part of the JavaClass.directDependencies{From/To}Self (see #551)

Lang

  • New syntax methods classes().that().containAny{Members,Fields,Methods,...}That(..) (see #553; thanks a lot to @​nils-christian)

Library

  • Added an API to calculate Software Architecture Metrics inspired by John Lakos, Robert C. Martin and Herbert Dowalil. For further details check the user guide (see #572; thanks a lot to @​hankem and @​stefanhechtltng and to @​hdowalil for the inspiration and support)

... (truncated)

Commits
  • 6140cbc prepare release 0.19.0
  • 4b50cec pass annotations of rule fields and methods to JUnit test description #613
  • 7ca1d49 pass annotations of rule fields and methods to JUnit test description
  • e208a70 add property freeze.refreeze to allow overwriting the current store #612
  • e8fbae4 add property freeze.refreeze to allow overwriting the current store
  • 6a68905 Add generic field types #595
  • ff72a71 add generic field type argument dependencies from and to self
  • 0731c44 add generic type to JavaField
  • 52179d2 extract SignatureTypeArgumentProcessor to separate file
  • 1ccfbd6 rename TypeArgumentProcessor -> SignatureTypeArgumentProcessor
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [archunit](https://github.com/TNG/ArchUnit) from 0.17.0 to 0.19.0.
- [Release notes](https://github.com/TNG/ArchUnit/releases)
- [Commits](TNG/ArchUnit@v0.17.0...v0.19.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jun 1, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 1, 2021

Superseded by #31.

@dependabot dependabot bot closed this Aug 1, 2021
@dependabot dependabot bot deleted the dependabot/maven/com.tngtech.archunit-archunit-0.19.0 branch August 1, 2021 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants