From 18d4f6aded907bd11b683fa54dad32ca04f84f75 Mon Sep 17 00:00:00 2001 From: Zsolt Dollenstein Date: Tue, 27 May 2025 15:02:58 +0100 Subject: [PATCH] bump version to 1.8.0 (#1348) --- CHANGELOG.md | 21 +++++++++++++++++++++ MAINTAINERS.md | 11 +++++++++++ native/Cargo.lock | 4 ++-- native/libcst/Cargo.toml | 4 ++-- native/libcst_derive/Cargo.toml | 2 +- 5 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 MAINTAINERS.md diff --git a/CHANGELOG.md b/CHANGELOG.md index b0ade209..bb50a57a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +# 1.8.0 - 2025-05-27 + +## Added +* Allow configuring empty formatter lists in codemod CLI by @ngoldbaum in https://github.com/Instagram/LibCST/pull/1319 +* Publish several new binary wheels + * macos intel by @hadialqattan in https://github.com/Instagram/LibCST/pull/1316 + * windows arm64 by @zsol in https://github.com/Instagram/LibCST/pull/1304 + * 3.13 CPython free-threaded by @zsol in https://github.com/Instagram/LibCST/pull/1333 + * (only on [test.pypi.org](https://test.pypi.org/project/libcst/#history)) 3.14 and 3.14 CPython free-threaded by @amyreese and @zsol in https://github.com/Instagram/LibCST/pull/1345 and https://github.com/Instagram/LibCST/pull/1331 +* Enable support for free-threaded CPython by @zsol in https://github.com/Instagram/LibCST/pull/1295 and https://github.com/Instagram/LibCST/pull/1335 + +## Updated +* update pyo3 to 0.25 by @ngoldbaum in https://github.com/Instagram/LibCST/pull/1324 +* Replace multiprocessing with ProcessPoolExecutor by @zsol in https://github.com/Instagram/LibCST/pull/1294 +* Support pipe syntax for Union types in codegen by @zsol in https://github.com/Instagram/LibCST/pull/1336 + +## New Contributors +* @hadialqattan made their first contribution in https://github.com/Instagram/LibCST/pull/1316 + +**Full Changelog**: https://github.com/Instagram/LibCST/compare/v1.7.0...v1.8.0 + # 1.7.0 - 2025-03-13 ## Added diff --git a/MAINTAINERS.md b/MAINTAINERS.md new file mode 100644 index 00000000..eb94a2a0 --- /dev/null +++ b/MAINTAINERS.md @@ -0,0 +1,11 @@ +# How to make a new release + +1. Add a new entry to `CHANGELOG.md` (I normally use the [new release page](https://github.com/Instagram/LibCST/releases/new) to generate a changelog, then manually group) + 1. Follow the existing format: `Fixed`, `Added`, `Updated`, `Deprecated`, `Removed`, `New Contributors` sections, and the full changelog link at the bottom. + 1. Mention only user-visible changes - improvements to CI, tests, or development workflow aren't noteworthy enough + 1. Version bumps are generally not worth mentioning with some notable exceptions (like pyo3) + 1. Group related PRs into one bullet point if it makes sense +2. manually bump versions in `Cargo.toml` files in the repo +3. make a new PR with the above changes, get it reviewed and landed +4. make a new release on Github, create a new tag on publish, and copy the contents of the changelog entry in there +5. after publishing, check out the repo at the new tag, and run `cd native; cargo +nightly publish -Z package-workspace -p libcst_derive -p libcst` \ No newline at end of file diff --git a/native/Cargo.lock b/native/Cargo.lock index 97ae6665..d09b42a5 100644 --- a/native/Cargo.lock +++ b/native/Cargo.lock @@ -338,7 +338,7 @@ checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" [[package]] name = "libcst" -version = "1.7.0" +version = "1.8.0" dependencies = [ "annotate-snippets", "criterion", @@ -356,7 +356,7 @@ dependencies = [ [[package]] name = "libcst_derive" -version = "1.7.0" +version = "1.8.0" dependencies = [ "quote", "syn 2.0.101", diff --git a/native/libcst/Cargo.toml b/native/libcst/Cargo.toml index d639af1f..e9c7411c 100644 --- a/native/libcst/Cargo.toml +++ b/native/libcst/Cargo.toml @@ -5,7 +5,7 @@ [package] name = "libcst" -version = "1.7.0" +version = "1.8.0" authors = ["LibCST Developers"] edition = "2018" rust-version = "1.70" @@ -42,7 +42,7 @@ peg = "0.8.5" annotate-snippets = "0.11.5" regex = "1.11.1" memchr = "2.7.4" -libcst_derive = { path = "../libcst_derive", version = "1.6.0" } +libcst_derive = { path = "../libcst_derive", version = "1.8.0" } [dev-dependencies] criterion = { version = "0.5.1", features = ["html_reports"] } diff --git a/native/libcst_derive/Cargo.toml b/native/libcst_derive/Cargo.toml index 8d5fd2ff..78c8554f 100644 --- a/native/libcst_derive/Cargo.toml +++ b/native/libcst_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libcst_derive" -version = "1.7.0" +version = "1.8.0" edition = "2018" description = "Proc macro helpers for libcst." license = "MIT"