Skip to content

Update Rust crate schematic to 0.19.0#260

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/schematic-0.x
Open

Update Rust crate schematic to 0.19.0#260
renovate[bot] wants to merge 1 commit intomainfrom
renovate/schematic-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Feb 21, 2025

This PR contains the following updates:

Package Type Update Change
schematic (source) dependencies minor 0.17.50.19.0

Release Notes

moonrepo/schematic (schematic)

v0.19.7

Compare Source

⚙️ Internal
  • Updated toml to v1.

v0.19.6

Compare Source

🚀 Updates
  • Implement Schematic for Cow.

v0.19.5

Compare Source

🚀 Updates
  • Added simple generics support to #[derive(Schematic)].

v0.19.4

Compare Source

🐞 Fixes
  • Fixed an incorrect double nested object for flattened fields.

v0.19.3

Compare Source

🚀 Updates
  • Added #[serde(flatten)] support to schema generation.
    • Added SchemaField.flatten field.
    • Updated JsonSchemaRenderer to render flattened fields as additionalProperties.
    • Updated TypeScriptRenderer to render flattened fields as index signatures & intersection
      types.
    • Updated TemplateRenderers to skip rendering flattened fields.
  • Updated #[serde(untagged)] enums to render better error messages based on the variant types.

v0.19.2

Compare Source

⚙️ Internal
  • Updated reqwest to v0.13.
  • Updated rpkl to v0.7.
  • Updated dependencies.

v0.19.1

Compare Source

🚀 Updates
  • Updated enums/unions in templates to render the first item by default, instead of null.

v0.19.0

Compare Source

💥 Breaking

This release changes how formats work. Instead of using the Format enum, formats now implement the
SourceFormat trait. This allows for custom formats to be created and used with the ConfigLoader.

  • Updated ConfigLoader::new() to auto-register formats based on enabled features. Use
    ConfigLoader::default() to create a loader without formats.
  • Updated ConfigLoader#code() to require a file name/path as the 2nd argument, instead of the
    Format enum. The file extension will be used to determine the format.
  • Reworked the Source enum heavily.
  • Renamed the extract_ext function to extract_file_ext, and updated it to not include the
    leading ..
  • Replaced serde_yaml with serde_norway for YAML parsing. This is due to serde_yaml being
    unmaintained.
  • Removed the Format enum.
  • Removed the yml feature, use yaml instead.
  • Removed the is_source_format function.
🚀 Updates
  • Added .jsonc support.
  • Added a SourceFormat trait, with built-in formats available at schematic::config::formats.
  • Added a ConfigLoader#add_format() method.
  • Added a extract_file_name function.
  • Added TemplateOptions.custom_values for specifying custom values for specific fields in a
    template.
  • Added TemplateOptions.only_fields to only render specific fields in a template.
  • Added options to PklFormat, allowing custom readers to be defined.
⚙️ Internal
  • Updated to Rust v1.91.
  • Updated rpkl to v0.6.
  • Updated ron to v0.12.
  • Updated dependencies.

v0.18.15

Compare Source

🚀 Updates
  • Added @values tag to YAML renderer showing all possible enum values.

v0.18.14

Compare Source

🐞 Fixes
  • Fixed an issue where source URLs that contain a query string would not be parsed.

v0.18.13

Compare Source

🐞 Fixes
  • Fixed a description issue when building the schema.
  • Fixed extends validation not supporting query strings in the a URL.

v0.18.12

Compare Source

🚀 Updates
  • Added SchemaField.aliases property.
  • Added aliases support to JSONSchema and TypeScript renderers.
    • Added an exclude_aliases option to disable inclusion.
  • Added a VersionSetting type that wraps semver::Version and implements additional traits so
    that it can be used in configs.
    • Requires the type_semver feature.
    • Default implementation uses 0.0.0.
⚙️ Internal
  • Updated dependencies.

v0.18.11

Compare Source

🚀 Updates
  • Added a RegexSetting type that wraps regex::Regex and implements additional traits so that it
    can be used in configs.
    • Requires the type_regex feature.
    • Default implementation uses . (match all) pattern.

v0.18.10

Compare Source

⚙️ Internal
  • Updated to Rust v1.88.
  • Updated dependencies.

v0.18.9

Compare Source

🚀 Updates
  • Added RON support (.ron files) behind the ron feature.
  • Added type_uuid feature for UUID schema support.

v0.18.8

Compare Source

🚀 Updates
  • Added #[config(partial())] to containers, allow derives to be set and applied to the generated
    partial configs.

v0.18.7

