Skip to content

Commit

Permalink
v1.4.0 (#13)
Browse files Browse the repository at this point in the history
* Reduce the dependency of Microsoft.CodeAnalysis.CSharp to the release 4.0.1.
  • Loading branch information
GillesTourreau authored Feb 26, 2024
1 parent 1a0f8c5 commit 6880a50
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/azure-pipelines-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ parameters:
- name: VersionPrefix
displayName: The version of the library
type: string
default: 1.3.0
default: 1.4.0
- name: VersionSuffix
displayName: The version suffix of the library (rc.1). Use a space ' ' if no suffix.
type: string
Expand Down
24 changes: 21 additions & 3 deletions src/Moq.Analyzers/Moq.Analyzers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,22 @@
<PackageProjectUrl>https://github.com/PosInformatique/PosInformatique.Moq.Analyzers</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageReleaseNotes>
1.4.0
- Reduce the dependency of Microsoft.CodeAnalysis.CSharp to the release 4.0.1.

1.3.0
- Add new rules:
- PosInfoMoq2003 rule to check the Callback() signature method (fixes #3).
- Fixes the PosInfoMoq2000 rule to check the call of the Returns()/ReturnsAsync() methods for the mocked properties for the mock with Strict behavior.

1.2.0
- Add new rules:
- PosInfoMoq2001: The Setup() method must be used only on overridable members.
- PosInfoMoq2002: Mock&lt;T&gt; class can be used only to mock non-sealed class.

1.1.0
- Add new rules:
- PosInfoMoq2000: The `Returns()` or `ReturnsAsync()` methods must be call for Strict mocks.
- PosInfoMoq2000: The Returns() or ReturnsAsync() methods must be call for Strict mocks.

1.0.0
- Initial version with the followings rules:
Expand All @@ -33,8 +46,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.8.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.0.1" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.0.1" />
</ItemGroup>

<ItemGroup>
Expand All @@ -45,6 +58,11 @@
<None Include="Icon.png" Pack="true" PackagePath="" />
</ItemGroup>

<ItemGroup>
<AdditionalFiles Include="AnalyzerReleases.Shipped.md" />
<AdditionalFiles Include="AnalyzerReleases.Unshipped.md" />
</ItemGroup>

<Target Name="_AddAnalyzersToOutput">
<ItemGroup>
<TfmSpecificPackageFile Include="$(OutputPath)\$(AssemblyName).dll" PackagePath="analyzers/dotnet/cs" />
Expand Down

0 comments on commit 6880a50

Please sign in to comment.