Skip to content

Tags: CasperWA/optimade-python-tools

Tags

v0.7.1

Toggle v0.7.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request Materials-Consortia#235 from shyamd/fix-rls-on-tag

Fix github actions for non-release tags

v0.7.0

Toggle v0.7.0's commit message
Bumped version to 0.7.0

v0.6.0

Toggle v0.6.0's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
CasperWA Casper Welzel Andersen
v0.6.0

**New features**:
- GitHub Action validator that runs `optimade_validator` for a locally
running OPTiMaDe server (Materials-Consortia#191, @CasperWA, tested by @ml-evs)
- Support filter queries for `HAS ALL`, `HAS ANY` and `HAS ONLY` and
value lists on MongoDB backends (Materials-Consortia#173, @ml-evs)
  Note: `OPERATOR` use in value lists are still _not_ supported.
- Debug mode. Start the server in debug mode to enable `debug` log-level
in `uvicorn` and get a full Python traceback in the JSON response (Materials-Consortia#190,
@CasperWA)
- Add testing of mandatory `filter` queries to `optimade_validator`
(Materials-Consortia#205, @ml-evs)

**Updates**:
- Allow Cross-Origin requests from anywhere (`*`), i.e., enable CORS for
both servers (Materials-Consortia#194, @CasperWA)
- Updates to models (correct misspelling, more transparent model class
naming, streamline models with respect to python class inheritance,
update field descriptions) (Materials-Consortia#195, @CasperWA)
- API change: Rename `optimade.models.toplevel.py` to
`optimade.models.responses.py` (Materials-Consortia#195, @CasperWA)
- Update dependencies to newest versions (as of 02.03.2020) (Materials-Consortia#202, Materials-Consortia#196,
@CasperWA)
- Move imports from `starlette` to `fastapi`, where possible (Materials-Consortia#202,
@ml-evs)
- Remove custom middleware to redirect slashed URLs in favor of
`starlette` implementation (Materials-Consortia#202, @ml-evs)
- CI tests are now performed with a real MongoDB in the backend. CI
tests are also performed with a `mongomock` backend for the tests in
`server/test_middleware.py`, `server/test_server_validation.py`, and
`server/test_config.py` (Materials-Consortia#196, @ml-evs, additional testing by @CasperWA
)
- Remove `/optimade` from base URLs. This was especially important for
the OpenAPI schema (Materials-Consortia#201, Materials-Consortia#216, @CasperWA, @ml-evs)
- Check integrity of query part of the raw URL using a custom middleware
(Materials-Consortia#209, @CasperWA)
- New `optimade/server/exceptions.py` to contain custom
`HttpException`s, moved `BadRequest` here (Materials-Consortia#209, @CasperWA)
- Pattern and regex testing for `data.available_api_versions` parts in
`/info` endpoint and fix tests for the same (Materials-Consortia#211, @CasperWA)
- Restructure import of test data for regular server (Materials-Consortia#212, @shyamd)

**Bug fixes**:
- New retrieval URL for Materials-Consortia's list of providers (Materials-Consortia#187,
@CasperWA)
- Skip local `HAS ONLY` tests with a `mongomock` backend, since v3.19.0
does not support these (Materials-Consortia#206, @ml-evs)
- Resource ID's can now contain slashes (`/`) (Materials-Consortia#183, @ml-evs, @CasperWA)
- Remove _valid_ version part of base URL in `meta.query.representation`
(Materials-Consortia#201, @CasperWA)

v0.5.0

Toggle v0.5.0's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
CasperWA Casper Welzel Andersen
v0.5.0

See PR Materials-Consortia#179 for changes with respect to v0.4.0.

v0.4.0

Toggle v0.4.0's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
CasperWA Casper Welzel Andersen
v0.4.0

See PR Materials-Consortia#168 for changes with respect to v0.3.4.

v0.3.4

Toggle v0.3.4's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
CasperWA Casper Welzel Andersen
v0.3.4

See PR Materials-Consortia#158 for changes introduced with respect to v0.3.3.

v0.3.3

Toggle v0.3.3's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
CasperWA Casper Welzel Andersen
v0.3.3

Updates:
- Fixes for OPTiMaDe validator (what top-level fields may be returned)
- Better error handling for the OPTiMaDe validator concerning error
responses
- Update package requirements, specifically lark-parser to 0.8

v0.3.2

Toggle v0.3.2's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
CasperWA Casper Welzel Andersen
v0.3.2

Adds base_url and page_limit_max to configuration file.
Makes sure all relevant package data is included in the PyPI
distribution.

v0.3.1

Toggle v0.3.1's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
CasperWA Casper Welzel Andersen
Update requirements

The lowest required Python version is now 3.6.
All requirements have been upped to the latest acceptable versions.
Django must minimum be v2.2.9 due to security vulnerability reasons.

v0.3.0

Toggle v0.3.0's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
CasperWA Casper Welzel Andersen
v0.3.0

Update grammar to OPTiMaDe v0.10.1.

This release combines a lot of work that has been made for OPTiMaDe
v0.10.0, but was never published (package v0.2.0).

The package may be used as a library or as a server for an OPTiMaDe
implementation.
See the README.md file for more information.