Releases: Skarlso/crd-to-sample-yaml
v1.1.0
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
v1.0.5
v1.0.4
v1.0.3
Release v1.0.3
The following features have been completed in this release:
v1.0.2
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
Release v1.0.1
Fix ignoring the random flag for HTML output.
v1.0.0
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
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
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.