Skip to content

Commit

Permalink
chore: release
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored and jawoznia committed Nov 13, 2023
1 parent cc11f29 commit 4afd52b
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 7 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.9.0](https://github.com/CosmWasm/sylvia/compare/sylvia-derive-v0.8.1...sylvia-derive-v0.9.0) - 2023-11-13

### Added
- Support generic types in entry points
- Impl ContractApi extension trait
- Wrap contract types in `sv` module
- Wrap impl types in `sv` module
- Hide generated interface types in `sv` module
- Move `messages` method out of EnumMsg
- Support generics on every message type
- Support generic contract for simple contract
- Support generic contract for simple contract
- Support generics on `messages` attribute in main `contract` macro
- Support generic interface implemented on contract
- Emit InterfaceTypes
- Check interfaces return type for used generics
- Add support for generics in interface

### Fixed
- [**breaking**] Expect `,` in `:custom(msg, query)`

## [0.8.1](https://github.com/CosmWasm/sylvia/compare/sylvia-derive-v0.8.0...sylvia-derive-v0.8.1) - 2023-09-18

### Added
Expand Down
4 changes: 2 additions & 2 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
Expand Up @@ -4,7 +4,7 @@ exclude = ["examples/*"]
resolver = "2"

[workspace.package]
version = "0.8.1"
version = "0.9.0"

[workspace.dependencies]
sylvia-derive = { version = "0.8.1", path = "sylvia-derive" }
sylvia-derive = { version = "0.9.0", path = "sylvia-derive" }
13 changes: 12 additions & 1 deletion MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,18 @@

This guide explains what is needed to upgrade contracts when migrating over major releases of `sylvia`. Note that you can also view the [complete CHANGELOG](https://github.com/CosmWasm/sylvia/blob/main/CHANGELOG.md) to understand the differences.

## 0.5.0 -> Unreleased
## 0.8.1 -> 0.9.0

### `sv` module

Sylvia from now on will generate all the code in the `sv` module. This means that you will need to update your imports to use the new module.

### Implementing non-custom interface on custom contract

In Sylvia `0.8.x` there was missing check for the `,` in `#[messages(cw1 as Cw1: custom(msg query))]`.
Since `0.9.0` Sylvia expects user to split `msg` and `query` with `,` as such `#[messages(cw1 as Cw1: custom(msg, query))]`.

## 0.5.0 -> 0.6.0

### Context distinction

Expand Down
4 changes: 2 additions & 2 deletions examples/Cargo.lock

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

0 comments on commit 4afd52b

Please sign in to comment.