Skip to content

Commit cd68338

Browse files
karlwaldmanclaude
andcommitted
chore(release): 1.18.0
History-gate 402 upgrade link in SDK and CLI (#163, #164), small multiples in one row (#158), lazy visualizer (#151). Refs #163 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 8ba408a commit cd68338

3 files changed

Lines changed: 19 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ All notable changes to the OilPriceAPI Python SDK will be documented in this fil
44

55
## [Unreleased]
66

7+
## [1.18.0] - 2026-11-16
8+
9+
### Fixed
10+
11+
- **The history-gate 402 now carries its upgrade link (#163).** From
12+
2026-11-16 12:00 UTC `/v1/prices/historical` and `/v1/prices/history`
13+
return 402 `UPGRADE_REQUIRED` for accounts without history access, joining
14+
the `past_*` endpoints. The API sends the link as `upgrade.url`;
15+
`PaymentRequiredError.remediation_url` now reads it (a top-level
16+
`remediation_url` or `upgrade_url` still wins). `oilprice historical`
17+
prints the upgrade link instead of a bare `[402]`, and suggests
18+
`oilprice price` only when latest prices are still available (#164).
19+
- `viz.create_small_multiples()` no longer raises when every commodity fits
20+
in one row, which was the default call with three or fewer codes (#158).
21+
- Constructing a client no longer imports matplotlib or emits
22+
`ImportWarning`; `client.viz` is built on first use (#151).
23+
724
## [1.17.0] - 2026-10-03
825

926
### Fixed

‎oilpriceapi/version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
Used in __init__.py, client.py, and async_client.py.
66
"""
77

8-
__version__ = "1.17.0"
8+
__version__ = "1.18.0"
99
SDK_VERSION = __version__
1010
SDK_NAME = "oilpriceapi-python"

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66

77
[project]
88
name = "oilpriceapi"
9-
version = "1.17.0"
9+
version = "1.18.0"
1010
description = "Official Python SDK for source-timestamped OilPriceAPI energy data"
1111
authors = [
1212
{name = "OilPriceAPI", email = "support@oilpriceapi.com"}

0 commit comments

Comments
 (0)