mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
Bump LibCST to new release 0.3.2.
This commit is contained in:
parent
0ff9a6c5b7
commit
472e13dd26
2 changed files with 16 additions and 1 deletions
15
CHANGELOG.md
15
CHANGELOG.md
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
LIBCST_VERSION: str = "0.3.1"
|
||||
LIBCST_VERSION: str = "0.3.2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue