Skip to content

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 08 May 10:55
· 406 commits to main since this release

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 ToString impl for untagged enums with trivial variants (#145)
    • Allow conversion overrides by specifying a schema (#155)
    • Handle untyped enums that contain nulls (#167)
    • Handle not schemas 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-typify crate 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)
    • ToString implementations 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 format set to ip, ipv4, or ipv6 (#76)
    • Be more accommodating in the face of a missing type field #(79)
    • The order of derives on types has stabilized (and therefore has changed) (#81)
    • Specific From and Deserialize implementations for constrainted string types (#81)
    • Specific From implementation for untagged enums with constrained string variants (#81)

    ... (truncated)

    Commits

    You can trigger a rebase of this PR by commenting @dependabot rebase.

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

Commit Details

view details
  • #101
    • Update typify requirement from 0.0.11 to 0.0.12 (9ed17a9)