Przeglądaj źródła

Nuremberg release

## [0.1.11]

### Added
- Added support for Solidity user types
- Support `using` syntax on file scope
- Support binding functions with `using`
- Implemented parsing and semantic analysis of yul (code generation is to
  follow)
- The language server uses the `--import` and `--importmap` arguments
- On Solana, it is possible to set the accounts during CPI using the
  `accounts:` call argument.

### Fixed
- Fixed associativity of the power operator
- A huge amount of fixes improving compatibility with solc

Signed-off-by: Sean Young <sean@mess.org>
Sean Young 3 lat temu
rodzic
commit
077e9fc29e
4 zmienionych plików z 30 dodań i 14 usunięć
  1. 16 0
      CHANGELOG.md
  2. 2 2
      Cargo.toml
  3. 11 11
      docs/installing.rst
  4. 1 1
      solang-parser/Cargo.toml

+ 16 - 0
CHANGELOG.md

@@ -2,6 +2,22 @@
 All notable changes to [Solang](https://github.com/hyperledger-labs/solang/)
 All notable changes to [Solang](https://github.com/hyperledger-labs/solang/)
 will be documented here.
 will be documented here.
 
 
+## [0.1.11]
+
+### Added
+- Added support for Solidity user types
+- Support `using` syntax on file scope
+- Support binding functions with `using`
+- Implemented parsing and semantic analysis of yul (code generation is to
+  follow)
+- The language server uses the `--import` and `--importmap` arguments
+- On Solana, it is possible to set the accounts during CPI using the
+  `accounts:` call argument.
+
+### Fixed
+- Fixed associativity of the power operator
+- A huge amount of fixes improving compatibility with solc
+
 ## [0.1.10]
 ## [0.1.10]
 
 
 ### Added
 ### Added

+ 2 - 2
Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 [package]
 name = "solang"
 name = "solang"
-version = "0.1.10"
+version = "0.1.11"
 authors = ["Sean Young <sean@mess.org>"]
 authors = ["Sean Young <sean@mess.org>"]
 homepage = "https://github.com/hyperledger-labs/solang"
 homepage = "https://github.com/hyperledger-labs/solang"
 documentation = "https://solang.readthedocs.io/"
 documentation = "https://solang.readthedocs.io/"
@@ -42,7 +42,7 @@ itertools = "0.10"
 num-rational = "0.4"
 num-rational = "0.4"
 indexmap = "1.8"
 indexmap = "1.8"
 once_cell = "1.10"
 once_cell = "1.10"
-solang-parser = { path = "solang-parser", version = "0.1.12" }
+solang-parser = { path = "solang-parser", version = "0.1.13" }
 codespan-reporting = "0.11"
 codespan-reporting = "0.11"
 phf = "0.10.1"
 phf = "0.10.1"
 
 

+ 11 - 11
docs/installing.rst

@@ -8,11 +8,11 @@ Download release binaries
 
 
 There are binaries available on github releases:
 There are binaries available on github releases:
 
 
-- `Linux x86-64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/solang-linux-x86-64>`_
-- `Linux arm64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/solang-linux-arm64>`_
-- `Windows x64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/solang.exe>`_
-- `MacOS intel <https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/solang-mac-intel>`_
-- `MacOS arm <https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/solang-mac-arm>`_
+- `Linux x86-64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/solang-linux-x86-64>`_
+- `Linux arm64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/solang-linux-arm64>`_
+- `Windows x64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/solang.exe>`_
+- `MacOS intel <https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/solang-mac-intel>`_
+- `MacOS arm <https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/solang-mac-arm>`_
 
 
 On MacOS, remember to remove the quarantine attribute using ``xattr -d com.apple.quarantine solang-mac-arm``
 On MacOS, remember to remove the quarantine attribute using ``xattr -d com.apple.quarantine solang-mac-arm``
 in the terminal.
 in the terminal.
@@ -22,7 +22,7 @@ Using ghcr.io/hyperledger-labs/solang containers
 
 
 New images are automatically made available on
 New images are automatically made available on
 `solang containers <https://github.com/hyperledger-labs/solang/pkgs/container/solang>`_.
 `solang containers <https://github.com/hyperledger-labs/solang/pkgs/container/solang>`_.
-There is a release `v0.1.10` tag and a `latest` tag:
+There is a release `v0.1.11` tag and a `latest` tag:
 
 
 .. code-block:: bash
 .. code-block:: bash
 
 
@@ -64,7 +64,7 @@ These patches make it possible to generate code for Solana, and fixes some
 concurrency issues in the lld linker.
 concurrency issues in the lld linker.
 
 
 You can either download the pre-built libraries from
 You can either download the pre-built libraries from
-`github <https://github.com/hyperledger-labs/solang/releases/tag/v0.1.10>`_
+`github <https://github.com/hyperledger-labs/solang/releases/tag/v0.1.11>`_
 or build your own from source. After that, you need to add the `bin` directory to your
 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.
 path, so that the build system of Solang can find the correct version of llvm to use.
 
 
@@ -72,7 +72,7 @@ Installing LLVM on Linux
 ________________________
 ________________________
 
 
 A pre-built version of llvm, specifically configured for Solang, is available at
 A pre-built version of llvm, specifically configured for Solang, is available at
-`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/llvm13.0-linux-x86-64.tar.xz>`_.
+`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/llvm13.0-linux-x86-64.tar.xz>`_.
 After downloading, untar the file in a terminal and add it to your path.
 After downloading, untar the file in a terminal and add it to your path.
 
 
 .. code-block:: bash
 .. code-block:: bash
@@ -84,7 +84,7 @@ Installing LLVM on Windows
 __________________________
 __________________________
 
 
 A pre-built version of llvm, specifically configured for Solang, is available at
 A pre-built version of llvm, specifically configured for Solang, is available at
-`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/llvm13.0-win.zip>`_.
+`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/llvm13.0-win.zip>`_.
 
 
 After unzipping the file, add the bin directory to your path.
 After unzipping the file, add the bin directory to your path.
 
 
@@ -96,8 +96,8 @@ Installing LLVM on Mac
 ______________________
 ______________________
 
 
 A pre-built version of llvm for intel macs, is available at
 A pre-built version of llvm for intel macs, is available at
-`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/llvm13.0-mac-intel.tar.xz>`_ and for arm macs there is
-`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/llvm13.0-mac-arm.tar.xz>`_. After downloading,
+`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/llvm13.0-mac-intel.tar.xz>`_ and for arm macs there is
+`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.11/llvm13.0-mac-arm.tar.xz>`_. After downloading,
 untar the file in a terminal and add it to your path like so:
 untar the file in a terminal and add it to your path like so:
 
 
 .. code-block:: bash
 .. code-block:: bash

+ 1 - 1
solang-parser/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 [package]
 name = "solang-parser"
 name = "solang-parser"
-version = "0.1.12"
+version = "0.1.13"
 authors = ["Sean Young <sean@mess.org>"]
 authors = ["Sean Young <sean@mess.org>"]
 homepage = "https://github.com/hyperledger-labs/solang"
 homepage = "https://github.com/hyperledger-labs/solang"
 documentation = "https://solang.readthedocs.io/"
 documentation = "https://solang.readthedocs.io/"