diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 19ee807a..71e95baf 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.19.0" + ".": "0.20.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 27529414..4cc9d149 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [0.20.0](https://github.com/Polymarket/py-sdk/compare/polymarket-client-v0.19.0...polymarket-client-v0.20.0) (2026-11-16) + + +### ⚠ BREAKING CHANGES + +* **account:** Filtering open orders by `asset_id` or the deprecated `token_id` alias now requires a nonblank market condition ID in `market`. Asset-only queries raise `UserInputError` when the paginator fetches a page, for both sync and async clients. Unfiltered and market-only queries remain supported. This breaking change uses a minor release on the 0.x line. + + ```diff + - client.list_open_orders(asset_id=asset_id) + + client.list_open_orders(asset_id=asset_id, market=condition_id) + ``` + +### Bug Fixes + +* **account:** Prepare for the December 14 order-query changes ([28a253f](https://github.com/Polymarket/py-sdk/commit/28a253f0a4303e6e28311f390262d4ab1f9ea2a4)). `associate_trades` is deprecated and defaults to an empty tuple when absent, while preserving legacy values. Track cumulative fills with `size_matched` or individual fills with `list_account_trades()`, matching `taker_order_id` or `maker_orders[].order_id` to the order ID. An empty `associate_trades` tuple does not mean an order has no fills. + ## [0.19.0](https://github.com/Polymarket/py-sdk/compare/polymarket-client-v0.18.0...polymarket-client-v0.19.0) (2026-11-16) diff --git a/pyproject.toml b/pyproject.toml index 496673ca..10dc84e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "polymarket-client" -version = "0.19.0" +version = "0.20.0" description = "Official Python client for Polymarket" readme = "README.md" requires-python = ">=3.11" diff --git a/src/polymarket/version.py b/src/polymarket/version.py index 740cc68c..31296762 100644 --- a/src/polymarket/version.py +++ b/src/polymarket/version.py @@ -5,4 +5,4 @@ try: __version__ = version("polymarket-client") except PackageNotFoundError: - __version__ = "0.19.0" + __version__ = "0.20.0" diff --git a/uv.lock b/uv.lock index 62330c6e..483785e0 100644 --- a/uv.lock +++ b/uv.lock @@ -1088,7 +1088,7 @@ wheels = [ [[package]] name = "polymarket-client" -version = "0.19.0" +version = "0.20.0" source = { editable = "." } dependencies = [ { name = "eth-abi" },