Skip to content

Releases: andrewabest/Conventional

9.0.5

25 Nov 01:18
Compare
Choose a tag to compare
Small perf improvement for MustNotUseMethodSpecification processing

9.0.4

05 Oct 02:53
Compare
Choose a tag to compare
Bump

9.0.3

05 Oct 02:46
dfcc9aa
Compare
Choose a tag to compare
Conventional.Roslyn vNext (#73)

* Initial work to update Roslyn conventions to dotnet 3.1

Solves the cross-platform issues with MSBuildWorkspace

Extracts Analyzers to a separate assembly to ensure they are decoupled from Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Project, Microsoft.CodeAnalysis.Solution

* Conventions work in Rider both in IDE, and in tests.

Still TODO: Packaging the analyzers separately, pushing a new version of Best.Conventional.Roslyn, check the tools install / uninstall in VS 2019.

* Ensure Analyzers dependency is not a nuget-type dependency

We don't want to publish the analyzers seperately to the Roslyn project.

* Configures generated code analysis

* Adds category name to analyzers to ensure they display correctly in IDEs

8.0.0

21 Jan 04:38
1516844
Compare
Choose a tag to compare
Ensures property-based conventions only inspect declared properties. …

…(#69)

This behaviour change was forced by the dotnet type system. If you have a type, and you want to specify
that it's properties have private setters using PropertiesMustHavePrivateSetters,
and your type inherits a base type,
the type system provides no access or visibility to the setter on the base class
regardless of whether it is private set or has no setter
Since we cannot determine this, we cannot enforce this convention on the base type
when inspecting via the derived type

The better approach is to only inspect declared properties
If you want to inspect the base type, ensure it is included in the set of types
under inspection

7.0.0

10 Jan 04:26
e4e463d
Compare
Choose a tag to compare
Conventional ❤ Linux (#68)

* Ensures KnownPaths operates in an OS independent way
* Adds database test category for filtering out db tests on linux build
* Fixes test assembly path specification
* Makes Directory extension methods to be OS agnostic
* Makes assertions for files OS agnostic
* Makes path separators in lots of places OS agnostic
* Makes project file inclusion inspection OS agnostic
* More project file inclusion fixes
* More test fixing
* Makes Cecil AssemblyResolver work for Linux
* Make test assertions more resilient to environment differences
* Fix ThisAssembly test assertion to be OS agnostic

6.0.3

08 Jan 05:11
Compare
Choose a tag to compare
Updates CI tests to use SQL 2017

6.0.0

13 Sep 05:00
Compare
Choose a tag to compare
Ensures property tests fail appropriately if no get/set exists

5.0.3

07 Aug 06:14
997a04c
Compare
Choose a tag to compare
Update README.md

5.0.0

07 Aug 04:42
Compare
Choose a tag to compare
- Ensure found method calls are distinct

4.0.8

15 May 03:20
Compare
Choose a tag to compare
Added missing nupkg files to unbreak build, updated gitignore