Skip to content

Commit 711d544

Browse files
committed
release: prepare dlp v2.0.1 and dlp-api v4.0.1
1 parent 4c416ac commit 711d544

5 files changed

Lines changed: 24 additions & 4 deletions

File tree

‎Cargo.lock‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "magicblock-delegation-program"
33
description = "Delegation program for the Ephemeral Rollups"
4-
version = "2.0.0"
4+
version = "2.0.1"
55
authors = ["Magicblock Labs <dev@magicblock.gg>"]
66
edition = "2021"
77
license = "MIT"

‎dlp-api/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ homepage = "https://www.magicblock.gg/"
99
keywords = ["crypto", "delegation", "ephemeral-rollups", "magicblock", "solana"]
1010
license = "MIT"
1111
repository = "https://github.com/magicblock-labs/delegation-program"
12-
version = "4.0.0"
12+
version = "4.0.1"
1313

1414
[lib]
1515
name = "dlp_api"

‎release-notes/dlp-api-v4.0.1.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Release Notes
2+
3+
## dlp-api 4.0.1
4+
5+
`cleartext_with_insertable` now gives a signer meta a signer-table entry when its pubkey was previously inserted as a non-signer. It also permits a non-signer meta to reuse an inserted signer entry. The compact action serialization and public API are unchanged.
6+
7+
When a new signer entry is required, the caller must supply that pubkey as a signed account to `DelegateWithActions`. The non-signer-to-signer case generated by `dlp-api` 4.0.0 was rejected by the program already; 4.0.1 corrects its table index. The signer-to-non-signer case requires the matching program fix in `dlp@v2.0.1`.
8+
9+
Changes since `dlp-api@v4.0.0`: [compare](https://github.com/magicblock-labs/delegation-program/compare/dlp-api@v4.0.0...main) · [#187](https://github.com/magicblock-labs/delegation-program/pull/187).

‎release-notes/dlp-v2.0.1.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Release Notes
2+
3+
## Delegation program 2.0.1
4+
5+
`DelegateWithActions` now accepts a cleartext non-signer account meta that refers to a signer entry in the compact pubkey table. A signer meta must still refer to signer storage, and every pubkey in signer storage must have a signed account in the instruction. This fixes mixed signer/non-signer use in post-delegation actions without changing the instruction format.
6+
7+
Clients built with `dlp-api` 4.0.0 that produced valid requests for program 2.0.0 remain compatible. An older client's `cleartext_with_insertable` output still fails when a key inserted as a non-signer is later used as a signer; that output was also rejected by program 2.0.0. Use `dlp-api` 4.0.1 for that case.
8+
9+
Changes since `dlp@v2.0.0`: [compare](https://github.com/magicblock-labs/delegation-program/compare/dlp@v2.0.0...main) · [#187](https://github.com/magicblock-labs/delegation-program/pull/187).
10+
11+
This release records source version 2.0.1. Program deployment and executable verification are separate; cluster, program ID, deployed source commit, and executable hash are not yet available for these notes.

0 commit comments

Comments
 (0)