Skip to content

Commit 824ec42

Browse files
committed
bump version to v0.13.0 and fill in the changelog and the upgrade docs
1 parent 466935e commit 824ec42

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

docs/changelog.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ Development
66
===========
77
- (Fill this out as you fix issues and develop your features).
88

9+
Changes in 0.13.0
10+
=================
11+
- POTENTIAL BREAKING CHANGE: Added Unicode support to the `EmailField`, see
12+
docs/upgrade.rst for details.
13+
914
Changes in 0.12.0
1015
=================
1116
- POTENTIAL BREAKING CHANGE: Fixed limit/skip/hint/batch_size chaining #1476

docs/upgrade.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ Development
66
***********
77
(Fill this out whenever you introduce breaking changes to MongoEngine)
88

9+
0.13.0
10+
******
11+
This release adds Unicode support to the `EmailField` and changes its
12+
structure significantly. Previously, email addresses containing Unicode
13+
characters didn't work at all. Starting with v0.13.0, domains with Unicode
14+
characters are supported out of the box, meaning some emails that previously
15+
didn't pass validation now do. Make sure the rest of your application can
16+
accept such email addresses. Additionally, if you subclassed the `EmailField`
17+
in your application and overrode `EmailField.EMAIL_REGEX`, you will have to
18+
adjust your code to override `EmailField.USER_REGEX`, `EmailField.DOMAIN_REGEX`,
19+
and potentially `EmailField.UTF8_USER_REGEX`.
920

1021
0.12.0
1122
******

mongoengine/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
list(signals.__all__) + list(errors.__all__))
2424

2525

26-
VERSION = (0, 12, 0)
26+
VERSION = (0, 13, 0)
2727

2828

2929
def get_version():

0 commit comments

Comments
 (0)