Repository navigation
Releases: NixOS/rnix-parser
Releases · NixOS/rnix-parser
Release list
v0.15.1
Changed
-
The repository moved from
nix-communitytoNixOSand now lives at
https://github.com/NixOS/rnix-parser; the crate'srepositorylink points there
(NixOS/org#300,
#192). -
The published crate now contains only the library, its tests and documentation. The
benchmark input and repository tooling are no longer shipped, which shrinks the download
from 222 KiB to 63 KiB (#196).
Diff: v0.15.0...v0.15.1
v0.15.0
Breaking Changes
-
Update
rowanto 0.17.rnixre-exportsrowantypes (SyntaxNode,TextRange, etc.),
so downstream crates must move torowan0.17 as well
(#189,
from @mdaniels5757). -
Minimum supported Rust version is now 1.88. The crate moved to the 2024 edition and uses
let chains; this is now declared viarust-versioninCargo.toml.
Changed
- Speed up the tokenizer's path/URI lookahead by tracking the scanned prefix length and
underscore presence in a single pass instead of collecting the prefix into aString, and
speed upStr::normalized_partsby iterating string parts directly instead of collecting
them into an intermediateVec
(#188,
from @NotAShelf).
Fixed
- Fix parser mistakenly allowing empty dynamic attribute selects such as
{}.${}
(#186,
from @Starnick4444).
Diff: v0.14.0...v0.15.0
v0.14.0
Fixed
- Fix absolute path interpolation starting with
/${failing to parse (#182, from @imxyy1soope1).
Breaking Changes
__curPosis now a distinct node type.__curPosis a Nix keyword that evaluates to an attribute set containing the file, line, and column where it appears. Lix documents this as a keyword. It was previously represented asNODE_IDENT, but is now parsed asNODE_CUR_POSwith a
correspondingTOKEN_CUR_POStoken kind (from @3timeslazy).