Skip to content

Commit aa3683a

Browse files
committed
Release v5.0.0
1 parent 994be0c commit aa3683a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
> All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
44
5-
## Unreleased
5+
## [v5.0.0](https://github.com/springload/draftjs_exporter/releases/tag/v5.0.0)
66

77
### Added
88

99
- Add tentative support for Python 3.11.
10+
- Add new "string_compat" engine for maximum output stability, with identical output to its first release. To use it, set the `engine` property to `'engine': DOM.STRING_COMPAT,` ([#138](https://github.com/springload/draftjs_exporter/pull/138)).
1011

1112
### Removed
1213

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This exporter takes the Draft.js ContentState data as input, and outputs HTML ba
3939
pip install draftjs_exporter
4040
```
4141

42-
We support the following Python versions: 3.7, 3.8, 3.9, 3.10. For Python 2.7 and 3.4 support, please use [v2.1.7](https://github.com/springload/draftjs_exporter/tree/v2.1.7) of the exporter. For Python 3.5, use [v3.0.1](https://github.com/springload/draftjs_exporter/tree/v3.0.1). For Python 3.6, use [v4.1.2](https://github.com/springload/draftjs_exporter/tree/v4.1.2).
42+
We support the following Python versions: 3.7, 3.8, 3.9, 3.10, 3.11. For legacy Python versions, find compatible releases in the [CHANGELOG](https://github.com/springload/draftjs_exporter/blob/main/CHANGELOG.md).
4343

4444
In your code, create an exporter and use the `render` method to create HTML:
4545

@@ -259,7 +259,7 @@ config = {
259259
'engine': DOM.HTML5LIB,
260260
# Or for lxml:
261261
'engine': DOM.LXML,
262-
# Or to use the "maximum stability" string_compat engine:
262+
# Or to use the "maximum output stability" string_compat engine:
263263
'engine': DOM.STRING_COMPAT,
264264
}
265265
```

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__ = "4.1.2"
2+
__version__ = "5.0.0"
33
__author__ = "Springload"
44
__license__ = "MIT"
55
__copyright__ = "Copyright 2016-present Springload"

0 commit comments

Comments
 (0)