Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 10, 2025

This PR contains the following updates:

Package Update Change
losisin/helm-values-schema-json major v1.4.1 -> v2.3.0

Release Notes

losisin/helm-values-schema-json (losisin/helm-values-schema-json)

v2.3.0

Compare Source

What's Changed

See: Upgrade helm schema from v2.2 to v2.3

Added
  • feat: support '.kyaml' extension when bundling local files by @​applejag in #​243

    It already supported $ref: foo.yaml and $ref: foo.yml, where helm schema bundling would automatically use a YAML parser.
    Now, it will also use the YAML parser for $ref: foo.kyaml.

    By default on other file extensions helm schema will keep using the JSON parser instead.

  • feat: Add mergeProperties to combine maps into additionalProperties by @​applejag in #​252

    Allows using maps with arbitrary keys, such as:

    configs: # @​schema mergeProperties
      foo:
        lorem: "ipsum"
      bar:
        hello: "world"

    Instead of generating a schema that has configs.foo.lorem & configs.bar.hello, it will instead generate a schema of configs.*.lorem & configs.*.hello using additionalProperties in the JSON schema.

  • feat: Add JSON Schema for the .schema.yaml config file by @​applejag in #​261

    If you want editor support when editing your .schema.yaml config files then you can add this comment to the start of the file:

yaml-language-server: $schema=https://github.com/losisin/helm-values-schema-json/raw/refs/heads/main/config.schema.json


* feat: Support all JSON Schema keywords in internal data structure by @​applejag in https://github.com/losisin/helm-values-schema-json/pull/264

This does ***not*** add support for overriding all schema keywords using `# @​schema` annotation comments, but it does add support inside `helm schema`'s internal data structure.

This makes a difference when bundling other schemas, as before this release, `helm schema` would not be able to bundle all of the keywords used in the referenced schema.

In other words, if you bundle a `$ref` that uses keywords like `if`, `format`, `deprecated`, etc; then the resulting bundled schema will now retain those keywords.

##### Fixed

* fix: noAdditionalProperties broke chart usage as dependency by @​applejag in https://github.com/losisin/helm-values-schema-json/pull/255

To fix this, we now include a `global` property by default (unless you defined one yourself):

