Materials-Consortia / providers-dashboard

A dashboard of known providers
http://www.optimade.org/providers-dashboard
1 stars 3 forks source link

Bump optimade[server] from 0.20.1 to 0.20.2 #120

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps optimade[server] from 0.20.1 to 0.20.2.

Release notes

Sourced from optimade[server]'s releases.

v0.20.2

What's Changed

Full Changelog: https://github.com/Materials-Consortia/optimade-python-tools/compare/v0.20.1...v0.20.2

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:

... (truncated)

Changelog

Sourced from optimade[server]'s 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)
Commits
  • b546336 Release v0.20.2 - Changelog
  • 6223f18 Update dependencies (#1443)
  • 7edef41 Add pip caches to CI and remove old flake8 job (#1442)
  • 0d4b678 Add test to check mapper caches do not pollute one another
  • 5584cab Increase mapper lru_cache size to allow for multiple mapper type to be cached...
  • 5478fb8 Cache /info and /info/\<entry> responses (#1433)
  • eae4846 Allow empty strings through chemical formula regexp (#1428)
  • b5169a8 Explicitly use Python 3.8 environment for pre-commit in CI (#1421)
  • a8c84c5 Add ability to (in/ex)clude providers by ID within client (#1412)
  • See full diff in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)