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

Chore(deps-dev): Bump com.tngtech.archunit:archunit from 0.23.1 to 1.1.0 #1695

Merged
merged 2 commits into from
Aug 15, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 15, 2023

Bumps com.tngtech.archunit:archunit from 0.23.1 to 1.1.0.

Release notes

Sourced from com.tngtech.archunit:archunit's releases.

ArchUnit 1.1.0

Bug Fixes

  • Try-Catch-Blocks declared within lambdas will now be detected correctly (see #1069)
  • Fix ArchUnit not being able to find classes loaded by Spring Boot ClassLoader (see #1131; thanks a lot to @​odrotbohm)

Enhancements

Core

  • New ImportOption DoNotIncludeGradleTestFixtures (see #949)
  • Reduce all log levels except WARN to TRACE (see #1050)

Library

  • Two new GeneralCodingRules (see #970; thanks a lot to @​hankem)
    • ASSERTIONS_SHOULD_HAVE_DETAIL_MESSAGE
    • DEPRECATED_API_SHOULD_NOT_BE_USED
  • TextFileBasedViolationStore is now part of the public API and can thus be used for customization; as a special case of this file names can now be adjusted (see #1046; thanks a lot to @​danhaywood)
  • TextFileBasedViolationStore now adds a final new line character to the violation file to better conform to the spec (see #1057; thanks a lot to @​pkubowicz)

ArchUnit 1.0.1

Bug Fixes

  • Fix bug where referenced class objects and instanceof checks were not detected if declared within a lambda (see #992)
  • Fix empty records not being detected as records (see #998; thanks a lot to @​hankem)
  • Fix Javadoc on layeredArchitecture() missing the new consideringDependencies part (see #977; thanks a lot to @​Thunderforge)
  • Fix user guide still showing DescribedPredicate.apply instead of .test (see #978; thanks a lot to @​thmuch)

ArchUnit 1.0.0

⚠️ If you upgrade from the latest 0.x version, please also refer to the release notes of release candidate 1.0.0-rc1 as these release notes refer to upgrading from the release candidate ⚠️

Breaking Changes

  • Naming around JavaPackage subpackages and dependencies has been improved to remove ambiguities. In general, whenever all classes from a package and subpackages recursively are involved, this is now called "package tree". Otherwise, it only targets the classes directly within this package (see #919/#968; thanks a lot to @​grimsa) The following mapping shows how to translate the old methods to the current methods:
    • getAllClasses() -> getClassesInPackageTree()
    • getAllSubpackages() -> getSubpackagesInTree()
    • getClassDependenciesFromSelf() -> getClassDependenciesFromThisPackageTree()
    • getClassDependenciesToSelf() -> getClassDependenciesToThisPackageTree()
    • getPackageDependenciesFromSelf() -> getPackageDependenciesFromThisPackageTree()
    • getPackageDependenciesToSelf() -> getPackageDependenciesToThisPackageTree()
    • accept(..) -> traversePackageTree(..)
  • Importing the default package via ClassFileImporter.importPackages("") will now yields the same result as using importClasspath() without any ImportOption (see #954)
  • ClassFileImporter.importClasspath() now behaves consistently to other import APIs. I.e. no default ImportOptions like DoNotIncludeArchives are added anymore, instead all ImportOptions need to be added the same way as for all other import methods (see #958)
  • The custom collection ImportOptions has been removed from the public API and been replaced by a standard Collection<ImportOption> where appropriate (see #958)
  • The package com.tngtech.archunit.library.plantuml has been moved to com.tngtech.archunit.library.plantuml.rules to make room for adding other PlantUML related features (see #959)
  • SLF4J-API has been upgraded from 1.7.30 to 2.0.3, so any log adapter dependency to be used with ArchUnit (e.g. to hook in Log4J) has to be compatible with SLF4J-API 2.x from now on (see #966)

Bug Fixes

... (truncated)

Commits
  • 7038a72 prepare release 1.1.0
  • e87cd32 fix expected release artifact versions
  • 1781127 Let JarFileLocation work with custom ClassLoader URIs (#1131)
  • 69e3afc Let JarFileLocation work with custom ClassLoader URIs.
  • 3334633 unify URL parsing into base and path
  • 49215f8 resolve class file locations from URLClassLoader for JDK > 8
  • fdbdbe2 derive JarFile from URI in a safer way
  • f364fa9 improve tests for scanning packages with custom ClassLoader
  • 3fc943b fix TestJarFile creating JAR files violating the spec
  • b368a25 Bump com.github.spotbugs from 5.1.0 to 5.1.1 (#1150)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [com.tngtech.archunit:archunit](https://github.com/TNG/ArchUnit) from 0.23.1 to 1.1.0.
- [Release notes](https://github.com/TNG/ArchUnit/releases)
- [Commits](TNG/ArchUnit@v0.23.1...v1.1.0)

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

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 Aug 15, 2023
@codecov
Copy link

codecov bot commented Aug 15, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (fe653e3) 80.10% compared to head (d3e23bc) 80.10%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1695   +/-   ##
=========================================
  Coverage     80.10%   80.10%           
  Complexity     2237     2237           
=========================================
  Files           215      215           
  Lines          6771     6771           
  Branches        367      367           
=========================================
  Hits           5424     5424           
  Misses         1132     1132           
  Partials        215      215           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bitwiseman bitwiseman merged commit 9c00184 into main Aug 15, 2023
11 checks passed
@dependabot dependabot bot deleted the dependabot/maven/com.tngtech.archunit-archunit-1.1.0 branch August 15, 2023 22:35
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.

1 participant