This release contains breaking changes. Be sure to check out the "how to upgrade" section below.
Changed
Remove support for Python 2.7 and 3.4 (#111, #120).
Add support for Python 3.8.
Small performance improvements by using lists’ mutable .sort() instead of sorted(), which is a bit faster. (±2% faster) (#120).
Added
Add PEP-484 type annotations for the project’s public APIs (#101, #123).
Add PEP-561 metadata so the exporter’s type annotations can be read by type checkers (#101, #123).
Give entity rendering components access to the current block, blocks list, mutability, and key as entity_range.key (#91, #124).
How to upgrade
Python 2.7 and 3.4 support
Do not upgrade to this version if you are using the exporter in Python 2.7 or 3.4. Please keep using v2.1.7 of the exporter.
PEP-484 type annotations
If you are using the exporter in a codebase using type annotations and a type checker, there is a chance the annotations added in this release will create conflicts with your project’s annotations – if there are discrepancies between the expected input/output of the exporter, or in the configuration. In this case you may need to update your project’s type annotations or stubs to match the expected types of the exporter’s public API.
If you believe there is a problem with how the public API is typed, please open a new issue.
v3.0.0
This release contains breaking changes. Be sure to check out the "how to upgrade" section below.
Changed
.sort()
instead ofsorted()
, which is a bit faster. (±2% faster) (#120).Added
block
,blocks
list,mutability
, and key asentity_range.key
(#91, #124).How to upgrade
Python 2.7 and 3.4 support
Do not upgrade to this version if you are using the exporter in Python 2.7 or 3.4. Please keep using v2.1.7 of the exporter.
PEP-484 type annotations
If you are using the exporter in a codebase using type annotations and a type checker, there is a chance the annotations added in this release will create conflicts with your project’s annotations – if there are discrepancies between the expected input/output of the exporter, or in the configuration. In this case you may need to update your project’s type annotations or stubs to match the expected types of the exporter’s public API.
If you believe there is a problem with how the public API is typed, please open a new issue.