Skip to content

0.53.0

Choose a tag to compare

@mivano mivano released this 11 Apr 15:33
· 59 commits to main since this release

What's New in 0.53.0

πŸš€ Framework Updates

  • Dropped .NET 9, added .NET 10 β€” now targets net8.0 and net10.0
  • Updated CI workflows for .NET 10 SDK

πŸ› Bug Fixes

  • Fixed regions command 403 error β€” added User-Agent header to RegionsApi HttpClient (datacenters.microsoft.com now requires it)
  • Fixed subscription validation β€” commands now validate and auto-resolve subscription ID from Azure CLI when not specified
  • Fixed NotImplementedException in Text and Markdown formatters for WriteRegions, WriteCostByTag, and WritePricesPerRegion
  • Fixed --from/--to parameter handling β€” automatically sets timeframe to Custom when date parameters are provided

✨ Improvements

  • Rewrote DevTest what-if command β€” now uses usage details API with proper meter-level price comparison instead of broken cost-based comparison. Enabled as what-if devtest subcommand.
  • Added dedicated DevTest comparison output β€” all 5 formatters (Console, JSON, Text, Markdown, CSV) show resource-level savings with totals
  • Extracted shared infrastructure β€” new CommandHelpers and OutputFormatterFactory reduce ~267 lines of duplication across 11 commands

πŸ“¦ Dependency Updates

  • Spectre.Console.Cli β†’ 0.55.0 (with breaking change adaptations)
  • Azure.Identity β†’ 1.17.1
  • Polly β†’ 8.6.5
  • Azure.Monitor.Query β†’ 1.6.1
  • Humanizer.Core β†’ 2.14.1
  • System.Linq.Async β†’ 6.0.1
  • actions/checkout β†’ v6
  • actions/upload-artifact β†’ v6

πŸ“ Documentation

  • Updated AGENTS.md with build/test/run instructions for net10.0
  • Updated README.md with prerequisites section and DevTest what-if documentation
  • Added disclaimer about subscription compatibility

πŸ§ͺ Testing

  • Added 25+ new tests for shared infrastructure, formatter implementations, and command validation
  • Enabled CI coverage threshold enforcement (75% minimum)

What's Changed

  • Bump actions/checkout from 5 to 6 by @dependabot[bot] in #263
  • Bump Azure.Identity from 1.17.0 to 1.17.1 by @dependabot[bot] in #264
  • Bump Polly from 8.6.4 to 8.6.5 by @dependabot[bot] in #273
  • Auto-set timeframe to Custom when --from and --to are both provided by @Copilot in #274
  • Add early disclaimer for unsupported subscription types by @Copilot in #279
  • Bump actions/upload-artifact from 4 to 6 by @dependabot[bot] in #270
  • Fix: Validate subscription before execution to prevent crash on missing credentials by @Copilot in #275

Full Changelog: 0.52.0...0.53.0