Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.19.0"
".": "0.20.0"
}
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/polymarket/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
try:
__version__ = version("polymarket-client")
except PackageNotFoundError:
__version__ = "0.19.0"
__version__ = "0.20.0"
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading