Skip to content

chore: document py-stellar-base v14.0.0 breaking changes#2471

Closed
ElliotFriend wants to merge 1 commit into
mainfrom
chore/sdk-examples-python-v14.0.0
Closed

chore: document py-stellar-base v14.0.0 breaking changes#2471
ElliotFriend wants to merge 1 commit into
mainfrom
chore/sdk-examples-python-v14.0.0

Conversation

@ElliotFriend
Copy link
Copy Markdown
Contributor

Summary

  • Adds a :::caution callout to the Python SDK section of docs/tools/sdks/client-sdks.mdx documenting the breaking changes introduced in py-stellar-base v14.0.0
  • Updates the supported Python/PyPy version range (3.7+3.9+)

Context

py-stellar-base v14.0.0 was released May 3, 2026 with several breaking changes that developers need to be aware of before upgrading:

Auth API redesign

  • authorize_entry() now accepts signers as Callable[[HashIDPreimage], SCVal] instead of (public_key, signature) tuples
  • authorize_invocation() parameter public_key renamed to address
  • AssembledTransaction.sign_auth_entries() now requires an address parameter for non-Keypair signers

Removed APIs

  • StrKey.encode_muxed_account / StrKey.decode_muxed_account → use MuxedAccount
  • TransactionBuilder.append_create_stellar_asset_contract_from_address_op → use append_create_contract_op

Dropped support

  • PyPy 3.10

None of the existing code examples in the docs used the removed APIs, so no example code needed rewriting — only the informational callout was added.

Test plan

  • Verify the caution callout renders correctly on the Client SDKs page
  • Confirm all links in the callout resolve

https://claude.ai/code/session_0153obE5b1Rb9p6MAFVydK9R


Generated by Claude Code

py-stellar-base v14.0.0 (May 2026) introduces several breaking changes:
auth API redesign, removed StrKey muxed-account helpers (use MuxedAccount),
removed append_create_stellar_asset_contract_from_address_op (use
append_create_contract_op), and dropped PyPy 3.10 support.

Added a caution callout to the Python SDK section of client-sdks.mdx
so developers upgrading from older versions are aware before migrating.

https://claude.ai/code/session_0153obE5b1Rb9p6MAFVydK9R
Copilot AI review requested due to automatic review settings May 28, 2026 22:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents py-stellar-base v14.0.0 upgrade considerations on the “Client & XDR SDKs” page by adding a prominent caution callout and updating the stated supported Python/PyPy versions.

Changes:

  • Updated the Python SDK support statement from Python/PyPy 3.7+ to 3.9+.
  • Added a :::caution admonition summarizing py-stellar-base v14.0.0 breaking changes and linking to release notes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

**The Python SDK is maintained by dedicated community developers.**

`py-stellar-base` is a Python library for communicating with a Stellar Horizon server. It is used for building Stellar apps on Python. It supports Python 3.7+ as well as PyPy 3.7+.
`py-stellar-base` is a Python library for communicating with a Stellar Horizon server. It is used for building Stellar apps on Python. It supports Python 3.9+ as well as PyPy 3.9+.

`py-stellar-base` v14.0.0 (released May 2026) contains several breaking changes:

- **Auth API redesign**: `authorize_entry()` now accepts `signers` as `Callable[[HashIDPreimage], SCVal]` instead of returning `(public_key, signature)` tuples. The `authorize_invocation()` parameter `public_key` was renamed to `address`. `AssembledTransaction.sign_auth_entries()` now requires an `address` parameter for non-`Keypair` signers.
- **Removed**: `TransactionBuilder.append_create_stellar_asset_contract_from_address_op` — use `append_create_contract_op` instead.
- **Dropped**: PyPy 3.10 support.

See the [v14.0.0 release notes](https://github.com/StellarCN/py-stellar-base/releases/latest) for the full changelog.
@stellar-jenkins-ci
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants