Skip to content

Bump archunit-junit5 from 0.18.0 to 0.22.0#29

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/maven/com.tngtech.archunit-archunit-junit5-0.22.0
Closed

Bump archunit-junit5 from 0.18.0 to 0.22.0#29
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/maven/com.tngtech.archunit-archunit-junit5-0.22.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Dec 10, 2021

Bumps archunit-junit5 from 0.18.0 to 0.22.0.

Release notes

Sourced from archunit-junit5's releases.

ArchUnit 0.22.0

Bug Fixes

  • Java class file URLs with spaces are now correctly handled when resolving transitive dependencies (see #683)
  • fixed memory leak in ArchUnit JUnit 5 support (see #695)
  • three bug fixes regarding generics import (see #700)
    • toplevel generic array types (e.g. T[]) were not detected correctly as method parameters
    • primitive types were missing from the generic JavaCodeUnit.getParameterTypes()
    • inner classes were not detected correctly as upper bounds of type parameters

Enhancements

Core

  • support for method and constructor parameter annotations (see #701; thanks a lot to @​hankem for extensive reviews)
    • new method JavaCodeUnit.getParameters() that will return parameters in a structured form offering raw type, generic type and annotations
    • new method JavaCodeUnit.getParameterAnnotations() that offers just parameter annotations by index
    • parameter annotations are now part of JavaClass.directDependencies{from/to}Self
  • SourceCodeLocation now offers structured access to source file and source class (see #673; thanks a lot to @​thmuch)

JUnit

  • new option to replace underscores in rule field/method names by spaces in the test description to improve readability (see #626; thanks a lot to @​thmuch)

ArchUnit 0.21.0

Breaking Changes

  • the type JavaClassList has been removed completely. It was used inconsistently and provided very limited value (convenient way to get the names of the classes). On the other hand having a custom list implementation increases maintenance overhead and limits options in the future. Please replace usages of JavaClassList.getNames() by the static utility HasName.Utils.namesOf(classes) which can be used on any Iterable with elements of type HasName (see #633)

Enhancements

Core

  • JavaMethod now knows its generic parameter types (retrievable via JavaMethod.getParameterTypes()). Furthermore type arguments of generic method parameter types are now part of the JavaClass.directDependencies{From/To}Self (see #640)

Library

  • the PlantUML rule syntax now allows colored components (see #258; thanks a lot to @​johthor)

Further Acknowledgement

ArchUnit 0.20.1

Bug Fixes

  • Fix bug where some anonymous classes compiled with JDK 7 could not be imported anymore (java.lang.IllegalArgumentException: Can't register multiple enclosing classes, this is likely a bug!) (see #637)

ArchUnit 0.20.0

Bug Fixes

... (truncated)

Commits
  • 821f164 prepare release 0.22.0
  • 543241b pass on SonaType username and password when testing examples
  • 2d27524 parameterize GitHub repo prefix of release tasks
  • 18bdaae add short sleep time after executing commands
  • 88d8fcd move JavaCodeUnit.Parameter to toplevel JavaParameter #707
  • 83355ae move JavaCodeUnit.Parameter to toplevel JavaParameter
  • c995b95 Upgrade dependencies #703
  • efff1dc Bump com.diffplug.spotless from 5.16.0 to 5.17.1
  • 43a0132 Bump com.github.spotbugs from 4.7.6 to 4.7.9
  • 6787775 Bump actions/checkout from 2.3.4 to 2.3.5
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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-junit5](https://github.com/TNG/ArchUnit) from 0.18.0 to 0.22.0.
- [Release notes](https://github.com/TNG/ArchUnit/releases)
- [Commits](TNG/ArchUnit@v0.18.0...v0.22.0)

---
updated-dependencies:
- dependency-name: com.tngtech.archunit:archunit-junit5
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 10, 2021
@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Feb 21, 2022

Superseded by #60.

@dependabot dependabot bot closed this Feb 21, 2022
@dependabot dependabot bot deleted the dependabot/maven/com.tngtech.archunit-archunit-junit5-0.22.0 branch February 21, 2022 01:21
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants