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 v0.1.13: Genoa #1016

Merged
merged 2 commits into from
Sep 16, 2022
Merged

Release v0.1.13: Genoa #1016

merged 2 commits into from
Sep 16, 2022

Conversation

seanyoung
Copy link
Contributor

@seanyoung seanyoung commented Sep 16, 2022

v0.1.13 Genoa

Changed

  • Introduce sub-commands to the CLI. Now we have dedicated sub-commands for
    compile, doc, shell-completion and the language-server, which makes
    for a cleaner CLI.
    seanyoung
  • On Solana, emitted events are encoded with Borsh encoding following the Anchor
    format.
    LucasSte
  • The ewasm target has been removed, since ewasm is not going to implemented on
    Ethereum. The target has been reused for an new EVM target, which is not complete
    yet.
    seanyoung
  • Substrate: Concrete contracts must now have at least one public function. A
    public function is in a contract, if it has public or external functions, if
    it has a receive or any fallback function or if it has public storage items
    (those will yield public getters). This aligns solang up with ink!.
    xermicus

Added

  • Solana v1.11 is now supported.
    seanyoung
  • On Solana, programs now use a custom heap implementation, just like on
    Substrate. As result, it is now possible to .push() and .pop() on
    dynamic arrays in memory.
    seanyoung
  • Arithmetic overflow tests are implemented for all integer widths,
    salaheldinsoliman
  • Add an NFT example for Solana
    LucasSte
  • Add a wrapper for the Solana System Program
    LucasSte
  • The selector for functions can be overriden with the selector=hex"abcd0123"
    syntax.
    seanyoung
  • Shell completion is available using the solang shell-completion subcommand.
    xermicus
  • Add support for the create_program_address() and try_find_program_address()
    system call on Solana
    seanyoung
  • Substrate: The print() builtin is now supported and will write to the debug
    buffer. Additionally, error messages from the require statements will now be
    written to the debug buffer as well. The Substrate contracts pallet prints the
    contents of the debug buffer to the console for RPC ("dry-run") calls in case
    the runtime::contracts=debug log level is configured.
    xermicus

Fixed

  • DocComments /** ... */ are now permitted anywhere.
    seanyoung
  • Function calls to contract functions via contract name are no longer possible,
    except for functions of base contracts.
    xermicus

Copy link
Contributor

@LucasSte LucasSte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
@xermicus
Copy link
Contributor

Thanks!

