From 809fc8d5a3ca63dc459b2aa3f264423b4c52bd33 Mon Sep 17 00:00:00 2001 From: mishamsk Date: Sun, 5 Jan 2025 14:15:27 -0500 Subject: [PATCH] chore: Release --- CHANGELOG-PY.md | 15 ++++++++++++--- Cargo.lock | 2 +- crates/sas-lexer-py/Cargo.toml | 2 +- pyproject.toml | 2 +- src/sas_lexer/__init__.py | 2 +- uv.lock | 2 +- 6 files changed, 17 insertions(+), 8 deletions(-) diff --git a/CHANGELOG-PY.md b/CHANGELOG-PY.md index 4c0024f..0da9987 100644 --- a/CHANGELOG-PY.md +++ b/CHANGELOG-PY.md @@ -18,19 +18,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), - ### Removed -- 🛠️ stop building py package for win32, as msgspec doesn't support it +- ### Fixed -- 💥 Reworked macro var expression lexing, to properly account for trailing terminating dots. This is a breaking change, as the token types emitted by the lexer have changed. Now instead of one token `MacroVarExpr` for the entire expression, a sequence of `MacroVarResolve`, `MacroString` and optional `MacroVarTerm` are emitted. +- ### Security - +## [1.0.0-beta.2] - 2025-01-05 + +### Removed +- 🛠️ stop building py package for win32, as msgspec doesn't support it + +### Fixed +- 💥 Reworked macro var expression lexing, to properly account for trailing terminating dots. This is a breaking change, as the token types emitted by the lexer have changed. Now instead of one token `MacroVarExpr` for the entire expression, a sequence of `MacroVarResolve`, `MacroString` and optional `MacroVarTerm` are emitted. + ## [1.0.0-beta.1] - 2024-11-08 ### Added - Python initial pre-release. -[Unreleased]: https://github.com/mishamsk/sas-lexer/compare/py-v1.0.0-beta.1...HEAD +[Unreleased]: https://github.com/mishamsk/sas-lexer/compare/py-v1.0.0-beta.2...HEAD +[1.0.0-beta.2]: https://github.com/mishamsk/sas-lexer/compare/py-v1.0.0-beta.1...py-v1.0.0-beta.2 [1.0.0-beta.1]: https://github.com/mishamsk/sas-lexer/releases/tag/py-v1.0.0-beta.1 diff --git a/Cargo.lock b/Cargo.lock index adffc50..68945d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2709,7 +2709,7 @@ dependencies = [ [[package]] name = "sas-lexer-py" -version = "1.0.0-beta.1" +version = "1.0.0-beta.2" dependencies = [ "anyhow", "convert_case", diff --git a/crates/sas-lexer-py/Cargo.toml b/crates/sas-lexer-py/Cargo.toml index 4dcc2b2..f1d2417 100644 --- a/crates/sas-lexer-py/Cargo.toml +++ b/crates/sas-lexer-py/Cargo.toml @@ -5,7 +5,7 @@ authors = { workspace = true } edition = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } -version = "1.0.0-beta.1" +version = "1.0.0-beta.2" license = { workspace = true } keywords = { workspace = true } categories = { workspace = true } diff --git a/pyproject.toml b/pyproject.toml index 13c0c57..900194f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "sas-lexer" -version = "1.0.0-beta.1" +version = "1.0.0-beta.2" description = "Ultra fast correct context-aware \"parsing\" SAS code lexer" readme = "README.md" requires-python = ">=3.10, <3.13" diff --git a/src/sas_lexer/__init__.py b/src/sas_lexer/__init__.py index e588c8a..166fd70 100644 --- a/src/sas_lexer/__init__.py +++ b/src/sas_lexer/__init__.py @@ -1,4 +1,4 @@ from sas_lexer.lexer import lex_program_from_str -__version__ = "1.0.0-beta.1" +__version__ = "1.0.0-beta.2" __all__ = ["lex_program_from_str"] diff --git a/uv.lock b/uv.lock index 3c9e451..3f42b9a 100644 --- a/uv.lock +++ b/uv.lock @@ -360,7 +360,7 @@ wheels = [ [[package]] name = "sas-lexer" -version = "1.0.0b1" +version = "1.0.0b2" source = { editable = "." } dependencies = [ { name = "msgspec" },