diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b67ab6..9a5c145 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.10.2] - 2026-07-10 + +### Changed + +- Loosen `source` typing and align examples with the API's masked source labels: the response `source` now returns `market_reporting` for non-government series (government labels like `EIA`/`opec.org` are unchanged). Model `source` fields remain a free `str` (no venue enum); test fixtures no longer use venue names such as `ICE`. See oilpriceapi-api#4175. + ## [1.10.1] - 2026-07-03 ### Changed diff --git a/oilpriceapi/version.py b/oilpriceapi/version.py index 541b68b..ab1d1aa 100644 --- a/oilpriceapi/version.py +++ b/oilpriceapi/version.py @@ -5,6 +5,6 @@ Used in __init__.py, client.py, and async_client.py. """ -__version__ = "1.10.1" +__version__ = "1.10.2" SDK_VERSION = __version__ SDK_NAME = "oilpriceapi-python" diff --git a/pyproject.toml b/pyproject.toml index 110692e..461a809 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "oilpriceapi" -version = "1.10.1" +version = "1.10.2" description = "Official Python SDK for OilPriceAPI - Real-time and historical oil prices" authors = [ {name = "OilPriceAPI", email = "support@oilpriceapi.com"} diff --git a/tests/unit/test_commodities_resource.py b/tests/unit/test_commodities_resource.py index c87fcdc..29238fb 100644 --- a/tests/unit/test_commodities_resource.py +++ b/tests/unit/test_commodities_resource.py @@ -25,7 +25,7 @@ def mock_commodity(self): "unit": "barrel", "currency": "USD", "description": "North Sea Brent crude oil benchmark", - "source": "ICE", + "source": "market_reporting", "active": True }