Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 24, 2021

Bumps schemars from 0.8.0 to 0.8.1.

Release notes

Sourced from schemars's releases.

v0.8.1

Added:

  • SchemaGenerator::definitions_mut() which returns a mutable reference to the generator's schema definitions
  • Implement JsonSchema for slices

Changed:

  • Minimum supported rust version is now 1.37.0
  • Deriving JsonSchema on enums now sets additionalProperties to false on generated schemas wherever serde doesn't accept unknown properties. This includes non-unit variants of externally tagged enums, and struct-style variants of all enums that have the deny_unknown_fields attribute.
  • Schemas for HashSet and BTreeSet now have uniqueItems set to true (GREsau/schemars#64)

Fixed

  • Fix use of #[serde(transparent)] in combination with #[schemars(with = ...)] (GREsau/schemars#67)
  • Fix clippy field_reassign_with_default warning in schemars_derive generated code in rust <1.51 (GREsau/schemars#65)
  • Prevent stack overflow when using inline_subschemas with recursive types
Changelog

Sourced from schemars's changelog.

[0.8.1] - 2021-03-23

Added:

  • SchemaGenerator::definitions_mut() which returns a mutable reference to the generator's schema definitions
  • Implement JsonSchema for slices

Changed:

  • Minimum supported rust version is now 1.37.0
  • Deriving JsonSchema on enums now sets additionalProperties to false on generated schemas wherever serde doesn't accept unknown properties. This includes non-unit variants of externally tagged enums, and struct-style variants of all enums that have the deny_unknown_fields attribute.
  • Schemas for HashSet and BTreeSet now have uniqueItems set to true (GREsau/schemars#64)

Fixed

  • Fix use of #[serde(transparent)] in combination with #[schemars(with = ...)] (GREsau/schemars#67)
  • Fix clippy field_reassign_with_default warning in schemars_derive generated code in rust <1.51 (GREsau/schemars#65)
  • Prevent stack overflow when using inline_subschemas with recursive types
Commits
  • b502a04 v0.8.1
  • 32b3f77 Implement JsonSchema for slices
  • 7bcd6a2 Ensure pending_schema_names is always cleaned up
  • 803c47b Update examples (changed due to 6a3bba1e)
  • 77c7aa9 Update changelog
  • 1017506 Prevent stack overflow when using inline_subschemas
  • d85eec3 Fix clippy field_reassign_with_default in generated code (#65)
  • addac6d Make HashSet and BTreeSet use the uniqueItems keyword in their schema (#64)
  • c4ef7ba Fix #[schemars(with = ...)] alongside #[serde(transparent)] (#67)
  • 1c9ecaf Bump MSRV to 1.37
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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
Bumps [schemars](https://github.com/GREsau/schemars) from 0.8.0 to 0.8.1. - [Release notes](https://github.com/GREsau/schemars/releases) - [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md) - [Commits](GREsau/schemars@v0.8.0...v0.8.1) Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 29, 2021

Superseded by #56.

@dependabot dependabot bot closed this Mar 29, 2021
@dependabot dependabot bot deleted the dependabot/cargo/schemars-0.8.1 branch March 29, 2021 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant