From 7fe9b508875d042da39cb0ad31785456ffa71945 Mon Sep 17 00:00:00 2001 From: Sean Young Date: Tue, 1 Mar 2022 14:49:47 +0000 Subject: [PATCH] Barcelona Release Added - On Solana, the accounts that were passed into the transactions are listed in the `tx.accounts` builtin. There is also a builtin struct `AccountInfo` - A new common subexpression elimination pass was added, thanks to [LucasSte](https://github.com/hyperledger-labs/solang/pull/550) - A graphviz dot file can be generated from the ast, using `--emit ast-dot` - Many improvements to the solidity parser, and the parser has been spun out in it's own create `solang-parser`. Changed - Solang now uses LLVM 13.0, based on the [Solana LLVM tree](https://github.com/solana-labs/llvm-project/) - The ast datastructure has been simplified. - Many bugfixes across the entire tree. Signed-off-by: Sean Young --- CHANGELOG.md | 5 ++++- Cargo.toml | 2 +- RELEASE_CHECKLIST.md | 3 ++- docs/installing.rst | 32 ++++++++++++++------------------ solang-parser/Cargo.toml | 2 +- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55df72a9b..c8ca2c4bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to [Solang](https://github.com/hyperledger-labs/solang/) will be documented here. -## [Unreleased] +## [0.1.10] ### Added - On Solana, the accounts that were passed into the transactions are listed in @@ -10,10 +10,13 @@ will be documented here. - A new common subexpression elimination pass was added, thanks to [LucasSte](https://github.com/hyperledger-labs/solang/pull/550) - A graphviz dot file can be generated from the ast, using `--emit ast-dot` +- Many improvements to the solidity parser, and the parser has been spun out + in it's own create `solang-parser`. ### Changed - Solang now uses LLVM 13.0, based on the [Solana LLVM tree](https://github.com/solana-labs/llvm-project/) - The ast datastructure has been simplified. +- Many bugfixes across the entire tree. ## [0.1.9] diff --git a/Cargo.toml b/Cargo.toml index accfcca96..36834b331 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "solang" -version = "0.1.9" +version = "0.1.10" authors = ["Sean Young "] homepage = "https://github.com/hyperledger-labs/solang" documentation = "https://solang.readthedocs.io/" diff --git a/RELEASE_CHECKLIST.md b/RELEASE_CHECKLIST.md index 911c65602..4b55fe53d 100644 --- a/RELEASE_CHECKLIST.md +++ b/RELEASE_CHECKLIST.md @@ -1,6 +1,7 @@ # Release Checklist -- Update the version in `Cargo.toml`, the binary links in `docs/installing.rst`, and `CHANGELOG.md` +- Update the version in `Cargo.toml`, `solang-parser/Cargo.toml`, the binary + links in `docs/installing.rst`, and `CHANGELOG.md` - Copy the contents of the CHANGELOG for this release into commit message - Ensure the cargo publish is happy `cargo publish --dry-run` - Try the release github actions by pushing a tag to your solang fork diff --git a/docs/installing.rst b/docs/installing.rst index 6a4c22aad..4fd925a3c 100644 --- a/docs/installing.rst +++ b/docs/installing.rst @@ -6,27 +6,23 @@ The Solang compiler is a single binary. It can be installed in different ways. Download release binaries ------------------------- -For Linux x86-64, there is a binary available in the github releases: +There are binaries available on github releases: -``_ +- `Linux x86-64 `_ +- `Linux arm64 `_ +- `Windows x64 `_ +- `MacOS intel `_ +- `MacOS arm `_ -For Windows x64, there is a binary available: - -``_ - -For MacOS, there is an arm and intel binary available. -Remember to remove the quarantine attribute using ``xattr -d com.apple.quarantine solang-mac-arm`` in the terminal. - -``_ - -``_ +On MacOS, remember to remove the quarantine attribute using ``xattr -d com.apple.quarantine solang-mac-arm`` +in the terminal. Using ghcr.io/hyperledger-labs/solang containers ------------------------------------------------ New images are automatically made available on `solang containers `_. -There is a release `v0.1.9` tag and a `latest` tag: +There is a release `v0.1.10` tag and a `latest` tag: .. code-block:: bash @@ -68,7 +64,7 @@ These patches make it possible to generate code for Solana, and fixes some concurrency issues in the lld linker. You can either download the pre-built libraries from -`github `_ +`github `_ or build your own from source. After that, you need to add the `bin` directory to your path, so that the build system of Solang can find the correct version of llvm to use. @@ -76,7 +72,7 @@ Installing LLVM on Linux ________________________ A pre-built version of llvm, specifically configured for Solang, is available at -``_. +``_. After downloading, untar the file in a terminal and add it to your path. .. code-block:: bash @@ -88,7 +84,7 @@ Installing LLVM on Windows __________________________ A pre-built version of llvm, specifically configured for Solang, is available at -``_. +``_. After unzipping the file, add the bin directory to your path. @@ -100,8 +96,8 @@ Installing LLVM on Mac ______________________ A pre-built version of llvm for intel macs, is available at -``_ and for arm macs there is -``_. After downloading, +``_ and for arm macs there is +``_. After downloading, untar the file in a terminal and add it to your path like so: .. code-block:: bash diff --git a/solang-parser/Cargo.toml b/solang-parser/Cargo.toml index 7fdfd37a9..db930149c 100644 --- a/solang-parser/Cargo.toml +++ b/solang-parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "solang-parser" -version = "0.1.2" +version = "0.1.10" authors = ["Sean Young "] homepage = "https://github.com/hyperledger-labs/solang" documentation = "https://solang.readthedocs.io/"