Skip to content

Commit

Permalink
v0.16.2 (#807)
Browse files Browse the repository at this point in the history
  • Loading branch information
armaniferrante authored Sep 27, 2021
1 parent 48385b4 commit 3d21d33
Show file tree
Hide file tree
Showing 21 changed files with 58 additions and 51 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,18 @@ incremented for features.

## [Unreleased]

## [0.16.2] - 2021-09-27

### Features

* lang: Add `--detach` flag to `anchor test` ([#770](https://github.com/project-serum/anchor/pull/770)).
* lang: Add `associated_token` keyword for initializing associated token accounts within `#[derive(Accounts)]` ([#790](https://github.com/project-serum/anchor/pull/790)).
* cli: Allow passing through cargo flags for build command ([#719](https://github.com/project-serum/anchor/pull/719)).
* cli: Allow passing through cargo flags for test, verify, and publish commands ([#804](https://github.com/project-serum/anchor/pull/804)).

### Fixes

* lang: Generated `AccountMeta`s for Rust clients now properly set the `isSigner` field ([#762](https://github.com/project-serum/anchor/pull/762)).

## [0.16.1] - 2021-09-17

Expand Down
26 changes: 13 additions & 13 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 cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-cli"
version = "0.16.1"
version = "0.16.2"
authors = ["armaniferrante <armaniferrante@gmail.com>"]
edition = "2018"

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.16.0",
"version": "0.16.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,13 +1,13 @@
[package]
name = "anchor-client"
version = "0.16.1"
version = "0.16.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
edition = "2018"
license = "Apache-2.0"
description = "Rust client for Anchor programs"

[dependencies]
anchor-lang = { path = "../lang", version = "0.16.1" }
anchor-lang = { path = "../lang", version = "0.16.2" }
anyhow = "1.0.32"
regex = "1.4.5"
serde = { version = "1.0.122", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion docker/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ARG ANCHOR_CLI
ENV HOME="/root"
ENV PATH="${HOME}/.cargo/bin:${PATH}"
ENV PATH="${HOME}/.local/share/solana/install/active_release/bin:${PATH}"
ENV PATH="${HOME}/.nvm/versions/node/v16.9.1/bin:${PATH}"
ENV PATH="${HOME}/.nvm/versions/node/v16.10.0/bin:${PATH}"

# Install base utilities.
RUN mkdir -p /workdir && mkdir -p /tmp && \
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.16.1 anchor-cli --locked
cargo install --git https://github.com/project-serum/anchor --tag v0.16.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.16.1"
anchor_version = "0.16.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.16.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.16.2` one can run

```
docker pull projectserum/build:v0.16.1
docker pull projectserum/build:v0.16.2
```

## Removing an Image
Expand Down
18 changes: 9 additions & 9 deletions lang/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-lang"
version = "0.16.1"
version = "0.16.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
edition = "2018"
Expand All @@ -23,14 +23,14 @@ anchor-debug = [
]

[dependencies]
anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.16.1" }
anchor-attribute-account = { path = "./attribute/account", version = "0.16.1" }
anchor-attribute-error = { path = "./attribute/error", version = "0.16.1" }
anchor-attribute-program = { path = "./attribute/program", version = "0.16.1" }
anchor-attribute-state = { path = "./attribute/state", version = "0.16.1" }
anchor-attribute-interface = { path = "./attribute/interface", version = "0.16.1" }
anchor-attribute-event = { path = "./attribute/event", version = "0.16.1" }
anchor-derive-accounts = { path = "./derive/accounts", version = "0.16.1" }
anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.16.2" }
anchor-attribute-account = { path = "./attribute/account", version = "0.16.2" }
anchor-attribute-error = { path = "./attribute/error", version = "0.16.2" }
anchor-attribute-program = { path = "./attribute/program", version = "0.16.2" }
anchor-attribute-state = { path = "./attribute/state", version = "0.16.2" }
anchor-attribute-interface = { path = "./attribute/interface", version = "0.16.2" }
anchor-attribute-event = { path = "./attribute/event", version = "0.16.2" }
anchor-derive-accounts = { path = "./derive/accounts", version = "0.16.2" }
base64 = "0.13.0"
borsh = "0.9"
bytemuck = "1.4.0"
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.16.1"
version = "0.16.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
license = "Apache-2.0"
Expand All @@ -18,5 +18,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.16.1" }
anchor-syn = { path = "../../syn", version = "0.16.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.16.1"
version = "0.16.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
license = "Apache-2.0"
Expand All @@ -18,6 +18,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.16.1", features = ["hash"] }
anchor-syn = { path = "../../syn", version = "0.16.2", features = ["hash"] }
rustversion = "1.0.3"
bs58 = "0.4.0"
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.16.1"
version = "0.16.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"]
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "1.0.60", features = ["full"] }
anchor-syn = { path = "../../syn", version = "0.16.1" }
anchor-syn = { path = "../../syn", version = "0.16.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.16.1"
version = "0.16.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
license = "Apache-2.0"
Expand All @@ -18,4 +18,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.16.1", features = ["hash"] }
anchor-syn = { path = "../../syn", version = "0.16.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.16.1"
version = "0.16.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
license = "Apache-2.0"
Expand All @@ -18,5 +18,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.16.1" }
anchor-syn = { path = "../../syn", version = "0.16.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.16.1"
version = "0.16.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
license = "Apache-2.0"
Expand All @@ -18,4 +18,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.16.1" }
anchor-syn = { path = "../../syn", version = "0.16.2" }
4 changes: 2 additions & 2 deletions lang/attribute/state/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-attribute-state"
version = "0.16.1"
version = "0.16.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
license = "Apache-2.0"
Expand All @@ -18,4 +18,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.16.1" }
anchor-syn = { path = "../../syn", version = "0.16.2" }
4 changes: 2 additions & 2 deletions lang/derive/accounts/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-derive-accounts"
version = "0.16.1"
version = "0.16.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.16.1" }
anchor-syn = { path = "../../syn", version = "0.16.2" }
2 changes: 1 addition & 1 deletion lang/syn/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-syn"
version = "0.16.1"
version = "0.16.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/project-serum/anchor"
license = "Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions spl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-spl"
version = "0.16.1"
version = "0.16.2"
authors = ["Serum Foundation <foundation@projectserum.com>"]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -10,7 +10,7 @@ description = "CPI clients for SPL programs"
devnet = []

[dependencies]
anchor-lang = { path = "../lang", version = "0.16.1", features = ["derive"] }
anchor-lang = { path = "../lang", version = "0.16.2", features = ["derive"] }
lazy_static = "1.4.0"
serum_dex = { git = "https://github.com/project-serum/serum-dex", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"] }
solana-program = "=1.7.11"
Expand Down
2 changes: 1 addition & 1 deletion ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-serum/anchor",
"version": "0.16.1",
"version": "0.16.2",
"description": "Anchor client",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down

0 comments on commit 3d21d33

Please sign in to comment.