Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 01e02e0

Browse files
committed
chore: release v0.9.2
Bump workspace version to 0.9.2 and add changelog entry for the leading-zero string interpolation index fix.
1 parent 9d41095 commit 01e02e0

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.9.2] - 2026-04-25
9+
10+
### Fixed
11+
12+
- Leading-zero and negative-zero indices in simple string interpolation (`$arr[00]`, `$arr[07]`, `$arr[-0]`) are now correctly classified as string keys instead of `Int(0)`, matching PHP's tokenizer behaviour (`php-rs-parser`).
13+
14+
---
15+
816
## [0.9.1] - 2026-04-24
917

1018
### Fixed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ members = [
1616
]
1717

1818
[workspace.package]
19-
version = "0.9.1"
19+
version = "0.9.2"
2020
edition = "2021"
2121
license = "BSD-3-Clause"
2222
authors = ["jorgsowa"]
2323
repository = "https://github.com/jorgsowa/rust-php-parser"
2424
homepage = "https://github.com/jorgsowa/rust-php-parser"
2525

2626
[workspace.dependencies]
27-
php-ast = { path = "crates/php-ast", version = "0.9.1" }
28-
php-lexer = { path = "crates/php-lexer", version = "0.9.1" }
29-
php-rs-parser = { path = "crates/php-parser", version = "0.9.1" }
30-
php-printer = { path = "crates/php-printer", version = "0.9.1" }
27+
php-ast = { path = "crates/php-ast", version = "0.9.2" }
28+
php-lexer = { path = "crates/php-lexer", version = "0.9.2" }
29+
php-rs-parser = { path = "crates/php-parser", version = "0.9.2" }
30+
php-printer = { path = "crates/php-printer", version = "0.9.2" }
3131
miette = { version = "7", features = ["fancy"] }
3232
thiserror = "2"
3333
serde = { version = "1", features = ["derive"] }

0 commit comments

Comments
 (0)