v1.0.2
Support for Visual Studio 2017 is here!
This is the first release to support Visual Studio 2017. The VSIX on the Visual Studio Marketplace (the old VS Gallery) now support both VS 2015 and VS 2017.
We have not updated the libraries, so they should work on any project, just as before. We are planning on upgrading CodeCracker to the Roslyn 2.0 APIs at some point, and this will probably make it incompatible with VS 2015. So, update! :)
Bug fixes! 🐛
Appart from the update on the VSIX to support VS 2017, this is mainly a bug fix release. There aren't any new analyzers or code fixes. This release fixes bugs for C# and VB.
These are the known issues.
C# Known issues:
- #866 BUG: CC0118 - Unnecessary '.ToString()' call in string concatenation
- #869 BUG: CC0105 and CC0001 should not be offered when there are multiple declarations
- #870 BUG: CC0022 failed to show fix with null coalesce operator
- #877 BUG: CC0022 DisposableVariableNotDisposedAnalyzer: False positive in iterator methods
- #879 BUG: CC0022 DisposableVariableNotDisposedAnalyzer: False positive for containers
- #880 BUG: CC0022 DisposableVariableNotDisposedAnalyzer: False positive for expression bodied members
VB Known issues:
- #791 BUG: CC0057 (VB) suggests removing parameter but it is required by a matching delegate
- #827 Bug: CC0039 False positive when concatenating to loop variable propery/field (StringBuilderInLoop) (VB)
This release still targets the final version of Visual Studio 2015 (RTM, version 14.0.23107.0 D14REL) and also targets the 1.0.0 version of the Roslyn API (Microsoft.CodeAnalysis.*).
Stats:
- 68 Analyzers in C#, 66 Code fixes, 5 Fix all
- 23 Analyzers in VB, 18 Code fixes, 1 Fix All
- 1954 tests
- 92% code coverage
As usual, you should go to Nuget (C#, VB) to get the packages or download the extension on the Visual Studio Marketplace (C#, VB).
For a list of what worked on see the corresponding milestone and the detailed changelog. For the commits, see the full changelog.