Releases: Instagram/LibCST
Releases · Instagram/LibCST
v1.8.2
v1.8.1
Added
Updated
- Avoid raising bare Exception by @zaicruvoir1rominet in #1168
- Upgrade PyYAML-ft version and use new module name by @lysnikolaou in #1353
New Contributors
- @lysnikolaou made their first contribution in #1353
Full Changelog: v1.8.0...v1.8.1
v1.8.0
Added
- Allow configuring empty formatter lists in codemod CLI by @ngoldbaum in #1319
- Publish several new binary wheels
- Enable support for free-threaded CPython by @zsol in #1295 and #1335
Updated
- update pyo3 to 0.25 by @ngoldbaum in #1324
- Replace multiprocessing with ProcessPoolExecutor by @zsol in #1294
- Support pipe syntax for Union types in codegen by @zsol in #1336
New Contributors
- @hadialqattan made their first contribution in #1316
Full Changelog: v1.7.0...v1.8.0
v1.7.0
Added
- add free-threaded CI by @ngoldbaum in #1312
Updated
- Remove dependency on
chic
and upgradeannotate-snippets
by @zanieb in #1293 - Update for Pyo3 0.23 by @ngoldbaum in #1289
- Bump PyO3 to 0.23.5 by @mgorny in #1311
New Contributors
- @zanieb made their first contribution in #1293
- @ngoldbaum made their first contribution in #1289
- @mgorny made their first contribution in #1311
Full Changelog: v1.6.0...v1.7.0
v1.6.0
Fixed
- rename: store state in scratch by @zsol in #1250
- rename: handle imports via a parent module by @zsol in #1251
- rename: Fix imports with aliases by @zsol in #1252
- rename: don't leave trailing commas by @zsol in #1254
- rename: don't eat commas unnecessarily by @zsol in #1256
- rename: fix renaming toplevel names by @zsol in #1260
- bump 3.12 to 3.13 in readme by @khameeteman in #1228
Added
- Add codemod to convert
typing.Union
to|
by @yangdanny97 in #1270 - Add codemod to fix variadic callable annotations by @yangdanny97 in #1269
- Add codemod to rename typing aliases of builtins by @yangdanny97 in #1267
- Add typing classifier to pyproject.toml and badge to README by @yangdanny97 in #1272
- Expose TypeAlias and TypeVar related structs in rust library by @Crozzers in #1274
Updated
New Contributors
- @yangdanny97 made their first contribution in #1270
- @Crozzers made their first contribution in #1274
- @jelmer made their first contribution in #1180
Full Changelog: v1.5.1...v1.6.0
v1.5.1
v1.5.0
Added
- FullyQualifiedNameProvider: Optionally consider pyproject.toml files when determining a file's module name and package by @camillol in #1148
- Add validation for If node by @kiri11 in #1177
- include python 3.13 in build by @khameeteman in #1203
Fixed
- fix various Match statement visitation errors by @zsol in #1161
- Mention codemod -x flag in docs by @kiri11 in #1169
- Clear warnings for each file in codemod cli by @kiri11 in #1184
- Typo fix in codemods_tutorial.rst (trivial) by @wimglenn in #1208
- fix certain matchers breaking under multiprocessing by initializing them late by @kiri11 in #1204
Updated
- make libcst_native::tokenizer public by @zsol in #1182
- Use
license
instead oflicense-file
by @michel-slm in #1189 - Drop codecov from CI and readme by @amyreese in #1192
New Contributors
- @kiri11 made their first contribution in #1169
- @grievejia made their first contribution in #1174
- @michel-slm made their first contribution in #1189
- @wimglenn made their first contribution in #1208
- @khameeteman made their first contribution in #1203
Full Changelog: v1.4.0...v1.5.0
v1.4.0
Fixed
- Fix Literal parse error in RemoveImportsVisitor by @camillol in #1130
- Don't reset context.scratch between files by @zsol in #1151
- Various documentation fixes
Added
- Add helper functions for common ways of filtering nodes by @zaicruvoir1rominet in #1137
- Dump CST to .dot (graphviz) files by @zaicruvoir1rominet in #1147
- Implement PEP-696 by @thereversiblewheel in #1141
New Contributors
- @tiangolo made their first contribution in #1134
- @camillol made their first contribution in #1130
- @zaicruvoir1rominet made their first contribution in #1142
- @thereversiblewheel made their first contribution in #1141
Full Changelog: v1.3.1...v1.4.0