Skip to content

Commit 4dc51e8

Browse files
committed
Release v1.2.4 - Changelog
1 parent 9610591 commit 4dc51e8

File tree

5 files changed

+20
-8
lines changed

5 files changed

+20
-8
lines changed

CHANGELOG.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,28 @@
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.3...HEAD)
5+
[Full Changelog](https://github.com/Materials-Consortia/optimade-python-tools/compare/v1.2.4...HEAD)
66

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.
7+
**Fixed bugs:**
8+
9+
- Division by zero errors with version 1.2.3 [\#2254](https://github.com/Materials-Consortia/optimade-python-tools/issues/2254)
10+
11+
## [v1.2.4](https://github.com/Materials-Consortia/optimade-python-tools/tree/v1.2.4) (2025-03-21)
12+
13+
[Full Changelog](https://github.com/Materials-Consortia/optimade-python-tools/compare/v1.2.3...v1.2.4)
14+
15+
**Fixed bugs:**
16+
17+
- Fix divide by zero when no data is returned [\#2255](https://github.com/Materials-Consortia/optimade-python-tools/pull/2255) ([ml-evs](https://github.com/ml-evs))
1018

1119
## [v1.2.3](https://github.com/Materials-Consortia/optimade-python-tools/tree/v1.2.3) (2025-03-20)
1220

1321
[Full Changelog](https://github.com/Materials-Consortia/optimade-python-tools/compare/v1.2.2...v1.2.3)
1422

23+
Users of the `OptimadeClient` are recommended to install this update.
24+
25+
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.
26+
1527
**Fixed bugs:**
1628

1729
- Client can be forced into infinite loop by bad API responses [\#2249](https://github.com/Materials-Consortia/optimade-python-tools/issues/2249)

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.3",
15+
"version": "1.2.4",
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.3) v1.2.3.",
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.4) v1.2.4.",
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.3) v1.2.3.",
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.4) v1.2.4.",
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.3"
1+
__version__ = "1.2.4"
22
__api_version__ = "1.2.0"

0 commit comments

Comments
 (0)