diff --git a/Cargo.lock b/Cargo.lock index e7347375e..88c9bcb21 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1500,7 +1500,7 @@ checksum = "0debeb9fcf88823ea64d64e4a815ab1643f33127d995978e099942ce38f25238" [[package]] name = "near-contract-standards" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "near-sdk", ] @@ -1698,7 +1698,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "base64 0.13.0", "borsh", @@ -1718,7 +1718,7 @@ dependencies = [ [[package]] name = "near-sdk-core" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "Inflector", "proc-macro2", @@ -1728,7 +1728,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "near-sdk-core", "proc-macro2", @@ -1738,7 +1738,7 @@ dependencies = [ [[package]] name = "near-sdk-sim" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "fungible-token", "funty", diff --git a/README.md b/README.md index 9f82ddb96..f64990bed 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ ## Release notes -### Version `3.0.0` +### Version `3.0.1` * Introduced `#[private]` method decorator, that verifies `predecessor_account_id() == current_account_id()`. NOTE: Usually, when a contract has to have a callback for a remote cross-contract call, this callback method should @@ -55,7 +55,7 @@ * Introduce `Base58CryptoHash` and `CryptoHash` to represent `32` bytes slice of `u8`. * Introduce `LazyOption` to keep a single large value with lazy deserialization. * **BREAKING** `#[init]` now checks that the state is not initialized. This is expected behavior. To ignore state check you can call `#[init(ignore_state)]` - +* NOTE: `3.0.0` is not published, due to tag conflicts on the `near-sdk-rs` repo. **Previous version [CHANGELOG](CHANGELOG.md)** @@ -244,4 +244,4 @@ Since WebAssembly compiler includes a bunch of debug information into the binary different on different machines. To be able to compile the binary in a reproducible way, we added a Dockerfile that allows to compile the binary. -**Use [contract-builder](https://github.com/near/near-sdk-rs/tree/master/contact-builder)** \ No newline at end of file +**Use [contract-builder](https://github.com/near/near-sdk-rs/tree/master/contact-builder)** diff --git a/examples/cross-contract-high-level/Cargo.lock b/examples/cross-contract-high-level/Cargo.lock index dedf41506..1a515e1c5 100644 --- a/examples/cross-contract-high-level/Cargo.lock +++ b/examples/cross-contract-high-level/Cargo.lock @@ -1694,7 +1694,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "base64 0.13.0", "borsh", @@ -1709,7 +1709,7 @@ dependencies = [ [[package]] name = "near-sdk-core" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "Inflector", "proc-macro2", @@ -1719,7 +1719,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "near-sdk-core", "proc-macro2", @@ -1729,7 +1729,7 @@ dependencies = [ [[package]] name = "near-sdk-sim" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "funty", "lazy-static-include", diff --git a/examples/cross-contract-high-level/res/cross_contract_high_level.wasm b/examples/cross-contract-high-level/res/cross_contract_high_level.wasm index 2a2ebbd69..40c4aafd6 100755 Binary files a/examples/cross-contract-high-level/res/cross_contract_high_level.wasm and b/examples/cross-contract-high-level/res/cross_contract_high_level.wasm differ diff --git a/examples/cross-contract-low-level/Cargo.lock b/examples/cross-contract-low-level/Cargo.lock index d36caeee6..64c3ffb39 100644 --- a/examples/cross-contract-low-level/Cargo.lock +++ b/examples/cross-contract-low-level/Cargo.lock @@ -1713,7 +1713,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "base64 0.13.0", "borsh", @@ -1728,7 +1728,7 @@ dependencies = [ [[package]] name = "near-sdk-core" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "Inflector", "proc-macro2", @@ -1738,7 +1738,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "near-sdk-core", "proc-macro2", @@ -1748,7 +1748,7 @@ dependencies = [ [[package]] name = "near-sdk-sim" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "funty", "lazy-static-include", diff --git a/examples/cross-contract-low-level/res/cross_contract_low_level.wasm b/examples/cross-contract-low-level/res/cross_contract_low_level.wasm index 9138ba418..ad70aafee 100755 Binary files a/examples/cross-contract-low-level/res/cross_contract_low_level.wasm and b/examples/cross-contract-low-level/res/cross_contract_low_level.wasm differ diff --git a/examples/fungible-token/Cargo.lock b/examples/fungible-token/Cargo.lock index 0d33931af..b8e364deb 100644 --- a/examples/fungible-token/Cargo.lock +++ b/examples/fungible-token/Cargo.lock @@ -1518,7 +1518,7 @@ checksum = "0debeb9fcf88823ea64d64e4a815ab1643f33127d995978e099942ce38f25238" [[package]] name = "near-contract-standards" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "near-sdk", ] @@ -1716,7 +1716,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "base64 0.13.0", "borsh", @@ -1731,7 +1731,7 @@ dependencies = [ [[package]] name = "near-sdk-core" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "Inflector", "proc-macro2", @@ -1741,7 +1741,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "near-sdk-core", "proc-macro2", @@ -1751,7 +1751,7 @@ dependencies = [ [[package]] name = "near-sdk-sim" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "funty", "lazy-static-include", diff --git a/examples/fungible-token/res/defi.wasm b/examples/fungible-token/res/defi.wasm index af2733c6a..005fac70b 100755 Binary files a/examples/fungible-token/res/defi.wasm and b/examples/fungible-token/res/defi.wasm differ diff --git a/examples/fungible-token/res/fungible_token.wasm b/examples/fungible-token/res/fungible_token.wasm index c1e53137f..151df8623 100755 Binary files a/examples/fungible-token/res/fungible_token.wasm and b/examples/fungible-token/res/fungible_token.wasm differ diff --git a/examples/gas-fee-tester/Cargo.lock b/examples/gas-fee-tester/Cargo.lock index 2f160f6db..04e64a7dc 100644 --- a/examples/gas-fee-tester/Cargo.lock +++ b/examples/gas-fee-tester/Cargo.lock @@ -338,7 +338,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "base64 0.13.0", "borsh", @@ -353,7 +353,7 @@ dependencies = [ [[package]] name = "near-sdk-core" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "Inflector", "proc-macro2", @@ -363,7 +363,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "near-sdk-core", "proc-macro2", diff --git a/examples/gas-fee-tester/res/gas_fee_tester.wasm b/examples/gas-fee-tester/res/gas_fee_tester.wasm index ffb08946e..6c33916fc 100755 Binary files a/examples/gas-fee-tester/res/gas_fee_tester.wasm and b/examples/gas-fee-tester/res/gas_fee_tester.wasm differ diff --git a/examples/lockable-fungible-token/Cargo.lock b/examples/lockable-fungible-token/Cargo.lock index 6247195e5..c3af16249 100644 --- a/examples/lockable-fungible-token/Cargo.lock +++ b/examples/lockable-fungible-token/Cargo.lock @@ -338,7 +338,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "base64 0.13.0", "borsh", @@ -353,7 +353,7 @@ dependencies = [ [[package]] name = "near-sdk-core" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "Inflector", "proc-macro2", @@ -363,7 +363,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "near-sdk-core", "proc-macro2", diff --git a/examples/lockable-fungible-token/res/lockable_fungible_token.wasm b/examples/lockable-fungible-token/res/lockable_fungible_token.wasm index bcc0ba37a..bc0ca65dd 100755 Binary files a/examples/lockable-fungible-token/res/lockable_fungible_token.wasm and b/examples/lockable-fungible-token/res/lockable_fungible_token.wasm differ diff --git a/examples/mission-control/Cargo.lock b/examples/mission-control/Cargo.lock index b59ea253c..420f20eea 100644 --- a/examples/mission-control/Cargo.lock +++ b/examples/mission-control/Cargo.lock @@ -338,7 +338,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "base64 0.13.0", "borsh", @@ -353,7 +353,7 @@ dependencies = [ [[package]] name = "near-sdk-core" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "Inflector", "proc-macro2", @@ -363,7 +363,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "near-sdk-core", "proc-macro2", diff --git a/examples/mission-control/res/mission_control.wasm b/examples/mission-control/res/mission_control.wasm index 04f1c46f8..10dc96d10 100755 Binary files a/examples/mission-control/res/mission_control.wasm and b/examples/mission-control/res/mission_control.wasm differ diff --git a/examples/status-message-collections/Cargo.lock b/examples/status-message-collections/Cargo.lock index 6b91a2499..cdcaa1ffd 100644 --- a/examples/status-message-collections/Cargo.lock +++ b/examples/status-message-collections/Cargo.lock @@ -325,7 +325,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "base64 0.13.0", "borsh", @@ -340,7 +340,7 @@ dependencies = [ [[package]] name = "near-sdk-core" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "Inflector", "proc-macro2", @@ -350,7 +350,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "near-sdk-core", "proc-macro2", diff --git a/examples/status-message-collections/res/status_message_collections.wasm b/examples/status-message-collections/res/status_message_collections.wasm index 28af46538..cbd36a15b 100755 Binary files a/examples/status-message-collections/res/status_message_collections.wasm and b/examples/status-message-collections/res/status_message_collections.wasm differ diff --git a/examples/status-message/Cargo.lock b/examples/status-message/Cargo.lock index f3e30435c..ed95d0a61 100644 --- a/examples/status-message/Cargo.lock +++ b/examples/status-message/Cargo.lock @@ -325,7 +325,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "base64 0.13.0", "borsh", @@ -340,7 +340,7 @@ dependencies = [ [[package]] name = "near-sdk-core" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "Inflector", "proc-macro2", @@ -350,7 +350,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "near-sdk-core", "proc-macro2", diff --git a/examples/status-message/res/status_message.wasm b/examples/status-message/res/status_message.wasm index d59f5a0ca..06e5f9b5d 100755 Binary files a/examples/status-message/res/status_message.wasm and b/examples/status-message/res/status_message.wasm differ diff --git a/examples/test-contract/Cargo.lock b/examples/test-contract/Cargo.lock index 5c03df633..72771704a 100644 --- a/examples/test-contract/Cargo.lock +++ b/examples/test-contract/Cargo.lock @@ -325,7 +325,7 @@ dependencies = [ [[package]] name = "near-sdk" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "base64 0.13.0", "borsh", @@ -340,7 +340,7 @@ dependencies = [ [[package]] name = "near-sdk-core" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "Inflector", "proc-macro2", @@ -350,7 +350,7 @@ dependencies = [ [[package]] name = "near-sdk-macros" -version = "3.0.0-pre.3" +version = "3.0.1" dependencies = [ "near-sdk-core", "proc-macro2", diff --git a/examples/test-contract/res/test_contract.wasm b/examples/test-contract/res/test_contract.wasm index 2a9668bf6..07e8f694e 100755 Binary files a/examples/test-contract/res/test_contract.wasm and b/examples/test-contract/res/test_contract.wasm differ diff --git a/near-contract-standards/Cargo.toml b/near-contract-standards/Cargo.toml index 16796f795..6e8192cce 100644 --- a/near-contract-standards/Cargo.toml +++ b/near-contract-standards/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "near-contract-standards" -version = "3.0.0-pre.3" +version = "3.0.1" authors = ["Near Inc "] edition = "2018" -license = "Apache-2.0" +license = "GPL-3.0" categories = ["wasm"] repository = "https://github.com/near/near-sdk-rs" homepage = "https://github.com/near/near-sdk-rs/tree/master/near-contract-standards" @@ -12,4 +12,4 @@ NEAR smart contracts standard library. """ [dependencies] -near-sdk = { path = "../near-sdk", version = "=3.0.0-pre.3" } +near-sdk = { path = "../near-sdk", version = "=3.0.1" } diff --git a/near-sdk-core/Cargo.toml b/near-sdk-core/Cargo.toml index 586ef91cb..23145ca10 100644 --- a/near-sdk-core/Cargo.toml +++ b/near-sdk-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "near-sdk-core" -version = "3.0.0-pre.3" +version = "3.0.1" authors = ["Near Inc "] edition = "2018" license = "Apache-2.0" diff --git a/near-sdk-macros/Cargo.toml b/near-sdk-macros/Cargo.toml index 256ee39b9..853fa0a92 100644 --- a/near-sdk-macros/Cargo.toml +++ b/near-sdk-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "near-sdk-macros" -version = "3.0.0-pre.3" +version = "3.0.1" authors = ["Near Inc "] edition = "2018" license = "Apache-2.0" @@ -15,7 +15,7 @@ Main macro of the library for writing NEAR smart contracts. proc-macro = true [dependencies] -near-sdk-core = { path = "../near-sdk-core", version = "=3.0.0-pre.3"} +near-sdk-core = { path = "../near-sdk-core", version = "=3.0.1"} proc-macro2 = "1.0" syn = {version = "=1.0.57", features = ["full", "fold", "visit"] } quote = "1.0" diff --git a/near-sdk-sim/Cargo.toml b/near-sdk-sim/Cargo.toml index 348b73c6c..b2b088735 100644 --- a/near-sdk-sim/Cargo.toml +++ b/near-sdk-sim/Cargo.toml @@ -1,20 +1,26 @@ [package] name = "near-sdk-sim" -version = "3.0.0-pre.3" +version = "3.0.1" authors = ["Near Inc "] edition = "2018" -publish = false +license = "GPL-3.0" +categories = ["wasm"] +repository = "https://github.com/near/near-sdk-rs" +homepage = "https://github.com/near/near-sdk-rs" +description = """ +NEAR Simulator & cross-contract testing library +""" [dependencies] -near-sdk = { path = "../near-sdk", version = "=3.0.0-pre.3" } -near-crypto = "0.1.0" -near-primitives = "0.1.0-pre.1" -near-vm-logic = "4.0.0-pre.1" +near-sdk = { path = "../near-sdk", version = "=3.0.1" } +near-crypto = "=0.1.0" +near-primitives = "=0.1.0-pre.1" +near-vm-logic = "=4.0.0-pre.1" -near-pool = "0.1.0-pre.1" -near-store = "0.1.0-pre.1" -near-runtime = "4.0.0-pre.1" +near-pool = "=0.1.0-pre.1" +near-store = "=0.1.0-pre.1" +near-runtime = "=4.0.0-pre.1" lazy-static-include = "3" # Temporary workaround see https://github.com/bitvecto-rs/bitvec/issues/105 diff --git a/near-sdk-sim/README.md b/near-sdk-sim/README.md index 03a52336d..b5c1c49d8 100644 --- a/near-sdk-sim/README.md +++ b/near-sdk-sim/README.md @@ -22,7 +22,7 @@ Currently this crate depends on a the GitHub repo of [nearcore](https://github.c ```toml [dev-dependencies] -near-sdk-sim = { git = "https://github.com/near/near-sdk-rs.git", tag="3.0.0" } +near-sdk-sim = "=3.0.1-pre.1" ``` @@ -30,7 +30,7 @@ And update `near-sdk` too: ```toml [dependencies] -near-sdk = { git = "https://github.com/near/near-sdk-rs.git", tag="3.0.0" } +near-sdk = "=3.0.1-pre.1" ``` diff --git a/near-sdk/Cargo.toml b/near-sdk/Cargo.toml index 7aadb6deb..0480c3ddc 100644 --- a/near-sdk/Cargo.toml +++ b/near-sdk/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "near-sdk" -version = "3.0.0-pre.3" +version = "3.0.1" authors = ["Near Inc "] edition = "2018" -license = "Apache-2.0" +license = "GPL-3.0" readme = "README.md" categories = ["wasm"] repository = "https://github.com/near/near-sdk-rs" @@ -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 = "=3.0.0-pre.3"} +near-sdk-macros = { path = "../near-sdk-macros", version = "=3.0.1"} base64 = "0.13" borsh = "0.8.1" bs58 = "0.4"