------------
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