Skip to content

Commit

Permalink
1.0.0-alpha.8
Browse files Browse the repository at this point in the history
  • Loading branch information
GREsau committed Aug 21, 2024
1 parent b4f214f commit f8974a9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [1.0.0-alpha.8] - 2024-08-21

- Replace `schemars::gen` module with `schemars::generate`. This is because `gen` is a reserved keyword in rust 2024, so can only be used as `r#gen`. The `schemars::gen` module is still available for ease of upgrading, but is marked as deprecated and _may_ be removed in the future 1.0.0 release. (https://github.com/GREsau/schemars/issues/306 / https://github.com/GREsau/schemars/pull/323)

## [1.0.0-alpha.7] - 2024-08-19

### Fixed
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.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,5 +281,5 @@ For example, to implement `JsonSchema` on types from `chrono`, enable it as a fe

```toml
[dependencies]
schemars = { version = "1.0.0-alpha.7", features = ["chrono04"] }
schemars = { version = "1.0.0-alpha.8", features = ["chrono04"] }
```
2 changes: 1 addition & 1 deletion docs/4-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ For example, to implement `JsonSchema` on types from `chrono`, enable it as a fe

```toml
[dependencies]
schemars = { version = "1.0.0-alpha.7", features = ["chrono04"] }
schemars = { version = "1.0.0-alpha.8", features = ["chrono04"] }
```
4 changes: 2 additions & 2 deletions schemars/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "schemars"
description = "Generate JSON Schemas from Rust code"
homepage = "https://graham.cool/schemars/"
repository = "https://github.com/GREsau/schemars"
version = "1.0.0-alpha.7"
version = "1.0.0-alpha.8"
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
edition = "2021"
license = "MIT"
Expand All @@ -13,7 +13,7 @@ categories = ["encoding", "no-std"]
rust-version = "1.60"

[dependencies]
schemars_derive = { version = "=1.0.0-alpha.7", optional = true, path = "../schemars_derive" }
schemars_derive = { version = "=1.0.0-alpha.8", optional = true, path = "../schemars_derive" }
serde = { version = "1.0", default-features = false, features = ["alloc"]}
serde_json = { version = "1.0.122", default-features = false, features = ["alloc"] }
dyn-clone = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion schemars_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "schemars_derive"
description = "Macros for #[derive(JsonSchema)], for use with schemars"
homepage = "https://graham.cool/schemars/"
repository = "https://github.com/GREsau/schemars"
version = "1.0.0-alpha.7"
version = "1.0.0-alpha.8"
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
edition = "2021"
license = "MIT"
Expand Down

0 comments on commit f8974a9

Please sign in to comment.