Skip to content

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 06 Jun 20:46
· 401 commits to main since this release

Chore

  • bump version to 0.10.0 to fix smart release
    Since the release workflow was broken 0.10.0 was pushed to crates.io,
    but the commit with changelog and version bump was not pushed to main.
    This fixes the version to make sure the next smart release can bump to
    0.11.0.

  • update typify requirement from 0.0.12 to 0.0.13
    Updates the requirements on
    typify to permit the latest
    version.

    Changelog

    Sourced from typify's changelog.

    == 0.0.13 (released 2023-05-14)

    • Fixed-length, single-type arrays to [T; N] (#286)
    • Support for reflexive schemas (#292)
    • Much improved support for multi-type schemas (#291)
    • Better error messages on failures

    oxidecomputer/typify@v0.0.12\...v0.0.13[Full list of commits]

    == 0.0.12 (released 2023-05-03)

    • Improved enum generation (#270)
    • Improved integer type selection based on number criteria (#255)
    • TypeSpace::add_root_schema() (#236)
    • ... and many general improvements

    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]

    ... (truncated)

    Commits

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

  • fix dependabot commit prefix configuration to include colon
    Noticed in #56 that a colon is
    missing from the commit prefix configuration.
    We need this to match the conventional commit spec.

  • use git2 instead of gix to reduce dependency graph
    Use git2 instead of gix to reduce the dependency graph.

Bug Fixes

  • typo in .gitignore

Chore (BREAKING)

  • remove references to bors and merge_group
    To fix the release workflow I'm marking this as breaking change.

  • bump substrait from 0.29.0 to 0.30.0
    Bumps substrait from
    16503aa to 3259a1b.

    Commits

    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.

Commit Statistics

  • 9 commits contributed to the release over the course of 28 calendar days.
  • 29 days passed between releases.
  • 7 commits were understood as conventional.
  • 9 unique issues were worked on: #102, #104, #105, #106, #107, #108, #58, #87, #90

Commit Details

view details
  • #102
    • Use git2 instead of gix to reduce dependency graph (3ef3038)
  • #104
    • Remove bors and add merge queue checks (c8a7db0)
  • #105
    • Bump substrait from 0.29.0 to 0.30.0 (237ce18)
  • #106
    • Update typify requirement from 0.0.12 to 0.0.13 (b75a5b8)
  • #107
    • Remove references to bors and merge_group (918cd9c)
  • #108
    • Bump version to 0.10.0 to fix smart release (ca60950)
  • #58
    • Fix dependabot commit prefix configuration to include colon (2f4795a)
  • #87
    • Limit release job concurrency (5a7cf72)
  • #90