Skip to content

Releases: Instagram/LibCST

LibCST 0.3.20 Release - 2021-08-09

10 Aug 09:40
a1282f2
Compare
Choose a tag to compare

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

13 May 14:39
e0dd601
Compare
Choose a tag to compare

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

30 Mar 11:15
27ef2bf
Compare
Choose a tag to compare

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

09 Feb 03:50
39ff458
Compare
Choose a tag to compare

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

16 Dec 20:08
df231f3
Compare
Choose a tag to compare

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

01 Dec 19:26
8eee3cc
Compare
Choose a tag to compare

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

18 Nov 09:58
77d8a90
Compare
Choose a tag to compare

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

12 Oct 21:54
01c8098
Compare
Choose a tag to compare

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

01 Oct 15:23
10d6451
Compare
Choose a tag to compare

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

28 Sep 16:40
efe0fdb
Compare
Choose a tag to compare

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