Releases: Instagram/LibCST
Releases · Instagram/LibCST
LibCST 0.3.20 Release - 2021-08-09
Fixed
- Don't reset subprocess environment to fix codemodding on windows #495
- TypeAnnotationsVisitor: don't truncate function return type #499
- Docs: Fix typo #492
LibCST 0.3.19 Release - 2021-05-12
Updated
- Return more specific QNames for assignments #477
- Tie accesses from string annotation to the string node #483
Fixed
- Fix leaking processes from TypeInferenceProvider #474
- Fix TypeInferenceProvider breakage with empty cache #476
- Fix formatting for link to QualifiedName class in docs #480
LibCST 0.3.18 Release - 2021-03-29
Added
- Add FlattenSentinel to support replacing a statement with multiple statements #455
- Add BuiltinScope #469
- Add FullyQualifiedNameProvider #465
Updated
- Split QualifiedNameProvider out from libcst.metadata.scope_provider #464
Fixed
- Exception while parsing escape character in raw f-strings #462
LibCST 0.3.17 Release - 2021-02-08
Updated
- Optimization: reduce the number of unused parallel processes #440
Fixed
- Walrus operator's left hand side now has STORE expression context #443
- ApplyTypeAnnotationsVisitor applies parameter annotations even if no return type is declared #445
- Work around Windows problem by using dummy pool for
jobs=1
#436
- Remove extra unused imports added in other files #453
LibCST 0.3.16 Release - 2020-12-16
Added
- Support PEP-604 style unions in decorator annotations #429
- Gathering exports in augmented assignment statements #426
Fixed
- Don't allow out of order accesses in the global scope #431
- Handle scope ordering in For statements #430
- Fix for not parsing subscripts such as
cast()["from"]
#428
- Walrus operator's left hand side now has STORE expression context #433
LibCST 0.3.15 Release - 2020-12-01
Added
- Support Named Unicode Characters and yield in f-strings #424
Fixed
- Assignment/access ordering in comprehensions #423
- Referencing of remaining objects in cast() #422
LibCST 0.3.14 Release - 2020-11-18
Fixed
- Fix is_annotation for types used in classdef base and assign value #406
- Visit concatenated f-strings during scope analysis #411
- Correct handling of walrus operator in function args #417
- Allow generator expressions in f-strings #419
- Keep track of assignment/access ordering during scope analysis #413
- Handle string type references in cast() during scope analysis #418
LibCST 0.3.13 Release - 2020-10-12
Fixed
- Use correct type for AugAssign and AnnAssign target #396
- Support string annotations for type aliases #401
LibCST 0.3.12 Release - 2020-10-01
Fixed
- fix RemoveImportsVisitor crash when ImportAlias is inserted without comma #397
- Provide STORE for {Class,Function}Def.name in ExpressionContextProvider #394
LibCST 0.3.5 Release - 2020-09-28
Added
- Implement TypeOf matcher #384
Updated
- Update return type of ParentNodeProvider to be CSTNode #377
- Add source code links to each class/function #378
Fixed
- Removing an import alias with a trailing standalone comment should preserve the comment #392