Fix crash on importing inner classes that use += string concatenation on outer class private field (see #1146, #1194)
ArchUnit 1.2.0
Enhancements
Core
Add support for Java 22 (see #1172; thanks a lot to @hankem)
New methods {JavaType/JavaMember}.getAllInvolvedRawTypes() to quickly detect all raw types contributing to a type (e.g. List<? extends Serializable>) or member (e.g. List<? extends Serializable> method(Set<String> args) {..}) (see #723; thanks a lot to @leonardhusmann)
Lang
New rules API FieldsShould.{be/notBe}AccessedByMethodsThat(predicate) to prevent fields from being accessed by certain methods (see #857; thanks a lot to @leonardhusmann)
Library
New extensive modules rule syntax to support easier checks for modularization (dependency direction, API surface, ...) (compare the user guide; see #1078)
JUnit
Support JUnit Platform 1.10.1 (see #1157 and #1186; thanks a lot to @hankem)
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)
Fix crash on importing inner classes that use += string concatenation on outer class private field (see #1146, #1194)
ArchUnit 1.2.0
Enhancements
Core
Add support for Java 22 (see #1172; thanks a lot to @hankem)
New methods {JavaType/JavaMember}.getAllInvolvedRawTypes() to quickly detect all raw types contributing to a type (e.g. List<? extends Serializable>) or member (e.g. List<? extends Serializable> method(Set<String> args) {..}) (see #723; thanks a lot to @leonardhusmann)
Lang
New rules API FieldsShould.{be/notBe}AccessedByMethodsThat(predicate) to prevent fields from being accessed by certain methods (see #857; thanks a lot to @leonardhusmann)
Library
New extensive modules rule syntax to support easier checks for modularization (dependency direction, API surface, ...) (compare the user guide; see #1078)
JUnit
Support JUnit Platform 1.10.1 (see #1157 and #1186; thanks a lot to @hankem)
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)
Fix crash on importing inner classes that use += string concatenation on outer class private field (see #1146, #1194)
ArchUnit 1.2.0
Enhancements
Core
Add support for Java 22 (see #1172; thanks a lot to @hankem)
New methods {JavaType/JavaMember}.getAllInvolvedRawTypes() to quickly detect all raw types contributing to a type (e.g. List<? extends Serializable>) or member (e.g. List<? extends Serializable> method(Set<String> args) {..}) (see #723; thanks a lot to @leonardhusmann)
Lang
New rules API FieldsShould.{be/notBe}AccessedByMethodsThat(predicate) to prevent fields from being accessed by certain methods (see #857; thanks a lot to @leonardhusmann)
Library
New extensive modules rule syntax to support easier checks for modularization (dependency direction, API surface, ...) (compare the user guide; see #1078)
JUnit
Support JUnit Platform 1.10.1 (see #1157 and #1186; thanks a lot to @hankem)
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)
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 show 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
version.archunit
from 0.23.1 to 1.2.1. Updatescom.tngtech.archunit:archunit
from 0.23.1 to 1.2.1Release notes
Sourced from com.tngtech.archunit:archunit's releases.
... (truncated)
Commits
17ced08
prepare release 1.2.19c55310
set version to1.2.1-SNAPSHOT
c04665a
add up-to-date check for release check (#1202)69241da
add up-to-date check for release check4b0a225
fix importing inner class using string concat of outer field (#1203)cabbe13
fix importing inner class using string concat of outer field47b5e29
Bump actions/setup-java from 3.13.0 to 4.0.0b29e381
Bump com.diffplug.spotless from 6.23.1 to 6.23.29308d8b
Bump com.diffplug.spotless from 6.22.0 to 6.23.180a3262
Bump com.github.ben-manes.versions from 0.49.0 to 0.50.0Updates
com.tngtech.archunit:archunit-junit5-api
from 0.23.1 to 1.2.1Release notes
Sourced from com.tngtech.archunit:archunit-junit5-api's releases.
... (truncated)
Commits
17ced08
prepare release 1.2.19c55310
set version to1.2.1-SNAPSHOT
c04665a
add up-to-date check for release check (#1202)69241da
add up-to-date check for release check4b0a225
fix importing inner class using string concat of outer field (#1203)cabbe13
fix importing inner class using string concat of outer field47b5e29
Bump actions/setup-java from 3.13.0 to 4.0.0b29e381
Bump com.diffplug.spotless from 6.23.1 to 6.23.29308d8b
Bump com.diffplug.spotless from 6.22.0 to 6.23.180a3262
Bump com.github.ben-manes.versions from 0.49.0 to 0.50.0Updates
com.tngtech.archunit:archunit-junit5-engine
from 0.23.1 to 1.2.1Release notes
Sourced from com.tngtech.archunit:archunit-junit5-engine's releases.
... (truncated)
Commits
17ced08
prepare release 1.2.19c55310
set version to1.2.1-SNAPSHOT
c04665a
add up-to-date check for release check (#1202)69241da
add up-to-date check for release check4b0a225
fix importing inner class using string concat of outer field (#1203)cabbe13
fix importing inner class using string concat of outer field47b5e29
Bump actions/setup-java from 3.13.0 to 4.0.0b29e381
Bump com.diffplug.spotless from 6.23.1 to 6.23.29308d8b
Bump com.diffplug.spotless from 6.22.0 to 6.23.180a3262
Bump com.github.ben-manes.versions from 0.49.0 to 0.50.0Dependabot 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 show