⚠️ Announcing schwab-py 2.0
This release begins the 2.0 transition described in the
v2 announcement.
Version 2.0 will bring new features and improvements, along with some
library interface changes (most notably migrating from the deprecated
httpx to httpx2, which changes the exposed exception hierarchy).
If you are not ready to migrate, pin schwab-py<2.0 in your package
manager. Importing schwab now emits a V2DeprecationWarning, and
the interactive login flow displays a notice to the same effect. See
the v2 documentation for the transition timeline and migration notes.
What's Changed
Packaging and infrastructure
- Migrate package management to uv by @alexgolec in #270
- Run CI once per event: pushes to main + all PRs by @alexgolec in #271
- Add AGENTS.md workflow rules by @alexgolec in #275
Live API test suite (manually run, not CI)
- Add manually-run live API test suite by @alexgolec in #272
- Allow retaining the live-test token across runs by @alexgolec in #273
- Add live get_account* tests; fail hard on missing credentials by @alexgolec in #274
- Add read-only live order tests by @alexgolec in #276
- Add live transaction tests by @alexgolec in #277
- Enshrine orders API contract in live tests by @alexgolec in #279
- Add live user preferences tests by @alexgolec in #280
- Add live quote tests with format verification by @alexgolec in #281
- Add live equity price history tests by @alexgolec in #282
- Add live tests for price history helper methods by @alexgolec in #283
- Fix forex quote test on a closed book by @alexgolec in #284
- Add live tests for get_option_expiration_chain by @alexgolec in #285
- Add live tests for get_movers with shared market-hours session helper by @alexgolec in #286
- Add live tests for get_market_hours by @alexgolec in #287
- Add live tests for instruments endpoints by @alexgolec in #288
- Add live tests for get_option_chain by @alexgolec in #289
- Add preview_order functionality tests for order templates by @alexgolec in #290
- Add live streaming tests for closed-market behavior by @alexgolec in #291
v2 transition
- Add v2.0 announcement doc scaffold by @alexgolec in #293
- Emit a v2 deprecation warning on import by @alexgolec in #294
- Bump version to 1.6.0 by @alexgolec in #295
Full Changelog: v1.5.0...v1.6.0