Skip to content

v0.20.2

Compare
Choose a tag to compare
@ml-evs ml-evs released this 21 Dec 09:05

Changelog

v0.20.2 (2022-12-21)

Full Changelog

This release adds the ability to include or exclude particular providers from queries with the OptimadeClient class and optimade-get CLI, via the provider's registered prefix (#1412)

For example:

# Only query databases served by the example providers
optimade-get --include-providers exmpl,optimade
# Exclude example providers from global list
optimade-get --exclude-providers exmpl,optimade

You can also now exclude particular databases by their URLs:

# Exclude specific example databases
optimade-get --exclude-databases https://example.org/optimade,https://optimade.org/example

The release also includes some server enhancements and fixes:

  • Caching of /info/ and /info/<entry> endpoint responses (#1433)
  • A bugfix for the entry mapper classes, which were sharing cache resources globally leading to poor utilization (#1435)

Implemented enhancements:

  • Cache /info and /info/<entry> responses #1433 (ml-evs)

Fixed bugs:

  • lru_caches on the mapper classes are subtly wrong #1434
  • Fix for mapper caches #1435 (ml-evs)

Closed issues:

  • Migrate away from Heroku for demo server #1307
  • Add ability to use provider prefixes/custom index base URLs with client #1295

Merged pull requests:

  • Add pip caches to CI and tidy old flake8 job #1442 (ml-evs)
  • Allow empty strings through chemical formula regexp #1428 (ml-evs)
  • Explicitly use Python 3.8 environment for pre-commit in CI #1421 (ml-evs)
  • Add ability to (in/ex)clude providers by ID within client #1412 (ml-evs)

* This Changelog was automatically generated by github_changelog_generator