Skip to content

Releases: Skarlso/crd-to-sample-yaml

v1.1.0

24 Dec 20:35
v1.1.0
2a0bdf6
Compare
Choose a tag to compare

Release v1.1.0

  • feat: add option to generate Details section on the spot #153

This feature introduced an overhaul of the frontend and the Generation
logic. Previously, the required only generation was destructive to the
object. Meaning it actually removed fields that weren't required from the
schema object as it was going through it.

This has been revised. Now, this process is non-destructive. So it can be
called multiple times on the same object. This was introduced so the frontend
now has a switch where it can on-the-fly generate the output based on the
settings provided in the details view.

v1.0.6

10 Dec 09:52
v1.0.6
12e50da
Compare
Choose a tag to compare

Release v1.0.6

  • fix: fixing checking additional property when it is not required #149

v1.0.5

06 Dec 06:25
v1.0.5
d915474
Compare
Choose a tag to compare

Release v1.0.5

  • fix: additional properties schema being nil for create html output (#147)

v1.0.4

30 Oct 09:57
v1.0.4
ae45b37
Compare
Choose a tag to compare

Release v1.0.4

  • add enum values to be displayed properly via #139

v1.0.3

27 Oct 13:14
v1.0.3
a46a91b
Compare
Choose a tag to compare

Release v1.0.3

The following features have been completed in this release:

  • feat: add config file for optional grouping (#134)
  • feat: adding apiVersion and kind value if description is empty (#132)
  • feature: inline the CSS instead of using a CDN every time #131
  • feat: add x-kubernetes-group-version-kind to the schema #129

v1.0.2

18 Oct 05:23
v1.0.2
c8bf064
Compare
Choose a tag to compare

Release v1.0.2

This release adds a small adjustment to the JSON schema generator adding
a small detail about the kind and the group and the version that's being
used by the schema.

v1.0.1

15 Oct 09:33
v1.0.1
545546a
Compare
Choose a tag to compare

Release v1.0.1

Fix ignoring the random flag for HTML output.

v1.0.0

14 Oct 18:48
v1.0.0
a792c40
Compare
Choose a tag to compare

Release v1.0.0

💥 BREAKING CHANGE 💥

This is the first official 1.0.0 version of CRD sample. This tool has come a long way
from simply generating sample YAML files from CRDs. It now supports the following
major features:

  • CRD testing
  • Generating JSON schemas
  • Validating more types other than CRD that support openAPIV3schema section in their spec field
  • Generating minimum required yamls
  • Adding comments
  • Generating YAML that 100% conforms to the given schema, respecting minimum values, regex, formats, etc.
  • A feature rich website with
    • live code changes rendering
    • back navigation
    • lots of tiny options

This has been quite the journey. Hopefully, from now on, the API will be somewhat stable. I can't promise completey
unbreakable changes, but I promise not to break anything in Patch versions.

v0.12.0

13 Oct 19:26
v0.12.0
1927b6b
Compare
Choose a tag to compare

Release v0.12.0

💥 WARNING! This release contains a breaking change. 💥

I restructured the CLI api. Now, generate is a top level command. It has
TWO subcommands called crd and scheme. Pull request number #119
introduced a new feature where you are now able to generate a JSON schema
from a CRD. This is useful for auto-generating completion schemas and further
tooling support that uses raw JSON schemas.

v0.11.0

11 Oct 19:47
v0.11.0
b288180
Compare
Choose a tag to compare

Release v0.11.0

This release brings with it a huge update. First, and formost,
v1beta1 support has been added to CRDs. This will now successfully
generate values for Validate entities that don't have any versions
listed.

Another huge update is to the frontend. The frontend contains now a
textare that can be edited and the content will be generated on the fly
instead of having to send the content to be rendered.

And lastley, the whole repo has a test now that uses the created
test suite to make sure that all rendering is still working after
an update.