Skip to content

Releases: aws-controllers-k8s/code-generator

v0.11.0

16 Aug 19:10
eac8d8a

Choose a tag to compare

Aligns the code-generator with the ACK runtime v0.11.0

Breaking Changes

  • Removed the watchNamespace value in Helm chart (added installScope: "namespace"|"cluster") (#149)

New Features

  • Import Aws service package and pass EndpointsID to serviceController (#154)

v0.10.0

16 Aug 16:07
afa7fe0

Choose a tag to compare

Changes:

  • Minor Refactor in pkg/generate/code
  • Add operator-sdk and olm scripts to code-generator repo.
  • Initial implementation of AWSResourceManager.LateInitialize() method.

v0.9.2

10 Aug 21:12
4d0db1b

Choose a tag to compare

  • Add SetStatus for resource (#151)
  • add DPD and IO to initialisms (#147)
  • Generate typedefs for payload fields in Spec and Status (#146)

v0.9.0

03 Aug 17:22
0427c5e

Choose a tag to compare

  • Expose SetSDKForStruct and SetResourceForStruct in templates (#140)
  • Add CORS to initialisms (#144)
  • Remove loops from GetWrapperOutputShape (#145)
  • aws-sdk-go version bump, 1.37.4 -> 1.37.10 (#143) …

v0.8.0

02 Aug 10:11
cf45416

Choose a tag to compare

Aligns the code-generator with the ACK runtime v0.8.0

New features

  • Load metadata in release script (#134)
  • Update required controller-gen to v0.6.1 (#135)
  • Update for helm charts to use latest ecr-public repository. (#136)
  • Default AWS_SDK_GO_VERSION to go.mod version (#137)
  • Allow member fields from other operations in spec (#139)

Bug fixes

  • release script and helm bug fixes (#141)

v0.7.0

22 Jul 13:36
18a2a64

Choose a tag to compare

Aligns the code-generator with the ACK runtime v0.7.0

New features:

  • Add sdk addon hook (#94)
  • Mark status fields as optional (#129)
  • Add script and Github workflow for ensuring version in sync (#130)
  • Secret errors to be terminal code (#131)
  • Add AWS_ENDPOINT_URL to Helm chart templates (#133)
  • Remove performSpecUpdate(boolean) from SetOutput. (#132)

v0.6.0

19 Jul 07:33
c77aa9c

Choose a tag to compare

New features

  • Add service metadata configuration file (#126)
  • Add WithSDKVersion and WithAPIVersion methods to ackmodel.SDKHelper (#121)
  • Add a new CRD method to list all the renames observed in generator.yaml (#121)
  • Introduce pkg/generate/multiversion package to help interracting with (#121)

Bug fixes

  • Recursively build a clean GoType for nested maps and arrays (#127)

v0.5.0

13 Jul 09:51
1423dc8

Choose a tag to compare

Aligns the code-generator with the ACK runtime v0.5.0
NOTE: This release contains some breaking changes ⚠️

New features

  • Returning the latest resource from the Delete() call (#114)
  • Graceful cancellation for ack-generate subcommands (#123)
  • Add a new sort option for kubebuilder:printcolumns marker comments (#124)

Refactoring and migrations

  • Migrate build scripts from community (#125)
  • Migrate release Dockerfiles from community (#125)
  • ⚠️ BREAKING CHANGE: Move pkg/generate.Generator to pkg/model.Model (#120)
  • ⚠️ BREAKING CHANGE: Move pkg/generate unit tests to pkg/model (#120)

v0.4.0

05 Jul 17:14
1f3c922

Choose a tag to compare

Aligns the code-generator with the ACK runtime v0.4.0

New features

  • Generate resource identifiers from ReadOne or ReadMany (#105)
  • Setup webhooks on controller startup (#111)

Fixes

  • Add OIDC and identity to initialisms (#107)
  • Use go-git functionalities for common git operations (#108)
  • Fix required fields for renamed ReadOne input (#113)
  • Correct type mismatch errors in SetResourceIdentifiers generated code (#115)
  • Add primary identifiers for ReadMany operations (#116)
  • handle renamed fields for resource identifiers (#117)

v0.3.1

24 Jun 14:32
9c35918

Choose a tag to compare

Breaking changes

  • Aligns the code-generator with the ACK runtime v0.3.0, which introduced two breaking changes to the ACK core types, including a new RequeueOnSuccessSeconds method on AWSResourceManagerFactory and a ReplacesConditions method on AWSResource via the new ConditionManager interface (#106, #104, #95 )

New features

  • All CRD variables and functions within hook templates (#91)
  • Add CRD method to get OutputShape

Fixes

  • Prevent unused variable error (#101)
  • Fix broken template for custom code (#100)
  • Remove duplicate aws-sdk-go $service import (#102)