Skip to content

Commit 154ef22

Browse files
committed
Update version and changelog for release 0.5.1
1 parent 2f48702 commit 154ef22

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
This file documents the changes made to the formatter with each release. This project uses [semantic versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## Release 0.5.1 (2025-09-18)
6+
7+
This release fixes critical bugs that could cause data loss during formatting.
8+
9+
### Added
10+
11+
- Formatting support for pattern guards (syntax: `a when b:`)
12+
- Test cases for string literals to prevent regressions
13+
14+
### Changed
15+
16+
- Added warning in README about using version control systems when formatting code to prevent data loss
17+
18+
### Fixed
19+
20+
- StringName strings (`&"TextHere"`) being erased during formatting
21+
- NodePath strings (`^"Path/To/Node"`) being erased during formatting
22+
523
## Release 0.5.0 (2025-09-18)
624

725
This release greatly improves the performance of the formatter, which makes it feel even snappier than before. The time to format is divided by up to 2.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gdscript-formatter"
3-
version = "0.5.0"
3+
version = "0.5.1"
44
edition = "2021"
55
description = "A GDScript code formatter using Topiary and Tree-sitter"
66
license = "MIT"

0 commit comments

Comments
 (0)