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

chore: release #235

Merged
merged 1 commit into from
Nov 13, 2023
Merged
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
chore: release
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
commit 4afd52b7510dafb4c00842d908452170daf63b31
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
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
@@ -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
@@ -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

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.

Loading