Skip to content

Add output encoding options and bump version to 0.5.0#23

Merged
Marc-André Moreau (mamoreau-devolutions) merged 1 commit intomasterfrom
bom-less
Mar 9, 2026
Merged

Add output encoding options and bump version to 0.5.0#23
Marc-André Moreau (mamoreau-devolutions) merged 1 commit intomasterfrom
bom-less

Conversation

@mamoreau-devolutions
Copy link
Contributor

Summary

  • add a global --output-encoding option with utf8-no-bom, utf8-bom, and utf8 values
  • plumb output encoding through CLI query execution into file writes while keeping the default behavior as UTF-8 without BOM
  • bump cirup and packaging metadata to 0.5.0 and document the new option

Details

  • add CliOutputEncoding parsing and tests in cirup_cli
  • add OutputEncoding support and BOM-aware byte generation in cirup_core::file
  • expose the core output encoding type and route interactive writes through the new encoding-aware save path
  • sync 0.5.0 across the Rust crates, NuGet packaging projects, sample project, and e2e script

Validation

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets
  • cargo test --workspace
  • manual smoke test of file-convert output bytes for RESX, JSON, and RESTEXT with utf8-no-bom vs utf8-bom

Notes

  • cargo clippy completed successfully but emitted an environment-level warning while finalizing an incremental compilation directory under target

@mamoreau-devolutions Marc-André Moreau (mamoreau-devolutions) merged commit 20ad8e4 into master Mar 9, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant