π Released on Nov 10, 2022.
π Fixed
- Comparison of incompatible types (`#1492`_)
- π¨ Python 3 updates, and some refactoring (`#1493`_)
.. _`#1492`: https://github.com/pyeve/eve/issues/1492
.. _`#1493`: https://github.com/pyeve/eve/pull/1493
π Released on Nov 2, 2022.
π Fixed
- β‘οΈ Malformed ``LAST_UPDATED`` field (`#1490`_)
.. _`#1490`: https://github.com/pyeve/eve/issues/1490
π Released on Sep 23, 2022.
π Fixed
- Fix: etag generation fails if ``uuidRepresentation`` is not set in MONGO_OPTIONS (`#1486`_)
.. _`#1486`: https://github.com/pyeve/eve/issues/1486
π Released on Sep 7, 2022.
π Fixed
- π ``MONGO_URI`` username, password, and authSource are not parsed correctly (`#1478`_)
- π Lock Flask dependency to version 2.1 (`#1485`_)
- π Fix documentation typos (`#1481`_)
- π Only build Python 3 wheels.
.. _`#1485`: https://github.com/pyeve/eve/issues/1485
.. _`#1478`: https://github.com/pyeve/eve/issues/1478
.. _`#1481`: https://github.com/pyeve/eve/pull/1481
π 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
π Released on January 25, 2021.
π Fixed
- Nested unique field validation still don't work (`#1435`_)
- π Documentation: corrected variable name (`#1426`_)
- π Versioning: support for dynamic datasources (`#1423`_)
- π Disable MD5 support in GridFS, as it is deprecated (`#1410`_)
- Demo application has been terminated by Heroku. Dropped any reference to it.
.. _`#1435`: https://github.com/pyeve/eve/issues/1435
.. _`#1426`: https://github.com/pyeve/eve/pull/1426
.. _`#1423`: https://github.com/pyeve/eve/issues/1423
.. _`#1410`: https://github.com/pyeve/eve/issues/1410
π Released on October 22, 2020.
π Fixed
- Error raised when using ``embedded`` with nested dict (`#1416`_)
- Expose media endpoint only if ``RETURN_MEDIA_AS_URL`` is set to ``True`` (`#1415`_)
- Use ``**mongo_options`` in ``with_options`` (`#1413`_)
.. _`#1416`: https://github.com/pyeve/eve/issues/1416
.. _`#1415`: https://github.com/pyeve/eve/pull/1415
.. _`#1413`: https://github.com/pyeve/eve/issues/1413
π Released on September 19, 2020.
π Fixed
- π Fix: Race condition in PATCH on newly created documents with clustered mongo (`#1411`_)
.. _`#1411`: https://github.com/pyeve/eve/issues/1411
π Released on July 9, 2020.
π Fixed
- β Add missed condition when projection is disabled per domain (`#1398`_)
- β Removed unnecessary comprehension (`#1391`_)
.. _`#1398`: https://github.com/pyeve/eve/pull/1398
.. _`#1391`: https://github.com/pyeve/eve/pull/1391
π Released on May 10, 2020.
π Fixed
- Disabling ``merge_nested_documents`` breaks versioning on PATCH (`#1389`_)
- β
Tests failing with Flask 1.1.2 (`#1378`_)
- πΎ ``BANDWIDTH_SAVER`` no longer works with ``resolve_resource_projection`` (`#1338`_)
- ``unique_within_resource`` rule used in resources without datasource filter (`#1368`_)
- dicts without ``schema`` rule are broken since ``b8d8fcd`` (`#1366`_)
- 403 Forrbidden added to ``STANDARD_ERRORS`` (`#1362`_)
- ``unique`` constraint doesn't work when inside of a dict or a list (`#1360`_)
- π Documentation typos (`#1375`_)
.. _`#1389`: https://github.com/pyeve/eve/issues/1389
.. _`#1378`: https://github.com/pyeve/eve/pull/1378
.. _`#1375`: https://github.com/pyeve/eve/pull/1375
.. _`#1338`: https://github.com/pyeve/eve/issues/1338
.. _`#1368`: https://github.com/pyeve/eve/pull/1368
.. _`#1366`: https://github.com/pyeve/eve/pull/1366
.. _`#1362`: https://github.com/pyeve/eve/pull/1362
.. _`#1360`: https://github.com/pyeve/eve/issues/1360