Skip to content

Commit 208d86c

Browse files
committed
Update release number and changelog for version 0.7.0
1 parent 4b631db commit 208d86c

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
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.7.0 (2025-09-19)
6+
7+
This release improves formatting consistency for dictionaries, arrays, and function parameters, and fixes several edge cases related to variable declarations and class definitions.
8+
9+
### Added
10+
11+
- Space after comma between types in typed dictionary type hints
12+
- Space after the opening brace and before closing braces of single line dictionaries
13+
- Trailing commas in arrays, dictionaries, enums, and function parameters
14+
- New line before enums closing brace
15+
- Removed trailing comma in singleline arrays/dictionaries/enums/functions
16+
17+
### Fixed
18+
19+
- Variable declaration after function getting placed inside function (or class)
20+
- Incorrect formatting when a declaration immediately follows an extends statement in an inner class
21+
522
## Release 0.6.0 (2025-09-19)
623

724
This release improves formatting consistency and fixes several edge cases related to spacing, comments, and function/class definitions.

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.6.0"
3+
version = "0.7.0"
44
edition = "2021"
55
description = "A GDScript code formatter using Topiary and Tree-sitter"
66
license = "MIT"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ gdscript-format --check path/to/file.gd
3232

3333
## Status
3434

35-
Version 0.5.0 - 09/18/2025 - The formatter now has many formatting rules implemented and is ready to test. It includes:
35+
09/18/2025 - The formatter now has many formatting rules implemented and is ready to test. It includes:
3636

3737
- **Spaces**: leaving one space consistently between many operators, most keywords, or after commas in function calls, arrays, and dictionaries
3838
- **Multi-line structures**: simple arrays and dictionaries can be wrapped on one or multiple lines with indentation

0 commit comments

Comments
 (0)