Skip to content

Releases: cdk8s-team/cdk8s

v1.0.0-beta.1

18 Nov 22:23
810fe74
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • plus-17: All L2 resource names will undergo a name change (e.g test-chart-config-configmap-233db8e7 -> test-chart-config-c3f7d3c0)
  • cli: Construct input types generated by cdk8s import are now called XxxProps instead of XxxOptions to conform with the CDK ecosystem.
  • lib: ApiObjectOptions is now called ApiObjectProps
  • lib: AppOptions is now called AppProps
  • lib: ChartOptions is now called ChartProps
  • lib: HelmOptions is now called HelmProps
  • lib: IncludeOptions is now called IncludeProps
  • cli: when importing k8s api objects using cdk8s import, non-stable APIs will be have an API level postfix. For example, k8s@1.18 will have an IngressV1Beta1 API object.
  • cli: The --include CLI option has been removed since all API objects are always imported.
  • cli: When using the CLI to import the core Kubernetes API objects, the imported classes will now have a Kube prefix in order to make it easier to differentiate them from the classes offered by the high-level APIs in CDK8s+ (e.g. k8s.Deployment is now k8s.KubeDeployment). You can disable through the --no-class-prefix option: cdk8s import --no-class-prefix k8s.
  • plus-17: Containers now need to be inputed as interfaces rather than classes. Instead of passing new kplus.Container(props), simply pass in props.

Features

  • plus: renamed to cdk8s-plus-17. The 17 marks the minimum supported version of the kubernetes spec.
  • website: documentation website (#367) (505f946), closes #366
  • cdk8s: escape hatches (#372) (12b0f01), closes #144
  • cli: class prefix for imported constructs (#370) (0b18df3), closes #140
  • cli: import constructs for all API levels (#379) (b0d7621), closes #380
  • plus-17: add liveness and startup probes to Container (#358) (f3f9a6a)
  • plus-17: Container is now inputed as an interface instead of class (#376) (33bf97a)
  • plus-17: expose service options in expose() (#357) (7137698)
  • switch to 1.0.0-beta version line (#384) (ffce8c6)

Bug Fixes

  • cli: input type names are "XxxOptions" instead of "XxxProps" (#381) (b2bd34e), closes #371
  • plus-17: L2 default child (#389) (a8337e8)

v0.33.0

21 Oct 07:02
Compare
Choose a tag to compare

Features

v0.32.0

20 Oct 11:06
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • lib: EnvValue.fromSecret(secret, key) has been removed in favor of EnvValue.fromSecretValue({ secret, key }).

Features

Bug Fixes

  • lib: corrupted manifests when including large files (#350) (649f41b)
  • lib: fail to import octal numbers via include (and helm) (#349) (bed9eed), closes #348

v0.31.0

19 Oct 08:38
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • plus: spec was removed from all cdk8s+ constructs and that now have a flat structure. See Example for new usage.

  • plus: Construct id's for deployment will change due to a latent bug that appended the word pod to them.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

  • plus: deployment.expose() now takes port as a positional argument (before: deployment.expose({ port }), now: deployment.expose(port)).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

  • lib: auto-generated resource names that included duplicate hyphens will change will be replaced when applied.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

  • lib: cdk8s-plus's value of a label cdk8s.deployment of Pods are changed

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Features

Bug Fixes

  • lib: uniqueId is not compatible with the k8s labels (#326) (161f368), closes #323

  • lib: duplicate hyphens in generated resource names (#341) (6f6366a)

  • allow tests to run without write access to os.tmpdir parent (#338) (dc17022)

  • Fix yaml quote serialization 325 (#327) (6b1f662), closes #325

  • plus: Remove the spec nesting level on both input and output (#347) (5e34850)

v0.30.0

04 Oct 08:41
ed5189c
Compare
Choose a tag to compare

Features

  • plus: Bump k8s imports to use spec version 1.17.0 (#331) (23fea73)

Features

  • lib: Expose DependecyGraph for upstream use (#329) (ee88402), closes #328

v0.29.0

27 Sep 10:57
980c6e0
Compare
Choose a tag to compare

Features

v0.28.0

14 Sep 14:30
6922551
Compare
Choose a tag to compare

Features

  • plus: ImagePullPolicy support for cdk8s-plus Container (#313) (8307757)

Bug Fixes

  • examples: Add missing dependencies on python examples. (#290) (36e6fab), closes #289
  • plus: support node ports for cdk8s-plus service (#315) (85ec225), closes #296
  • website: doc links are broken due to wrong version number (#312) (f2f9402), closes #307

v0.27.0

10 Aug 08:11
3aae232
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • lib: resource names will now be rendered differently, omitting adjacent duplicate components.

Features

  • examples: Elasticsearch query using CDK8s+ and CRD (#281) (3be1a96)
  • lib: omit duplicate components in generated names (#258) (473b5ef)

Bug Fixes

  • cli: Conform python and java package names to language standards (no hyphens) (#283) (f0b33c0)
  • cli: java importing crd fails (#257) (f0ef3b4)

v0.26.0

29 Jun 13:32
37ad98b
Compare
Choose a tag to compare

Features

  • cli: cdk8s init template for java (#245) (2bec62a)
  • Introducing "cdk8s+": high-level APIs for Kubernetes (#239) (1b991f6)

Bug Fixes

  • move output of java imports into /src/main/java (#240) (9445358)

v0.25.0

09 Jun 12:33
b1fa11d
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • lib: cdk8s discontinues support for the onPrepare and onSynthesis construct hooks. These methods will eventually be removed from the constructs programming model.

Features

Bug Fixes

  • cli: options type not generated for certain CRDs (#229) (0cbaf19), closes #219