Compare Source

🐞 Fixes
  • Fixed an issue where nested optional configs (setting: Option<Config>) would not be marked as
    some when an applicable environment variable is set.

v0.18.6

Compare Source

🚀 Updates
  • Added Display to all schema types, so that TypeScript-like type strings can be generated.
⚙️ Internal
  • Updated dependencies.

v0.18.5

Compare Source

⚙️ Internal
  • Updated dependencies.

v0.18.4

Compare Source

⚙️ Internal
  • Updated dependencies.

v0.18.3

Compare Source

🚀 Updates
  • Support parsing files with a byte-order mark (BOM).
⚙️ Internal
  • Updated to Rust v1.86.

v0.18.2

Compare Source

⚙️ Internal
  • Updated dependencies.

v0.18.1

Compare Source

🚀 Updates
  • Added @values tag to YAML renderer showing all possible enum values.

v0.18.0

Compare Source

🚀 Updates
  • Updated to Rust v1.85 and 2024 edition.
🐞 Fixes
  • Fixed an issue where importing Result would break our generated macro code.
⚙️ Internal
  • Updated dependencies.

v0.17.11

Compare Source

🚀 Updates
  • When using the pkl format, we now check for the pkl binary, and error if not found.

v0.17.10

Compare Source

🚀 Updates
  • Added yml and serde_yml features, which uses serde_yml for parsing instead of serde_yaml,
    as the latter has been deprecated for sometime.
⚙️ Internal
  • Updated garde (validation) to v0.22.
  • Updated dependencies.

v0.17.9

Compare Source

🚀 Updates
  • Added ConfigSetting.nested to recursively include nested settings.

v0.17.8

Compare Source

🚀 Updates
  • Added Config::settings(), which returns basic metadata about settings on the config.
🐞 Fixes
  • Fixed an issue where TypeScript imports weren't sorted and the order would randomize.
⚙️ Internal
  • Updated garde (validation) to v0.21.
  • Updated dependencies.

v0.17.7

Compare Source

🐞 Fixes
  • Fixed more template rendering issues.
⚙️ Internal
  • Updated dependencies.
  • Updated Rust to v1.83 (for development).

v0.17.6

Compare Source

🐞 Fixes
  • Fixed an issue where the YAML template rendered wouldn't nest fields correctly.
⚙️ Internal
  • Updated dependencies.
  • Updated Rust to v1.82 (for development).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Feb 21, 2025

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate renovate Bot enabled auto-merge (squash) February 21, 2025 06:48
@renovate renovate Bot requested a review from mortenlj as a code owner February 21, 2025 06:48
@renovate renovate Bot force-pushed the renovate/schematic-0.x branch 6 times, most recently from f7b91dc to cd79218 Compare March 3, 2025 22:14
@renovate renovate Bot force-pushed the renovate/schematic-0.x branch 6 times, most recently from 4e45b50 to 006f275 Compare March 10, 2025 01:21
@renovate renovate Bot force-pushed the renovate/schematic-0.x branch 4 times, most recently from 6163b53 to 0829b54 Compare March 14, 2025 19:15
@renovate renovate Bot force-pushed the renovate/schematic-0.x branch 2 times, most recently from cd0eba2 to 8937604 Compare March 27, 2025 02:03
@renovate renovate Bot force-pushed the renovate/schematic-0.x branch from 8937604 to 3f9e247 Compare April 5, 2025 22:29
@renovate renovate Bot force-pushed the renovate/schematic-0.x branch 8 times, most recently from b1198cc to dfc9127 Compare April 17, 2025 21:54
@renovate renovate Bot force-pushed the renovate/schematic-0.x branch 4 times, most recently from 9f2e694 to 5c9ee3c Compare June 24, 2025 02:49
@renovate renovate Bot force-pushed the renovate/schematic-0.x branch from 5c9ee3c to ced14eb Compare July 3, 2025 19:52
@renovate renovate Bot force-pushed the renovate/schematic-0.x branch 4 times, most recently from 7008114 to bf2bb38 Compare July 19, 2025 01:04
@renovate renovate Bot force-pushed the renovate/schematic-0.x branch 5 times, most recently from fb17421 to 5cba055 Compare July 27, 2025 17:36
@renovate renovate Bot force-pushed the renovate/schematic-0.x branch 8 times, most recently from 23d247e to 96c8785 Compare August 12, 2025 18:33
@renovate renovate Bot force-pushed the renovate/schematic-0.x branch 7 times, most recently from 88c5e33 to ddfc58d Compare September 14, 2025 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants