π Released on Jun 8, 2022.
π₯ Breaking
π Starting from this release, Eve supports Python 3.7 and above.
- β¬οΈ Drop Python 2 (`#1440`_)
- Drop Python 3.5 (`#1440`_, `#1438`_)
- β¬οΈ Drop Python 3.6 (`#1440`_)
.. _`#1440`: https://github.com/pyeve/eve/issues/1440
.. _`#1438`: https://github.com/pyeve/eve/pull/1438
π New
~~~
- β Add Python 3.9 support (`#1437`_)
- β Add Python 3.10 support (`#1440`_)
- π ``MONGO_OPTIONS`` acquires a new ``uuidRepresentation`` setting, with ``standard`` as its default value. This is needed by PyMongo 4+ in order to seamlessly process eventual ``uuid`` values. See `PyMongo documentation`_ for details (`#1461`_, `#1464`_).
.. _`#1444`: https://github.com/pyeve/eve/pull/1444
π .. _`PyMongo documentation`: https://github.com/pyeve/eve/pull/1438
π Fixed
~~~~~
- AttributeError: module 'werkzeug.utils' has no attribute 'escape' (`#1474`_)
- Starting with Werkzeug 2.1, HATEOAS links are relative instead of absolute (`#1475`_)
- Eve doesn't work with latest PyMongo (v4) (`#1461`_, `#1464`_)
- π Fix 500 error with empty token/bearer (`#1456`_)
- Do not return related fields if field is a empty list (`#1441`_)
- π PyMongo 3.12+ supports keys that include dotted fields (`#1466`_)
- π Pin pymongo version in dependencies (`#1461`_)
- Prepare for Python 3 switch (`#1445`_)
- β‘οΈ Update docs and tests regarding pagination of empty resources (`#1463`_)
- π Fix fork link in contributing info (`#1447`_)
- Tutorial mistake on custom IDs values with UUIDs (`#1451`_)
- Documentation typos (`#1462`_, `#1469`_)
- Switch to GitHub Actions from Travis CI (`#1439`_, `#1444`_)
.. _`#1469`: https://github.com/pyeve/eve/pull/1469
.. _`#1475`: https://github.com/pyeve/eve/issues/1475
.. _`#1474`: https://github.com/pyeve/eve/issues/1474
.. _`#1451`: https://github.com/pyeve/eve/issues/1451
.. _`#1464`: https://github.com/pyeve/eve/issues/1464
.. _`#1461`: https://github.com/pyeve/eve/issues/1461
.. _`#1439`: https://github.com/pyeve/eve/pull/1439
.. _`#1437`: https://github.com/pyeve/eve/pull/1437
.. _`#1456`: https://github.com/pyeve/eve/pull/1456
.. _`#1463`: https://github.com/pyeve/eve/pull/1463
.. _`#1462`: https://github.com/pyeve/eve/pull/1462
.. _`#1466`: https://github.com/pyeve/eve/issues/1466
.. _`#1447`: https://github.com/pyeve/eve/pull/1447
.. _`#1445`: https://github.com/pyeve/eve/pull/1445
.. _`#1441`: https://github.com/pyeve/eve/pull/1441