Skip to content

Tags: knc6/optimade-python-tools

Tags

v0.8.1

Toggle v0.8.1's commit message
**Bug fixes**:

- Missing files when `pip install`ing (Materials-Consortia#252) via Materials-Consortia#253 by @shyamd.

v0.8.0

Toggle v0.8.0's commit message

Verified

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

**New features**:
- Resource adapter. Intended for use in clients. It mimicks the
`EntryResource` class in models, while also open the possibility to
convert an OPTIMADE resource to other well-known formats for the
specific resource (e.g., ASE Atoms or CIF file for structures). See more
info in the commit descriptions for 9bedc78 (Materials-Consortia#241, @CasperWA with
testing by @ml-evs)
- Enable passing an URI, when using MongoDB (Materials-Consortia#150, @shyamd)
- Enable filtering on entry resource `relationships` for the MongoDB
transformer (Materials-Consortia#234, @ml-evs)
- Concept of `LENGTH` aliases, where one may link a resource property's
size/length to another resource property (Materials-Consortia#222, @ml-evs)
- Move to `pydantic`'s `BaseSettings` for the server configuration
details (Materials-Consortia#226, @shyamd)
- Use [Dependabot](https://dependabot.com/) to keep track of
dependencies (@CasperWA)

**Updates**:
- Remove query constraints for the `/links`-endpoint, making it able to
handle a query on the same level as an entry resource endpoint (Materials-Consortia#244,
@CasperWA)
- Add handling of the `filter`'s `LENGTH` operator when using the
MongoDB transformer (Materials-Consortia#222, @ml-evs)
- Scrape all `filter` query examples from [the OPTIMADE API
specification](https://github.com/Materials-Consortia/OPTIMADE/blob/develop/optimade.rst)
for testing (Materials-Consortia#227, @ml-evs)
- Use [new OPTIMADE
capitalization](Materials-Consortia/OPTIMADE#193)
throughout the repository (Materials-Consortia#233, @ml-evs)
- README now reflects the extraction of the GH Action for validation
into a [different
repository](https://github.com/Materials-Consortia/optimade-validator-action)
(Materials-Consortia#231, @ml-evs)

**Bug fixes**:
- Release to PyPI _only_ when a GitHub release is published (Materials-Consortia#235, Materials-Consortia#236,
@shyamd, @CasperWA)
- Several minor fixes related to the changes included in this update
already (@ml-evs, @CasperWA, @shyamd)

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.