v0.1.1
Lots of "housekeeping" this release, and a few bug fixes. We also now have rule documentation! Special thanks to @MattKotsenas for his contributions to make working on the analyzers easier and improving our confidence and productivity.
Full Changelog: v0.1.0...v0.1.1
What's Changed
Ownership of the Moq.Analyzers
and Moq.Autocomplete
has been transferred from @Litee to @rjmurillo.
Bug fixes
- Moq1002: Update constructor checks by @rjmurillo in #115. This resolves #55 by @MattKotsenas
- Refactor Moq1300 to use IOperation-based analysis by @MattKotsenas in #125
Changes to rules
There should be no behavioral differences with these changes to the rule code. If you find any, please submit a new issue.
- Clean up README and add docs for each analyzer rule by @MattKotsenas in #77
- Add analyzer release tracking by @MattKotsenas in #84
- Add cancellation tokens to methods that have a parameter but we don't pass by @rjmurillo in #52
- Enable ConcurrentExecution and disable generated code analysis by @MattKotsenas in #70
- Update code to remove warnings from backlog by @rjmurillo in #73
- Remove RegEx from analyzers by @MattKotsenas in #81
- Remove period from analyzer messages and inline in the analyzer classes by @MattKotsenas in #86
Updates to test and infrastructure
- Refactor tests to simplify and inline test cases by @MattKotsenas in #57
- Update analysis mode and warning level to preview and 9999 by @rjmurillo in #59
- Extract code analysis to its own build slice and update analyzers to latest versions by @MattKotsenas in #60
- Move test packages to build slice, update to latest version, and enable parallel tests by @MattKotsenas in #61
- Replace our custom test harness with
Microsoft.CodeAnalysis
testing harness by @MattKotsenas in #65 - Clean up of using statements by @rjmurillo in #66
- Rename
master
tomain
by @MattKotsenas in #69 - Cache reference assemblies between tests to improve performance by @MattKotsenas in #71
- Convert from var to explicit type by @rjmurillo in #74
- Refactor unit tests: data driven tests and leverage
Microsoft.CodeAnalysis.Testing
patterns by @MattKotsenas in #76 - Add Code coverage report by @MattKotsenas in #79
- Fix
dotnet test
when not generating code coverage reports by @MattKotsenas in #80 - Refactor test cases to matrix on
Moq
version by @MattKotsenas in #82 - Fix SA0001: XML comment analysis is disabled due to project configuration by @MattKotsenas in #87
- Fix trivial warnings by @MattKotsenas in #88
- Update README.md to add leading and trailing pipes in table by @rjmurillo in #94
- Create dependabot.yml by @rjmurillo in #93
- Update main.yml to add codacy test coverage by @rjmurillo in #92
- Add more analyzers and bump
Meziantou.Analzer
to latest version by @rjmurillo in #89 - Bump
Verify.Xunit
from 25.0.1 to 25.0.3 by @dependabot in #100 - Remove
Microsoft.CodeAnalysis.CSharp.Analyzer.Testing
by @MattKotsenas in #102 - Dependabot ignore packages that impact customer compatibility by @MattKotsenas in #101
- Bump
Microsoft.CodeAnalysis.CSharp.CodeFix.Testing
from 1.1.2-beta1.24273.1 to 1.1.2-beta1.24314.1 by @dependabot in #103 - Bump
Nerdbank.GitVersioning
from 3.6.133 to 3.6.139 by @dependabot in #99 - Bump
Meziantou.Analyzer
from 2.0.155 to 2.0.158 by @dependabot in #96 - Enable warnings as errors by @rjmurillo in #91
- Update main.yml to add merge_group by @rjmurillo in #105
- Add auto labelers for Issues and PRs by @rjmurillo in #106
- Move code under src/ and tests/ directories by @MattKotsenas in #107
- Add
Moq.Analyzers.Benchmarks
with a single sample benchmark by @MattKotsenas in #109 - Update labeler.yml path for source by @rjmurillo in #108
- Bump actions/labeler from 4 to 5 by @dependabot in #112
- Update labeler.yml for v5 by @rjmurillo in #114
- Bump actions/github-script from 6 to 7 by @dependabot in #111
- Refactor code to remove analyzer warnings by @rjmurillo in #113
- Create pr-labeler-current-milestone.yml by @rjmurillo in #116
- Generate .gitignore from a tool by @rjmurillo in #117
- Bump
Verify.Xunit
from 25.0.3 to 25.0.4 by @dependabot in #121 - Update
ConstructorArgumentsShouldMatchAnalyzer
test cases to make sure all positive and negative cases are covered by @rjmurillo in #124 - Add extension method to create Diagnostic by @MattKotsenas in #126
- Add composite analyzer to test all analyzers by @rjmurillo in #128
- Add BDN perf comparison tool from roslyn analyzers by @rjmurillo in #119
- Bump
Meziantou.Analyzer
from 2.0.158 to 2.0.159 by @dependabot in #135 - Update to latest version of
DotNet.ReproducibleBuilds
by @MattKotsenas in #137 - Bump
SonarAnalyzer.CSharp
from 9.27.0.93347 to 9.28.0.94264 by @dependabot in #136
New Contributors
- @dependabot made their first contribution in #100