Skip to content

Commit

Permalink
Bump to 1.7.0 and add changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucretiel committed Aug 11, 2023
1 parent 9f74772 commit bcfa2c3
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# Version 1.7.0

This release brings support for more rust primitive types (slices and chars), as well as support for manually overriding the output type in the `#[typeshare]` annotations

- Added support for the Rust slice type, which is treated as a sequence. [#131](https://github.com/1Password/typeshare/pull/131)
- Added support for the Rust char type, which is treated as a string. [#128](https://github.com/1Password/typeshare/pull/128)
- Better error messages when there's an error reading a file. [#117](https://github.com/1Password/typeshare/pull/117)
- It is now possible to manually override the output type for specific fields using the `#[typeshare]` annotation. [#119](https://github.com/1Password/typeshare/pull/119), [#118](https://github.com/1Password/typeshare/pull/118)
- Fixed: in Swift, apply generic constraints to enums, in addition to structs. [#122](https://github.com/1Password/typeshare/pull/122)
- In an effort to ensure we don't accidentally break compatibility with our Minimum Supported Rust Version, we added a `rust-toolchain.toml` to the rust crates, forcing builds and tests to use that version of rust. [#129](https://github.com/1Password/typeshare/pull/129), [#135](https://github.com/1Password/typeshare/pull/135). This change should have no effect on end users.

### Community contributors

Thank you to the following community contributors for your work on this release:

- [czocher](https://github.com/czocher)
- [xhain](https://github.com/xhain)

# Version 1.6.0

This release brings support for more architectures for Nix and configurable generic constraints in Swift
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 cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "typeshare-cli"
version = "1.6.0"
version = "1.7.0"
rust-version = "1.57"
edition = "2021"
description = "Command Line Tool for generating language files with typeshare"
Expand All @@ -23,4 +23,4 @@ once_cell = "1"
rayon = "1.5"
serde = { version = "1.0", features = ["derive"] }
toml = "0.5"
typeshare-core = { path = "../core", version = "1.6.0" }
typeshare-core = { path = "../core", version = "1.7.0" }
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "typeshare-core"
version = "1.6.0"
version = "1.7.0"
rust-version = "1.57"
license = "MIT OR Apache-2.0"
edition = "2021"
Expand Down

0 comments on commit bcfa2c3

Please sign in to comment.