Releases: magicblock-labs/delegation-program
Releases · magicblock-labs/delegation-program
v0.3.0 (dlp-api only)
v0.2.0 (dlp-api only from now on)
v1.2.0
What's Changed
- fix: allow commit at slot = prev slot by @GabrielePicco in #63
- chore: updrade solana dependencies to 2.1.11 by @bmuddha in #62
- fix: claim fees rent exception by @GabrielePicco in #64
- feat: add claim protocol fees ix by @GabrielePicco in #65
- chore: simplify fees charging structure by @GabrielePicco in #66
- feat: add commit state from buffer by @GabrielePicco in #67
- chore: improved error logs + docs and naming by @thlorenz in #69
- chore: upgrade solana to 2.2 by @GabrielePicco in #70
- feat: Add close validator vault by @GabrielePicco in #71
- feat: Improvements from audit feedback by @GabrielePicco in #72
- feat(audit): add report by @GabrielePicco in #74
- Fix/ephemeral balance undelegation 2.0 by @taco-paco in #77
- Base layer actions by @taco-paco in #75
- feat: set default identity on delegation by @GabrielePicco in #83
- release: 1.1.0 by @GabrielePicco in #84
- feat: enforce identity and add broadcast consts by @GabrielePicco in #85
- Feat/add idl by @GabrielePicco in #86
- chore: update sdk by @GabrielePicco in #87
- Fix: integration tests by @GabrielePicco in #91
- Replace tags with consts & export them for sdk by @taco-paco in #92
- feat: optimize
delegateinstruction using Pinocchio for lower CU consumption by @snawaz in #94 - feat: optimize undelegate instruction using Pinocchio for lower CU consumption by @snawaz in #95
- feat: optimize commit instruction using Pinocchio for lower CU consumption by @snawaz in #96
- feat: optimize commit-from-buffer instruction using Pinocchio for lower CU consumption by @snawaz in #97
- feat: optimize finalize instruction using Pinocchio for lower CU consumption by @snawaz in #98
- fix: correct the conditions in requires.rs and return granular error by @snawaz in #101
- cleanup: remove older impl: delegate, commit_*, finalize, undelegate by @snawaz in #103
- refactor: do not require system_program in instruction-accounts and add docs by @snawaz in #102
- fix: Increase the limit of seeds from 4 to 8 for escrow accounts by @snawaz in #106
- fix: respect "no-entrypoint" feature by @taco-paco in #107
- Allow using custom discriminator by @taco-paco in #105
- feat: pass escrow accounts at the end, so one could ignore them by @taco-paco in #104
- Integration tests use prod version of dlp to test against by @taco-paco in #115
- Chore/prevent commits on accounts delegated on system program by @GabrielePicco in #114
- fix: return logs for validator tests by @taco-paco in #109
- feat: Add diff module that provides compute_diff, apply_diff_*, DiffSet by @snawaz in #111
- feat: Add CommitDiff Instruction for Efficient Account Updates by @snawaz in #110
- feat: Optimize
CommitDiffusing efficientmerge_diff_copythat avoids heap allocation by @snawaz in #113 - chore: add a feature to compile only types needed for the SDK by @GabrielePicco in #117
- fix: capping solana program version due to transit dependency issue by @jonasXchen in #119
- feat: Add CommitDiffFromBuffer ix by @snawaz in #118
- fix: unresolved import in sdk by @jonasXchen in #120
- Custom codes for require_uninitialized_* by @taco-paco in #123
- chore: add SDK and discriminator to SDK feature by @GabrielePicco in #124
- chore: Remove conditional compilation for error module by @GabrielePicco in #125
- Revert "chore: Remove conditional compilation for error module" by @GabrielePicco in #126
- chore: add errors to SDK feature by @GabrielePicco in #127
- feat: Handle account shrinking/expansion in merge_diff_copy by @snawaz in #116
- feat: Add specific error codes for deserialization failures by @AvhiMaz in #121
- refactor: use requires macros instead of if-else for validations by @snawaz in #129
- feat: add AccountSizeClass and compute account-data sizes for 8 instructions by @snawaz in #130
- feat: add an instruction which allows to undelegate confined accounts by @GabrielePicco in #122
- fix: allow delegation of not existing accounts by @GabrielePicco in #133
- feat: add commits fees by @GabrielePicco in #134
- feat: add test to check commit/undelegation of closed accounts by @GabrielePicco in #136
- Feat/disallow system program delegation by default by @GabrielePicco in #135
- fix: many broken links by @evshank in #144
- feat: call handler v2 by @taco-paco in #143
- feat: add CommitFinalize by @snawaz in #131
- feat: add CommitFinalizeFromBuffer by @snawaz in #137
- chore: upgrade pinocchio by @snawaz in #138
- chore: add rustfmt.toml with some sensible format settings by @snawaz in #139
- feat: Add DelegateWithActions by @snawaz in #146
- Fix invalid negative index usage when mutating last byte by @0x0v4 in #147
- feat: magic fee vault as vault on ER for receiving payments by @taco-paco in #149
- refactor: reorganize to move api functionalities to dlp_api by @snawaz in #152
- Add dlp publish workflow by @GabrielePicco in #153
- release: 1.2.0 by @GabrielePicco in #157
New Contributors
- @bmuddha made their first contribution in #62
- @taco-paco made their first contribution in #77
- @snawaz made their first contribution in #94
- @jonasXchen made their first contribution in #119
- @AvhiMaz made their first contribution in #121
- @evshank made their first contribution in #144
- @0x0v4 made their first contribution in #147
Full Changelog: v1.0.0...v1.2.0
v1.0.0
What's Changed
- Settling lamports by @GabrielePicco in #30
- feat: whitelist validator for program by @GabrielePicco in #42
- feat: Add a canonical way to bring lamports into the validator by @GabrielePicco in #44
- feat: Add validator identity to delegation args by @GabrielePicco in #45
- refactor: separating api/processor code to different folders by @crypto-vincent in #47
- fix: Add system_program checks by @crypto-vincent in #46
- chore: rename whitelist account to program_config by @crypto-vincent in #48
- chore: Add ephemeral balance pda utils by @GabrielePicco in #49
- feat: Allow to create ephemeral balance PDAs and delegate with payer by @GabrielePicco in #50
- chore: resolve naming discrepencies by @crypto-vincent in #51
- chore: serialization and discriminants by @crypto-vincent in #52
- chore: pda seeds and pubkeys cleanups by @crypto-vincent in #53
- fix: remove allow undelegate attack vectors by @crypto-vincent in #55
- chore: undelegate/finalize simplification by @crypto-vincent in #58
- chore: check for state slot at commit time by @crypto-vincent in #60
- feat: return Ok() on valid commit/finalize without failing by @GabrielePicco in #61
Full Changelog: v0.1.3...v1.0.0
v0.1.3
What's Changed
- Pda delegation by @GabrielePicco in #1
- ✨ Commit state by @GabrielePicco in #2
- ♻️ Add Undelegate by @GabrielePicco in #5
- ✨ Delegate in a single instruction & Refactor by @GabrielePicco in #6
- ✨ Add finalize state instruction by @GabrielePicco in #7
- ✨ Update external undelegate discriminator by @GabrielePicco in #8
- ✨ Rename origin to owner by @GabrielePicco in #9
- ✨ Refactor naming & optional dependencies by @GabrielePicco in #11
- ✨ Refactor integration test by @GabrielePicco in #12
- ✨ Store delegated account seeds by @GabrielePicco in #13
- ♻️ Refactor integration to use an external create by @GabrielePicco in #14
- ♻️ Simplify transaction builder by @GabrielePicco in #15
- 🐛 Fix seeds account space allocation by @GabrielePicco in #16
- ✨ Add configurable delegate by @GabrielePicco in #17
- ✨ Update Integration Tests by @GabrielePicco in #18
- ✨ Add Rust and Typescript SDKs by @GabrielePicco in #19
- ✨ Allow undelegation if no commitment exists by @GabrielePicco in #20
- ✨ Add manual commit to ts SDK by @GabrielePicco in #21
- Feat/add allow undelegation through cpi by @GabrielePicco in #22
- ♻️ Add instruction to manual commit trough CPI by @GabrielePicco in #23
- feat: minimal rust delegate SDK by @thlorenz in #25
- chore: Remove client integration sdk, moved to an independent repo by @GabrielePicco in #26
- Add commit slot index and allow undelegation flag by @GabrielePicco in #28
- feat: Move delegation_slot from delegation_metadata to delegation_record by @GabrielePicco in #33
- bug: ensure delegated account contains the correct data after undelegation by @GabrielePicco in #35
- fix: undelegation should write the owner program by @crypto-vincent in #36
- feat: Support delegation of on-curve accounts by @GabrielePicco in #38
- feat: add validator whitelisting by @GabrielePicco in #39
New Contributors
- @GabrielePicco made their first contribution in #1
- @thlorenz made their first contribution in #25
- @crypto-vincent made their first contribution in #36
Full Changelog: https://github.com/magicblock-labs/delegation-program/commits/v0.1.3