Skip to content

Commit

Permalink
prepare release 0.22.0
Browse files Browse the repository at this point in the history
Signed-off-by: codecholeric <action@github.com>
  • Loading branch information
actions-user committed Oct 30, 2021
1 parent 543241b commit 821f164
Show file tree
Hide file tree
Showing 25 changed files with 58 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ framework.
###### Gradle

```
testImplementation 'com.tngtech.archunit:archunit:0.21.0'
testImplementation 'com.tngtech.archunit:archunit:0.22.0'
```

###### Maven
Expand All @@ -26,7 +26,7 @@ testImplementation 'com.tngtech.archunit:archunit:0.21.0'
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit</artifactId>
<version>0.21.0</version>
<version>0.22.0</version>
<scope>test</scope>
</dependency>
```
Expand Down
2 changes: 1 addition & 1 deletion docs/_data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ main:
- title: "User Guide"
url: /userguide/html/000_Index.html
- title: "API"
url: https://javadoc.io/doc/com.tngtech.archunit/archunit/0.21.0
url: https://javadoc.io/doc/com.tngtech.archunit/archunit/0.22.0
- title: "About"
url: /about
4 changes: 2 additions & 2 deletions docs/_pages/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ ArchUnit can be obtained from Maven Central.
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit</artifactId>
<version>0.21.0</version>
<version>0.22.0</version>
<scope>test</scope>
</dependency>
```

#### Gradle
```groovy
dependencies {
testImplementation 'com.tngtech.archunit:archunit:0.21.0'
testImplementation 'com.tngtech.archunit:archunit:0.22.0'
}
```

Expand Down
8 changes: 8 additions & 0 deletions docs/_posts/2021-10-30-release-v0.22.0.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: splash
title: "New release of ArchUnit (v0.22.0)"
date: 2021-10-30 12:00:00
categories: news release
---

A new release of ArchUnit (v0.22.0) is out. For details see [the release on GitHub](https://github.com/TNG/ArchUnit/releases/tag/v0.22.0 "ArchUnit v0.22.0 on GitHub").
51 changes: 44 additions & 7 deletions docs/userguide/html/000_Index.html
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@
<div id="header">
<h1>ArchUnit User Guide</h1>
<div class="details">
<span id="revnumber">version 0.21.0</span>
<span id="revnumber">version 0.22.0</span>
</div>
<div id="toc" class="toc2">
<div id="toctitle">Table of Contents</div>
Expand Down Expand Up @@ -616,7 +616,7 @@ <h3 id="_junit_4"><a class="anchor" href="#_junit_4"></a>2.1. JUnit 4</h3>
<pre class="highlightjs highlight nowrap"><code data-lang="xml" class="language-xml hljs">&lt;dependency&gt;
&lt;groupId&gt;com.tngtech.archunit&lt;/groupId&gt;
&lt;artifactId&gt;archunit-junit4&lt;/artifactId&gt;
&lt;version&gt;0.21.0&lt;/version&gt;
&lt;version&gt;0.22.0&lt;/version&gt;
&lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;</code></pre>
</div>
Expand All @@ -625,7 +625,7 @@ <h3 id="_junit_4"><a class="anchor" href="#_junit_4"></a>2.1. JUnit 4</h3>
<div class="title">build.gradle</div>
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-none hljs">dependencies {
testImplementation 'com.tngtech.archunit:archunit-junit4:0.21.0'
testImplementation 'com.tngtech.archunit:archunit-junit4:0.22.0'
}</code></pre>
</div>
</div>
Expand All @@ -646,7 +646,7 @@ <h3 id="_junit_5"><a class="anchor" href="#_junit_5"></a>2.2. JUnit 5</h3>
<pre class="highlightjs highlight nowrap"><code data-lang="xml" class="language-xml hljs">&lt;dependency&gt;
&lt;groupId&gt;com.tngtech.archunit&lt;/groupId&gt;
&lt;artifactId&gt;archunit-junit5&lt;/artifactId&gt;
&lt;version&gt;0.21.0&lt;/version&gt;
&lt;version&gt;0.22.0&lt;/version&gt;
&lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;</code></pre>
</div>
Expand All @@ -655,7 +655,7 @@ <h3 id="_junit_5"><a class="anchor" href="#_junit_5"></a>2.2. JUnit 5</h3>
<div class="title">build.gradle</div>
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-none hljs">dependencies {
testImplementation 'com.tngtech.archunit:archunit-junit5:0.21.0'
testImplementation 'com.tngtech.archunit:archunit-junit5:0.22.0'
}</code></pre>
</div>
</div>
Expand All @@ -672,7 +672,7 @@ <h3 id="_other_test_frameworks"><a class="anchor" href="#_other_test_frameworks"
<pre class="highlightjs highlight nowrap"><code data-lang="xml" class="language-xml hljs">&lt;dependency&gt;
&lt;groupId&gt;com.tngtech.archunit&lt;/groupId&gt;
&lt;artifactId&gt;archunit&lt;/artifactId&gt;
&lt;version&gt;0.21.0&lt;/version&gt;
&lt;version&gt;0.22.0&lt;/version&gt;
&lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;</code></pre>
</div>
Expand All @@ -681,7 +681,7 @@ <h3 id="_other_test_frameworks"><a class="anchor" href="#_other_test_frameworks"
<div class="title">build.gradle</div>
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-none hljs">dependencies {
testImplementation 'com.tngtech.archunit:archunit:0.21.0'
testImplementation 'com.tngtech.archunit:archunit:0.22.0'
}</code></pre>
</div>
</div>
Expand Down Expand Up @@ -2673,6 +2673,43 @@ <h4 id="_grouping_rules"><a class="anchor" href="#_grouping_rules"></a>9.1.5. Gr
This also allows an easy reuse of a rule library in different projects or modules.</p>
</div>
</div>
<div class="sect3">
<h4 id="_generating_display_names"><a class="anchor" href="#_generating_display_names"></a>9.1.6. Generating Display Names</h4>
<div class="paragraph">
<p>ArchUnit offers the possibility to generate more readable names in the test report by replacing underscores in the
original rule names by spaces. For example, if a method or field is named</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-none hljs">some_Field_or_Method_rule</code></pre>
</div>
</div>
<div class="paragraph">
<p>this will appear as</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-none hljs">some Field or Method rule</code></pre>
</div>
</div>
<div class="paragraph">
<p>in the test report.</p>
</div>
<div class="paragraph">
<p>This is similar to JUnit 5&#8217;s <code>@DisplayNameGeneration</code> annotation, but because this display name generation does not
fit well with ArchUnit&#8217;s rule execution and because we&#8217;d like to offer this feature for JUnit 4 as well, you can enable
display name generation in ArchUnit with a configuration property (see <a href="#_advanced_configuration">Advanced Configuration</a>):</p>
</div>
<div class="listingblock">
<div class="title">archunit.properties</div>
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-none hljs">junit.displayName.replaceUnderscoresBySpaces=true</code></pre>
</div>
</div>
<div class="paragraph">
<p>If you omit the property (or set it to <code>false</code>) the original rule names are used as display names.</p>
</div>
</div>
</div>
</div>
</div>
Expand Down
Binary file modified docs/userguide/html/class-naming-deps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/class-package-contain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/cycle-check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/diamond-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/domain-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/dowalil-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/import-vs-lang.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/inheritance-access-check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/inheritance-annotation-check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/inheritance-naming-check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/lakos-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/layer-check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/martin-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/onion-architecture-check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/package-deps-no-access.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/package-deps-only-access.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/resolution-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/resolution-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/userguide/html/simple-plantuml-archrule-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
org.gradle.parallel=true
archunit.version=0.22.0-SNAPSHOT
archunit.version=0.22.0

0 comments on commit 821f164

Please sign in to comment.