Skip to content

Commit db3da20

Browse files
authored
feat(lang): remove solana-program from anchor_lang (#3819)
* chore(lang): remove solana-program from anchor_lang * fix(lang): replace deprecated realloc with resize in close function * fix(lang): replace deprecated store_current_index to store_current_index_checked * fix(lang): cargo clippy fixes * chore: update CHANGELOG.md * feat(lang): add solana-program-option dependency * fix(lang): integrate solana-feature-gate-interface and get_stack_height * chore: Update Cargo.lock files * fix: elided lifetime warnings * chore: Correct link reference in CHANGELOG.md * chore: cargo sort
1 parent 2f71cb3 commit db3da20

33 files changed

+3262
-1076
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ The minor version will be incremented upon a breaking change and the patch versi
1313
### Features
1414

1515
- lang: Add `#[error]` attribute to `declare_program!` ([#3757](https://github.com/coral-xyz/anchor/pull/3757)).
16+
- lang: Replace `solana-program` crate with smaller crates ([#3819](https://github.com/solana-foundation/anchor/pull/3819)).
1617
- cli: Replace `anchor verify` to use `solana-verify` under the hood, adding automatic installation via AVM, local path support, and future-proof argument passing ([#3768](https://github.com/solana-foundation/anchor/pull/3768)).
1718

1819
### Fixes
1920

2021
- docker: Upgrade `node` to 20.18.0 LTS ([#3687](https://github.com/solana-foundation/anchor/pull/3687)).
2122
- cli: Fix using deprecated commitment `recent` in migration scripts ([#3725](https://github.com/coral-xyz/anchor/pull/3725)).
2223
- cli: Fix not respecting `provider.cluster` in `keys sync` command ([#3761](https://github.com/coral-xyz/anchor/pull/3761)).
24+
- lang: Fix deprecated `realloc`, `store_current_index` and clippy warnings ([#3819](https://github.com/solana-foundation/anchor/pull/3819)).
2325

2426
### Breaking
2527

0 commit comments

Comments
 (0)