Releases: Materials-Consortia/optimade-python-tools
v1.4.0-rc.1
What's Changed
- Bump starlette from 0.48.0 to 0.49.1 by @dependabot[bot] in #2329
- Bump the python-dependencies group across 1 directory with 4 updates by @dependabot[bot] in #2330
- Global state to
app.stateto enable multiple APIs in a single process by @eimrek in #2313
Full Changelog: v1.3.1...v1.4.0-rc.1
v1.3.1
v1.3.1 (2025-10-17)
Implemented enhancements:
- Add a gzip compression middleware #2095
Fixed bugs:
insert_from_jsonlfails when number of entries is exactly divisible bybatch_size#2320
Merged pull requests:
- Bump providers from
a479de9toc0a4a05#2324 (@dependabot[bot]) - Fix issue when inserting from JSONL when batch size matches number of entries #2321 (@ml-evs)
- Bump providers from
a479de9toc0a4a05#2319 (@dependabot[bot]) - Allow Mongo DBs that share 12 first ID characters #2317 (@eimrek)
- Fix docs builds with latest griffe #2309 (@ml-evs)
- Add
GZipMiddlewareto compress JSON responses on-the-fly #2308 (@Bud-Macaulay) - Bump actions/setup-python from 5 to 6 in the github-actions group and pin griffe #2301 (@dependabot[bot])
- [pre-commit.ci] pre-commit autoupdate #2300 (@pre-commit-ci[bot])
- Bump actions/checkout from 4 to 5 in the github-actions group #2294 (@dependabot[bot])
* This Changelog was automatically generated by github_changelog_generator
v1.3.0
What's Changed
- Use PEP 639 SPDX license in pyproject by @ml-evs in #2269
- Quote package name + extra in installation instructions by @ml-evs in #2272
- Add
idandtypeto entry info response for OPTIMADE v1.2+ by @ml-evs in #2287 - Allow the first page of MongoDB results to very slowly return a proper count by @ml-evs in #2253
Full Changelog: v1.2.4...v1.3.0
v1.2.4
Changelog
v1.2.4 (2025-03-21)
Fixed bugs:
- Division by zero errors with version 1.2.3 #2254
- Fix divide by zero when no data is returned #2255 (@ml-evs)
* This Changelog was automatically generated by github_changelog_generator
v1.2.3
Changelog
v1.2.3 (2025-03-20)
Users of the OptimadeClient are recommended to install this update.
This release fixes a nasty issue with the client that can cause it to hang infinitely when an malformed OPTIMADE API continues to return next_url with no additional data (thanks to @mehmetgiritli for the report and fix!) It also reduces the default MongoDB timeout when counting how many results are in a filter. As this count is performed for every page of queries, the previous high timeout could effectively set a minimum response time of 5 seconds. Issue #2251 tracks future improvements to this behaviour.
Fixed bugs:
- Client can be forced into infinite loop by bad API responses #2249
- Expand infinite loop fix to have hardcoded guard rail #2250 (@ml-evs)
- Stop pagination when last response contains no data #2248 (@mehmetgiritli)
Closed issues:
- Can I use the optimade JSON serialization to store ASE atoms? #2246
Merged pull requests:
* This Changelog was automatically generated by github_changelog_generator
v1.2.2
Changelog
v1.2.2 (2025-03-16)
Fixed bugs:
- Unable to create filters with "+" in nested property name #2182
Merged pull requests:
* This Changelog was automatically generated by github_changelog_generator
v.1.2.1
Changelog
v1.2.1 (2025-03-06)
Fixed bugs:
update_openapijsoninvoke task is not idempotent #1429- anyOf, allOf, etc. in /info/{entry_type} endpoints #775
- API does not return milliseconds in datetimes even when present in underlying data #606
- CheckWronglyVersionedBaseUrls middleware not working for Dockerized servers #520
Closed issues:
Merged pull requests:
- Add remaining symmetry group fields (Hall, HM symbols, IT number) #2240 (@ml-evs)
- Add support for
request_delayin client and server #2237 (@ml-evs) - Add support for
space_group_symmetry_operations_xyz#2236 (@ml-evs)
* This Changelog was automatically generated by github_changelog_generator
v1.2.0
Changelog
v1.2.0 (2025-02-25)
This v1.2.0 release is coincidentally the first to support some features from OPTIMADE v1.2.0, namely the specification of licenses. Support for other 1.2 fields (e.g., symmetry, partial data etc.) will come in future releases based on demand. As the optimade.__api_version__ has been bumped, servers running optimade-python-tools will now have versioned endpoints for /v1 and /v1.2, but not /v1.1. For now, only one OPTIMADE API version is targeted by each optimade-python-tools version, as listed in the README. If you need any changes backported to the v1.1.x branch, please raise an issue.
Fixed bugs:
- Retain
next_urlvalue in responses fromOptimadeClient#2233 (@mehmetgiritli)
Closed issues:
Merged pull requests:
- Allow overriding request URL in
OptimadeClient#2234 (@mehmetgiritli) - Add configurable
licenseandavailable_licensesinfo fields #2224 (@ml-evs)
* This Changelog was automatically generated by github_changelog_generator
v1.1.11
Changelog
v1.1.11 (2025-02-07)
Closed issues:
- Overzealous validation of disordered structures #2221
- Support for specifying database licenses #1254
Merged pull requests:
- Add config option
exit_after_insertto exit API after inserting data #2223 (@ml-evs) - Remove overly strict validation of disordered structures #2222 (@ml-evs)
* This Changelog was automatically generated by github_changelog_generator
v1.1.10
v1.1.10 (2025-01-27)
Merged pull requests:
- Make sure any relationships or links are ingested when consuming JSONL #2212 (@ml-evs)
- [pre-commit.ci] pre-commit autoupdate #2193 (@pre-commit-ci[bot])
- Bump codecov/codecov-action from 4 to 5 in the github-actions group #2181 (@dependabot[bot])
* This Changelog was automatically generated by github_changelog_generator