Skip to content

Commit

Permalink
Merge pull request #89 from loopholelabs/staging
Browse files Browse the repository at this point in the history
Release v0.3.15
  • Loading branch information
ShivanshVij authored Mar 19, 2023
2 parents 5dd896e + 55f9c55 commit 626c8d7
Show file tree
Hide file tree
Showing 55 changed files with 2,001 additions and 382 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [v0.3.15] - 2023-03-19

### Dependencies

- Bumping `scale-signature-http` to `v0.3.8`

## [v0.3.14] - 2023-03-12

### Fixes
Expand Down Expand Up @@ -198,7 +204,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

- Initial release of the Scale Runtime library.

[unreleased]: https://github.com/loopholelabs/scale/compare/v0.3.14...HEAD
[unreleased]: https://github.com/loopholelabs/scale/compare/v0.3.15...HEAD
[v0.3.15]: https://github.com/loopholelabs/scale/compare/v0.3.15
[v0.3.14]: https://github.com/loopholelabs/scale/compare/v0.3.14
[v0.3.13]: https://github.com/loopholelabs/scale/compare/v0.3.13
[v0.3.12]: https://github.com/loopholelabs/scale/compare/v0.3.12
Expand Down
33 changes: 33 additions & 0 deletions docs/_snippets/install-golang-toolchain.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
### Installing the Golang Toolchain

To use [Golang](https://go.dev) as the Guest Language, you'll need to install the following:
- The [Go](https://go.dev/doc/install) toolchain
- The [TinyGo](https://tinygo.org/getting-started/) compiler

The best way to install [Go](https://go.dev/doc/install) is to follow the official instructions for your
operating system and platform at [https://go.dev/doc/install](https://go.dev/doc/install).

You can verify that Go was installed correctly by running the following command:

```bash
go version
```

<Info>
The minimum supported version of Go for use with Scale Functions is `1.18`.
</Info>


The best way to install [TinyGo](https://tinygo.org/getting-started/) is to follow the official
instructions for your operating system and platform at
[https://tinygo.org/getting-started/install/](https://tinygo.org/getting-started/install).

You can verify that TinyGo was installed correctly by running the following command:

```bash
tinygo version
```

<Info>
The minimum supported version of TinyGo for use with Scale Functions is `0.27.0`.
</Info>
50 changes: 50 additions & 0 deletions docs/_snippets/install-rust-toolchain.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
### Installing the Rust Toolchain

To use [Rust](https://www.rust-lang.org) as the Guest Language, you'll need to install the following:
- The [Rust](https://www.rust-lang.org/tools/install) toolchain
- The [Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) package manager
- The [wasm32-unknown-unknown](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies) build target

The best way to install [Rust](https://www.rust-lang.org/tools/install) is to follow the official instructions for
your operating system and platform at [https://www.rust-lang.org/tools/install](https://www.rust-lang.org/tools/install).

In general, you'll want to install the `rustup` tool, which will allow you to easily install and manage multiple
versions of Rust on your machine. This can be done by running the following command:

```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```

You can verify that Rust was installed correctly by running the following command:

```bash
rustc --version
```

<Info>
The minimum supported version of Rust for use with Scale Functions is `1.67.0`.
</Info>

You can verify that Cargo was installed correctly by running the following command:

```bash
cargo --version
```

<Info>
The minimum supported version of Cargo for use with Scale Functions is `1.67.0`.
</Info>

Next, you'll need to install the `wasm32-unknown-unknown` build target. This can be done by running the following
command:

```bash
rustup target add wasm32-unknown-unknown
```

You can verify that the build target was installed correctly by running the following command and verifying that
`wasm32-unknown-unknown` is listed in the output:

```bash
rustup target list --installed
```
21 changes: 21 additions & 0 deletions docs/_snippets/install-scale-cli.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Install the Scale CLI

The Scale CLI is the primary tool for interacting with Scale Functions and the Scale Registry. It can be easily installed using the following command:

```bash
curl -fsSL https://dl.scale.sh | sh
```

<Info>
The CLI attempts to install itself to `/usr/local/bin` by default, but you can also specify a different directory by setting the `INSTALL` environment variable like so:

```bash
curl -fsSL https://dl.scale.sh | INSTALL=./ sh
```
</Info>

To verify that the CLI was installed correctly, you can run the following command:

```bash
scale version
```
3 changes: 0 additions & 3 deletions docs/adapters/golang/fasthttp.mdx

This file was deleted.

4 changes: 0 additions & 4 deletions docs/adapters/golang/net-http.mdx

This file was deleted.

3 changes: 0 additions & 3 deletions docs/adapters/javascript-typescript/expressjs.mdx

This file was deleted.

3 changes: 0 additions & 3 deletions docs/adapters/nextjs.mdx

This file was deleted.

Loading

0 comments on commit 626c8d7

Please sign in to comment.