Skip to content

Releases: TNG/ArchUnitNET

0.11.1

25 Oct 07:30
7fd68bc
Compare
Choose a tag to compare

Fixes

Dependency Updates

  • chore(deps): update all non-major dependencies by @renovate in #307
  • chore(deps): update all non-major dependencies by @renovate in #314
  • chore(deps): update dependency dotnet-sdk to v8.0.403 by @renovate in #284

Full Changes: 0.11.0...0.11.1

0.11.0

23 Aug 08:42
0ebfbdf
Compare
Choose a tag to compare

Breaking Changes

  • Require positive results by default by @simonthum in #201
    With this change, ArchUnitNET requires each test to have at least one successful evaluation for each checked rule. With this, tests like
    Types().That().Are("ThisClassDoesNotExist"). …
    
    will fail, because no type matches the precondition. This helps to prevent mistakes, where e.g. a change to a test leads to it no longer matching any type.
    This behaviour can be deactivated by using the WithoutRequiringPositiveResults function:
    Types().That().Are("ThisClassDoesNotExist"). … .WithoutRequiringPositiveResults()
    

Features

Enhancements

Dependency Updates

  • chore(deps): update dependency mono.cecil to v0.11.5 by @renovate in #210

Full Changes: 0.10.6...0.11.0

0.11.0-preview.1

19 Aug 16:00
0ebfbdf
Compare
Choose a tag to compare
0.11.0-preview.1 Pre-release
Pre-release

Breaking Changes

  • Require positive results by default by @simonthum in #201
    With this change, ArchUnitNET requires each test to have at least one successful evaluation for each checked rule. With this, tests like
    Types().That().Are("ThisClassDoesNotExist"). …
    
    will fail, because no type matches the precondition. This helps to prevent mistakes, where e.g. a change to a test leads to it no longer matching any type.
    This behaviour can be deactivated by using the WithoutRequiringPositiveResults function:
    Types().That().Are("ThisClassDoesNotExist"). … .WithoutRequiringPositiveResults()
    

Features

Enhancements

Dependency Updates

  • chore(deps): update dependency mono.cecil to v0.11.5 by @renovate in #210

Full Changes: 0.10.6...0.11.0-preview.1

Fix for loading managed C++ Projects

12 Jul 07:51
ebe55e5
Compare
Choose a tag to compare

Thankfully, @ivsavchenko provided a fix for a bug which prevented some managed C++ dependencies from loading.

PlantUML

10 Nov 21:38
ca0091e
Compare
Choose a tag to compare

This release contains

  • PlantUML diagram generation improvements
  • NET6
  • Documentation improvements
  • Minor bugfixes

Another performance improvement

07 Aug 20:11
553f1df
Compare
Choose a tag to compare

This release improves the performance when evaluation conditions, which behaved quadratically and thus was problematic when evaluation a large number of items.

Improve performance for loading architectures

03 Aug 15:18
2ac6487
Compare
Choose a tag to compare

This release fixes a performance issue that types where loaded multiple times. This should speed up the tests significantly.

Filtering for LoadAssembliesRecursively

31 Jul 20:26
c26edb4
Compare
Choose a tag to compare

Added a filter parameter to LoadAssembliesRecursively, to be able to allow finegrained control which packages are loaded into ArchUnit.

new ResideInAssembly overload

29 Apr 07:06
b938367
Compare
Choose a tag to compare

ResideInAssembly now also supports the Assembly objects from the Domain namespace as input parameters

API-Cleanup and bugfixes

27 Apr 21:40
Compare
Choose a tag to compare

Note: in this release we bundled some breaking changes to fix some API inconsistencies. We assume that there are no huge changes to your test code to be made, but you might encounter some breaking tests.

Breaking changes

Improvements

  • Improved PlantUML-Diagram generation, the api for this feature is not expected to be stable now and might be extended soon
  • Messages for failed test cases should be cleaner now

Bugfixes
Fix handling for Types not existing in the architecture: #156
Fix handling for generic types: #154