Skip to content

Commit

Permalink
Bump to v0.52.0 (#5791)
Browse files Browse the repository at this point in the history
  • Loading branch information
IGI-111 committed Mar 27, 2024
1 parent d8c1084 commit 98d8f4c
Show file tree
Hide file tree
Showing 30 changed files with 357 additions and 369 deletions.
428 changes: 212 additions & 216 deletions Cargo.lock

Large diffs are not rendered by default.

@@ -1,7 +1,7 @@
# Cargo

<!-- markdown-link-check-disable -->
Cargo can be used to install the Sway toolchain with various [`plugins`](https://fuellabs.github.io/sway/v0.51.1/book/forc/plugins/index.html).
Cargo can be used to install the Sway toolchain with various [`plugins`](https://fuellabs.github.io/sway/v0.52.0/book/forc/plugins/index.html).
<!-- markdown-link-check-enable -->

## Dependencies
Expand Down
Expand Up @@ -19,9 +19,9 @@ The supported operating systems include Linux and macOS; however, Windows is [`u
`Cargo` may be used instead of [`Fuelup`](fuelup.md); however, the user needs to manage the toolchain themselves.

<!-- markdown-link-check-disable -->
The advantage of using `Cargo` is the installation of [`plugins`](https://fuellabs.github.io/sway/v0.51.1/book/forc/plugins/index.html) that have not been added into [`Fuelup`](fuelup.md).
The advantage of using `Cargo` is the installation of [`plugins`](https://fuellabs.github.io/sway/v0.52.0/book/forc/plugins/index.html) that have not been added into [`Fuelup`](fuelup.md).

The disadvantage occurs when [`Fuelup`](fuelup.md) and `Cargo` are used in tandem because the latest [`plugins`](https://fuellabs.github.io/sway/v0.51.1/book/forc/plugins/index.html) may not be recognized.
The disadvantage occurs when [`Fuelup`](fuelup.md) and `Cargo` are used in tandem because the latest [`plugins`](https://fuellabs.github.io/sway/v0.52.0/book/forc/plugins/index.html) may not be recognized.
<!-- markdown-link-check-enable -->

## Source
Expand Down
Expand Up @@ -5,7 +5,7 @@ The `Sway toolchain` can be built directly from the [`Sway repository`](https://
## Installation & Updating

<!-- markdown-link-check-disable -->
In the root of the repository `/sway/<here>` build [`forc`](https://fuellabs.github.io/sway/v0.51.1/book/forc/commands/index.html) with the following command:
In the root of the repository `/sway/<here>` build [`forc`](https://fuellabs.github.io/sway/v0.52.0/book/forc/commands/index.html) with the following command:
<!-- markdown-link-check-enable -->

```bash
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/src/index.md
@@ -1,5 +1,5 @@
# The Sway Reference

<!-- markdown-link-check-disable -->
This is the technical reference for the Sway programming language. For a prose explanation and introduction to the language, please refer to the [Sway Book](https://fuellabs.github.io/sway/v0.51.1/book/).
This is the technical reference for the Sway programming language. For a prose explanation and introduction to the language, please refer to the [Sway Book](https://fuellabs.github.io/sway/v0.52.0/book/).
<!-- markdown-link-check-enable -->
73 changes: 32 additions & 41 deletions examples/Forc.lock
Expand Up @@ -5,32 +5,32 @@ source = "member"
[[package]]
name = "advanced_storage_variables"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "array"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "asm_return_tuple_pointer"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "basic_storage_variables"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "break_and_continue"
source = "member"
dependencies = ["core path+from-root-70EE78029FACCEF1"]
dependencies = ["core"]

[[package]]
name = "cei_analysis"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "configurable_constants"
Expand All @@ -39,11 +39,7 @@ source = "member"
[[package]]
name = "converting_types"
source = "member"
dependencies = ["std git+https://github.com/fuellabs/sway?tag=v0.51.1#d1e8f019c1da46273c3d3a72b385ce356ba2bc20"]

[[package]]
name = "core"
source = "path+from-root-4F1FAAE4510FEB23"
dependencies = ["std"]

[[package]]
name = "core"
Expand All @@ -52,7 +48,7 @@ source = "path+from-root-70EE78029FACCEF1"
[[package]]
name = "counter"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "enums"
Expand All @@ -61,102 +57,97 @@ source = "member"
[[package]]
name = "fizzbuzz"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "hashing"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "identity"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "liquidity_pool"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "match_expressions"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "methods_and_associated_functions"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "msg_sender"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "mut_ref_params"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "native_asset"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "nested_storage_variables"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "option"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "ownership"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "result"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "signatures"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]

[[package]]
name = "std"
source = "git+https://github.com/fuellabs/sway?tag=v0.51.1#d1e8f019c1da46273c3d3a72b385ce356ba2bc20"
dependencies = ["core path+from-root-4F1FAAE4510FEB23"]
dependencies = ["std"]

[[package]]
name = "std"
source = "path+from-root-70EE78029FACCEF1"
dependencies = ["core path+from-root-70EE78029FACCEF1"]
dependencies = ["core"]

[[package]]
name = "storage_example"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "storage_map"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "storage_vec"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "struct_storage_variables"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "structs"
Expand All @@ -169,30 +160,30 @@ source = "member"
[[package]]
name = "type_aliases"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "vec"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "wallet_abi"
source = "member"
dependencies = ["std path+from-root-70EE78029FACCEF1"]
dependencies = ["std"]

[[package]]
name = "wallet_contract_caller_script"
source = "member"
dependencies = [
"std path+from-root-70EE78029FACCEF1",
"std",
"wallet_abi",
]

[[package]]
name = "wallet_smart_contract"
source = "member"
dependencies = [
"std path+from-root-70EE78029FACCEF1",
"std",
"wallet_abi",
]
1 change: 1 addition & 0 deletions examples/converting_types/Forc.toml
Expand Up @@ -5,3 +5,4 @@ license = "Apache-2.0"
name = "converting_types"

[dependencies]
std = { path = "../../sway-lib-std" }
14 changes: 7 additions & 7 deletions forc-pkg/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "forc-pkg"
version = "0.51.1"
version = "0.52.0"
description = "Building, locking, fetching and updating Sway projects as Forc packages."
authors.workspace = true
edition.workspace = true
Expand All @@ -12,8 +12,8 @@ repository.workspace = true
ansi_term = "0.12"
anyhow = "1"
cid = "0.10"
forc-tracing = { version = "0.51.1", path = "../forc-tracing" }
forc-util = { version = "0.51.1", path = "../forc-util" }
forc-tracing = { version = "0.52.0", path = "../forc-tracing" }
forc-util = { version = "0.52.0", path = "../forc-util" }
fuel-abi-types = { workspace = true }
futures = "0.3"
git2 = { version = "0.17.2", features = [
Expand All @@ -30,10 +30,10 @@ serde = { version = "1.0", features = ["derive"] }
serde_ignored = "0.1.9"
serde_json = "1.0"
serde_with = "3.3.0"
sway-core = { version = "0.51.1", path = "../sway-core" }
sway-error = { version = "0.51.1", path = "../sway-error" }
sway-types = { version = "0.51.1", path = "../sway-types" }
sway-utils = { version = "0.51.1", path = "../sway-utils" }
sway-core = { version = "0.52.0", path = "../sway-core" }
sway-error = { version = "0.52.0", path = "../sway-error" }
sway-types = { version = "0.52.0", path = "../sway-types" }
sway-utils = { version = "0.52.0", path = "../sway-utils" }
tar = "0.4.38"
toml = { version = "0.7", features = ["parse"] }
tracing = "0.1"
Expand Down
18 changes: 9 additions & 9 deletions forc-plugins/forc-client/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "forc-client"
version = "0.51.1"
version = "0.52.0"
description = "A `forc` plugin for interacting with a Fuel node."
authors.workspace = true
edition.workspace = true
Expand All @@ -14,11 +14,11 @@ async-trait = "0.1.58"
chrono = { version = "0.4", default-features = false, features = ["std"] }
clap = { version = "3", features = ["derive", "env"] }
devault = "0.1"
forc = { version = "0.51.1", path = "../../forc" }
forc-pkg = { version = "0.51.1", path = "../../forc-pkg" }
forc-tracing = { version = "0.51.1", path = "../../forc-tracing" }
forc-tx = { version = "0.51.1", path = "../forc-tx" }
forc-util = { version = "0.51.1", path = "../../forc-util" }
forc = { version = "0.52.0", path = "../../forc" }
forc-pkg = { version = "0.52.0", path = "../../forc-pkg" }
forc-tracing = { version = "0.52.0", path = "../../forc-tracing" }
forc-tx = { version = "0.52.0", path = "../forc-tx" }
forc-util = { version = "0.52.0", path = "../../forc-util" }
forc-wallet = { workspace = true }
fuel-abi-types = { workspace = true }
fuel-core-client = { workspace = true, features = ["subscriptions"] }
Expand All @@ -33,9 +33,9 @@ rand = "0.8"
rpassword = "7.2"
serde = "1.0"
serde_json = "1"
sway-core = { version = "0.51.1", path = "../../sway-core" }
sway-types = { version = "0.51.1", path = "../../sway-types" }
sway-utils = { version = "0.51.1", path = "../../sway-utils" }
sway-core = { version = "0.52.0", path = "../../sway-core" }
sway-types = { version = "0.52.0", path = "../../sway-types" }
sway-utils = { version = "0.52.0", path = "../../sway-utils" }
tokio = { version = "1.8", features = ["macros", "rt-multi-thread", "process"] }
tracing = "0.1"

Expand Down
6 changes: 3 additions & 3 deletions forc-plugins/forc-crypto/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "forc-crypto"
version = "0.51.1"
version = "0.52.0"
description = "A `forc` plugin for handling various cryptographic operations and conversions."
authors.workspace = true
edition.workspace = true
Expand All @@ -13,8 +13,8 @@ anyhow = "1.0.75"
async-trait = "0.1.58"
atty = "0.2.14"
clap = { version = "3", features = ["derive", "env"] }
forc-tracing = { version = "0.51.1", path = "../../forc-tracing" }
forc-util = { version = "0.51.1", path = "../../forc-util" }
forc-tracing = { version = "0.52.0", path = "../../forc-tracing" }
forc-util = { version = "0.52.0", path = "../../forc-util" }
fuel-core-types = { workspace = true }
fuel-crypto = { workspace = true, features = ["random"] }
fuels-core = { workspace = true }
Expand Down
10 changes: 5 additions & 5 deletions forc-plugins/forc-debug/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "forc-debug"
version = "0.51.1"
version = "0.52.0"
description = "Supports debugging Sway code via CLI and DAP server."
authors.workspace = true
edition.workspace = true
Expand All @@ -12,17 +12,17 @@ repository.workspace = true
anyhow = "1.0" # Used by the examples and for conversion only
clap = { version = "3", features = ["env", "derive"] }
dap = "0.4.1-alpha1"
forc-pkg = { version = "0.51.1", path = "../../forc-pkg" }
forc-test = { version = "0.51.1", path = "../../forc-test" }
forc-pkg = { version = "0.52.0", path = "../../forc-pkg" }
forc-test = { version = "0.52.0", path = "../../forc-test" }
fuel-core-client = { workspace = true }
fuel-types = { workspace = true, features = ["serde"] }
fuel-vm = { workspace = true, features = ["serde"] }
rayon = "1.7.0"
serde = "1.0"
serde_json = "1.0"
shellfish = { version = "0.6.0", features = ["rustyline", "async", "tokio"] }
sway-core = { version = "0.51.1", path = "../../sway-core" }
sway-types = { version = "0.51.1", path = "../../sway-types" }
sway-core = { version = "0.52.0", path = "../../sway-core" }
sway-types = { version = "0.52.0", path = "../../sway-types" }
thiserror = "1.0"
tokio = { version = "1.8", features = [
"net",
Expand Down

0 comments on commit 98d8f4c

Please sign in to comment.