Skip to content

Commit

Permalink
chore: bump versions to 4.0.0-pre.2 (#545)
Browse files Browse the repository at this point in the history
* chore: bump version to pre.2

* update sys cargo and license on macros crate

* update changelog

* fix changelog

* swap license of crates that don't depend on nearcore

* switch to MIT or apache
  • Loading branch information
austinabell authored Aug 19, 2021
1 parent 9239022 commit 25d8042
Show file tree
Hide file tree
Showing 26 changed files with 47 additions and 35 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Changelog

## [unreleased]
* Update `panic` and `panic_utf8` syscall signatures to indicate they do not return. [PR 492](https://github.com/near/near-sdk-rs/pull/492)

## `4.0.0-pre.2` [08-19-2021]
- Update `panic` and `panic_utf8` syscall signatures to indicate they do not return. [PR 489](https://github.com/near/near-sdk-rs/pull/489)
- Deprecate `env::panic` in favor of `env::panic_str`. [PR 492](https://github.com/near/near-sdk-rs/pull/492)
- This method now takes a `&str` as the bytes are enforced to be utf8 in the runtime.
- Change is symmetric to `env::log_str` change in `4.0.0-pre.1`
- Removes `PublicKey` generic on `env` promise batch calls. Functions now just take a reference to the `PublicKey`. [PR 495](https://github.com/near/near-sdk-rs/pull/495)
- fix: Public keys can no longer be borsh deserialized from invalid bytes. [PR 502](https://github.com/near/near-sdk-rs/pull/502)
- Adds `Hash` derive to `PublicKey`
Expand Down
6 changes: 3 additions & 3 deletions examples/cross-contract-high-level/Cargo.lock

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

Binary file not shown.
6 changes: 3 additions & 3 deletions examples/cross-contract-low-level/Cargo.lock

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

Binary file not shown.
8 changes: 4 additions & 4 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/gas-fee-tester/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 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.
8 changes: 4 additions & 4 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.

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.1"
version = "4.0.0-pre.2"
authors = ["Near Inc <[email protected]>"]
edition = "2018"
license = "GPL-3.0"
Expand All @@ -12,4 +12,4 @@ NEAR smart contracts standard library.
"""

[dependencies]
near-sdk = { path = "../near-sdk", version = "=4.0.0-pre.1" }
near-sdk = { path = "../near-sdk", version = "=4.0.0-pre.2" }
4 changes: 2 additions & 2 deletions near-sdk-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "near-sdk-macros"
version = "4.0.0-pre.1"
version = "4.0.0-pre.2"
authors = ["Near Inc <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
license = "MIT OR Apache-2.0"
categories = ["wasm"]
repository = "https://github.com/near/near-sdk-rs"
homepage = "https://github.com/near/near-sdk-rs"
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.1"
version = "4.0.0-pre.2"
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.1" }
near-sdk = { path = "../near-sdk", version = "=4.0.0-pre.2" }
near-crypto = "=0.1.0"
near-primitives = "=0.1.0-pre.1"
near-vm-logic = "=4.0.0-pre.1"
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.1"
version = "4.0.0-pre.2"
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.1" }
near-sdk-macros = { path = "../near-sdk-macros", version = "=4.0.0-pre.2" }
near-sys = { path = "../sys", version = "0.1" }
base64 = "0.13"
borsh = "0.8.1"
Expand Down
7 changes: 7 additions & 0 deletions sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@ name = "near-sys"
version = "0.1.0"
authors = ["Near Inc <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
categories = ["wasm"]
repository = "https://github.com/near/near-sdk-rs"
homepage = "https://github.com/near/near-sdk-rs"
description = """
Syscall definitions for builtin functions of the NEAR runtime.
"""

[dependencies]

0 comments on commit 25d8042

Please sign in to comment.