Releases: grafana/grafana-app-sdk
Releases · grafana/grafana-app-sdk
v0.17.2
v0.17.1
v0.17.0
v0.16.2
v0.16.1
Changelog
- 0145b77 Add convenience methods for GVR and GVK in resource.Kind. (#283)
- eef8c9c Bump github.com/grafana/grafana-app-sdk from 0.15.7 to 0.16.0 in /plugin in the all group (#282)
- 324159d Bump the all group across 1 directory with 3 updates (#291)
- 88a2ee8 Bump the all group in /plugin with 3 updates (#285)
- 53c84c4 Bump the all group with 5 updates (#284)
- 5a6611c Bump the all group with 5 updates (#288)
- 046b682 Plugin.json: update schema reference URL (#293)
- 1ef3d35 Respect the
--kindgrouping
flag in models go code generation (#294) - 3ff4c6a [CLI] Allow Disabling CRD Generation (#287)
v0.16.0
What Changed
resource.Schema
has an additional methodZeroList()
which returns aresource.ListObject
implementation.resource.SimpleSchema
has been updated to accommodate this, andresource.NewSimpleSchema
now requires both a zero object and zero list argument. Code generation usinggrafana-app-sdk generate
will appropriately deal with these changes.// +k8s:openapi-gen=true
comments have been added to all generated types, allowing a user to run kubernetes gengo tooling to generate openAPI from the generated types.- New flags have been introduced to the CLI:
--kindgrouping=kind|group
and--postprocess
.--kindgrouping
defaults tokind
, which is the existing behavior, butgroup
will put all kinds with the same group in the same package structure (packages will always end with the version still). This also prefixes theSpec
and other types with the kind name (andKind()
becomes<kind name>Kind()
).--postprocess
runs kubernetes openAPIgengo
tooling against the generated code when present, after generating the code.
Commits
v0.15.7
Changelog
- 6311840 Add a second entry in dependabot for the plugin submodule. (#274)
- cbdd952 Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in the all group (#278)
- 40b86be Bump golang.org/x/text from 0.14.0 to 0.15.0 in the all group (#272)
- 3d9ae09 Bump golang.org/x/tools from 0.20.0 to 0.21.0 in the all group (#273)