Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.3.4 Athens #1639

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
31 changes: 30 additions & 1 deletion CHANGELOG.md
Expand Up @@ -4,15 +4,44 @@ will be documented here.

## Unreleased

## v0.3.4 Athens

### Added
- **Experimental**: Three address code format IR for the CFG has been implemented (disabled by default).
[fanyi-zhao](https://github.com/fanyi-zhao).
- **Soroban** Work on adding support for [Stellar's Soroban](https://soroban.stellar.org/docs) contracts platforms started, by adding a skeleton that supports the Soroban runtime. [Salaheldin Soliman](https://github.com/salaheldinsoliman)

- The `string.concat()` and `bytes.concat()` builtin functions are supported. [seanyoung](https://github.com/seanyoung)
- **Polkadot**: Compatibility with ink! v5.0 metadata and substrate-contracts-node v0.39.0
- Implement event selectors [seanyoung](https://github.com/seanyoung)
- Add a feature flag for compiling language server [xermicus](https://github.com/xermicus)
- Parsing the pragma solidity version numbers making this information available in the downstream
xermicus marked this conversation as resolved.
Show resolved Hide resolved
compilation pipeline [seanyoung](https://github.com/seanyoung)

### Changed
- **Polkadot/BREAKING**: Event encoding and topics follow [ink! v5.0](https://use.ink/faq/migrating-from-ink-4-to-5#events-20-1)
- **BREAKING** The non-standard extension of concatenating strings using the `+` operator
has been removed, use `string.concat()` instead. [seanyoung](https://github.com/seanyoung)
- Removed the `--no-log-api-return-codes` compile flag as this is now done by the runtime [xermicus](https://github.com/xermicus)
- **Solana/BREAKING**: Remove balance, transfer, and send builtins from Solana [LucasSte](https://github.com/LucasSte)
- No longer support numbers in octal notation [seanyoung](https://github.com/seanyoung)
- Moved to LLVM version 16 [seanyoung](https://github.com/seanyoung)
- Improve overloaded function call diagnostics: From Solidity 0.6 onwards, overloaded functions or events
resolving to multiple candidates are an error. In earlier versions, the first result is used.
[seanyoung](https://github.com/seanyoung)
- **Polkadot**: Implement the caller_is_root runtime API as a builtin [xermicus](https://github.com/xermicus)

### Fixed
- Unreachable code, function types with parameter/return names and unknown assembly flags are warnings
instead of errors, matching with solc. [xermicus](https://github.com/xermicus)
- Fixed a bunch of typos in the documentation [divdeploy](https://github.com/divdeploy)
- Clean up the LLD linker context after linking each contract, preventing potential issues when compiling
multiple contracts at once. [xermicus](https://github.com/xermicus)
- Expression statement should be followed by a semicolon, fixing a bug where "_;" was incorrectly parsed
as a variable. [seanyoung](https://github.com/seanyoung)
- Represent type(T) correctly in the AST, fixing various related issues [seanyoung](https://github.com/seanyoung)
- Fix a bug in abi.encodeCall() argument parsing when there is only a single argument [seanyoung](https://github.com/seanyoung)
- Fixed a codegen bug when the RHS of a shift expression is a struct member [PaddyClark0](https://github.com/PaddyClark0)


## v0.3.3 Atlantis

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "solang"
version = "0.3.3"
version = "0.3.4"
authors = ["Sean Young <sean@mess.org>", "Lucas Steuernagel <lucas.tnagel@gmail.com>", "Cyrill Leutwiler <bigcyrill@hotmail.com>"]
homepage = "https://github.com/hyperledger/solang"
documentation = "https://solang.readthedocs.io/"
Expand Down Expand Up @@ -46,7 +46,7 @@ itertools = "0.12"
num-rational = "0.4"
indexmap = "2.2"
once_cell = "1.19"
solang-parser = { path = "solang-parser", version = "0.3.3" }
solang-parser = { path = "solang-parser", version = "0.3.4" }
codespan-reporting = "0.11"
phf = { version = "0.11", features = ["macros"] }
rust-lapper = { version = "1.1", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions docs/extension.rst
Expand Up @@ -75,8 +75,8 @@ Once you have node and npm installed, you can build the extension like so:
npm install -g vsce
vsce package

You should now have an extension file called ``solang-0.3.3.vsix`` which can be
installed using ``code --install-extension solang-0.3.3.vsix``.
You should now have an extension file called ``solang-0.3.4.vsix`` which can be
installed using ``code --install-extension solang-0.3.4.vsix``.

Alternatively, the extension is run from vscode itself.

Expand Down
12 changes: 6 additions & 6 deletions docs/installing.rst
Expand Up @@ -28,11 +28,11 @@ Option 2: Download binaries

There are binaries available on github releases:

- `Linux x86-64 <https://github.com/hyperledger/solang/releases/download/v0.3.3/solang-linux-x86-64>`_
- `Linux arm64 <https://github.com/hyperledger/solang/releases/download/v0.3.3/solang-linux-arm64>`_
- `Windows x64 <https://github.com/hyperledger/solang/releases/download/v0.3.3/solang.exe>`_
- `MacOS intel <https://github.com/hyperledger/solang/releases/download/v0.3.3/solang-mac-intel>`_
- `MacOS arm <https://github.com/hyperledger/solang/releases/download/v0.3.3/solang-mac-arm>`_
- `Linux x86-64 <https://github.com/hyperledger/solang/releases/download/v0.3.4/solang-linux-x86-64>`_
- `Linux arm64 <https://github.com/hyperledger/solang/releases/download/v0.3.4/solang-linux-arm64>`_
- `Windows x64 <https://github.com/hyperledger/solang/releases/download/v0.3.4/solang.exe>`_
- `MacOS intel <https://github.com/hyperledger/solang/releases/download/v0.3.4/solang-mac-intel>`_
- `MacOS arm <https://github.com/hyperledger/solang/releases/download/v0.3.4/solang-mac-arm>`_

Download the file and save it somewhere in your ``$PATH``, for example the bin directory in your home directory. If the
path you use is not already in ``$PATH``, then you need to add it yourself.
Expand All @@ -56,7 +56,7 @@ Option 3: Use ghcr.io/hyperledger/solang containers

New images are automatically made available on
`solang containers <https://github.com/hyperledger/solang/pkgs/container/solang>`_.
There is a release `v0.3.3` tag and a `latest` tag:
There is a release `v0.3.4` tag and a `latest` tag:

.. code-block:: bash

Expand Down
2 changes: 1 addition & 1 deletion solang-parser/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "solang-parser"
version = "0.3.3"
version = "0.3.4"
authors = ["Sean Young <sean@mess.org>", "Lucas Steuernagel <lucas.tnagel@gmail.com>", "Cyrill Leutwiler <bigcyrill@hotmail.com>"]
homepage = "https://github.com/hyperledger/solang"
documentation = "https://solang.readthedocs.io/"
Expand Down
11 changes: 11 additions & 0 deletions vscode/CHANGELOG.md
Expand Up @@ -2,6 +2,17 @@

All notable changes to the "solang" extension will be documented in this file.

## [0.3.4]
- Language server code completion is fully implemented. [chioni16](https://github.com/chioni16)
- Fixed a bug in the renaming functionality. [chioni16](https://github.com/chioni16)
- Fixed common panics. [seanyoung](https://github.com/seanyoung)
- Improve overloaded function call diagnostics: From Solidity 0.6 onwards,
when an overloaded function/event resolves to multiple candidates, this is an error.
In earlier versions, the first result is used.
So, use the pragma solidity version to decide whether to error or not.
[seanyoung](https://github.com/seanyoung)
- Updated dependencies.

## [0.3.3]

- The same version of solang should be used by the language server as on the command line,
Expand Down
4 changes: 2 additions & 2 deletions vscode/package.json
Expand Up @@ -9,7 +9,7 @@
"Govardhan G D <chioni1620@gmail.com>",
"Sean Young <sean@mess.org>"
],
"version": "0.3.3",
"version": "0.3.4",
"repository": "github.com/hyperledger/solang",
"engines": {
"vscode": "^1.43.0"
Expand Down Expand Up @@ -124,4 +124,4 @@
"publisherId": "6c1a8c6d-5493-4493-81d2-e899244f0def",
"isPreReleaseVersion": false
}
}
}