Libcst

Latest version: v1.7.0

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

Scan your dependencies

Page 6 of 10

0.3.15

Added

- Support Named Unicode Characters and yield in f-strings [424](https://github.com/Instagram/LibCST/pull/424)

Fixed

- Assignment/access ordering in comprehensions [423](https://github.com/Instagram/LibCST/pull/423)
- Referencing of remaining objects in cast() [422](https://github.com/Instagram/LibCST/pull/422)

0.3.14

Fixed

- Fix is_annotation for types used in classdef base and assign value [406](https://github.com/Instagram/LibCST/pull/406)
- Visit concatenated f-strings during scope analysis [411](https://github.com/Instagram/LibCST/pull/411)
- Correct handling of walrus operator in function args [417](https://github.com/Instagram/LibCST/pull/417)
- Allow generator expressions in f-strings [419](https://github.com/Instagram/LibCST/pull/419)
- Keep track of assignment/access ordering during scope analysis [413](https://github.com/Instagram/LibCST/pull/413)
- Handle string type references in cast() during scope analysis [418](https://github.com/Instagram/LibCST/pull/418)

0.3.13

Fixed

- Use correct type for AugAssign and AnnAssign target [396](https://github.com/Instagram/LibCST/pull/396)
- Support string annotations for type aliases [401](https://github.com/Instagram/LibCST/pull/401)

0.3.12

Fixed

- fix RemoveImportsVisitor crash when ImportAlias is inserted without comma [397](https://github.com/Instagram/LibCST/pull/397)
- Provide STORE for {Class,Function}Def.name in ExpressionContextProvider [394](https://github.com/Instagram/LibCST/pull/394)

0.3.11

Added

- Implement TypeOf matcher [384](https://github.com/Instagram/LibCST/pull/384)

Updated

- Update return type of ParentNodeProvider to be CSTNode [377](https://github.com/Instagram/LibCST/pull/377)
- Add source code links to each class/function [378](https://github.com/Instagram/LibCST/pull/378)

Fixed

- Removing an import alias with a trailing standalone comment should preserve the comment [392](https://github.com/Instagram/LibCST/pull/392)

0.3.10

Added

- Handle string annotations in ScopeProvider [373](https://github.com/Instagram/LibCST/pull/373)
- Add is_annotation subtype for Access inreferences. [372](https://github.com/Instagram/LibCST/pull/372)

Updated

- Call pyre query with noninteractive logging [371](https://github.com/Instagram/LibCST/pull/371)
- Replace matchers with explicit visitation in gatherers [366](https://github.com/Instagram/LibCST/pull/366)
- Include missing test data in install [365](https://github.com/Instagram/LibCST/pull/365)

Fixed

- Spaces around walrus operator are not required [368](https://github.com/Instagram/LibCST/pull/368)
- SaveMachedNode now matches with trailing empty wildcards [356](https://github.com/Instagram/LibCST/pull/356)
- Correctly extract wildcard matchers [355](https://github.com/Instagram/LibCST/pull/355)

Page 6 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.