```diff
diff --git a/testdata/noAdditionalProperties.schema.json b/testdata/noAdditionalProperties.schema.json
index e7b77fc..9a4eb16 100644
--- a/testdata/noAdditionalProperties.schema.json
+++ b/testdata/noAdditionalProperties.schema.json
@​@​ -1,35 +1,43 @​@​
 {
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "type": "object",
     "properties": {
+        "global": {
+            "description": "Global values shared between all subcharts",
+            "$comment": "Added automatically by 'helm schema' to allow this chart to be used as a Helm dependency, as the `additionalProperties` setting would otherwise collide with Helm's special 'global' values key.",
+            "type": [
+                "object",
+                "null"
+            ]
+        },
         "object": {
             "type": "object",
             "additionalProperties": false
         },
Updated
Docs
Other

Full Changelog: losisin/helm-values-schema-json@v2.2.1...v2.3.0

v2.2.1

Compare Source

What's Changed

Fixed
Updated

New Contributors

Full Changelog: losisin/helm-values-schema-json@v2.2.0...v2.2.1

v2.2.0

Compare Source

What's Changed

Added
Updated

Full Changelog: losisin/helm-values-schema-json@v2.1.0...v2.2.0

v2.1.0

Compare Source

What's Changed

Added
Fixed
Updated
Docs
Other

Full Changelog: losisin/helm-values-schema-json@v2.0.0...v2.1.0

v2.0.0

Compare Source

What's Changed

⚠️ BREAKING CHANGES

This release includes breaking changes. Make sure to follow follow our guide when upgrading from v1.9.x to v2.0.0

Added
Fixed
Docs
Other

Full Changelog: losisin/helm-values-schema-json@v1.9.0...v2.0.0

v1.9.2

Compare Source

Changelog

Updated
  • b6b2fee chore: Fix .schema.yaml in v1 branch
Other

v1.9.1

Compare Source

What's Changed

Full Changelog: losisin/helm-values-schema-json@v1.9.0...v1.9.1

v1.9.0

Compare Source

Changelog

Fixed
  • 7c84b5e Fixed references bug and added new Ptr type
  • c0697d2 fix: golangci-lint v2 errors
Updated
Docs
  • bfe56af docs: improve bundle examples
Other
  • f2af621 Add $ref: $k8s/... alias
  • 6f12f52 Add cleanup of unused $defs when bundling
  • 2e8ab01 Add log messages for schema loading
  • ebc57e7 Add shell completions
  • b0d9a52 Added '(since v1.9.0)' comment to docs
  • 894e1b6 Added -bundleWithoutID
  • 7f2a157 Added bundling tests
  • f935bb4 Added docs
  • bc911f1 Added flags to .schema.yaml
  • 2241aef Added go:generate tags for regenerating testdata
  • 49d75f8 Added lots of tests to add more coverage
  • 4e9cb7e Added marshaler logic
  • c8f1b36 Added missing tests
  • a9f8150 Added test for extra coverage
  • a10741b Added test for nested
  • 4dfcc4a Added tests
  • 1dfa68b Added tests for fragments
  • 00c2034 Added tests for generateBundledName
  • aa33ac5 Added type verification to fix coverage
  • 9bf1006 Added unmarshaler logic to treat schema as bool
  • 0509a50 Allow 'definitions' map
  • 9b4f780 Bugfix
  • d52b78d Bundle subschemas under /items/
  • c698b85 Change completion to arg instead of flag
  • 70bbcf1 Coverage fixes
  • 78e2ba8 Fix bundling bundled subschemas
  • 4dceb4b Fix case subschema uses bundling without id
  • 697d786 Fix error tests
  • 437c61d Fix golangci-lint linting
  • f15a9dc Fix parser not requiring @schema prefix
  • 5bdd0a8 Fix tests
  • b0dc13b Fixed local references
  • ccda59e Handle self-referential
  • ac94b8b I deleted the wrong test
  • dc1f354 Ignore close error
  • 5dce760 Implemented bundling
  • c60bb22 More tests, and change AnyOf/AllOf/OneOf/Not to strongly-typed
  • 6237957 Moved bundle testdata into subdir
  • 282d6d2 Remove --complete flag custom behavior
  • c154942 Remove accidentally-committed .zed/settings.json
  • 8729c80 Remove flaky test that relies on remote github.com
  • e6e9db3 Rename func
  • 450a818 Reorder fields
  • 157c2aa Replace convertSchemaToMap with just JSON marshalling
  • 10a2e81 Set User-Agent
  • b9b1f7a Try downgrading securego/gosec
  • 5b63026 Updated docs
  • 13a03f8 Updated testdata
  • ac6ae64 Upgrade securego/gosec back to v2.22.4, and downgrade Go to v1.24.2
  • c423368 Use allOf on $ref when targeting draft 7 or below
  • 3502763 build(deps): bump golangci/golangci-lint-action from 6 to 7
  • c9ebef2 build(deps): bump golangci/golangci-lint-action from 7 to 8
  • 599cfb4 build(deps): bump securego/gosec from 2.22.2 to 2.22.3
  • 355473b build(deps): bump securego/gosec from 2.22.3 to 2.22.4
  • 54336c7 fix
  • 14915e8 update CODEOWNERS
  • 0d6c931 update docs

v1.8.0

Compare Source

Changelog

Added
  • 71c6024 feature: add support for unevaluatedProperties
Updated
Other
  • cc675ab build(deps): bump securego/gosec from 2.22.1 to 2.22.2
  • a3cbfee fix docs

v1.7.2

Compare Source

Changelog

Updated

v1.7.1

Compare Source

Changelog

Fixed
  • 712c594 fix: set schema type when there are no values
Updated
  • 341fb94 chore: update conf to goreleaser v2
Other
  • 95ee3b6 build(deps): bump azure/setup-helm from 4.2.0 to 4.3.0

v1.7.0

Compare Source

Changelog

Added
  • b3aa970 feature: add subschema keywords
Updated
  • 2ae38bd chore: update go version to 1.23
Other
  • f0ecedf add docs
  • 9a93a3e build(deps): bump securego/gosec from 2.21.4 to 2.22.0
  • 4728797 build(deps): bump securego/gosec from 2.22.0 to 2.22.1
  • 5534079 fix tests
  • 846329c lint with cache
  • 4833654 release version 1.7.0

v1.6.4

Compare Source

Changelog

Updated
Other
  • d3b3b43 build(deps): bump codecov/codecov-action from 4 to 5
  • 88fde58 build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0

v1.6.3

Compare Source

Changelog

Fixed
  • d34f987 fix: empty array generates items type null
Other

v1.6.2

Compare Source

Changelog

Added
  • 74bdd3b feature: merge nested arrays
  • 457a95d feature: scan code with bearer and gosec
Updated
  • b272a2c chore:bump version to v1.6.2
Other
  • 82462e6 pin gosec to version
  • 8a3f86b renam test and generate testdata schemas

v1.6.1

Compare Source

Changelog

Other

v1.6.0

Compare Source

Changelog

Docs
  • f259920 docs: Add documentation for item annotation and fix typos
Other
  • b7c3e74 feat: introduce flag noAdditionalProperties

v1.5.4

Compare Source

Changelog

Added
  • e800756 feature: set properties in object
Updated
  • bee046f chore: dependabot weekly + bump version
Docs
  • 5f9aaf1 docs: update docs when using multiple files as input
Other

v1.5.3

Compare Source

Changelog

Added
  • ce0d7de feature: add support for $ref definition with docs and examples
  • 7a2132a feature: exclude nodes from json schema
Docs
  • eb0178e docs: GitLab example to fail-on-diff
Other

v1.5.2

Compare Source

Changelog

Updated
  • a3352df chore: add option to skip properties for a node
Other

v1.5.1

Compare Source

Changelog

Fixed
Other
  • ce383b4 bump to plugin version v1.5.1

v1.5.0

Compare Source

Changelog

Added
  • 782365d feature: read configuration from file
Other

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 10, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Join our Discord community for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/losisin-helm-values-schema-json-2.x branch from ce929c1 to d5e917d Compare June 16, 2025 17:15
@renovate renovate bot force-pushed the renovate/losisin-helm-values-schema-json-2.x branch from d5e917d to c899f27 Compare July 13, 2025 14:03
@renovate renovate bot force-pushed the renovate/losisin-helm-values-schema-json-2.x branch from c899f27 to a2b7b83 Compare August 9, 2025 21:01
@renovate renovate bot force-pushed the renovate/losisin-helm-values-schema-json-2.x branch from a2b7b83 to a65aa46 Compare August 31, 2025 14:10
@renovate renovate bot force-pushed the renovate/losisin-helm-values-schema-json-2.x branch from a65aa46 to e51307f Compare September 2, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant