v0.20.0
Changelog
v0.20.0 (2022-11-29)
This release continues the modularisation of the package by moving the server exceptions and warnings out into top-level modules, and removing the core dependency on FastAPI (now a server dependency only). This should allow for easier use of the optimade.models
and optimade.client
modules within other packages.
Aside from that, the package now supports Python 3.11, and our example server is now deployed at Fly.io rather than Heroku.
Implemented enhancements:
- Add support for Python 3.11 #1361
- Improve test diagnostics and fix deprecated Elasticsearch calls #1373 (ml-evs)
- Support Python 3.11 #1362 (ml-evs)
Fixed bugs:
- Elasticsearch pytest oneliner in the docs is no longer working #1377
- Remote swagger validator has changed output format #1370
Closed issues:
- Fully isolate server code from other submodules #1403
- Replace https://gitlab.com/pycqa/flake8 with https://github.com/pycqa/flake8 #1388
- OpenAPI schema should not enforce recommended constraint on
page_number
#1372 - Pydantic models docs are broken on the mkdocs site with new renderer #1353
- Migrate away from Heroku for demo server #1307
- FastAPI should not be a core dependency #1198
Merged pull requests:
- Move exceptions and warnings out of server code and separate deps #1405 (ml-evs)
- Complete migration from Heroku to Fly #1400 (ml-evs)
- Add GH actions for deploying example server to Fly #1396 (ml-evs)
- Support new remote swagger.io validator format #1371 (ml-evs)
- Do not enforce minimum value of
page_number
at model level #1369 (ml-evs) - Enable
mypy
andisort
in pre-commit & CI #1346 (ml-evs) - Remove randomness from structure utils tests #1338 (ml-evs)
- Demote FastAPI to a server dep only #1199 (ml-evs)
* This Changelog was automatically generated by github_changelog_generator