- Add optional
token_program_id
param toget_associated_token_address
(#117). - Upgrade Solana deps to 2.0 (#116).
- Remove GetStakeActivationResp (no longer exists) (#116).
- Avoid panic in
Keypair.from_base58_string
(#93). - Avoid panic in
Pubkey.create_program_address
(#111). - Avoid panic in
RPCError deserialization
(#111). - Add missing
stack_height
getter (#103).
- Add address lookup table instructions and state (#79)
- Upgrade to Solana 1.18.1 (#80). This also takes out the
ring
dependency (and all crates that use it) for linux-aarch64 builds.
- Add
Keypair.from_seed_and_derivation_path
(#75) - Add Token Program ID (
solders.token.ID
)
- Fix (de)serialization of Account
owner
field (#70)
- Accept
Transaction | VersionedTransaction
in bankrun transaction methods (#62)
- Use solana 1.16.0 (#61)
- Rename
process_transaction_with_metadata
to justprocess_transaction
. Removeprocess_transaction_with_preflight
and the oldprocess_transaction
which had too many footguns. The newprocess_transaction
uses the Rustprocess_transaction_with_metadata
under the hood. (#60)
- Remove
.string()
frompubkey.pyi
as the method no longer exists (#57) - Fix
pre_token_balances
getter (#59)
Added partial support for the SPL Token Program (#53)
Added bankrun.start_anchor()
Fix type hint for BanksClient.get_account
Fix type hint for BanksClient.get_account
- Added
solders.bankrun
(#47) - Added
solders.compute_budget
Added solders.message.to_bytes_versioned
and from_bytes_versioned
to serialize versioned messages including the extra leading byte (#45)
transaction.Legacy
no longer implicitly casts to int when checking equality. This was breaking tx version checking when tx version was returned as Legacy | int
(#44)
Fix MessageV0
JSON serialization (#42)
- Add
solders-primitives
to crates.io release flow.
- Use crates.io for the
pyo3
andpythonize
dependencies (#38)
Rename SendTransaction
to SendLegacyTransaction
(#36)
Add SendVersionedTransaction
(#36)
- Add
SendRawTransaction
(#35)
- Move solders-macros into the monorepo (#22)
- Don't leak custom error types in solders-traits; use ValueError instead (#26)
- Improve macro hygiene (#27) and (#28)
- Extract solders-primitives into its own crate (#24)
- Add EnumIntoPy derive macro (#29)
- Add
common_methods_core
macro (#30) - Add
VersionedMessage
type alias (#34) - Make
signatures
writable forVersionedTransaction
andTransaction
(#34) - Add
from_legacy
toVersionedTransaction
(#34) - Add
Signer
type alias (#34)
- Fix incorrect field access in
max_transactions_per_entry
(#34)
- Fix
TransactionError
parsing
- Fix
InstructionError
parsing (#19)
- Remove incorrect
encoding
param fromRpcSimulateTransactionConfig
(#18)
- Fix RPC error parsing and introduce new classes for RPC error messages (#17)
- Add missing getters to
UiTransactionStatusMeta
(#16)
parse_websocket_message
now supports parsing an array of messages, and always returns a list (#15)
- Add missing getters to
RpcBlockhash
(#15)
- Replace
parse_<name>_maybe_json
funcs with<name>MaybeJsonParsed
classes. Also fix bugs with parsing mixed responses. [(#14)](https://github.com/kevinheavey/ - Make
batch_from_json
pure Rust instead of relying on the Pythonfrom_json
method. (#14)
- Add parsers for responses that may or may not be
jsonParsed
(#13)
- Replace panic with SerdeJSONError when expecting JsonParsed data (#13)
- Fix incorrect alias name in type stubs (#12)
- Add ValidatorExit request and response (#11)
Add Account
class (#7)
Fix misspecified typing_extensions
dependency (#8)
Make rpc.requests.Body
alias available at runtime (#6)
- Added an RPC request builder under
solders.rpc.requests
(#4)- Added related modules
solders.rpc.config
,solders.rpc.filter
,solders.account_decoder
,solders.commitment_config
andsolders.transaction_status
. - Added JSON support to most classes.
- Added related modules
- Added a
from_bytes
constructor to every class that supports__bytes__
- Added pickle support (#2)
- Added missing
__richcmp__
forMessageHeader
. - Added missing
authorize_nonce_account
tosystem_program
.
- Added missing
TransactionError
export
- Added docstrings to some error classes.
- Fix some type hints.
First release 🚀