diff --git a/README.md b/README.md index ccca0e5b80..183a884c7e 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ framework. ###### Gradle ``` -testCompile 'com.tngtech.archunit:archunit:0.12.0' +testCompile 'com.tngtech.archunit:archunit:0.13.0' ``` ###### Maven @@ -26,7 +26,7 @@ testCompile 'com.tngtech.archunit:archunit:0.12.0' com.tngtech.archunit archunit - 0.12.0 + 0.13.0 test ``` diff --git a/build.gradle b/build.gradle index d6c83593d7..e4cdb3c152 100644 --- a/build.gradle +++ b/build.gradle @@ -114,7 +114,7 @@ wrapper { allprojects { group = 'com.tngtech.archunit' - version = '0.13.0-SNAPSHOT' + version = '0.13.0' repositories { mavenCentral() diff --git a/docs/_data/navigation.yml b/docs/_data/navigation.yml index 6c8c9c6979..8caab35992 100644 --- a/docs/_data/navigation.yml +++ b/docs/_data/navigation.yml @@ -8,7 +8,7 @@ main: - title: "User Guide" url: /userguide/html/000_Index.html - title: "API" - url: https://javadoc.io/doc/com.tngtech.archunit/archunit/0.12.0 + url: https://javadoc.io/doc/com.tngtech.archunit/archunit/0.13.0 - title: "About" url: /about diff --git a/docs/_pages/getting-started.md b/docs/_pages/getting-started.md index 196b17ad07..84dbe78354 100644 --- a/docs/_pages/getting-started.md +++ b/docs/_pages/getting-started.md @@ -15,7 +15,7 @@ ArchUnit can be obtained from Maven Central. com.tngtech.archunit archunit - 0.12.0 + 0.13.0 test ``` @@ -23,7 +23,7 @@ ArchUnit can be obtained from Maven Central. #### Gradle ```groovy dependencies { - testCompile 'com.tngtech.archunit:archunit:0.12.0' + testCompile 'com.tngtech.archunit:archunit:0.13.0' } ``` diff --git a/docs/_posts/2020-01-10-release-v0.13.0.markdown b/docs/_posts/2020-01-10-release-v0.13.0.markdown new file mode 100644 index 0000000000..cfee4f1332 --- /dev/null +++ b/docs/_posts/2020-01-10-release-v0.13.0.markdown @@ -0,0 +1,8 @@ +--- +layout: splash +title: "New release of ArchUnit (v0.13.0)" +date: 2020-01-10 12:00:00 +categories: news release +--- + +A new release of ArchUnit (v0.13.0) is out. For details see [the release on GitHub](https://github.com/TNG/ArchUnit/releases/tag/v0.13.0 "ArchUnit v0.13.0 on GitHub"). \ No newline at end of file diff --git a/docs/userguide/000_Index.adoc b/docs/userguide/000_Index.adoc index 7846b27ea6..e12a00f1db 100644 --- a/docs/userguide/000_Index.adoc +++ b/docs/userguide/000_Index.adoc @@ -7,7 +7,7 @@ ifndef::env-site[:toc: left] :page-layout: splash :page-description: {description} :page-keywords: {keywords} -:version: 0.12.0 +:version: 0.13.0 :icons: font :source-highlighter: coderay :prewrap!: diff --git a/docs/userguide/002_Installation.adoc b/docs/userguide/002_Installation.adoc index b1207d069a..d044fb160b 100644 --- a/docs/userguide/002_Installation.adoc +++ b/docs/userguide/002_Installation.adoc @@ -17,7 +17,7 @@ Maven Central: com.tngtech.archunit archunit-junit4 - 0.12.0 + 0.13.0 test ---- @@ -26,7 +26,7 @@ Maven Central: .build.gradle ---- dependencies { - testCompile 'com.tngtech.archunit:archunit-junit4:0.12.0' + testCompile 'com.tngtech.archunit:archunit-junit4:0.13.0' } ---- @@ -56,7 +56,7 @@ A typical Maven configuration could look like this: com.tngtech.archunit archunit-junit5 - 0.12.0 + 0.13.0 test @@ -74,7 +74,7 @@ The configuration for Gradle allows to clearly distinguish a test runtime scope: ---- dependencies { ... - testCompile 'com.tngtech.archunit:archunit-junit5:0.12.0' + testCompile 'com.tngtech.archunit:archunit-junit5:0.13.0' } ---- @@ -89,7 +89,7 @@ context, include the core ArchUnit dependency from Maven Central: com.tngtech.archunit archunit - 0.12.0 + 0.13.0 test ---- @@ -98,7 +98,7 @@ context, include the core ArchUnit dependency from Maven Central: .build.gradle ---- dependencies { - testCompile 'com.tngtech.archunit:archunit:0.12.0' + testCompile 'com.tngtech.archunit:archunit:0.13.0' } ---- diff --git a/docs/userguide/html/000_Index.html b/docs/userguide/html/000_Index.html index 75195669dd..f336d97302 100644 --- a/docs/userguide/html/000_Index.html +++ b/docs/userguide/html/000_Index.html @@ -611,7 +611,7 @@

2.1. JUnit 4

<dependency>
     <groupId>com.tngtech.archunit</groupId>
     <artifactId>archunit-junit4</artifactId>
-    <version>0.12.0</version>
+    <version>0.13.0</version>
     <scope>test</scope>
 </dependency>
@@ -620,7 +620,7 @@

2.1. JUnit 4

build.gradle
dependencies {
-    testCompile 'com.tngtech.archunit:archunit-junit4:0.12.0'
+    testCompile 'com.tngtech.archunit:archunit-junit4:0.13.0'
 }
@@ -651,14 +651,8 @@

2.2. JUnit 5

... <dependency> <groupId>com.tngtech.archunit</groupId> - <artifactId>archunit-junit5-api</artifactId> - <version>0.12.0</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>com.tngtech.archunit</groupId> - <artifactId>archunit-junit5-engine</artifactId> - <version>0.12.0</version> + <artifactId>archunit-junit5</artifactId> + <version>0.13.0</version> <scope>test</scope> </dependency> </dependencies> @@ -687,8 +681,7 @@

2.2. JUnit 5

dependencies {
     ...
-    testCompile 'com.tngtech.archunit:archunit-junit5-api:0.12.0'
-    testRuntime 'com.tngtech.archunit:archunit-junit5-engine:0.12.0'
+    testCompile 'com.tngtech.archunit:archunit-junit5:0.13.0'
 }
@@ -705,7 +698,7 @@

<dependency> <groupId>com.tngtech.archunit</groupId> <artifactId>archunit</artifactId> - <version>0.12.0</version> + <version>0.13.0</version> <scope>test</scope> </dependency> @@ -714,7 +707,7 @@

build.gradle
dependencies {
-   testCompile 'com.tngtech.archunit:archunit:0.12.0'
+   testCompile 'com.tngtech.archunit:archunit:0.13.0'
 }
@@ -1322,7 +1315,7 @@

-
JavaAnnotation annotation = javaClass.getAnnotationOfType("some.pkg.CustomAnnotation");
+
JavaAnnotation<?> annotation = javaClass.getAnnotationOfType("some.pkg.CustomAnnotation");
 // result is untyped, since it might not be on the classpath (e.g. enums)
 Object value = annotation.get("value");
@@ -2141,7 +2134,8 @@
Violati
Violation Line Matcher

The ViolationLineMatcher compares lines from occurred violations with lines from the store. -The default implementation ignores line numbers and counts lines as equivalent when all other details match. +The default implementation ignores line numbers and numbers of anonymous classes or lambda expressions, +and counts lines as equivalent when all other details match. A custom ViolationLineMatcher can again either be defined programmatically:

@@ -2511,4 +2505,4 @@

