Skip to content

Releases: Materials-Consortia/optimade-python-tools

v0.9.3

26 Jun 13:49
cb088b5
Compare
Choose a tag to compare
Fix version issues in the publish workflow (#376)

* add __init__ in publish workflow

* fix version

* update openapi back to 0.9.2

* push version tag forward in release workflow

* reference correct tag

* update tag move message

* don't need force if tags are switched outside protected branch actions

* Push only to master

v0.9.2

25 Jun 20:21
Compare
Choose a tag to compare
Push release v0.9.2 tag to new release commit

v0.9.1

17 Jun 19:58
Compare
Choose a tag to compare
merge into one job

v0.9.0

17 Jun 19:03
f86c90e
Compare
Choose a tag to compare
Another fix for release pipeline (#355)

v0.8.1

25 Apr 13:24
Compare
Choose a tag to compare

Bug fixes:

v0.8.0

22 Apr 16:41
v0.8.0
fbd20c4
Compare
Choose a tag to compare

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 (#241, @CasperWA with testing by @ml-evs)
  • Enable passing an URI, when using MongoDB (#150, @shyamd)
  • Enable filtering on entry resource relationships for the MongoDB transformer (#234, @ml-evs)
  • Concept of LENGTH aliases, where one may link a resource property's size/length to another resource property (#222, @ml-evs)
  • Move to pydantic's BaseSettings for the server configuration details (#226, @shyamd)
  • Use Dependabot to keep track of dependencies (@CasperWA)

Updates:

Bug fixes:

v0.7.0

16 Mar 22:22
Compare
Choose a tag to compare

This PR prepares another minor release that includes the changes from this week.

Breaking changes:

  • optimade.server.mappers.ResourceMapper has been renamed as optimade.server.mappers.BaseResourceMapper (#213).

New features:

  • Validation of all mandatory filter examples present in the specification (#213, @ml-evs.)
  • New invoke task to scrape the filter examples from the specification (and new submodule optimade.validator.data for loading them (#213, @ml-evs, with bug fixes from @CasperWA in #225).
  • Dependabot is now used to ensure requirements are updated in a timely manner and new versions of django (v3) and elasticsearch-dsl (v7) are now supported (@CasperWA, #218, #219).
  • The GitHub action for the validator has been moved out of this repository, and over to Materials-Consortia/optimade-validator-action (#224, @CasperWA).

Bug fixes:

  • Fixed handling of nested queries involving AND/OR and NOT for the mongo backend (#221, @ml-evs).

v0.6.0

16 Mar 22:23
v0.6.0
e3de5b0
Compare
Choose a tag to compare

New features:

  • GitHub Action validator that runs optimade_validator for a locally
    running OPTiMaDe server (#191, @CasperWA, tested by @ml-evs)
  • Support filter queries for HAS ALL, HAS ANY and HAS ONLY and
    value lists on MongoDB backends (#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 (#190,
    @CasperWA)
  • Add testing of mandatory filter queries to optimade_validator
    (#205, @ml-evs)

Updates:

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

Bug fixes:

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