From 824ec420056a2676ef43e0bd6b5d4ae81900332f Mon Sep 17 00:00:00 2001 From: Stefan Wojcik Date: Sun, 16 Apr 2017 14:08:42 -0400 Subject: [PATCH] bump version to v0.13.0 and fill in the changelog and the upgrade docs --- docs/changelog.rst | 5 +++++ docs/upgrade.rst | 11 +++++++++++ mongoengine/__init__.py | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 2b07ed53..46d47b97 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -6,6 +6,11 @@ Development =========== - (Fill this out as you fix issues and develop your features). +Changes in 0.13.0 +================= +- POTENTIAL BREAKING CHANGE: Added Unicode support to the `EmailField`, see + docs/upgrade.rst for details. + Changes in 0.12.0 ================= - POTENTIAL BREAKING CHANGE: Fixed limit/skip/hint/batch_size chaining #1476 diff --git a/docs/upgrade.rst b/docs/upgrade.rst index a9a547e4..d612df88 100644 --- a/docs/upgrade.rst +++ b/docs/upgrade.rst @@ -6,6 +6,17 @@ Development *********** (Fill this out whenever you introduce breaking changes to MongoEngine) +0.13.0 +****** +This release adds Unicode support to the `EmailField` and changes its +structure significantly. Previously, email addresses containing Unicode +characters didn't work at all. Starting with v0.13.0, domains with Unicode +characters are supported out of the box, meaning some emails that previously +didn't pass validation now do. Make sure the rest of your application can +accept such email addresses. Additionally, if you subclassed the `EmailField` +in your application and overrode `EmailField.EMAIL_REGEX`, you will have to +adjust your code to override `EmailField.USER_REGEX`, `EmailField.DOMAIN_REGEX`, +and potentially `EmailField.UTF8_USER_REGEX`. 0.12.0 ****** diff --git a/mongoengine/__init__.py b/mongoengine/__init__.py index 0feb49e0..840c90d7 100644 --- a/mongoengine/__init__.py +++ b/mongoengine/__init__.py @@ -23,7 +23,7 @@ __all__ = (list(document.__all__) + list(fields.__all__) + list(signals.__all__) + list(errors.__all__)) -VERSION = (0, 12, 0) +VERSION = (0, 13, 0) def get_version():