Skip to content

chore: release 0.2.5#39

Merged
tiye merged 2 commits into
mainfrom
release-0.2.5
May 1, 2026
Merged

chore: release 0.2.5#39
tiye merged 2 commits into
mainfrom
release-0.2.5

Conversation

@tiye
Copy link
Copy Markdown
Member

@tiye tiye commented May 1, 2026

Release 0.2.5 for formatter updates.

Changes:

  • refine writer indentation so second-element nested forms keep the double-indent layout
  • avoid extra bending for later match clauses
  • add parser and writer fixtures for match and let formatting

Validation:

  • cargo test
  • cargo test --features serde-json

Copilot AI review requested due to automatic review settings May 1, 2026 15:13
@tiye tiye merged commit 14f9a9b into main May 1, 2026
1 check passed
@tiye tiye deleted the release-0.2.5 branch May 1, 2026 15:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Release bump to 0.2.5 focused on Cirru formatter (writer) layout tweaks, with new fixtures/tests covering let and match formatting cases.

Changes:

  • Adjust writer tree generation to preserve intended indentation for nested second elements and to avoid unnecessary bending for later match clauses.
  • Add let/match parser + writer fixtures and wire them into existing JSON fixture-based tests.
  • Bump crate version to 0.2.5 (and update Cargo.lock accordingly).

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/writer.rs Refines nested-head “insist” behavior and changes when simple expressions are rendered inline vs multiline.
tests/writer_test.rs Adds direct regression tests for let indentation and match clause bending + registers new writer fixtures.
tests/writer_data/match.json New writer JSON fixture for match.
tests/writer_data/let.json New writer JSON fixture for let.
tests/writer_cirru/match.cirru Expected writer output for match.
tests/writer_cirru/let.cirru Expected writer output for let.
tests/parser_test.rs Registers new match parser fixtures.
tests/data/match.json New parser JSON fixture for match.
tests/cirru/match.cirru New parser Cirru fixture for match.
Cargo.toml Version bump to 0.2.5.
Cargo.lock Lockfile update for 0.2.5.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants