Roslynator v4.1.2 Release Notes

Release Date: 2022-10-31 // over 1 year ago
  • โž• Added

    • Convert more syntax to implicit object creation (RCS1250) (#910).
    • โž• Add code fix for CS0037 (#929).
    • ๐Ÿ“š [CLI] Generate reference documentation that can be published with Docusaurus (#918).
      • roslynator generate-doc --host docusaurus
    • ๐Ÿ“š [CLI] Generate reference documentation that can be published with Sphinx (#961).
      • roslynator generate-doc --host sphinx
    • ๐Ÿ“š [CLI] Basic support for <inheritdoc /> when generating documentation (generate-doc command) (#972).
    • [CLI] Add option ignored-title-parts (generate-doc command) (#975).
    • Publish Roslynator to Open VSX Registry (#820).

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ Rename default branch to main.
    • Format changelog according to 'Keep a Changelog' (#915).
    • ๐Ÿš€ [CLI] Improve release build of command-line tool (#912).
    • ๐Ÿ”จ Do not sort properties in an initializer (RR0216).
    • [CLI] Bump Roslyn to 4.3.1 (#969).
    • ๐Ÿ— [CLI] Bump Microsoft.Build.Locator to 1.5.5 (#969).

    ๐Ÿ›  Fixed

    • [CLI] Fix filtering of projects (relates to --projects or --ignored-projects parameter) (#914).
    • ๐Ÿ”จ Refactoring "Add using directive" (RR0014) now works when file-scoped namespace is used (#932).
    • โž• Add parentheses if necessary in a code fix for RCS1197 (#928 by @karl-sjogren).
    • 0๏ธโƒฃ Do not simplify default expression if it would change semantics (RCS1244) (#939.
    • ๐Ÿ›  Fix NullReferenceException in RCS1198 (#940.
    • ๐Ÿ“„ Order named arguments even if optional arguments are not specified RCS1205 (#941, (#965.
    • ๐Ÿ“„ Prefix identifier with @ if necessary (RCS1220) (#943.
    • ๐Ÿ“„ Do not suggest to make local variable a const when it is used in ref extension method (RCS1118) (#948.
    • ๐Ÿ›  Fix formatting of argument list (#952.
    • ๐Ÿšš Do not remove async/await when 'using declaration' is used (#953.
    • ๐Ÿ“„ Convert if-else to return statement when pattern matching is used (RCS1073) (#956.
    • [CLI] Include compiler diagnostics in the xml output file of the roslynator analyze command (#964 by @PeterKaszab).
    • 0๏ธโƒฃ Do not simplify 'default' expression if the type is inferred (RCS1244) (#966.
    • ๐Ÿ“„ Use explicit type from lambda expression (RCS1008) (#967.
    • ๐Ÿšš Do not remove constructor if it is decorated with 'UsedImplicitlyAttribute' (RCS1074) (#968.
    • ๐Ÿ”จ Detect argument null check in the form of ArgumentNullException.ThrowIfNull (RR0025, RCS1227) (#974.
    • ๐Ÿ“„ Do not make generic class static if it's inherited (RCS1102) (#978.

    <!-- Content below does not adhere to 'Keep a Changelog' format -->