Skip to content

Commit 158771e

Browse files
authored
Release v3.0.0 (#125)
1 parent 13c5ff0 commit 158771e

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

CHANGELOG.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,34 @@
44
55
## Unreleased
66

7-
This release contains breaking changes that will require updating the exporter's configurations. **Be sure to check out the "how to upgrade" section below.**
7+
## [v3.0.0](https://github.com/springload/draftjs_exporter/releases/tag/v3.0.0)
8+
9+
This release contains breaking changes. **Be sure to check out the "how to upgrade" section below.**
810

911
### Changed
1012

11-
* Remove support for Python 2.7 and 3.4 ([#111](https://github.com/springload/draftjs_exporter/issues/111), [#120](https://github.com/springload/draftjs_exporter/pulls)).
13+
* Remove support for Python 2.7 and 3.4 ([#111](https://github.com/springload/draftjs_exporter/issues/111), [#120](https://github.com/springload/draftjs_exporter/pull/120)).
1214
* Add support for Python 3.8.
13-
* Small performance improvements by using lists’ mutable .sort() instead of sorted(), which is a bit faster. (±2% faster) ([#120](https://github.com/springload/draftjs_exporter/pulls)).
15+
* Small performance improvements by using lists’ mutable `.sort()` instead of `sorted()`, which is a bit faster. (±2% faster) ([#120](https://github.com/springload/draftjs_exporter/pull/120)).
16+
17+
### Added
18+
19+
* Add [PEP-484](https://www.python.org/dev/peps/pep-0484/) type annotations for the project’s public APIs ([#101](https://github.com/springload/draftjs_exporter/issues/101), [#123](https://github.com/springload/draftjs_exporter/pull/123)).
20+
* Add [PEP-561](https://www.python.org/dev/peps/pep-0561/) metadata so the exporter’s type annotations can be read by type checkers ([#101](https://github.com/springload/draftjs_exporter/issues/101), [#123](https://github.com/springload/draftjs_exporter/pull/123)).
21+
* Give entity rendering components access to the current `block`, `blocks` list, `mutability`, and key as `entity_range.key` ([#91](https://github.com/springload/draftjs_exporter/issues/91), [#124](https://github.com/springload/draftjs_exporter/pull/124)).
1422

1523
### How to upgrade
1624

17-
#### Python 2.7 and 3.4
25+
#### Python 2.7 and 3.4 support
1826

1927
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](https://github.com/springload/draftjs_exporter/tree/v2.1.7) of the exporter.
2028

29+
#### PEP-484 type annotations
30+
31+
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.
32+
33+
If you believe there is a problem with how the public API is typed, please [open a new issue](https://github.com/springload/draftjs_exporter/issues/new/choose).
34+
2135
## [v2.1.7](https://github.com/springload/draftjs_exporter/releases/tag/v2.1.7)
2236

2337
### Changed

draftjs_exporter/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__title__ = 'draftjs_exporter'
2-
__version__ = '2.1.7'
2+
__version__ = '3.0.0'
33
__author__ = 'Springload'
44
__license__ = 'MIT'
55
__copyright__ = 'Copyright 2016-present Springload'

0 commit comments

Comments
 (0)