Bump LibCST to new release 0.3.2.

This commit is contained in:
Jimmy Lai 2020-02-24 19:00:38 -08:00
parent 0ff9a6c5b7
commit 472e13dd26
2 changed files with 16 additions and 1 deletions

View file

@ -1,3 +1,18 @@
# 0.3.2 - 2020-02-24
## Added
- Added `RemoveImportsVisitor` to remove an import if it's not used in a module.
- Added `GatherExportsVisitor` to gather exports specified in `__all__`.
- Added property helpers `evaluated_name` and `evaluated_name` in `ImportAlias`.
- Added helper to get full module name: `get_absolute_module_for_import` and `get_absolute_module_for_import_or_raise`.
- Added `CodemodContext.full_module_name` for full dotted module name.
- Added format specifiers f-string conversion support to `ConvertFormatStringCommand`.
## Updated
- Moved LibCST version to `_version.py` and can print it by `python -m libcst.tool --version`.
- Improved `EnsureImportPresentCommand` with `--alias` option.
- Improved `ConvertFormatStringCommand` with `--allow-strip-comments` and `--allow-await` options.
# 0.3.1 - 2020-02-06
## Added

View file

@ -1 +1 @@
LIBCST_VERSION: str = "0.3.1"
LIBCST_VERSION: str = "0.3.2"