- + \ No newline at end of file diff --git a/docs/userguide/html/class-naming-deps.png b/docs/userguide/html/class-naming-deps.png index d62ef74ad6..3768d47466 100644 Binary files a/docs/userguide/html/class-naming-deps.png and b/docs/userguide/html/class-naming-deps.png differ diff --git a/docs/userguide/html/class-package-contain.png b/docs/userguide/html/class-package-contain.png index a4c5695954..6b3e88b7ea 100644 Binary files a/docs/userguide/html/class-package-contain.png and b/docs/userguide/html/class-package-contain.png differ diff --git a/docs/userguide/html/cycle-check.png b/docs/userguide/html/cycle-check.png index 334db54a1b..d3551dc93d 100644 Binary files a/docs/userguide/html/cycle-check.png and b/docs/userguide/html/cycle-check.png differ diff --git a/docs/userguide/html/diamond-example.png b/docs/userguide/html/diamond-example.png index 6e8306517d..5645eee1ae 100644 Binary files a/docs/userguide/html/diamond-example.png and b/docs/userguide/html/diamond-example.png differ diff --git a/docs/userguide/html/domain-overview.png b/docs/userguide/html/domain-overview.png index 083c59316e..2ed172bb2c 100644 Binary files a/docs/userguide/html/domain-overview.png and b/docs/userguide/html/domain-overview.png differ diff --git a/docs/userguide/html/import-vs-lang.png b/docs/userguide/html/import-vs-lang.png index e8bc4a3208..35985153b9 100644 Binary files a/docs/userguide/html/import-vs-lang.png and b/docs/userguide/html/import-vs-lang.png differ diff --git a/docs/userguide/html/inheritance-access-check.png b/docs/userguide/html/inheritance-access-check.png index 0b8cb6da3d..c17ae1f3fd 100644 Binary files a/docs/userguide/html/inheritance-access-check.png and b/docs/userguide/html/inheritance-access-check.png differ diff --git a/docs/userguide/html/inheritance-annotation-check.png b/docs/userguide/html/inheritance-annotation-check.png index 5377d9b7bb..762ca11edf 100644 Binary files a/docs/userguide/html/inheritance-annotation-check.png and b/docs/userguide/html/inheritance-annotation-check.png differ diff --git a/docs/userguide/html/inheritance-naming-check.png b/docs/userguide/html/inheritance-naming-check.png index 69e85c6e1f..528d537ca9 100644 Binary files a/docs/userguide/html/inheritance-naming-check.png and b/docs/userguide/html/inheritance-naming-check.png differ diff --git a/docs/userguide/html/layer-check.png b/docs/userguide/html/layer-check.png index 1c22a61fe9..46891d3e32 100644 Binary files a/docs/userguide/html/layer-check.png and b/docs/userguide/html/layer-check.png differ diff --git a/docs/userguide/html/onion-architecture-check.png b/docs/userguide/html/onion-architecture-check.png index e209b5bffb..aae91f6dee 100644 Binary files a/docs/userguide/html/onion-architecture-check.png and b/docs/userguide/html/onion-architecture-check.png differ diff --git a/docs/userguide/html/package-deps-no-access.png b/docs/userguide/html/package-deps-no-access.png index 11de43707b..96381eb5a5 100644 Binary files a/docs/userguide/html/package-deps-no-access.png and b/docs/userguide/html/package-deps-no-access.png differ diff --git a/docs/userguide/html/package-deps-only-access.png b/docs/userguide/html/package-deps-only-access.png index 8807a672cc..fb9275845a 100644 Binary files a/docs/userguide/html/package-deps-only-access.png and b/docs/userguide/html/package-deps-only-access.png differ diff --git a/docs/userguide/html/resolution-example.png b/docs/userguide/html/resolution-example.png index 92519eab1a..87b091fad4 100644 Binary files a/docs/userguide/html/resolution-example.png and b/docs/userguide/html/resolution-example.png differ diff --git a/docs/userguide/html/resolution-overview.png b/docs/userguide/html/resolution-overview.png index ebe8f46f42..3534e0ea8c 100644 Binary files a/docs/userguide/html/resolution-overview.png and b/docs/userguide/html/resolution-overview.png differ diff --git a/docs/userguide/html/simple-plantuml-archrule-example.png b/docs/userguide/html/simple-plantuml-archrule-example.png index 5f9fe7c689..9dcb93ccc5 100644 Binary files a/docs/userguide/html/simple-plantuml-archrule-example.png and b/docs/userguide/html/simple-plantuml-archrule-example.png differ