Skip to content

Commit

Permalink
Prepare 3.0.0 release (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
arendjr authored Apr 28, 2023
1 parent 4671a0c commit 4e95816
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 32 deletions.
45 changes: 17 additions & 28 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,27 @@ The format of this file 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).

## [3.0.0-beta.2] - Unreleased
## [3.0.0] - 2023-04-28

### Added

- Add `description`, `readme` and `license` fields to `RustPluginConfig`.
- Added support for `serde_json::Map`
(https://github.com/fiberplane/fp-bindgen/pull/163).
- Added support for specifying custom Cargo registries with `CargoDependency`.
- Added helpers for building `CargoDependency` with a git repository.
- Added `description`, `readme` and `license` fields to `RustPluginConfig`.

### Changed

- Added MIT as an option to the project licensing.
- Replaced the `rust_plugin_module` and `rust_wasmer_runtime_module` annotations
with a single `rust_module` annotation.
- Struct fields annotated with `skip_serializing_if` are treated as optional by
the TypeScript binding generator.
- Struct fields generated by `fp-bindgen` will not automatically add any Serde
annotations that were not there in the original protocol definition.
- `CargoDependency` is now marked as non-exhaustive to prevent future breaking
changes.
- `RustPluginConfig` now needs to be initialized using
`RustPluginConfig::builder()`. Struct initialization syntax will not work
anymore.
Expand All @@ -33,37 +46,13 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### Fixed

- Made sure `cargo check` doesn't complain about unused imports in the generated
plugin bindings.
- Added workaround for imported functions with float arguments for wasmer2 in
example, see [#180](https://github.com/fiberplane/fp-bindgen/issues/180).
- Fixed async functions returning primitive values, including void async
functions, see [#178](https://github.com/fiberplane/fp-bindgen/issues/178).

## [3.0.0-beta.1] - 2023-02-14

### Added

- Add support for `serde_json::Map`
(https://github.com/fiberplane/fp-bindgen/pull/163).
- Added support for specifying custom Cargo registries with `CargoDependency`.
- Added helpers for building `CargoDependency` with a git repository.

### Changed

- Added MIT as an option to the project licensing.
- Replaced the `rust_plugin_module` and `rust_wasmer_runtime_module` annotations
with a single `rust_module` annotation.
- Struct fields annotated with `skip_serializing_if` are treated as optional by
the TypeScript binding generator.
- Struct fields generated by `fp-bindgen` will not automatically add any Serde
annotations that were not there in the original protocol definition.
- `CargoDependency` is now marked as non-exhaustive to prevent future breaking
changes.

### Fixed

- Make sure `cargo check` doesn't complain about unused imports in the generated
plugin bindings.

## [2.4.0] - 2022-10-04

### Added
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ members = [
]

[workspace.dependencies]
fp-bindgen-macros = { version = "3.0.0-beta.2", path = "macros" }
fp-bindgen-macros = { version = "3.0.0", path = "macros" }

[workspace.package]
version = "3.0.0-beta.2"
version = "3.0.0"
authors = ["Fiberplane <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = { workspace = true }

[dependencies]
bytes = { version = "1", features = ["serde"] }
fp-bindgen-support = { path = "../../../../fp-bindgen-support", version = "3.0.0-beta.2", features = ["async", "guest", "http"] }
fp-bindgen-support = { path = "../../../../fp-bindgen-support", version = "3.0.0", features = ["async", "guest", "http"] }
http = { version = "0.2" }
once_cell = { version = "1" }
redux-example = { path = "../../../redux-example" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"

[dependencies]
bytes = { version = "1", features = ["serde"] }
fp-bindgen-support = { path = "../../../../fp-bindgen-support", version = "3.0.0-beta.2", features = ["async", "guest", "http"] }
fp-bindgen-support = { path = "../../../../fp-bindgen-support", version = "3.0.0", features = ["async", "guest", "http"] }
http = { version = "0.2" }
once_cell = { version = "1" }
redux-example = { path = "../../../redux-example" }
Expand Down

0 comments on commit 4e95816

Please sign in to comment.