-
Couldn't load subscription status.
- Fork 141
Closed
Labels
breakingPR contains breaking changesPR contains breaking changes
Description
Problem
Now that the sdk is decoupled from agave, we have a lot more freedom to make breaking changes in individual crates.
However, there are still a lot of users of the omnibus crates solana-sdk and solana-program, and although we can simply stop updating them ever again, that would cause a lot of churn for downstream developers.
This issue aims to bundle together all of the breaking changes for the next breaking release of solana-sdk and solana-program.
Deprecations
- solana-sdk: deprecate modules migrated to agave #94
- deprecate
solana-feature-set-interfacecrate #99 - program-error: Deprecate PrintProgramError #102
- Deprecate everything post feature-set migration #101
- precompiles / feature-set / reserved-accounts-keys: remove completely
- transaction: deprecate "precompiles" feature and funcs
- "verify" functions from precompiles
- keypair / signature / ed25519: Deprecate dalek types from public API #107
- secp256k1: Deprecate libsecp256k1 from public interface #114
- secp256r1: Deprecate openssl types in public API #126
- keypair: Deprecate
generateto avoid public rand dep #166 - Deprecate re-exports more loudly #151
Breaking changes in solana-program
- program-error!: Make ProgramError compatible with pinocchio #12
- Replace
std::error::Errorwithcore::error::Error#116 - msg!: make std optional #105
- program-memory!: Add missing unsafe #120
- remove solana-decode-error #104
- program-error!: Improve ToStr ergonomics #189
- program-entrypoint!: Space efficient custom panic #142
- program!: Remove all re-exports, update changelog #194
- account-info!: Rename
rent_epochto_unused#225 - all!: Remove deprecated functions and structs #229
- borsh!: Remove borsh v0.10 support #230
- hash!: Unify all hash types, introduce "offchain" feature #236
- sha256-hasher: Remove
extend_and_hash#253 - {instruction,program}error!: remove unused std features #256
- address!: Remove num-traits impls from AddressError #271
- vote-interface: rename current to v3 #278
Breaking changes in solana-sdk
All the changes in solana-program, plus:
- solana-transaction-error missed a major version bump #46
- Bump ed25519-dalek to 2.1.1, ed25519-dalek-bip32 to 0.3.0 #26
- sdk!: Remove re-exports #190
- Create solana-sdk-wasm-js crate #138
- Remove solana-rent-debits crate #199
- wasm-js!: Move all implementations into sdk-wasm-js #244
- sdk!: Remove
programfeature #249
Metadata
Metadata
Assignees
Labels
breakingPR contains breaking changesPR contains breaking changes