Skip to content

Commit

Permalink
prepare release 0.16.0
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Gafert <peter.gafert@tngtech.com>
  • Loading branch information
codecholeric committed Jan 31, 2021
1 parent d47e556 commit d63a224
Show file tree
Hide file tree
Showing 22 changed files with 40 additions and 33 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.15.0'
testImplementation 'com.tngtech.archunit:archunit:0.16.0'
```

###### Maven
Expand All @@ -26,7 +26,7 @@ testImplementation 'com.tngtech.archunit:archunit:0.15.0'
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit</artifactId>
<version>0.15.0</version>
<version>0.16.0</version>
<scope>test</scope>
</dependency>
```
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ext {

allprojects {
group = 'com.tngtech.archunit'
version = '0.16.0-SNAPSHOT'
version = '0.16.0'

repositories {
mavenCentral {
Expand Down
3 changes: 1 addition & 2 deletions docs/_data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ main:
- title: "User Guide"
url: /userguide/html/000_Index.html
- title: "API"
url: https://javadoc.io/doc/com.tngtech.archunit/archunit/0.15.0
url: https://javadoc.io/doc/com.tngtech.archunit/archunit/0.16.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.15.0</version>
<version>0.16.0</version>
<scope>test</scope>
</dependency>
```

#### Gradle
```groovy
dependencies {
testImplementation 'com.tngtech.archunit:archunit:0.15.0'
testImplementation 'com.tngtech.archunit:archunit:0.16.0'
}
```

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

A new release of ArchUnit (v0.16.0) is out. For details see [the release on GitHub](https://github.com/TNG/ArchUnit/releases/tag/v0.16.0 "ArchUnit v0.16.0 on GitHub").
52 changes: 26 additions & 26 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.15.0</span>
<span id="revnumber">version 0.16.0</span>
</div>
<div id="toc" class="toc2">
<div id="toctitle">Table of Contents</div>
Expand Down Expand Up @@ -614,7 +614,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.15.0&lt;/version&gt;
&lt;version&gt;0.16.0&lt;/version&gt;
&lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;</code></pre>
</div>
Expand All @@ -623,7 +623,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.15.0'
testImplementation 'com.tngtech.archunit:archunit-junit4:0.16.0'
}</code></pre>
</div>
</div>
Expand All @@ -644,7 +644,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.15.0&lt;/version&gt;
&lt;version&gt;0.16.0&lt;/version&gt;
&lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;</code></pre>
</div>
Expand All @@ -653,7 +653,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.15.0'
testImplementation 'com.tngtech.archunit:archunit-junit5:0.16.0'
}</code></pre>
</div>
</div>
Expand All @@ -670,7 +670,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.15.0&lt;/version&gt;
&lt;version&gt;0.16.0&lt;/version&gt;
&lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;</code></pre>
</div>
Expand All @@ -679,7 +679,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.15.0'
testImplementation 'com.tngtech.archunit:archunit:0.16.0'
}</code></pre>
</div>
</div>
Expand Down Expand Up @@ -846,7 +846,7 @@ <h2 id="_what_to_check"><a class="anchor" href="#_what_to_check"></a>4. What to
<h3 id="_package_dependency_checks"><a class="anchor" href="#_package_dependency_checks"></a>4.1. Package Dependency Checks</h3>
<div class="imageblock">
<div class="content">
<img src="package-deps-no-access.png" alt="package deps no access" width="460" height="75">
<img src="package-deps-no-access.png" alt="package deps no access" width="464" height="79">
</div>
</div>
<div class="listingblock">
Expand All @@ -857,7 +857,7 @@ <h3 id="_package_dependency_checks"><a class="anchor" href="#_package_dependency
</div>
<div class="imageblock">
<div class="content">
<img src="package-deps-only-access.png" alt="package deps only access" width="487" height="333">
<img src="package-deps-only-access.png" alt="package deps only access" width="491" height="335">
</div>
</div>
<div class="listingblock">
Expand All @@ -871,7 +871,7 @@ <h3 id="_package_dependency_checks"><a class="anchor" href="#_package_dependency
<h3 id="_class_dependency_checks"><a class="anchor" href="#_class_dependency_checks"></a>4.2. Class Dependency Checks</h3>
<div class="imageblock">
<div class="content">
<img src="class-naming-deps.png" alt="class naming deps" width="324" height="213">
<img src="class-naming-deps.png" alt="class naming deps" width="320" height="215">
</div>
</div>
<div class="listingblock">
Expand All @@ -885,7 +885,7 @@ <h3 id="_class_dependency_checks"><a class="anchor" href="#_class_dependency_che
<h3 id="_class_and_package_containment_checks"><a class="anchor" href="#_class_and_package_containment_checks"></a>4.3. Class and Package Containment Checks</h3>
<div class="imageblock">
<div class="content">
<img src="class-package-contain.png" alt="class package contain" width="348" height="203">
<img src="class-package-contain.png" alt="class package contain" width="343" height="180">
</div>
</div>
<div class="listingblock">
Expand All @@ -899,7 +899,7 @@ <h3 id="_class_and_package_containment_checks"><a class="anchor" href="#_class_a
<h3 id="_inheritance_checks"><a class="anchor" href="#_inheritance_checks"></a>4.4. Inheritance Checks</h3>
<div class="imageblock">
<div class="content">
<img src="inheritance-naming-check.png" alt="inheritance naming check" width="468" height="224">
<img src="inheritance-naming-check.png" alt="inheritance naming check" width="464" height="226">
</div>
</div>
<div class="listingblock">
Expand All @@ -910,7 +910,7 @@ <h3 id="_inheritance_checks"><a class="anchor" href="#_inheritance_checks"></a>4
</div>
<div class="imageblock">
<div class="content">
<img src="inheritance-access-check.png" alt="inheritance access check" width="569" height="266">
<img src="inheritance-access-check.png" alt="inheritance access check" width="558" height="251">
</div>
</div>
<div class="listingblock">
Expand All @@ -924,7 +924,7 @@ <h3 id="_inheritance_checks"><a class="anchor" href="#_inheritance_checks"></a>4
<h3 id="_annotation_checks"><a class="anchor" href="#_annotation_checks"></a>4.5. Annotation Checks</h3>
<div class="imageblock">
<div class="content">
<img src="inheritance-annotation-check.png" alt="inheritance annotation check" width="587" height="219">
<img src="inheritance-annotation-check.png" alt="inheritance annotation check" width="583" height="221">
</div>
</div>
<div class="listingblock">
Expand All @@ -938,7 +938,7 @@ <h3 id="_annotation_checks"><a class="anchor" href="#_annotation_checks"></a>4.5
<h3 id="_layer_checks"><a class="anchor" href="#_layer_checks"></a>4.6. Layer Checks</h3>
<div class="imageblock">
<div class="content">
<img src="layer-check.png" alt="layer check" width="643" height="598">
<img src="layer-check.png" alt="layer check" width="632" height="575">
</div>
</div>
<div class="listingblock">
Expand All @@ -958,7 +958,7 @@ <h3 id="_layer_checks"><a class="anchor" href="#_layer_checks"></a>4.6. Layer Ch
<h3 id="_cycle_checks"><a class="anchor" href="#_cycle_checks"></a>4.7. Cycle Checks</h3>
<div class="imageblock">
<div class="content">
<img src="cycle-check.png" alt="cycle check" width="749" height="398">
<img src="cycle-check.png" alt="cycle check" width="738" height="375">
</div>
</div>
<div class="listingblock">
Expand Down Expand Up @@ -1166,7 +1166,7 @@ <h3 id="_domain"><a class="anchor" href="#_domain"></a>6.2. Domain</h3>
</div>
<div class="imageblock">
<div class="content">
<img src="domain-overview.png" alt="domain overview" width="984" height="691">
<img src="domain-overview.png" alt="domain overview" width="988" height="693">
</div>
</div>
<div class="paragraph">
Expand Down Expand Up @@ -1195,7 +1195,7 @@ <h3 id="_domain"><a class="anchor" href="#_domain"></a>6.2. Domain</h3>
</div>
<div class="imageblock">
<div class="content">
<img src="resolution-example.png" alt="resolution example" width="376" height="187">
<img src="resolution-example.png" alt="resolution example" width="379" height="189">
</div>
</div>
<div class="paragraph">
Expand All @@ -1210,7 +1210,7 @@ <h3 id="_domain"><a class="anchor" href="#_domain"></a>6.2. Domain</h3>
</div>
<div class="imageblock">
<div class="content">
<img src="resolution-overview.png" alt="resolution overview" width="543" height="316">
<img src="resolution-overview.png" alt="resolution overview" width="547" height="318">
</div>
</div>
<div class="paragraph">
Expand All @@ -1219,7 +1219,7 @@ <h3 id="_domain"><a class="anchor" href="#_domain"></a>6.2. Domain</h3>
<div class="paragraph">
<p>First, why can a target resolve to zero matching members? The reason is that the set of classes
that was imported does not need to have all classes involved within this resolution process.
Consider the above example, if <code>SuperClassBeingAccessed</code> would not be imported, ArchUnit would
Consider the above example, if <code>SuperclassBeingAccessed</code> would not be imported, ArchUnit would
have no way of knowing where the actual targeted field resides. Thus in this case the
resolution would return zero elements.</p>
</div>
Expand All @@ -1230,7 +1230,7 @@ <h3 id="_domain"><a class="anchor" href="#_domain"></a>6.2. Domain</h3>
</div>
<div class="imageblock">
<div class="content">
<img src="diamond-example.png" alt="diamond example" width="513" height="222">
<img src="diamond-example.png" alt="diamond example" width="517" height="224">
</div>
</div>
<div class="paragraph">
Expand Down Expand Up @@ -1543,7 +1543,7 @@ <h3 id="_predefined_predicates_and_conditions"><a class="anchor" href="#_predefi
JavaClass.Predicates.type(Serializable.class).and(HasName.Predicates.name(""))

// Does compile, because the compiler now sees name(..) as a predicate for JavaClass
DescribedPredicate&lt;JavaClass&gt; name = HasName.Predicates.name("").forSubType();
DescribedPredicate&lt;JavaClass&gt; name = HasName.Predicates.name("").forSubtype();
name.and(JavaClass.Predicates.type(Serializable.class));</code></pre>
</div>
</div>
Expand Down Expand Up @@ -1586,7 +1586,7 @@ <h3 id="_rules_with_custom_concepts"><a class="anchor" href="#_rules_with_custom
</div>
<div class="imageblock">
<div class="content">
<img src="import-vs-lang.png" alt="import vs lang" width="710" height="79">
<img src="import-vs-lang.png" alt="import vs lang" width="714" height="81">
</div>
</div>
<div class="paragraph">
Expand Down Expand Up @@ -1780,7 +1780,7 @@ <h4 id="_onion_architecture"><a class="anchor" href="#_onion_architecture"></a>8
</div>
<div class="imageblock">
<div class="content">
<img src="onion-architecture-check.png" alt="onion architecture check" width="1139" height="771">
<img src="onion-architecture-check.png" alt="onion architecture check" width="1180" height="748">
</div>
</div>
</div>
Expand Down Expand Up @@ -1917,7 +1917,7 @@ <h3 id="_plantuml_component_diagrams_as_rules"><a class="anchor" href="#_plantum
</div>
<div class="imageblock">
<div class="content">
<img src="simple-plantuml-archrule-example.png" alt="simple plantuml archrule example" width="159" height="183">
<img src="simple-plantuml-archrule-example.png" alt="simple plantuml archrule example" width="183" height="205">
</div>
</div>
<div class="listingblock">
Expand Down Expand Up @@ -1948,7 +1948,7 @@ <h4 id="_configurations_2"><a class="anchor" href="#_configurations_2"></a>8.4.1
mydiagram, consideringAllDependencies())

// considers only dependencies specified in the PlantUML diagram
// (so any unknown depedency will be ignored)
// (so any unknown dependency will be ignored)
classes().should(adhereToPlantUmlDiagram(
mydiagram, consideringOnlyDependenciesInDiagram())

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/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/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/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.

0 comments on commit d63a224

Please sign in to comment.