CHANGELOG.md Show resolved Hide resolved
@seanyoung seanyoung changed the title Release v0.1.13: TBD Release v0.1.13: Genoa Sep 16, 2022
Signed-off-by: Sean Young <[email protected]>
### Changed
- Introduce sub-commands to the CLI. Now we have dedicated sub-commands for
  `compile`, `doc`, `shell-completion` and the `language-server`, which makes
  for a cleaner CLI.
  [seanyoung](https://github.com/seanyoung)
- On Solana, emitted events are encoded with Borsh encoding following the Anchor
  format.
  [LucasSte](https://github.com/LucasSte)
- The ewasm target has been removed, since ewasm is not going to implemented on
  Ethereum. The target has been reused for an new EVM target, which is not complete
  yet.
  [seanyoung](https://github.com/seanyoung)
- Substrate: Concrete contracts must now have at least one public function. A
  public function is in a contract, if it has public or external functions, if
  it has a receive or any fallback function or if it has public storage items
  (those will yield public getters). This aligns solang up with `ink!`.
  [xermicus](https://github.com/xermicus)

### Added
- Solana v1.11 is now supported.
  [seanyoung](https://github.com/seanyoung)
- On Solana, programs now use a custom heap implementation, just like on
  Substrate. As result, it is now possible to `.push()` and `.pop()` on
  dynamic arrays in memory.
  [seanyoung](https://github.com/seanyoung)
- Arithmetic overflow tests are implemented for all integer widths,
  [salaheldinsoliman](https://github.com/salaheldinsoliman)
- Add an NFT example for Solana
  [LucasSte](https://github.com/LucasSte)
- Add a wrapper for the Solana System Program
  [LucasSte](https://github.com/LucasSte)
- The selector for functions can be overriden with the `selector=hex"abcd0123"`
  syntax.
  [seanyoung](https://github.com/seanyoung)
- Shell completion is available using the `solang shell-completion` subcommand.
  [xermicus](https://github.com/xermicus)
- Add support for the `create_program_address()` and `try_find_program_address()`
  system call on Solana
  [seanyoung](https://github.com/seanyoung)
- Substrate: The `print()` builtin is now supported and will write to the debug
  buffer. Additionally, error messages from the `require` statements will now be
  written to the debug buffer as well. The Substrate contracts pallet prints the
  contents of the debug buffer to the console for RPC ("dry-run") calls in case
  the `runtime::contracts=debug` log level is configured.
  [xermicus](https://github.com/xermicus)

### Fixed
- DocComments `/** ... */` are now permitted anywhere.
  [seanyoung](https://github.com/seanyoung)
- Function calls to contract functions via contract name are no longer possible,
  except for functions of base contracts.
  [xermicus](https://github.com/xermicus)

Signed-off-by: Sean Young <[email protected]>
@seanyoung seanyoung merged commit 409e42f into hyperledger:main Sep 16, 2022
@seanyoung seanyoung deleted the release branch September 16, 2022 20:19
xermicus pushed a commit to xermicus/solang that referenced this pull request Oct 7, 2022
v0.1.13 Genoa

### Changed
- Introduce sub-commands to the CLI. Now we have dedicated sub-commands for
  `compile`, `doc`, `shell-completion` and the `language-server`, which makes
  for a cleaner CLI.
  [seanyoung](https://github.com/seanyoung)
- On Solana, emitted events are encoded with Borsh encoding following the Anchor
  format.
  [LucasSte](https://github.com/LucasSte)
- The ewasm target has been removed, since ewasm is not going to implemented on
  Ethereum. The target has been reused for an new EVM target, which is not complete
  yet.
  [seanyoung](https://github.com/seanyoung)
- Substrate: Concrete contracts must now have at least one public function. A
  public function is in a contract, if it has public or external functions, if
  it has a receive or any fallback function or if it has public storage items
  (those will yield public getters). This aligns solang up with `ink!`.
  [xermicus](https://github.com/xermicus)

### Added
- Solana v1.11 is now supported.
  [seanyoung](https://github.com/seanyoung)
- On Solana, programs now use a custom heap implementation, just like on
  Substrate. As result, it is now possible to `.push()` and `.pop()` on
  dynamic arrays in memory.
  [seanyoung](https://github.com/seanyoung)
- Arithmetic overflow tests are implemented for all integer widths,
  [salaheldinsoliman](https://github.com/salaheldinsoliman)
- Add an NFT example for Solana
  [LucasSte](https://github.com/LucasSte)
- Add a wrapper for the Solana System Program
  [LucasSte](https://github.com/LucasSte)
- The selector for functions can be overriden with the `selector=hex"abcd0123"`
  syntax.
  [seanyoung](https://github.com/seanyoung)
- Shell completion is available using the `solang shell-completion` subcommand.
  [xermicus](https://github.com/xermicus)
- Add support for the `create_program_address()` and `try_find_program_address()`
  system call on Solana
  [seanyoung](https://github.com/seanyoung)
- Substrate: The `print()` builtin is now supported and will write to the debug
  buffer. Additionally, error messages from the `require` statements will now be
  written to the debug buffer as well. The Substrate contracts pallet prints the
  contents of the debug buffer to the console for RPC ("dry-run") calls in case
  the `runtime::contracts=debug` log level is configured.
  [xermicus](https://github.com/xermicus)

### Fixed
- DocComments `/** ... */` are now permitted anywhere.
  [seanyoung](https://github.com/seanyoung)
- Function calls to contract functions via contract name are no longer possible,
  except for functions of base contracts.
  [xermicus](https://github.com/xermicus)

Signed-off-by: Sean Young <[email protected]>
Signed-off-by: Cyrill Leutwiler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants