From 01f619755bfd60f1ad7f32361f39b69ede543150 Mon Sep 17 00:00:00 2001 From: Jimmy Lai Date: Thu, 5 Mar 2020 09:55:39 +0000 Subject: [PATCH] [release] Bump LibCST to new release 0.3.3. --- CHANGELOG.md | 15 +++++++++++++++ libcst/_version.py | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c521f821e..1ea43d548 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +# 0.3.3 - 2020-03-05 + +## Added + - `ByteSpanPositionProvider` provides start offset and length of CSTNode as metadata. + - `get_docstring` helper provides docstring from `Module`, `ClassDef` and `FunctionDef` node types. + +## Updated + - Optimized `ScopeProvider` performance to run faster and use less memory: + - remove unnecessary `Assignment` of keyword `Arg`. + - don't provide scope object for formatting information nodes. + - batch set union updates in `infer_accesses` step. + +## Fixed + - Fixed `_assignments` mutation when calling read-only `Scope.get_qualified_names_for` and `__contains__`. + # 0.3.2 - 2020-02-24 ## Added diff --git a/libcst/_version.py b/libcst/_version.py index 98a2371d9..6b015bca6 100644 --- a/libcst/_version.py +++ b/libcst/_version.py @@ -4,4 +4,4 @@ # LICENSE file in the root directory of this source tree. -LIBCST_VERSION: str = "0.3.2" +LIBCST_VERSION: str = "0.3.3"