Skip to content

Commit 8207892

Browse files
committed
v0.7.1
1 parent 0920fe8 commit 8207892

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# Changelog
22

3-
## In-dev - version TBC
3+
## [0.7.1] - 2020-04-11
44
### Added:
55
- Added `examples` (https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.5) to `Metadata`
66

7+
### Fixed
8+
- Fixed a bug in schemars_derive causing a compile error when the `default`, `skip_serializing_if`, and `serialize_with`/`with` attributes are used together (https://github.com/GREsau/schemars/issues/26)
9+
710
## [0.7.0] - 2020-03-24
811
### Changed:
912
- **BREAKING CHANGE** - `SchemaSettings` can no longer be created using struct initialization syntax. Instead, if you need to use custom schema settings, you can use a constructor function and either:

schemars/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "schemars"
33
description = "Generate JSON Schemas from Rust code"
44
homepage = "https://graham.cool/schemars/"
55
repository = "https://github.com/GREsau/schemars"
6-
version = "0.7.0"
6+
version = "0.7.1"
77
authors = ["Graham Esau <[email protected]>"]
88
edition = "2018"
99
license = "MIT"
@@ -13,7 +13,7 @@ categories = ["encoding"]
1313
build = "build.rs"
1414

1515
[dependencies]
16-
schemars_derive = { version = "=0.7.0", path = "../schemars_derive" }
16+
schemars_derive = { version = "=0.7.1", path = "../schemars_derive" }
1717
serde = { version = "1.0", features = ["derive"] }
1818
serde_json = "1.0"
1919

schemars_derive/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "schemars_derive"
33
description = "Macros for #[derive(JsonSchema)], for use with schemars"
44
homepage = "https://graham.cool/schemars/"
55
repository = "https://github.com/GREsau/schemars"
6-
version = "0.7.0"
6+
version = "0.7.1"
77
authors = ["Graham Esau <[email protected]>"]
88
edition = "2018"
99
license = "MIT"

0 commit comments

Comments
 (0)