Libcst

Latest version: v1.3.1

Safety actively analyzes 623965 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 9

1.3.1

Fixed
* ImportError due to missing `mypy_extensions` dependency by zsol in https://github.com/Instagram/LibCST/pull/1128

1.3.0

Updated
* Removed dependencies on `typing_extensions` and `typing_inspect` by zsol in https://github.com/Instagram/LibCST/pull/1126

1.2.0

Updated
* Support running LibCST on Python 3.12 and drop support for running it on 3.8
* remove 3.8 support by zsol in https://github.com/Instagram/LibCST/pull/1073
* Remove reference to distutils by zsol in https://github.com/Instagram/LibCST/pull/1099
* Update pyproject.toml for Python 3.12 support by itamaro in https://github.com/Instagram/LibCST/pull/1038

Added
* Allow `Element::codegen` to be used by external users by Wilfred in https://github.com/Instagram/LibCST/pull/1071

Fixed
* Fix parsing list matchers without explicit brackets by zsol in https://github.com/Instagram/LibCST/pull/1097
* installing rustc/cargo for mybinder demo by aleivag in https://github.com/Instagram/LibCST/pull/1083
* fix filepathprovider generic type by kinto0 in https://github.com/Instagram/LibCST/pull/1036

New Contributors
* itamaro made their first contribution in https://github.com/Instagram/LibCST/pull/1039
* kinto0 made their first contribution in https://github.com/Instagram/LibCST/pull/1036
* dtolnay made their first contribution in https://github.com/Instagram/LibCST/pull/1063
* anonymousdouble made their first contribution in https://github.com/Instagram/LibCST/pull/1082
* aleivag made their first contribution in https://github.com/Instagram/LibCST/pull/1083
* Wilfred made their first contribution in https://github.com/Instagram/LibCST/pull/1071
* diliop made their first contribution in https://github.com/Instagram/LibCST/pull/1106

**Full Changelog**: https://github.com/Instagram/LibCST/compare/v1.1.0...v1.2.0

1.1.0

Added
* PEP 695 support
* parser: PEP 695 - Type Parameter Syntax 1004
* Scope provider: support for type annotations 1014
* PEP 701 support
* parser: support arbitrarily nested f-strings 1026
* parser: Parse multiline expressions in f-strings 1027
* parser: Support files with mixed newlines 1007
* [libcst](https://crates.io/crates/libcst) is now published to crates.io

Fixed
* codemod/ApplyTypeAnnotationsVisitor: Do not annotate the same variable multiple times 956
* parser: Don't swallow trailing whitespace 976
* codemod/rename: Avoid duplicating import statements when the module name doesn't change 981

Updated
* cli: Don't gather dirs ending .py 994
* drop support for Python 3.7 997
* A few parser performance improvements:
* Switch to using thread_local regular expressions to stop mutext contention 996
* Remove need for regex in TextPosition::matches 1002
* Remove Regexes from whitespace parser 1008

1.0.1

Fixed
* Fix type of `evaluated_value` on string to allow bytes by ljodal in https://github.com/Instagram/LibCST/pull/721
* Fix Sentinal typo by kit1980 in https://github.com/Instagram/LibCST/pull/948
* Allow no whitespace after lambda body in certain cases by zsol in https://github.com/Instagram/LibCST/pull/939
* Fix whitespace, fstring, walrus related parse errors (939, 938, 937,
936, 935, 934, 933, 932, 931) by zsol in https://github.com/Instagram/LibCST/pull/940
* Codemod CLI: Print diff only when there is a change by kit1980 in https://github.com/Instagram/LibCST/pull/945

New Contributors
* ljodal made their first contribution in https://github.com/Instagram/LibCST/pull/721
* kit1980 made their first contribution in https://github.com/Instagram/LibCST/pull/948

**Full Changelog**: https://github.com/Instagram/LibCST/compare/v1.0.0...v1.0.1

1.0.0

The first major release of LibCST is essentially the same as 0.4.10, but using the
newer, Rust-based parser implementation by default. The old, pure Python parser is
scheduled for removal in the next (non-patch) release. Until then, it is available with
the `LIBCST_PARSER_TYPE` environment variable set to `pure`.

Updated

* Switch the default parser implementation to native by zsol in https://github.com/Instagram/LibCST/pull/929

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.