Skip to content

v0.28.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 13 Dec 14:24
· 6 commits to main since this release
1cde3c9

What Changed

This version includes a CUE upgrade, which adds some additional requirements to your cue.mod/module.cue file.
Your CUE module is now required to be domain-qualified, so a module like foo/kinds must be changed to github.com/example/foo/kinds or foo.grafana.app/kinds (or similar).
By default, new projects created with grafana-app-sdk project init without a domain in their go module will use <module name>.grafana.app as their domain.
Additionally, the cue.mod/module.cue file must contain a language: version section, specifying the CUE language version to use when parsing. New projects will now use language: version: "v0.8.2" by default.

Operator New Methods

Some New functions in the operator package have been simplified to single NewX functions with options objects.
If you use simple.App or simple.Operator, you shouldn't need to make any changes, but if you are building a custom operator, this will apply to you.

  • NewKubernetesBasedInformer and NewKubernetesBasedInformerWithFilters have been reduced to just NewKubernetesBasedInformer(resource.Kind, ListWatchClient, KubernetesBasedInformerOptions)
  • NewMemcachedInformer and NewMemcachedInformerWithFilters have been reduced to just NewMemcachedInformer(resource.Kind, ListWatchClient, MemcachedInformerOptions)

Changelog

  • 02062c6 Added migration doc for v0.27.0 (#529)
  • 5f035d3 Bump github.com/grafana/cog from 0.0.5 to 0.0.6 in the all group (#519)
  • 40e53b1 Bump github.com/grafana/cog from 0.0.6 to 0.0.7 in the all group (#536)
  • e328920 Bump github.com/grafana/grafana-app-sdk from 0.25.2 to 0.27.0 in /plugin in the all group across 1 directory (#530)
  • a5ddfc5 Bump golang.org/x/sync from 0.9.0 to 0.10.0 in the all group (#533)
  • 48cec8f Bump google.golang.org/grpc from 1.68.0 to 1.68.1 in the all group across 1 directory (#531)
  • 6162a7b Bump the all group in /plugin with 2 updates (#547)
  • a87f4d4 Bump the all group in /plugin with 3 updates (#539)
  • c4ad46e Bump the all group with 5 updates (#542)
  • 1cde3c9 Bump the all group with 8 updates (#545)
  • 05e9e38 Upgrade Go to 1.23.4 and linter to 1.62.2 (#535)
  • 9c28e5d [codegen] Propagate ExtraPermissions into generated manifest data (#543)
  • fbb7327 [docs] App Manifest Doc & Writing Kinds Doc Update (#532)
  • 5f3f96a [k8s] Update KindNegotiatedSerializer to handle v1/Status objects, add logging (#537)
  • 7ed1693 [operator] Allow Informers to be dynamically added and removed from InformerController (#521)
  • 389e0f7 [operator] Clean up New functions (#538)
  • 6cabe27 [tests] Improve InformerController tests to rely less on timing (#534)
  • 37a344c chore: fixes a few nits in tutorial (#544)