Skip to content

Commit

Permalink
chore: release pre.8 (#793)
Browse files Browse the repository at this point in the history
  • Loading branch information
austinabell authored Apr 19, 2022
1 parent 3f11bc4 commit d932e3a
Show file tree
Hide file tree
Showing 30 changed files with 36 additions and 33 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@

## [Unreleased]

## [4.0.0-pre.8] - 2022-04-19

### Added
- Added `Debug` and `PartialEq` implementations for `PromiseError`. [PR 728](https://github.com/near/near-sdk-rs/pull/728).
- Added convenience function `env::block_timestamp_ms` to return ms since 1970. [PR 736](https://github.com/near/near-sdk-rs/pull/728)
- Added an optional way to handle contract errors with `Result`. [PR 745](https://github.com/near/near-sdk-rs/pull/745), [PR 754](https://github.com/near/near-sdk-rs/pull/754) and [PR 757](https://github.com/near/near-sdk-rs/pull/757).
- Added support for using `#[callback_result]` with a function that doesn't have a return. [PR 738](https://github.com/near/near-sdk-rs/pull/738)
- Support for multi-architecture docker builds and updated Rust version to 1.56 with latest [contract builder](https://hub.docker.com/r/nearprotocol/contract-builder). [PR 751](https://github.com/near/near-sdk-rs/pull/751)

### Fixes
- Disallow invalid `Promise::then` chains. Will now panic with `promise_1.then(promise_2.then(promise_3))` syntax. [PR 410](https://github.com/near/near-sdk-rs/pull/410)
Expand Down
4 changes: 2 additions & 2 deletions examples/callback-results/Cargo.lock

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

Binary file modified examples/callback-results/res/callback_results.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/cross-contract-calls/Cargo.lock

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

Binary file modified examples/cross-contract-calls/res/cross_contract_high_level.wasm
Binary file not shown.
Binary file modified examples/cross-contract-calls/res/cross_contract_low_level.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/factory-contract/Cargo.lock

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

Binary file modified examples/factory-contract/res/factory_contract_high_level.wasm
Binary file not shown.
Binary file modified examples/factory-contract/res/factory_contract_low_level.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions examples/fungible-token/Cargo.lock

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

Binary file modified examples/fungible-token/res/defi.wasm
Binary file not shown.
Binary file modified examples/fungible-token/res/fungible_token.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/lockable-fungible-token/Cargo.lock

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

Binary file not shown.
4 changes: 2 additions & 2 deletions examples/mission-control/Cargo.lock

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

Binary file modified examples/mission-control/res/mission_control.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions examples/non-fungible-token/Cargo.lock

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

Binary file modified examples/non-fungible-token/res/approval_receiver.wasm
Binary file not shown.
Binary file modified examples/non-fungible-token/res/non_fungible_token.wasm
Binary file not shown.
Binary file modified examples/non-fungible-token/res/token_receiver.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/status-message-collections/Cargo.lock

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

Binary file not shown.
4 changes: 2 additions & 2 deletions examples/status-message/Cargo.lock

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

Binary file modified examples/status-message/res/status_message.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/test-contract/Cargo.lock

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

4 changes: 2 additions & 2 deletions near-contract-standards/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "near-contract-standards"
version = "4.0.0-pre.7"
version = "4.0.0-pre.8"
authors = ["Near Inc <[email protected]>"]
edition = "2018"
license = "GPL-3.0"
Expand All @@ -13,6 +13,6 @@ NEAR smart contracts standard library.
"""

[dependencies]
near-sdk = { path = "../near-sdk", version = "=4.0.0-pre.7" }
near-sdk = { path = "../near-sdk", version = "=4.0.0-pre.8" }
serde = "1"
serde_json = "1"
2 changes: 1 addition & 1 deletion near-sdk-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "near-sdk-macros"
version = "4.0.0-pre.7"
version = "4.0.0-pre.8"
authors = ["Near Inc <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions near-sdk-sim/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "near-sdk-sim"
version = "4.0.0-pre.7"
version = "4.0.0-pre.8"
authors = ["Near Inc <[email protected]>"]
edition = "2018"
license = "GPL-3.0"
Expand All @@ -13,7 +13,7 @@ NEAR Simulator & cross-contract testing library


[dependencies]
near-sdk = { path = "../near-sdk", version = "=4.0.0-pre.7" }
near-sdk = { path = "../near-sdk", version = "=4.0.0-pre.8" }
near-crypto = "=0.1.0"
near-primitives = "=0.1.0-pre.1"
near-vm-logic = "=4.0.0-pre.1"
Expand Down
8 changes: 4 additions & 4 deletions near-sdk-sim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ Currently this crate depends on a the GitHub repo of [nearcore](https://github.c

```toml
[dev-dependencies]
near-sdk-sim = "4.0.0-pre.6"
near-sdk-sim = "4.0.0-pre.8"

```

And update `near-sdk` too:

```toml
[dependencies]
near-sdk = "4.0.0-pre.6"
near-sdk = "4.0.0-pre.8"

```

Expand All @@ -64,8 +64,8 @@ Now in the root of the project (`contract-wrap`), create a new `Cargo.toml`. You

```toml
[dev-dependencies]
near-sdk = "4.0.0-pre.6"
near-sdk-sim = "4.0.0-pre.6"
near-sdk = "4.0.0-pre.8"
near-sdk-sim = "4.0.0-pre.8"
contract = { path = "./contract" }

[workspace]
Expand Down
4 changes: 2 additions & 2 deletions near-sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "near-sdk"
version = "4.0.0-pre.7"
version = "4.0.0-pre.8"
authors = ["Near Inc <[email protected]>"]
edition = "2018"
license = "GPL-3.0"
Expand All @@ -20,7 +20,7 @@ path = "compilation_tests/all.rs"
# Provide near_bidgen macros.
serde = { version = "1", features = ["derive"] }
serde_json = "1"
near-sdk-macros = { path = "../near-sdk-macros", version = "=4.0.0-pre.7" }
near-sdk-macros = { path = "../near-sdk-macros", version = "=4.0.0-pre.8" }
near-sys = { path = "../sys", version = "0.1" }
base64 = "0.13"
borsh = "0.9"
Expand Down

0 comments on commit d932e3a

Please sign in to comment.