Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,35 @@ will be documented here.

## Unreleased

## v0.4.0 Thebes

### Added
- **Soroban** Support for structs in contract storage. [Islam-Imad](https://github.com/Islam-Imad)
- **Soroban** ABI encode/decode for structs via a named-field `MAP` object. [Islam-Imad](https://github.com/Islam-Imad)
- **Soroban** Support for arrays in contract storage. [Islam-Imad](https://github.com/Islam-Imad)
- **Soroban** ABI encode/decode for dynamic memory arrays. [Islam-Imad](https://github.com/Islam-Imad)
- **Soroban** Encoder/decoder for static (fixed-length) arrays. [Islam-Imad](https://github.com/Islam-Imad)
- **Soroban** Support for the `mapping` storage type. [Islam-Imad](https://github.com/Islam-Imad)
- **Soroban** Encode/decode `(u)int256` as a small object. [Islam-Imad](https://github.com/Islam-Imad)
- **Soroban** Support for the `block.number` builtin. [slash-aech](https://github.com/slash-aech)
- **Soroban** Support for the `keccak256` builtin. [slash-aech](https://github.com/slash-aech)
- **Soroban** Support for the `sha256` builtin. [Ahmed0427](https://github.com/Ahmed0427)
- **Soroban** Ported 14 Stellar example contracts: `hello_world`, `pause`,
`increment_with_pause`, `custom_types`, `other_custom_types`, `events`,
`single_offer`, `atomic_multiswap`, `upgradeable_contract`, `merkle_distribution`,
`eth_abi`, `mint_lock`, `deployer` and `groth16_verifier`. [Islam-Imad](https://github.com/Islam-Imad)

### Changed
- **Soroban** Lower `extendTtl` and `extendInstanceTtl` in codegen instead of on the emit path. [Ahmad-Faraj](https://github.com/Ahmad-Faraj)
- **Soroban** Lower the ledger timestamp in codegen instead of on the emit path. [slash-aech](https://github.com/slash-aech)
- **Soroban** Updated the Soroban support matrix. [Islam-Imad](https://github.com/Islam-Imad)

### Fixed
- **Soroban** Fixed local-arrays-of-struct handling and improved test coverage. [Islam-Imad](https://github.com/Islam-Imad)
- **Soroban** Allocate arrays using their element size. [salaheldinsoliman](https://github.com/salaheldinsoliman)
- **Soroban** Fixed `i64` ABI encode/decode. [Islam-Imad](https://github.com/Islam-Imad)
- **Soroban** Fixed `i128`/`u128` encoding high-bit truncation and the signed small-form. [Ahmed0427](https://github.com/Ahmed0427)

## v0.3.5 Luxor

### Added
Expand Down
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "solang"
version = "0.3.5"
version = "0.4.0"
authors = ["Sean Young <sean@mess.org>", "Lucas Steuernagel <lucas.tnagel@gmail.com>", "Cyrill Leutwiler <bigcyrill@hotmail.com>"]
repository = "https://github.com/hyperledger-solang/solang"
documentation = "https://solang.readthedocs.io/"
Expand Down Expand Up @@ -46,7 +46,7 @@ itertools = ">=0.10, <=0.13"
num-rational = "0.4"
indexmap = "2.2"
once_cell = "1.19"
solang-parser = { path = "solang-parser", version = "0.3.5" }
solang-parser = { path = "solang-parser", version = "0.4.0" }
codespan-reporting = "0.11"
phf = { version = "0.11", features = ["macros"] }
rust-lapper = { version = "1.1", optional = true }
Expand Down
12 changes: 6 additions & 6 deletions docs/installing.rst
Original file line number Diff line number Diff line change
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/solang/releases/download/v0.3.5/solang-linux-x86-64>`_
- `Linux arm64 <https://github.com/hyperledger-solang/solang/releases/download/v0.3.5/solang-linux-arm64>`_
- `Windows x64 <https://github.com/hyperledger-solang/solang/releases/download/v0.3.5/solang.exe>`_
- `MacOS intel <https://github.com/hyperledger-solang/solang/releases/download/v0.3.5/solang-mac-intel>`_
- `MacOS arm <https://github.com/hyperledger-solang/solang/releases/download/v0.3.5/solang-mac-arm>`_
- `Linux x86-64 <https://github.com/hyperledger-solang/solang/releases/download/v0.4.0/solang-linux-x86-64>`_
- `Linux arm64 <https://github.com/hyperledger-solang/solang/releases/download/v0.4.0/solang-linux-arm64>`_
- `Windows x64 <https://github.com/hyperledger-solang/solang/releases/download/v0.4.0/solang.exe>`_
- `MacOS intel <https://github.com/hyperledger-solang/solang/releases/download/v0.4.0/solang-mac-intel>`_
- `MacOS arm <https://github.com/hyperledger-solang/solang/releases/download/v0.4.0/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/solang/pkgs/container/solang>`_.
There is a release `v0.3.5` tag and a `latest` tag:
There is a release `v0.4.0` tag and a `latest` tag:

.. code-block:: bash

Expand Down
2 changes: 1 addition & 1 deletion fmt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = "Solang's fork of forge-fmt"
[dependencies]
ariadne = "0.4"
itertools = "0.12"
solang-parser = { path = "../solang-parser", version = "0.3.5" }
solang-parser = { path = "../solang-parser", version = "0.4.0" }
thiserror = "1"
serde = {version = "1.0", features = ["derive"]}
tracing = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion solang-parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "solang-parser"
version = "0.3.5"
version = "0.4.0"
authors = ["Sean Young <sean@mess.org>", "Lucas Steuernagel <lucas.tnagel@gmail.com>", "Cyrill Leutwiler <bigcyrill@hotmail.com>"]
repository = "https://github.com/hyperledger-solang/solang"
documentation = "https://solang.readthedocs.io/"
Expand Down
Loading