eve v2.0 Release Notes

  • ๐Ÿš€ 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