Skip to content

Commit 345732e

Browse files
authored
Merge Pre 1.0.0 changes.
2 parents fd6d6d8 + 2f8904b commit 345732e

File tree

3 files changed

+7
-33
lines changed

3 files changed

+7
-33
lines changed

docs/changelog.rst

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,10 @@
22
Changelog
33
=========
44

5-
Development
6-
===========
7-
- BREAKING CHANGE: Dropped Python v2.6, v2.7, v3.2, v3.3,
8-
v3.4, v3.5 (#355, #366)
9-
- BREAKING CHANGE: Added tests support for python versions:
10-
v3.6, v3.7, v3.8 (#355, #366)
11-
- BREAKING CHANGE: Minimum Flask version set to v1.1 (#355)
12-
- BREAKING CHANGE: Minimum Flask-WTF version set to v0.14 (#355)
13-
- BREAKING CHANGE: Minimum mongoengine version set to v0.19 (#355)
14-
- BREAKING CHANGE: Minimum mongodb version set to v4.0 (#355)
15-
- BREAKING CHANGE: Pymongo support < 3.6.0 dropped. (#372)
16-
- FIXED: Pymongo old method monkey patching (#325, #346, #372)
17-
- FIXED: Examples works again (#372)
18-
- FIXED: Use fldt.$ to avoid double jQuery.noConflict(true) (#313)
19-
- CHANGED: Code reformatted with black, pre-commit implemented
20-
in project and CI/CD (#366)
21-
- CHANGED: Developers dependencies extracted to separate file (#367)
22-
- CHANGED: Internal test engine switched from nose to pytest (#357)
23-
- DROPPED: Internal check with flake8-import-order dropped, as not
24-
compatible with modern editors (#358)
25-
- UPDATED: Functions `get_or_404`, `first_or_404` now accepts `message`
26-
argument, and will display custom message if specified. (#351)
27-
- UPDATED: `get_or_404` will raise 404 error only on `DoesNotExist` exception,
28-
other exceptions should be captured by user. (#360)
29-
- UPDATED: Fix imports order, drop imports for python 2.7 (#373)
30-
- RESTORED: Changelog for v0.9.2, v0.9.3, v0.9.4, v0.9.5 (#370)
31-
32-
Tests and development for old packages versions dropped to minimize tests
33-
footprint.
5+
Changes in 1.0.0
6+
================
7+
Changelog maintenance automated and latest changelog available at
8+
`github release page <https://github.com/MongoEngine/flask-mongoengine/releases>`_.
349

3510
Use version 0.9.5 if old dependencies required.
3611

flask_mongoengine/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@
1212
from .sessions import *
1313
from .wtf import WtfBaseField
1414

15-
VERSION = (0, 9, 5)
15+
VERSION = (1, 0, 0)
1616

1717

1818
def get_version():
19-
"""Return the VERSION as a string, e.g. for VERSION == (0, 9, 2),
20-
return '0.9.2'.
21-
"""
19+
"""Return the VERSION as a string."""
2220
return ".".join(map(str, VERSION))
2321

2422

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# Load index.rst as long_description
1111
doc_path = os.path.join(os.path.dirname(__file__), "docs", "index.rst")
1212
long_description = open(doc_path, encoding="utf-8").read()
13+
long_description_content_type = "text/x-rst"
1314

1415
# Stops exit traceback on tests
1516
try:

0 commit comments

Comments
 (0)