Skip to content

Releases: TNG/ArchUnitNET

0.12.3

26 Sep 10:07
3a82c3e

Choose a tag to compare

Fixes

New Contributors

Full Changelog: 0.12.2...0.12.3

0.12.2

24 Sep 12:08
cfbfe15

Choose a tag to compare

Features

Enhancements

Dependency Updates

  • chore(deps): update actions/checkout action to v5 by @renovate[bot] in #391
  • chore(deps): update dependency dotnet-sdk to v9.0.304 by @renovate[bot] in #354
  • chore(deps): update dependency microsoft.net.test.sdk to v17 by @renovate[bot] in #349
  • chore(deps): update dependency verify.xunit to v30 by @renovate[bot] in #368
  • chore(deps): update dependency jetbrains.annotations to v2025 by @renovate[bot] in #386

New Contributors

Full Changelog: 0.12.1...0.12.2

0.12.1

14 Jul 09:36
41b7180

Choose a tag to compare

Fixes

  • ResideInNamespaceMatching and ResideInAssemblyMatching incorrectly forward call by @tnotheis in #379

New Contributors

Full Changelog: 0.12.0...0.12.1

0.12.0

11 Jul 13:15
cc39e12

Choose a tag to compare

Breaking Changes

Marking soon to be removed methods in the fluent api as obsolete by @brandhuf in #362

Until now, ArchUnitNET provided overloads of functions in the fluent syntax that took a string as an argument like Types().That().DependOnAny("ExampleClass") or Types().That().DependOnAny(".*ExampleClass", true). Here, however, it is unclear whether the string would match the Name, FullName or AssemblyQualifiedName. These functions have now been marked as obsolete and will be removed in version 0.13.0.

Besides HaveName, the fluent interface now also provides the functions HaveNameMatching, HaveFullName and HaveFullNameMatching. The above call can therefore be replaced with Types().That().DependOnAny(Types().That().HaveName("ExampleClass")) or Types().That().DependOnAny(Types().That().HaveFullNameMatching(".*ExampleClass")), giving a clear indication of what is matched and how it is matched.

Don't Set Assembly Name To It's Full Name by @alexanderlinne in #372

This is a bug where the Name of an assembly was always set to its FullName. This may be a breaking change for code that currently relies on this behaviour.

Fixes

Enhancements

Dependency Updates

  • chore(deps): update dependency csharpier to v1 by @renovate[bot] in #364

Full Changelog: 0.11.4...0.12.0

0.11.4

25 Apr 18:37
850064c

Choose a tag to compare

Features

  • Fill the ReferencedAssemblyNames Property for all loaded Assemblies by @made-by-karl in #319

Fixes

Documentation

  • Provide Additional Information about ResideInAssembly Function by @pawlos in #251
  • Add Documentation for Async Function Limitations in Release Builds by @alexanderlinne in #352

Maintenance Improvements

New Contributors

Full Changelog: 0.11.3...0.11.4

0.11.3

28 Feb 09:29
ac3c399

Choose a tag to compare

Features

  • Add Support for xunit.v3 by @ljb in #339

Fixes

Dependency Updates

  • chore(deps): update codecov/codecov-action action to v5 by @renovate in #324
  • chore(deps): update dotnet version to v9 (major) by @renovate in #309
  • chore(deps): update all non-major dependencies by @renovate in #336
  • chore(deps): update dependency microsoft.net.test.sdk to v17 by @renovate in #299
  • chore(deps): update dependency verify.xunit to v28 by @renovate in #321
  • chore(deps): update dependency nunit3testadapter to v5 by @renovate in #337
  • chore(deps): update dependency xunit.runner.visualstudio to v3 by @renovate in #331

New Contributors

  • @ljb made their first contribution in #339

Full Changelog: 0.11.2...0.11.3

0.11.3-preview.1

24 Jan 15:16
2cbfd10

Choose a tag to compare

0.11.3-preview.1 Pre-release
Pre-release

Fixes

Full Changelog: 0.11.2...0.11.3-preview.1

0.11.2

24 Jan 14:50
9a8486f

Choose a tag to compare

Fixes

Dependency Updates

  • chore(deps): update dependency dotnet-sdk to v8.0.404 by @renovate in #323
  • chore(deps): update all non-major dependencies by @renovate in #322
  • chore(deps): update dependency dotnet-sdk to v8.0.405 by @renovate in #334

Full Changelog: 0.11.1...0.11.2

0.11.1

25 Oct 07:30
7fd68bc

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

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