chore: release 0.2.5#39
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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
matchclauses. - Add
let/matchparser + writer fixtures and wire them into existing JSON fixture-based tests. - Bump crate version to
0.2.5(and updateCargo.lockaccordingly).
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 0.2.5 for formatter updates.
Changes:
Validation: