Skip to content

0.10.3

Choose a tag to compare

@github-actions github-actions released this 01 Nov 13:18
· 19 commits to main since this release
eb6054e

Highlights since 0.10.0

0.10.1 and 0.10.2 never reached nuget.org, because the publishing key had expired. 0.10.3 is the first release since 0.10.0 on nuget.org, and the first published through NuGet trusted publishing, so no API key is involved.

Fixes that change or protect your code:

  • curb cleanup no longer breaks multi-targeted projects. A fix reported once per target framework was applied twice (readonly readonly, CS1004). A fix is now applied only when every target framework that compiles the file reports it. For example, a using that netstandard2.0 still needs is no longer removed because net10.0 reported it.
  • curb cleanup no longer welds var onto a name (List<string>names → varnames). The verifier now also refuses a word inserted twice at one site, or welded to its neighbour.
  • /// doc comments are re-indented on every line, not just the first, when indentation changes between spaces and tabs or a member moves to another level.

Experimental: Razor @code blocks (opt-in). Set curb_razor_format_code_blocks = true in a [*.razor] or [*.cshtml] section to format the C# inside @code/@functions blocks. Markup is never touched. See Razor.

Upgrading from 0.9.x? Read the 0.10.0 notes first: project files are now formatted by default.

0.10.2...0.10.3

View the full list of issues and PRs