Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump archunit.version from 0.13.1 to 0.14.1 #72

Merged
merged 1 commit into from
May 26, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps archunit.version from 0.13.1 to 0.14.1.
Updates archunit-junit5-api from 0.13.1 to 0.14.1

Release notes

Sourced from archunit-junit5-api's releases.

ArchUnit 0.14.1

Bug Fixes

  • Fix broken Gradle metadata: Migrating the legacy Maven Plugin to the Publish Plugin caused some broken Gradle metadata published to Maven Central by accident. While 0.14.0 should work fine with any other build tool like Maven, Gradle will complain about a missing artifact archunit-junit, which does in fact not exist. This release fixes this by removing the broken metadata.

ArchUnit 0.14.0

Breaking Changes

  • All methods that have been deprecated up to ArchUnit 0.12.0 have been removed. It might make sense to look through your code for usage of deprecated methods and follow the advice in the Javadoc before upgrading (see #329; thanks a lot to @rweisleder for removing the old deprecations)

Bug Fixes

  • Fix for Android where some classes were not imported correctly when run from the command line (see #319; also thanks a lot to @rweisleder for fixing the subsequent URI problems on Windows)
  • Fixed surprising behavior when using only{Call/Access}...That()... where the target of the call could not be resolved from the imported classes (see #340)

Enhancements

Core

  • JavaPackage now offers methods to retrieve the annotations of the respective package-info (see #263; thanks a lot to @rweisleder)
  • ClassFileImporter.importClasspath() now respects any ImportOptions passed via withImportOption(..) (see #296; thanks a lot to @rweisleder)
  • JavaMethod and JavaConstructor now have a heuristic line number instead of constant 0 (see #344; thanks a lot to @hankem)

Library

  • The algorithm to detect cycles between slices has been improved from BFS to Johnson/Tarjan (see #138; thanks a lot to @torfmaster)
  • Cycle detection now has a configurable limit for the max number of cycles to detect (by default 100) and a max number of violations reported (by default 20 dependencies per edge). This can be reconfigured according to the user guide (see #326)
  • onionArchitecture() now supports to ignoreDependency(..) analogously to layeredArchitecture() (see #318; thanks a lot to @hankem)
  • There now is a rule to forbid field injection in favor of constructor injection (see #288; thanks a lot to @rweisleder)
  • There now is a rule to forbid dependencies on upper packages (see #151; thanks a lot to @qoomon for the initiative and POC)

JUnit

Further Acknowledgement

Commits
  • 00ea9ed fix split repos when publishing to Sonatype Nexus
  • 2b84aaf prepare release 0.14.1
  • fb5fbb9 disable Gradle meta-data for releases
  • f86b87a prepare release 0.14.0 #364
  • c8363d2 prepare release 0.14.0
  • 6a2de78 Fix classpath scanning #363
  • 0c3eb53 adjust workflow to only run on either "push to master" or PR
  • 8f882df restore the old way of resolving classes from the classpath
  • bc353f4 avoid calling getClass().getSimpleName() repeatedly
  • e6d9d35 fix broken classpath scanning for manifest classpaths
  • Additional commits viewable in compare view

Updates archunit-junit5-engine from 0.13.1 to 0.14.1

Release notes

Sourced from archunit-junit5-engine's releases.

ArchUnit 0.14.1

Bug Fixes

  • Fix broken Gradle metadata: Migrating the legacy Maven Plugin to the Publish Plugin caused some broken Gradle metadata published to Maven Central by accident. While 0.14.0 should work fine with any other build tool like Maven, Gradle will complain about a missing artifact archunit-junit, which does in fact not exist. This release fixes this by removing the broken metadata.

ArchUnit 0.14.0

Breaking Changes

  • All methods that have been deprecated up to ArchUnit 0.12.0 have been removed. It might make sense to look through your code for usage of deprecated methods and follow the advice in the Javadoc before upgrading (see #329; thanks a lot to @rweisleder for removing the old deprecations)

Bug Fixes

  • Fix for Android where some classes were not imported correctly when run from the command line (see #319; also thanks a lot to @rweisleder for fixing the subsequent URI problems on Windows)
  • Fixed surprising behavior when using only{Call/Access}...That()... where the target of the call could not be resolved from the imported classes (see #340)

Enhancements

Core

  • JavaPackage now offers methods to retrieve the annotations of the respective package-info (see #263; thanks a lot to @rweisleder)
  • ClassFileImporter.importClasspath() now respects any ImportOptions passed via withImportOption(..) (see #296; thanks a lot to @rweisleder)
  • JavaMethod and JavaConstructor now have a heuristic line number instead of constant 0 (see #344; thanks a lot to @hankem)

Library

  • The algorithm to detect cycles between slices has been improved from BFS to Johnson/Tarjan (see #138; thanks a lot to @torfmaster)
  • Cycle detection now has a configurable limit for the max number of cycles to detect (by default 100) and a max number of violations reported (by default 20 dependencies per edge). This can be reconfigured according to the user guide (see #326)
  • onionArchitecture() now supports to ignoreDependency(..) analogously to layeredArchitecture() (see #318; thanks a lot to @hankem)
  • There now is a rule to forbid field injection in favor of constructor injection (see #288; thanks a lot to @rweisleder)
  • There now is a rule to forbid dependencies on upper packages (see #151; thanks a lot to @qoomon for the initiative and POC)

JUnit

Further Acknowledgement

Commits
  • 00ea9ed fix split repos when publishing to Sonatype Nexus
  • 2b84aaf prepare release 0.14.1
  • fb5fbb9 disable Gradle meta-data for releases
  • f86b87a prepare release 0.14.0 #364
  • c8363d2 prepare release 0.14.0
  • 6a2de78 Fix classpath scanning #363
  • 0c3eb53 adjust workflow to only run on either "push to master" or PR
  • 8f882df restore the old way of resolving classes from the classpath
  • bc353f4 avoid calling getClass().getSimpleName() repeatedly
  • e6d9d35 fix broken classpath scanning for manifest classpaths
  • Additional commits viewable in compare view

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 badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps `archunit.version` from 0.13.1 to 0.14.1.

Updates `archunit-junit5-api` from 0.13.1 to 0.14.1
- [Release notes](https://github.com/TNG/ArchUnit/releases)
- [Commits](TNG/ArchUnit@v0.13.1...v0.14.1)

Updates `archunit-junit5-engine` from 0.13.1 to 0.14.1
- [Release notes](https://github.com/TNG/ArchUnit/releases)
- [Commits](TNG/ArchUnit@v0.13.1...v0.14.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added the dependencies Update of dependencies label May 25, 2020
@uhafner uhafner merged commit b4845e2 into master May 26, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/maven/archunit.version-0.14.1 branch May 26, 2020 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update of dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant