Skip to content

Commit e273232

Browse files
committed
Release v1.2.3 - Changelog
1 parent 26f2663 commit e273232

5 files changed

Lines changed: 28 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,38 @@
22

33
## [Unreleased](https://github.com/Materials-Consortia/optimade-python-tools/tree/HEAD)
44

5-
[Full Changelog](https://github.com/Materials-Consortia/optimade-python-tools/compare/v1.2.2...HEAD)
5+
[Full Changelog](https://github.com/Materials-Consortia/optimade-python-tools/compare/v1.2.3...HEAD)
6+
7+
Users of the `OptimadeClient` are recommended to install this update.
8+
9+
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.
10+
11+
## [v1.2.3](https://github.com/Materials-Consortia/optimade-python-tools/tree/v1.2.3) (2025-03-20)
12+
13+
[Full Changelog](https://github.com/Materials-Consortia/optimade-python-tools/compare/v1.2.2...v1.2.3)
614

715
**Fixed bugs:**
816

9-
- Unable to create filters with "+" in nested property name [\#2182](https://github.com/Materials-Consortia/optimade-python-tools/issues/2182)
17+
- Client can be forced into infinite loop by bad API responses [\#2249](https://github.com/Materials-Consortia/optimade-python-tools/issues/2249)
18+
- Expand infinite loop fix to have hardcoded guard rail [\#2250](https://github.com/Materials-Consortia/optimade-python-tools/pull/2250) ([ml-evs](https://github.com/ml-evs))
19+
- Stop pagination when last response contains no data [\#2248](https://github.com/Materials-Consortia/optimade-python-tools/pull/2248) ([mehmetgiritli](https://github.com/mehmetgiritli))
20+
21+
**Closed issues:**
22+
23+
- Can I use the optimade JSON serialization to store ASE atoms? [\#2246](https://github.com/Materials-Consortia/optimade-python-tools/issues/2246)
24+
25+
**Merged pull requests:**
26+
27+
- Drastically reduce the default Mongo count timeout [\#2247](https://github.com/Materials-Consortia/optimade-python-tools/pull/2247) ([ml-evs](https://github.com/ml-evs))
1028

1129
## [v1.2.2](https://github.com/Materials-Consortia/optimade-python-tools/tree/v1.2.2) (2025-03-16)
1230

1331
[Full Changelog](https://github.com/Materials-Consortia/optimade-python-tools/compare/v1.2.1...v1.2.2)
1432

33+
**Fixed bugs:**
34+
35+
- Unable to create filters with "+" in nested property name [\#2182](https://github.com/Materials-Consortia/optimade-python-tools/issues/2182)
36+
1537
**Merged pull requests:**
1638

1739
- Use 1.2 grammar by default and relax rules on nested fields [\#2242](https://github.com/Materials-Consortia/optimade-python-tools/pull/2242) ([ml-evs](https://github.com/ml-evs))

docs/static/default_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"base_url": null,
1313
"implementation": {
1414
"name": "OPTIMADE Python Tools",
15-
"version": "1.2.2",
15+
"version": "1.2.3",
1616
"source_url": "https://github.com/Materials-Consortia/optimade-python-tools",
1717
"maintainer": {"email": "dev@optimade.org"}
1818
},

openapi/index_openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"openapi": "3.1.0",
33
"info": {
44
"title": "OPTIMADE API - Index meta-database",
5-
"description": "The [Open Databases Integration for Materials Design (OPTIMADE) consortium](https://www.optimade.org/) aims to make materials databases interoperational by developing a common REST API.\nThis is the \"special\" index meta-database.\n\nThis specification is generated using [`optimade-python-tools`](https://github.com/Materials-Consortia/optimade-python-tools/tree/v1.2.2) v1.2.2.",
5+
"description": "The [Open Databases Integration for Materials Design (OPTIMADE) consortium](https://www.optimade.org/) aims to make materials databases interoperational by developing a common REST API.\nThis is the \"special\" index meta-database.\n\nThis specification is generated using [`optimade-python-tools`](https://github.com/Materials-Consortia/optimade-python-tools/tree/v1.2.3) v1.2.3.",
66
"version": "1.2.0"
77
},
88
"paths": {

openapi/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"openapi": "3.1.0",
33
"info": {
44
"title": "OPTIMADE API",
5-
"description": "The [Open Databases Integration for Materials Design (OPTIMADE) consortium](https://www.optimade.org/) aims to make materials databases interoperational by developing a common REST API.\n\nThis specification is generated using [`optimade-python-tools`](https://github.com/Materials-Consortia/optimade-python-tools/tree/v1.2.2) v1.2.2.",
5+
"description": "The [Open Databases Integration for Materials Design (OPTIMADE) consortium](https://www.optimade.org/) aims to make materials databases interoperational by developing a common REST API.\n\nThis specification is generated using [`optimade-python-tools`](https://github.com/Materials-Consortia/optimade-python-tools/tree/v1.2.3) v1.2.3.",
66
"version": "1.2.0"
77
},
88
"paths": {

optimade/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "1.2.2"
1+
__version__ = "1.2.3"
22
__api_version__ = "1.2.0"

0 commit comments

Comments
 (0)