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

Update dependency com.tngtech.archunit:archunit to v0.23.1 #2940

Merged

Conversation

renovate-bot
Copy link
Contributor

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.tngtech.archunit:archunit 0.22.0 -> 0.23.1 age adoption passing confidence

Renovate has been configured to skip the CLA:

@pivotal-cla This is an Obvious Fix


Release Notes

TNG/ArchUnit

v0.23.1

Bug Fixes

  • Fix exception Never found a JavaCodeUnit that matches supposed origin... occurring with Kotlin inline functions where the descriptor of a method deviates from the signature (this was introduced by checking the return type of the method as well when looking for a call origin in #​714; see #​804, #​807)
  • Fix optional layers of LayeredArchitecture failing with the new default behavior archRule.failOnEmptyShould = true (see #​809; thanks a lot to @​oberprah)

Enhancements

  • Log automatic resolution configuration on debug to reduce log clutter (see #​802)
  • Add new Method ArchRule.allowEmptyShould(boolean) to override the configured archRule.failOnEmptyShould configuration on a per rule basis (see #​803, #​806, #​808; thanks a lot to @​oberprah)

v0.23.0

Breaking Changes
  • As mentioned in Enhancements/Core ArchRules will now by default reject evaluating if the set passed to the should-clause is empty. This will break existing rules that don't check any elements in their should-clause. You can restore the old behavior by setting the ArchUnit property archRule.failOnEmptyShould=false
Bug Fixes
  • Fix wrong origins of JavaCall in case of bridge methods. If a class had two methods with the exact same name and parameter types the origin of a JavaCall was picked randomly from them. It now always picks the non-synthetic method (see #​513)
  • Fix non-deterministic return value of JavaCodeUnit.getMethod(). In case of bridge methods there might be more than one method matching the exact same name and parameters. In these cases the result of getMethod() was random. It now always picks the non-synthetic method (see #​256)
  • layeredArchitecture() will now allow to combine mayOnlyBeAccessedBy... and mayOnlyAccess.... Previously mayOnlyAccess... would forbid all incoming dependencies (see #​739; thanks a lot to @​hankem)
Enhancements
Core
  • Members targeted by AccessTarget are now resolved like the Java Reflection API would do it. Previously AccessTarget.resolve() would return a set of matching members, the new replacement AccessTarget.resolveMember() returns an optional member making it a lot easier to handle (see #​722)
  • JavaClass now knows its methodReferencesFromSelf (e.g. Object::toString) and constructorReferencesFromSelf (e.g. Object::new) (see #​215; thanks a lot to @​KorSin)
  • ArchRules will now by default reject evaluating if the set passed to the should-clause is empty. This prevents implementation errors like picking a package in that()... that doesn't even exist and thus composing a rule that doesn't check anything (compare the user guide; see #​774; thanks a lot @​oberprah)
  • The automatic import dependency resolution now resolves classes missing from the import that are only referenced
    • as class object (e.g. Foo.class)
    • in a throws clause (e.g. someMethod() throws FooException)
    • in an instanceof check (e.g. obj instanceof Foo)
    • as an array component type (e.g. Foo[] array;)
    • as an annotation parameter (e.g. @SomeAnnotation(type = Foo.class))
    • as part of a generic type signature (e.g. List<? extends Foo>)
    • Furthermore, the resolution behavior can now be tweaked to resolve deeper or not resolve at all. Thus, users can decide between resolving additional types and performance (compare the user guide; see #​728)
  • New predefined ImportOption to exclude package-info.class files (see #​793; thanks a lot to @​TomerFi)
Lang
  • Analogously to classes(), there now exists a method members()...should().containNumberOfElements(predicate) (see #​179; thanks a lot to @​oberprah)
Library
  • PlantUmlArchCondition now rejects files that don't specify any components at all or are of an invalid format (see #​735; thanks a lot to @​pfichtner)
JUnit
  • Tests can now be run if their classes are loaded by the context ClassLoader instead of the ArchUnit ClassLoader (see #​781; thanks a lot to @​stuartwdouglas)
  • New method Class<?> FieldSource.getJavaClass() to retrieve the declaring class of the respective field (see #​800; thanks a lot to @​famod)
Further Acknowledgement

Configuration

📅 Schedule: "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/Paris.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate-bot renovate-bot requested a review from a team as a code owner February 28, 2022 11:19
@forking-renovate forking-renovate bot added the type/dependency-upgrade A dependency upgrade (possibly via bot) label Feb 28, 2022
@forking-renovate forking-renovate bot removed the request for review from a team February 28, 2022 11:19
@simonbasle simonbasle added this to the 3.4.16 milestone Mar 7, 2022
@simonbasle simonbasle merged commit 5e56a43 into reactor:3.4.x Mar 7, 2022
@renovate-bot renovate-bot deleted the renovate/com.tngtech.archunit branch March 7, 2022 11:10
gcf-merge-on-green bot pushed a commit to GoogleCloudPlatform/cloud-sql-jdbc-socket-factory that referenced this pull request Mar 25, 2022
….16 (#778)

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [io.projectreactor:reactor-core](https://togithub.com/reactor/reactor-core) | `3.4.15` -> `3.4.16` | [![age](https://badges.renovateapi.com/packages/maven/io.projectreactor:reactor-core/3.4.16/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.projectreactor:reactor-core/3.4.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.projectreactor:reactor-core/3.4.16/compatibility-slim/3.4.15)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.projectreactor:reactor-core/3.4.16/confidence-slim/3.4.15)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>reactor/reactor-core</summary>

### [`v3.4.16`](https://togithub.com/reactor/reactor-core/releases/v3.4.16)

[Compare Source](https://togithub.com/reactor/reactor-core/compare/v3.4.15...v3.4.16)

Reactor-Core `3.4.16` is part of **`2020.0.17` Release Train (`Europium` SR17)**.

This service release contains a few bugfixes and improvements.

#### What's Changed

##### ✨ New features and improvements

-   Improve BoundedElasticScheduler to be less blocking by [@&#8203;simonbasle](https://togithub.com/simonbasle) in [reactor/reactor-core#2909
-   Add EmitFailureHandler.busyLoop flavor by [@&#8203;Animesh27](https://togithub.com/Animesh27) in [reactor/reactor-core#2943

##### 🐞 Bug fixes

-   Fix Mono.then not cancelling between Callable sources by [@&#8203;simonbasle](https://togithub.com/simonbasle) in [reactor/reactor-core#2934

##### 📖 Documentation, Tests and Build

-   Update Gradle to v7.4 in [reactor/reactor-core#2922
-   \[doc] Correct flux subscribe example in faq by [@&#8203;liukun2634](https://togithub.com/liukun2634) in [reactor/reactor-core#2924
-   Show how-to-fix hints in CI when preliminary steps fail (check of license headers, api compatibility) by [@&#8203;simonbasle](https://togithub.com/simonbasle) in [reactor/reactor-core#2932
-   \[guide] Remove ref to Swing/SwtScheduler in addons appendix by [@&#8203;simonbasle](https://togithub.com/simonbasle) in [reactor/reactor-core#2959
-   \[build] Have jcstress part of slowerChecks by [@&#8203;simonbasle](https://togithub.com/simonbasle) in [reactor/reactor-core#2958

##### 🆙 Dependency Upgrades

-   Update plugin spotless to v6.3.0 in [reactor/reactor-core#2925
-   Update plugin bnd to v6.2.0 in [reactor/reactor-core#2941
-   Update dependency org.awaitility:awaitility to v4.2.0 in [reactor/reactor-core#2945
-   Update dependency ch.qos.logback:logback-classic to v1.2.11 in [reactor/reactor-core#2946
-   Update dependency com.tngtech.archunit:archunit to v0.23.1 in [reactor/reactor-core#2940
-   Update plugin japicmp to v0.4.0 in [reactor/reactor-core#2948
-   Update dependency org.mockito:mockito-core to v4.4.0 in [reactor/reactor-core#2951
-   Update plugin download to v5.0.2 in [reactor/reactor-core#2950

#### New Contributors

-   [@&#8203;Animesh27](https://togithub.com/Animesh27) made their first contribution in [reactor/reactor-core#2943 👍

**Full Changelog**: reactor/reactor-core@v3.4.15...v3.4.16

</details>

---

### Configuration

📅 **Schedule**: "after 8am on Friday,before 12pm on Friday" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/dependency-upgrade A dependency upgrade (possibly via bot)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants