Skip to content

Releases: TNG/ArchUnitNET

0.13.0

05 Dec 15:12
cb83e98

Choose a tag to compare

Breaking Changes

Remove Obsolete Fluent Syntax Methods by @alexanderlinne in #412

As announced in version 0.12.0, fluent methods that take strings as an argument for matching the full name are now removed in favour of using fluent methods like .HaveName.

Refactor attribute with arguments fluent syntax methods by @alexanderlinne in #432

For HaveAttributeWithArguments and NotHaveAttributeWithArguments fluent methods, the overloads that take params object[] as arguments have been removed. This was previously ambiguous with the overload that takes an IEnumerable<object> as an argument.

Performance Enhancements

The following refactorings improve performance in our tests by ~15%:

CI Enhancements

Dependency Updates

  • Update dependency dotnet-sdk to v9.0.305 by @renovate[bot] in #407
  • Update all non-major dependencies by @renovate[bot] in #346
  • Update actions/setup-dotnet action to v5 by @renovate[bot] in #401
  • Update mstest monorepo to v3 (major) by @renovate[bot] in #310
  • chore(config): migrate renovate config by @renovate[bot] in #415
  • chore(deps): update dependency xunit.v3 to v3 by @renovate[bot] in #350
  • chore(deps): update dependency dotnet-sdk to v9.0.308 by @renovate[bot] in #425
  • chore(deps): update github/codeql-action action to v4 by @renovate[bot] in #421
  • chore(deps): update actions/checkout action to v6 by @renovate[bot] in #429
  • chore(deps): update dotnet version to v10 (major) by @renovate[bot] in #406

Full Changelog: 0.12.3...0.13.0

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