Skip to content

Commit

Permalink
v0.24.2 (#1788)
Browse files Browse the repository at this point in the history
  • Loading branch information
armaniferrante authored Apr 13, 2022
1 parent aff01b9 commit 0b4c7b0
Show file tree
Hide file tree
Showing 57 changed files with 92 additions and 90 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ The minor version will be incremented upon a breaking change and the patch versi

## [Unreleased]

## [0.24.2] - 2022-04-13

### Fixes

* lang: Fix `returns` being serialized as `null` instead of `undefined` in IDL ([#1782](https://github.com/project-serum/anchor/pull/1782)).
Expand Down
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.24.1
0.24.2
2 changes: 1 addition & 1 deletion avm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion avm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "avm"
version = "0.24.1"
version = "0.24.2"
rust-version = "1.56"
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-cli"
version = "0.24.1"
version = "0.24.2"
authors = ["armaniferrante <armaniferrante@gmail.com>"]
rust-version = "1.56"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion cli/npm-package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-serum/anchor-cli",
"version": "0.24.1",
"version": "0.24.2",
"description": "Anchor CLI tool",
"homepage": "https://github.com/project-serum/anchor#readme",
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-client"
version = "0.24.1"
version = "0.24.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
rust-version = "1.56"
edition = "2021"
Expand All @@ -11,7 +11,7 @@ description = "Rust client for Anchor programs"
debug = []

[dependencies]
anchor-lang = { path = "../lang", version = "0.24.1" }
anchor-lang = { path = "../lang", version = "0.24.2" }
anyhow = "1.0.32"
regex = "1.4.5"
serde = { version = "1.0.122", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion docs/src/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ npm i -g @project-serum/anchor-cli
For now, we can use Cargo to install the CLI.

```bash
cargo install --git https://github.com/project-serum/anchor --tag v0.24.1 anchor-cli --locked
cargo install --git https://github.com/project-serum/anchor --tag v0.24.2 anchor-cli --locked
```

On Linux systems you may need to install additional dependencies if `cargo install` fails. On Ubuntu,
Expand Down
2 changes: 1 addition & 1 deletion docs/src/getting-started/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ have an `Anchor.toml` to define the build.
An example `Anchor.toml` config looks as follows,

```toml
anchor_version = "0.24.1"
anchor_version = "0.24.2"

[workspace]
members = ["programs/multisig"]
Expand Down
4 changes: 2 additions & 2 deletions docs/src/getting-started/verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ If the program has an IDL, it will also check the IDL deployed on chain matches.

## Images

A docker image for each version of Anchor is published on [Docker Hub](https://hub.docker.com/r/projectserum/build). They are tagged in the form `projectserum/build:<version>`. For example, to get the image for Anchor `v0.24.1` one can run
A docker image for each version of Anchor is published on [Docker Hub](https://hub.docker.com/r/projectserum/build). They are tagged in the form `projectserum/build:<version>`. For example, to get the image for Anchor `v0.24.2` one can run

```
docker pull projectserum/build:v0.24.1
docker pull projectserum/build:v0.24.2
```

## Removing an Image
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/basic-0/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "basic-0",
"version": "0.24.1",
"version": "0.24.2",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/project-serum/anchor#readme",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/basic-1/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "basic-1",
"version": "0.24.1",
"version": "0.24.2",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/project-serum/anchor#readme",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/basic-2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "basic-2",
"version": "0.24.1",
"version": "0.24.2",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/project-serum/anchor#readme",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/basic-3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "basic-3",
"version": "0.24.1",
"version": "0.24.2",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/project-serum/anchor#readme",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/basic-4/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "basic-4",
"version": "0.24.1",
"version": "0.24.2",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/project-serum/anchor#readme",
"bugs": {
Expand Down
20 changes: 10 additions & 10 deletions lang/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-lang"
version = "0.24.1"
version = "0.24.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
rust-version = "1.56"
Expand All @@ -26,15 +26,15 @@ anchor-debug = [
]

[dependencies]
anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.24.1" }
anchor-attribute-account = { path = "./attribute/account", version = "0.24.1" }
anchor-attribute-constant = { path = "./attribute/constant", version = "0.24.1" }
anchor-attribute-error = { path = "./attribute/error", version = "0.24.1" }
anchor-attribute-program = { path = "./attribute/program", version = "0.24.1" }
anchor-attribute-state = { path = "./attribute/state", version = "0.24.1" }
anchor-attribute-interface = { path = "./attribute/interface", version = "0.24.1" }
anchor-attribute-event = { path = "./attribute/event", version = "0.24.1" }
anchor-derive-accounts = { path = "./derive/accounts", version = "0.24.1" }
anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.24.2" }
anchor-attribute-account = { path = "./attribute/account", version = "0.24.2" }
anchor-attribute-constant = { path = "./attribute/constant", version = "0.24.2" }
anchor-attribute-error = { path = "./attribute/error", version = "0.24.2" }
anchor-attribute-program = { path = "./attribute/program", version = "0.24.2" }
anchor-attribute-state = { path = "./attribute/state", version = "0.24.2" }
anchor-attribute-interface = { path = "./attribute/interface", version = "0.24.2" }
anchor-attribute-event = { path = "./attribute/event", version = "0.24.2" }
anchor-derive-accounts = { path = "./derive/accounts", version = "0.24.2" }
arrayref = "0.3.6"
base64 = "0.13.0"
borsh = "0.9"
Expand Down
4 changes: 2 additions & 2 deletions lang/attribute/access-control/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-attribute-access-control"
version = "0.24.1"
version = "0.24.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
license = "Apache-2.0"
Expand All @@ -19,5 +19,5 @@ proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "1.0.60", features = ["full"] }
anyhow = "1.0.32"
anchor-syn = { path = "../../syn", version = "0.24.1" }
anchor-syn = { path = "../../syn", version = "0.24.2" }
regex = "1.0"
4 changes: 2 additions & 2 deletions lang/attribute/account/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-attribute-account"
version = "0.24.1"
version = "0.24.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
license = "Apache-2.0"
Expand All @@ -19,6 +19,6 @@ proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "1.0.60", features = ["full"] }
anyhow = "1.0.32"
anchor-syn = { path = "../../syn", version = "0.24.1", features = ["hash"] }
anchor-syn = { path = "../../syn", version = "0.24.2", features = ["hash"] }
rustversion = "1.0.3"
bs58 = "0.4.0"
4 changes: 2 additions & 2 deletions lang/attribute/constant/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-attribute-constant"
version = "0.24.1"
version = "0.24.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
license = "Apache-2.0"
Expand All @@ -17,4 +17,4 @@ anchor-debug = ["anchor-syn/anchor-debug"]
[dependencies]
proc-macro2 = "1.0"
syn = { version = "1.0.60", features = ["full"] }
anchor-syn = { path = "../../syn", version = "0.24.1" }
anchor-syn = { path = "../../syn", version = "0.24.2" }
4 changes: 2 additions & 2 deletions lang/attribute/error/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-attribute-error"
version = "0.24.1"
version = "0.24.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
license = "Apache-2.0"
Expand All @@ -18,4 +18,4 @@ anchor-debug = ["anchor-syn/anchor-debug"]
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "1.0.60", features = ["full"] }
anchor-syn = { path = "../../syn", version = "0.24.1" }
anchor-syn = { path = "../../syn", version = "0.24.2" }
4 changes: 2 additions & 2 deletions lang/attribute/event/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-attribute-event"
version = "0.24.1"
version = "0.24.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
license = "Apache-2.0"
Expand All @@ -19,4 +19,4 @@ proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "1.0.60", features = ["full"] }
anyhow = "1.0.32"
anchor-syn = { path = "../../syn", version = "0.24.1", features = ["hash"] }
anchor-syn = { path = "../../syn", version = "0.24.2", features = ["hash"] }
4 changes: 2 additions & 2 deletions lang/attribute/interface/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-attribute-interface"
version = "0.24.1"
version = "0.24.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
license = "Apache-2.0"
Expand All @@ -19,5 +19,5 @@ proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "1.0.60", features = ["full"] }
anyhow = "1.0.32"
anchor-syn = { path = "../../syn", version = "0.24.1" }
anchor-syn = { path = "../../syn", version = "0.24.2" }
heck = "0.3.2"
4 changes: 2 additions & 2 deletions lang/attribute/program/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-attribute-program"
version = "0.24.1"
version = "0.24.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
license = "Apache-2.0"
Expand All @@ -19,4 +19,4 @@ proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "1.0.60", features = ["full"] }
anyhow = "1.0.32"
anchor-syn = { path = "../../syn", version = "0.24.1" }
anchor-syn = { path = "../../syn", version = "0.24.2" }
Loading

0 comments on commit 0b4c7b0

Please sign in to comment.