Releases: polygon-io/client-python
v1.16.1
What's Changed
- Adds support for ETF Global endpoints by @justinpolygon in #940
- Add support for Futures snapshot endpoint by @justinpolygon in #939
Full Changelog: v1.16.0...v1.16.1
v1.16.0
Important Changes
Python Version Support: We've removed support for Python 3.8, and the new minimum version is 3.9. This should not introduce any breaking changes to your code or API usage, but it was necessary to update to the latest websockets library, which requires Python 3.9 or higher.
What's Changed
- Fix Python 3.14 compatibility for modelclass decorator (KeyError: 'annotations') by @justinpolygon in #932
- Upgrade to websockets 14+ and propagate ConnectionClosedError after max_reconnects by @justinpolygon in #935
- Adds support for stocks financials v1 endpoints by @justinpolygon in #933
- Adds support for Benzinga v2 news endpoint by @justinpolygon in #934
- Add individual futures exchange endpoints (CME, CBOT, NYMEX, COMEX) by @justinpolygon in #931
- Fix typo in documentation URL for options snapshots by @westonplatter in #929
- Update test.yml to remove python 3.8 by @justinpolygon in #936
- Bump certifi from 2025.6.15 to 2025.10.5 by @dependabot[bot] in #930
- Bump urllib3 from 2.2.3 to 2.5.0 by @dependabot[bot] in #937
- Remove unnecessary sqlite3 Timestamp import from summaries.py and indicators.py to fix mypy errors by @justinpolygon in #938
- Bump mypy from 1.13.0 to 1.14.1 by @dependabot[bot] in #823
New Contributors
- @westonplatter made their first contribution in #929
Full Changelog: v1.15.4...v1.16.0
v1.15.4
What's Changed
- fix: make resolution optional in list_futures_aggregates to include in query params by @justinpolygon in #926
Full Changelog: v1.15.3...v1.15.4
v1.15.3
What's Changed
- Sync benzinga, economy, furures, and tmx by @justinpolygon in #898
Full Changelog: v1.15.2...v1.15.3
v1.15.2
What's Changed
- Sync with latest futures beta spec by @justinpolygon in #897
Full Changelog: v1.15.1...v1.15.2
v1.15.1
What's Changed
- Sync futures aggs with latest spec by @justinpolygon in #894
Full Changelog: v1.15.0...v1.15.1
v1.15.0
What's Changed
In this release, we’ve added beta support for Futures, introduced a refactor to WebSocket event parsing to correctly handle overlapping event types across asset classes, and added an option to disable automatic pagination for greater control over result limits. We also fixed a bug related to using custom base URLs with the REST client.
Futures Support (Beta)
- Added beta support for Futures REST and WebSocket endpoints.
WebSocket Event Parsing Refactor
- WebSocket event types (
"T"
,"Q"
,"A"
,"AM"
) are now reused across asset classes. - Introduced
MARKET_EVENT_MAP
to resolve event types based on market context (e.g. stocks vs. futures). - This allows accurate message deserialization and avoids cross-market parsing errors.
Note for custom WebSocket users: If you're manually processing WebSocket messages, you may need to update your logic to consider the market
parameter for Futures messages.
Pagination Control
- Added support for disabling automatic pagination via
pagination=False
when instantiatingRESTClient
. - When disabled,
limit
is treated as a total cap rather than a page size. - Helps users fetch a fixed number of results without iterating over all pages.
Bug Fixes
- Fixed an issue where custom
base
URLs were not properly respected in REST requests.
Commits
- Bump requests from 2.32.0 to 2.32.4 by @dependabot in #885
- Bump certifi from 2025.4.26 to 2025.6.15 by @dependabot in #889
- Add futures beta support by @justinpolygon in #884
Full Changelog: v1.14.6...v1.15.0
v1.14.6
What's Changed
- Updated
list_treasury_yields
,list_short_interest
, andlist_short_volume
from vX to v1 endpoints. @justinpolygon in #881 - Bump certifi from 2025.1.31 to 2025.4.26 by @dependabot in #877
Full Changelog: v1.14.5...v1.14.6
v1.14.5
What's Changed
- fix: usage of deprecated
CodeQL Action
version by @hamirmahal in #873 - Bump jinja2 from 3.1.5 to 3.1.6 by @dependabot in #874
- Adds Short Interest/Volume and Treasury Yields by @justinpolygon in #875
New Contributors
- @hamirmahal made their first contribution in #873
Full Changelog: v1.14.4...v1.14.5
v1.14.4
What's Changed
- Adds IEX business feed by @justinpolygon in #852
- Bump types-setuptools from 75.6.0.20241223 to 75.8.0.20250110 by @dependabot in #832
- Bump orjson from 3.10.13 to 3.10.15 by @dependabot in #836
- Bump certifi from 2024.12.14 to 2025.1.31 by @dependabot in #843
Full Changelog: v1.14.3...v1.14.4