Implement JsonSchema for BigDecimal from bigdecimal 0.4 (GREsau/schemars#237)
v0.8.14
Added:
Add #[schemars(inner(...)] attribute to specify schema for array items (GREsau/schemars#234)
Changed:
New optional associated function on JsonSchema trait: schema_id(), which is similar to schema_name(), but does not have to be human-readable, and defaults to the type name including module path. This allows schemars to differentiate between types with the same name in different modules/crates (GREsau/schemars#62 / GREsau/schemars#247)
Fixed:
Schemas for rust_decimal::Decimal and bigdecimal::BigDecimal now match how those types are serialized by default, i.e. as numeric strings (GREsau/schemars#248)
Implement JsonSchema for BigDecimal from bigdecimal 0.4 (GREsau/schemars#237)
[0.8.14] - 2023-09-17
Added:
Add #[schemars(inner(...)] attribute to specify schema for array items (GREsau/schemars#234)
Changed:
New optional associated function on JsonSchema trait: schema_id(), which is similar to schema_name(), but does not have to be human-readable, and defaults to the type name including module path. This allows schemars to differentiate between types with the same name in different modules/crates (GREsau/schemars#62 / GREsau/schemars#247)
Fixed:
Schemas for rust_decimal::Decimal and bigdecimal::BigDecimal now match how those types are serialized by default, i.e. as numeric strings (GREsau/schemars#248)
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps schemars from 0.8.12 to 0.8.15.
Release notes
Sourced from schemars's releases.
Changelog
Sourced from schemars's changelog.
Commits
9415fcb
v0.8.15a8d7233
Cleanup and test updates for bigdecimal04cc28738
Support bigdecimal 0.4 (#237)0084f1a
v0.8.146e3248f
Fix bad mergea136277
Update docs forschema_id()
28258ae
Update changelog342b2df
Add schema_id(), handles different types with the same name (#247)53bb51c
Update changelogdb1dd47
Fix schemas for bigdecimal/rust_decimal (#248)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show