Skip to content

Commit 5318364

Browse files
authored
v0.1.12 Cairo Release
### Added - Added spl-token integration for Solana - Solang now generates code for inline assembly, including many Yul builtins ### Changed - The documentation has been re-arranged for readability. - The solang parser can parse the same syntax as Ethereum Solidity 0.8. ### Fixed - Fixed many parser issues. Now solang-parser parses all files in the Ethereum Solidity test suite. First run `git submodule update --init --recursive` to fetch the test files, and then run the test with `cargo test --workspace`. Signed-off-by: Sean Young <sean@mess.org>
1 parent 805e4ba commit 5318364

File tree

5 files changed

+30
-26
lines changed

5 files changed

+30
-26
lines changed

CHANGELOG.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
All notable changes to [Solang](https://github.com/hyperledger-labs/solang/)
33
will be documented here.
44

5-
## [Unreleased]
5+
## v0.1.12 Cario
66

77
### Added
88
- Added spl-token integration for Solana
@@ -18,7 +18,7 @@ will be documented here.
1818
`git submodule update --init --recursive` to fetch the test files, and
1919
then run the test with `cargo test --workspace`.
2020

21-
## [0.1.11]
21+
## v0.1.11 Nuremberg
2222

2323
### Added
2424
- Added support for Solidity user types
@@ -34,7 +34,7 @@ will be documented here.
3434
- Fixed associativity of the power operator
3535
- A huge amount of fixes improving compatibility with solc
3636

37-
## [0.1.10]
37+
## v0.1.10 Barcelona
3838

3939
### Added
4040
- On Solana, the accounts that were passed into the transactions are listed in
@@ -50,7 +50,7 @@ will be documented here.
5050
- The ast datastructure has been simplified.
5151
- Many bugfixes across the entire tree.
5252

53-
## [0.1.9]
53+
## v0.1.9
5454

5555
### Added
5656
- Added support for solc import mapppings using `--importmap`
@@ -77,7 +77,7 @@ will be documented here.
7777
- The Sawtooth Sabre target has been removed.
7878
- The generic target has been removed.
7979

80-
## [0.1.8]
80+
## v0.1.8
8181

8282
### Added
8383
- Added a strength reduce pass to eliminate 256/128 bit multiply, division,
@@ -111,7 +111,7 @@ will be documented here.
111111
- Fixed array support in the ethereum abi encoder and decoder
112112
- Fixed issues in arithmetic on non-power-of-2 types (e.g. uint112)
113113

114-
## [0.1.7]
114+
## v0.1.7
115115

116116
### Added
117117
- Added a constant folding optimization pass to improve codegen. When variables fold
@@ -133,7 +133,7 @@ will be documented here.
133133
- Ewasm uses precompiles for keccak hashing
134134
- Various ewasm fixes for Hyperledger Burrow
135135

136-
## [0.1.6]
136+
## v0.1.6
137137

138138
### Added
139139
- New Visual Studio Code extension developed under Hyperledger Mentorship
@@ -144,7 +144,7 @@ will be documented here.
144144
- Constants can be declared outside of contracts
145145
- String formatting using python style "..{}..".format(n)
146146

147-
## [0.1.5]
147+
## v0.1.5
148148

149149
### Added
150150
- Function types are implemented
@@ -154,7 +154,7 @@ will be documented here.
154154
### Changed
155155
- The Substrate target requires Substrate 2.0
156156

157-
## [0.1.4]
157+
## v0.1.4
158158

159159
### Added
160160
- `event` can be declared and emitted with `emit`
@@ -163,7 +163,7 @@ will be documented here.
163163
- All major Solidity language features implemented, see our language status page:
164164
https://solang.readthedocs.io/en/latest/status.html
165165

166-
## [0.1.3]
166+
## v0.1.3
167167

168168
### Added
169169
- `import` directives are supported

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "solang"
3-
version = "0.1.11"
3+
version = "0.1.12"
44
authors = ["Sean Young <sean@mess.org>"]
55
homepage = "https://github.com/hyperledger-labs/solang"
66
documentation = "https://solang.readthedocs.io/"
@@ -42,7 +42,7 @@ itertools = "0.10"
4242
num-rational = "0.4"
4343
indexmap = "1.8"
4444
once_cell = "1.10"
45-
solang-parser = { path = "solang-parser", version = "0.1.13" }
45+
solang-parser = { path = "solang-parser", version = "0.1.14" }
4646
codespan-reporting = "0.11"
4747
phf = "0.10.1"
4848
rust-lapper = "1.0"

RELEASE_CHECKLIST.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# Release Checklist
22

33
- Update the version in `Cargo.toml`, `solang-parser/Cargo.toml`, the binary
4-
links in `docs/installing.rst`, and `CHANGELOG.md`
5-
- Copy the contents of the CHANGELOG for this release into commit message
4+
links in `docs/installing.rst`, and `CHANGELOG.md`. Remember to match the
5+
solang-parser version in the top level `Cargo.toml`.
6+
- Copy the contents of the CHANGELOG for this release into commit message,
7+
using `git commit -s --cleanup=whitespace` so the that the lines beginning
8+
with `#` are not removed.
69
- Ensure the cargo publish is happy `cargo publish --dry-run`
710
- Try the release github actions by pushing a tag to your solang fork
11+
- Ensure the release text uses the markdown formatting
812
- If build succeeds, merge the release commits
913
- Apply tag to merged commit on main branch
1014
- Push tag to origin

docs/installing.rst

+11-11
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Download release binaries
88

99
There are binaries available on github releases:
1010

11-
- `Linux x86-64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/solang-linux-x86-64>`_
12-
- `Linux arm64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/solang-linux-arm64>`_
13-
- `Windows x64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/solang.exe>`_
14-
- `MacOS intel <https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/solang-mac-intel>`_
15-
- `MacOS arm <https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/solang-mac-arm>`_
11+
- `Linux x86-64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.12/solang-linux-x86-64>`_
12+
- `Linux arm64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.12/solang-linux-arm64>`_
13+
- `Windows x64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.12/solang.exe>`_
14+
- `MacOS intel <https://github.com/hyperledger-labs/solang/releases/download/v0.1.12/solang-mac-intel>`_
15+
- `MacOS arm <https://github.com/hyperledger-labs/solang/releases/download/v0.1.12/solang-mac-arm>`_
1616

1717
On MacOS, remember to remove the quarantine attribute using ``xattr -d com.apple.quarantine solang-mac-arm``
1818
in the terminal.
@@ -22,7 +22,7 @@ Using ghcr.io/hyperledger-labs/solang containers
2222

2323
New images are automatically made available on
2424
`solang containers <https://github.com/hyperledger-labs/solang/pkgs/container/solang>`_.
25-
There is a release `v0.1.11` tag and a `latest` tag:
25+
There is a release `v0.1.12` tag and a `latest` tag:
2626

2727
.. code-block:: bash
2828
@@ -64,15 +64,15 @@ These patches make it possible to generate code for Solana, and fixes some
6464
concurrency issues in the lld linker.
6565

6666
You can either download the pre-built libraries from
67-
`github <https://github.com/hyperledger-labs/solang/releases/tag/v0.1.11>`_
67+
`github <https://github.com/hyperledger-labs/solang/releases/tag/v0.1.12>`_
6868
or build your own from source. After that, you need to add the `bin` directory to your
6969
path, so that the build system of Solang can find the correct version of llvm to use.
7070

7171
Installing LLVM on Linux
7272
________________________
7373

7474
A pre-built version of llvm, specifically configured for Solang, is available at
75-
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/llvm13.0-linux-x86-64.tar.xz>`_.
75+
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.12/llvm13.0-linux-x86-64.tar.xz>`_.
7676
After downloading, untar the file in a terminal and add it to your path.
7777

7878
.. code-block:: bash
@@ -84,7 +84,7 @@ Installing LLVM on Windows
8484
__________________________
8585

8686
A pre-built version of llvm, specifically configured for Solang, is available at
87-
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/llvm13.0-win.zip>`_.
87+
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.12/llvm13.0-win.zip>`_.
8888

8989
After unzipping the file, add the bin directory to your path.
9090

@@ -96,8 +96,8 @@ Installing LLVM on Mac
9696
______________________
9797

9898
A pre-built version of llvm for intel macs, is available at
99-
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/llvm13.0-mac-intel.tar.xz>`_ and for arm macs there is
100-
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/llvm13.0-mac-arm.tar.xz>`_. After downloading,
99+
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.12/llvm13.0-mac-intel.tar.xz>`_ and for arm macs there is
100+
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.12/llvm13.0-mac-arm.tar.xz>`_. After downloading,
101101
untar the file in a terminal and add it to your path like so:
102102

103103
.. code-block:: bash

solang-parser/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "solang-parser"
3-
version = "0.1.13"
3+
version = "0.1.14"
44
authors = ["Sean Young <sean@mess.org>"]
55
homepage = "https://github.com/hyperledger-labs/solang"
66
documentation = "https://solang.readthedocs.io/"

0 commit comments

Comments
 (0)