Repository navigation
v0.9.0
Chore (BREAKING)
-
update typify requirement from 0.0.11 to 0.0.12
Updates the requirements on typify to permit the latest version.Changelog
Sourced from typify's changelog.
== 0.0.12 (released 2023-05-03)
oxidecomputer/typify@v0.0.11\...v0.0.12[Full list of commits]
== 0.0.11 (released 2023-03-18)
This is a big update with many, many changes to code generation, and many more JSON schema structures well-handled. Among the many changes:
- Generate a
ToStringimpl for untagged enums with trivial variants (#145) - Allow conversion overrides by specifying a schema (#155)
- Handle untyped enums that contain nulls (#167)
- Handle
notschemas for enumerated values (#168) - Improve generated code for FromStr and TryFrom impls (#174)
- Handle format specifiers for enumerated strings (#188)
=== Breaking: The removal of
TypeSpace::to_string()Previously all transitive consumers required the presence of
rustfmt. In this version we leave formatting to the consumer. See link:README.md#formatting[the formatting section of the README] for details on formatting.=== CLI
This version adds the
cargo-typifycrate for stand-alone code generation.=== Augmented Generation
Consumers can now affect how code is generated in several ways:
- adding derive macros to all generated types
- modifying specific types by name to rename them or add derive macros
- specifying a replacement type by name
- specifying a replacement type by schema pattern
oxidecomputer/typify@v0.0.10\...v0.0.11[Full list of commits]
- Allow per-type renames and derive macro applications (#131)
ToStringimplementations for untagged enums with trivial newtype variants (#145)- Fixed an issue with generation of enum defaults (#137)
- Allow conversion overrides by specifying a schema (#155)
== 0.0.10 (released 2022-09-10)
oxidecomputer/typify@v0.0.9\...v0.0.10[Full list of commits]
- Add support for string types with
formatset toip,ipv4, oripv6(#76) - Be more accommodating in the face of a missing
typefield #(79) - The order of derives on types has stabilized (and therefore has changed) (#81)
- Specific
FromandDeserializeimplementations for constrainted string types (#81) - Specific
Fromimplementation for untagged enums with constrained string variants (#81)
... (truncated)
Commits
c868ddcrelease typify 0.0.12a25d39fupdate for cargo-release70a5b06Allow constrained strings to be keys in generated maps (#276)b81f077Bump clap from 4.2.4 to 4.2.5 (#275)20b5ba4some general enum cleanup (#270)7d742a7Bump uuid from 1.3.1 to 1.3.2 (#273)e98b83fBump regress from 0.5.0 to 0.6.0 (#274)4152a79Small documentation change (#271)8d505f9Bump expectorate from 1.0.6 to 1.0.7 (#268)fb0eefaBump clap from 4.2.2 to 4.2.4 (#267)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting
@dependabot rebase. - Generate a
Commit Statistics
- 1 commit contributed to the release.
- 10 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #101