Skip to content

Releases: kptdev/krm-functions-sdk

v1.0.1

23 Jan 09:53
fbe362c

Choose a tag to compare

This pre-release is made to release the fix for GHSA-7c64-f9jr-v9h2, see kptdev/kpt#4364

What's Changed

Full Changelog: v1.0.0...v1.0.1

go/fn/v1.0.1

23 Jan 09:55
fbe362c

Choose a tag to compare

This pre-release is made to release the fix for GHSA-7c64-f9jr-v9h2, see kptdev/kpt#4364

What's Changed

Full Changelog: go/fn/v1.0.0...go/fn/v1.0.1

v1.0.0

08 Jan 13:46
0999912

Choose a tag to compare

First release of the krm-functions-sdk in kptdev.

What's Changed

  • Update openapi for kptfile by @mengqiy in #577
  • feat: Complete the types for NestedFields Set/Get by @yuwenma in #576
  • feat: A new FunctionRunner Processor to give a much simplified UX by @yuwenma in #573
  • New Go Doc~ by @yuwenma in #578
  • remove core k8s dependencies by @yuwenma in #579
  • [Snyk] Upgrade typescript from 4.4.4 to 4.6.2 by @snyk-bot in #547
  • [Snyk] Upgrade prettier from 2.4.1 to 2.6.0 by @snyk-bot in #561
  • [Snyk] Upgrade prettier from 2.4.1 to 2.6.0 by @snyk-bot in #559
  • [Snyk] Upgrade @types/jasmine from 3.8.2 to 3.10.4 by @snyk-bot in #558
  • [Snyk] Upgrade @types/jasmine from 3.10.1 to 3.10.4 by @snyk-bot in #560
  • [Snyk] Upgrade typedoc from 0.22.13 to 0.22.15 by @snyk-bot in #580
  • [Snyk] Upgrade @types/validator from 13.7.0 to 13.7.2 by @snyk-bot in #564
  • [Snyk] Upgrade @types/lodash from 4.14.179 to 4.14.180 by @snyk-bot in #562
  • build(deps): bump minimist from 1.2.5 to 1.2.6 in /ts/kpt-functions by @dependabot[bot] in #543
  • build(deps): bump minimist from 1.2.5 to 1.2.6 in /ts/create-kpt-functions by @dependabot[bot] in #542
  • build and release typegen by @mengqiy in #582
  • update setup-gcloud github action version by @mengqiy in #584
  • add methods to allow selection and exclusion of resources by gvk by @natasha41575 in #581
  • Support identifier annotation by @yuwenma in #600
  • change IsGVK by @zyy98 in #601
  • fix: sortField for map/slice combination by @ngergs in #603
  • fix: NewFromTypedObject only accept struct or map interface type by @yuwenma in #604
  • fix: Improve Runner user experience by @yuwenma in #605
  • Add function GetRootKptfile by @yuwenma in #608
  • fix: isLocalConfig, add function besides original method by @zyy98 in #609
  • [Snyk] Upgrade typedoc from 0.22.15 to 0.22.17 by @snyk-bot in #592
  • build(deps): bump minimist from 1.2.5 to 1.2.6 in /ts/demo-functions by @dependabot[bot] in #541
  • build(deps): bump minimist from 1.2.5 to 1.2.6 in /ts/hello-world by @dependabot[bot] in #539
  • build(deps): bump got from 11.8.2 to 11.8.5 in /ts/init-package by @dependabot[bot] in #593
  • build(deps): bump got from 11.8.2 to 11.8.5 in /ts/create-kpt-functions by @dependabot[bot] in #594
  • build(deps): bump got from 11.8.2 to 11.8.5 in /ts/hello-world by @dependabot[bot] in #595
  • build(deps): bump got from 11.8.3 to 11.8.5 in /ts/demo-functions by @dependabot[bot] in #596
  • feat: add setSlice function by @zyy98 in #610
  • fix: modify result without kyaml package by @zyy98 in #617
  • fix: add yaml annotations for ResourceRef by @zyy98 in #618
  • Add GroupVersionKind helper to Object by @justinsb in #625
  • Deprecate IsGVK, as the matching semantics are surprising by @justinsb in #626
  • Use go 1.18 by @yuwenma in #629
  • Add Results method and Context by @yuwenma in #631
  • Add ParseKubeObjects helper to parse multiple objects by @justinsb in #628
  • Add methods for type-aware functions, change errors and panics by @yuwenma in #632
  • Update CODEOWNER -remove mengqi and add justin by @yuwenma in #635
  • Validate FnRunner workflow by @yuwenma in #634
  • Add test infra for KRM functions SDK by @yuwenma in #633
  • Update ci to validate gofmt by @yuwenma in #636
  • Fix some risk conditions for golden test by @yuwenma in #637
  • feat: add example for effective go krm function by @yuwenma in #602
  • feat: Add kfn as function editor CLI by @yuwenma in #639
  • feat: kfn build uses ko as default by @yuwenma in #644
  • rename fn cli to kfn by @yuwenma in #645
  • Fix naming collisions in generated typescript with two arrays in same object by @mortent in #655
  • Update Code of Conduct and Maintainers files by @mortent in #656
  • Update workflow for releasing typegen by @mortent in #659
  • Fix bins upload script to reference the correct path by @mortent in #666
  • Update create-kpt-functions package to use the latest version of typegen by @mortent in #667
  • build(deps): bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 in /go/fn/internal/test by @dependabot[bot] in #665
  • build(deps): bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 in /go/fn/examples by @dependabot[bot] in #663
  • build(deps): bump golang.org/x/net from 0.1.0 to 0.7.0 in /go/get-started by @dependabot[bot] in #658
  • [Snyk] Upgrade @types/jasmine from 3.10.2 to 3.10.7 by @snyk-bot in #650
  • build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /ts/demo-functions by @dependabot[bot] in #654
  • build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /ts/create-kpt-functions by @dependabot[bot] in #653
  • build(deps): bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 in /go/fn by @dependabot[bot] in #664
  • build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /ts/hello-world by @dependabot[bot] in #652
  • build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /ts/init-package by @dependabot[bot] in #651
  • build(deps): bump minimist from 1.2.5 to 1.2.7 in /ts/init-package by @dependabot[bot] in #641
  • build(deps): bump qs from 6.5.2 to 6.5.3 in /ts/init-package by @dependabot[bot] in #647
  • build(deps): bump qs from 6.5.2 to 6.5.3 in /ts/create-kpt-functions by @dependabot[bot] in #649
  • create-kpt-functions@0.19.1-rc.1 by @mortent in #673
  • create-kpt-functions@0.19.1 by @mortent in #675
  • fix NestedSubObject by @yuwenma in #676
  • Update governance things by @CsatariGergely in #730
  • Update CoC, add link to CNCF Sandbox and Governance repo by @CsatariGergely in #731
  • Add license scan report and status by @fossabot in #732
  • Add OpenSSF Best Practices badge by @CsatariGergely in #733
  • Rename go modules from GoogleContainerTools to kptdev by @kispaljr in #735
  • Remove TypeScript and Starlark SDKs by @kispaljr in #734
  • Fix and clean up PR CI by @nagygergo in #740
  • Add go mod tidy Make target by @efiacor in #741
  • Update go dependencies by @efiacor in #742
  • Adding Fiachra and Laszlo to CODEOWNERS by @CsatariGergely in #744
  • Bump embed docker image base to go 1.24 by @efiacor in #743...
Read more

v1.0.0-beta.59

08 Jan 12:54
0999912

Choose a tag to compare

v1.0.0-beta.59 Pre-release
Pre-release

This release brings in the switch from GoogleContainerTools to kptdev for krm functions used by kpt. The release is aligned with the v1.0.0-beta.59 release of the kptdev/kpt repo

What's Changed

  • Update openapi for kptfile by @mengqiy in #577
  • feat: Complete the types for NestedFields Set/Get by @yuwenma in #576
  • feat: A new FunctionRunner Processor to give a much simplified UX by @yuwenma in #573
  • New Go Doc~ by @yuwenma in #578
  • remove core k8s dependencies by @yuwenma in #579
  • [Snyk] Upgrade typescript from 4.4.4 to 4.6.2 by @snyk-bot in #547
  • [Snyk] Upgrade prettier from 2.4.1 to 2.6.0 by @snyk-bot in #561
  • [Snyk] Upgrade prettier from 2.4.1 to 2.6.0 by @snyk-bot in #559
  • [Snyk] Upgrade @types/jasmine from 3.8.2 to 3.10.4 by @snyk-bot in #558
  • [Snyk] Upgrade @types/jasmine from 3.10.1 to 3.10.4 by @snyk-bot in #560
  • [Snyk] Upgrade typedoc from 0.22.13 to 0.22.15 by @snyk-bot in #580
  • [Snyk] Upgrade @types/validator from 13.7.0 to 13.7.2 by @snyk-bot in #564
  • [Snyk] Upgrade @types/lodash from 4.14.179 to 4.14.180 by @snyk-bot in #562
  • build(deps): bump minimist from 1.2.5 to 1.2.6 in /ts/kpt-functions by @dependabot[bot] in #543
  • build(deps): bump minimist from 1.2.5 to 1.2.6 in /ts/create-kpt-functions by @dependabot[bot] in #542
  • build and release typegen by @mengqiy in #582
  • update setup-gcloud github action version by @mengqiy in #584
  • add methods to allow selection and exclusion of resources by gvk by @natasha41575 in #581
  • Support identifier annotation by @yuwenma in #600
  • change IsGVK by @zyy98 in #601
  • fix: sortField for map/slice combination by @ngergs in #603
  • fix: NewFromTypedObject only accept struct or map interface type by @yuwenma in #604
  • fix: Improve Runner user experience by @yuwenma in #605
  • Add function GetRootKptfile by @yuwenma in #608
  • fix: isLocalConfig, add function besides original method by @zyy98 in #609
  • [Snyk] Upgrade typedoc from 0.22.15 to 0.22.17 by @snyk-bot in #592
  • build(deps): bump minimist from 1.2.5 to 1.2.6 in /ts/demo-functions by @dependabot[bot] in #541
  • build(deps): bump minimist from 1.2.5 to 1.2.6 in /ts/hello-world by @dependabot[bot] in #539
  • build(deps): bump got from 11.8.2 to 11.8.5 in /ts/init-package by @dependabot[bot] in #593
  • build(deps): bump got from 11.8.2 to 11.8.5 in /ts/create-kpt-functions by @dependabot[bot] in #594
  • build(deps): bump got from 11.8.2 to 11.8.5 in /ts/hello-world by @dependabot[bot] in #595
  • build(deps): bump got from 11.8.3 to 11.8.5 in /ts/demo-functions by @dependabot[bot] in #596
  • feat: add setSlice function by @zyy98 in #610
  • fix: modify result without kyaml package by @zyy98 in #617
  • fix: add yaml annotations for ResourceRef by @zyy98 in #618
  • Add GroupVersionKind helper to Object by @justinsb in #625
  • Deprecate IsGVK, as the matching semantics are surprising by @justinsb in #626
  • Use go 1.18 by @yuwenma in #629
  • Add Results method and Context by @yuwenma in #631
  • Add ParseKubeObjects helper to parse multiple objects by @justinsb in #628
  • Add methods for type-aware functions, change errors and panics by @yuwenma in #632
  • Update CODEOWNER -remove mengqi and add justin by @yuwenma in #635
  • Validate FnRunner workflow by @yuwenma in #634
  • Add test infra for KRM functions SDK by @yuwenma in #633
  • Update ci to validate gofmt by @yuwenma in #636
  • Fix some risk conditions for golden test by @yuwenma in #637
  • feat: add example for effective go krm function by @yuwenma in #602
  • feat: Add kfn as function editor CLI by @yuwenma in #639
  • feat: kfn build uses ko as default by @yuwenma in #644
  • rename fn cli to kfn by @yuwenma in #645
  • Fix naming collisions in generated typescript with two arrays in same object by @mortent in #655
  • Update Code of Conduct and Maintainers files by @mortent in #656
  • Update workflow for releasing typegen by @mortent in #659
  • Fix bins upload script to reference the correct path by @mortent in #666
  • Update create-kpt-functions package to use the latest version of typegen by @mortent in #667
  • build(deps): bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 in /go/fn/internal/test by @dependabot[bot] in #665
  • build(deps): bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 in /go/fn/examples by @dependabot[bot] in #663
  • build(deps): bump golang.org/x/net from 0.1.0 to 0.7.0 in /go/get-started by @dependabot[bot] in #658
  • [Snyk] Upgrade @types/jasmine from 3.10.2 to 3.10.7 by @snyk-bot in #650
  • build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /ts/demo-functions by @dependabot[bot] in #654
  • build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /ts/create-kpt-functions by @dependabot[bot] in #653
  • build(deps): bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 in /go/fn by @dependabot[bot] in #664
  • build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /ts/hello-world by @dependabot[bot] in #652
  • build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /ts/init-package by @dependabot[bot] in #651
  • build(deps): bump minimist from 1.2.5 to 1.2.7 in /ts/init-package by @dependabot[bot] in #641
  • build(deps): bump qs from 6.5.2 to 6.5.3 in /ts/init-package by @dependabot[bot] in #647
  • build(deps): bump qs from 6.5.2 to 6.5.3 in /ts/create-kpt-functions by @dependabot[bot] in #649
  • create-kpt-functions@0.19.1-rc.1 by @mortent in #673
  • create-kpt-functions@0.19.1 by @mortent in #675
  • fix NestedSubObject by @yuwenma in #676
  • Update governance things by @CsatariGergely in #730
  • Update CoC, add link to CNCF Sandbox and Governance repo by @CsatariGergely in #731
  • Add license scan report and status by @fossabot in #732
  • Add OpenSSF Best Practices badge by @CsatariGergely in #733
  • Rename go modules from GoogleContainerTools to kptdev by @kispaljr in #735
  • Remove TypeScript and Starlark SDKs by @kispaljr in #734
  • Fix and clean up PR CI by @nagygergo in #740
  • Add go mod tidy Make target by @efiacor in #741
  • Update go dependencies by @efiacor in #742
  • Adding Fiachra and Laszlo to CODEOW...
Read more

go/fn/v1.0.0

08 Jan 13:48
0999912

Choose a tag to compare

What's Changed

  • Update openapi for kptfile by @mengqiy in #577
  • feat: Complete the types for NestedFields Set/Get by @yuwenma in #576
  • feat: A new FunctionRunner Processor to give a much simplified UX by @yuwenma in #573
  • New Go Doc~ by @yuwenma in #578
  • remove core k8s dependencies by @yuwenma in #579
  • [Snyk] Upgrade typescript from 4.4.4 to 4.6.2 by @snyk-bot in #547
  • [Snyk] Upgrade prettier from 2.4.1 to 2.6.0 by @snyk-bot in #561
  • [Snyk] Upgrade prettier from 2.4.1 to 2.6.0 by @snyk-bot in #559
  • [Snyk] Upgrade @types/jasmine from 3.8.2 to 3.10.4 by @snyk-bot in #558
  • [Snyk] Upgrade @types/jasmine from 3.10.1 to 3.10.4 by @snyk-bot in #560
  • [Snyk] Upgrade typedoc from 0.22.13 to 0.22.15 by @snyk-bot in #580
  • [Snyk] Upgrade @types/validator from 13.7.0 to 13.7.2 by @snyk-bot in #564
  • [Snyk] Upgrade @types/lodash from 4.14.179 to 4.14.180 by @snyk-bot in #562
  • build(deps): bump minimist from 1.2.5 to 1.2.6 in /ts/kpt-functions by @dependabot[bot] in #543
  • build(deps): bump minimist from 1.2.5 to 1.2.6 in /ts/create-kpt-functions by @dependabot[bot] in #542
  • build and release typegen by @mengqiy in #582
  • update setup-gcloud github action version by @mengqiy in #584
  • add methods to allow selection and exclusion of resources by gvk by @natasha41575 in #581
  • Support identifier annotation by @yuwenma in #600
  • change IsGVK by @zyy98 in #601
  • fix: sortField for map/slice combination by @ngergs in #603
  • fix: NewFromTypedObject only accept struct or map interface type by @yuwenma in #604
  • fix: Improve Runner user experience by @yuwenma in #605
  • Add function GetRootKptfile by @yuwenma in #608
  • fix: isLocalConfig, add function besides original method by @zyy98 in #609
  • [Snyk] Upgrade typedoc from 0.22.15 to 0.22.17 by @snyk-bot in #592
  • build(deps): bump minimist from 1.2.5 to 1.2.6 in /ts/demo-functions by @dependabot[bot] in #541
  • build(deps): bump minimist from 1.2.5 to 1.2.6 in /ts/hello-world by @dependabot[bot] in #539
  • build(deps): bump got from 11.8.2 to 11.8.5 in /ts/init-package by @dependabot[bot] in #593
  • build(deps): bump got from 11.8.2 to 11.8.5 in /ts/create-kpt-functions by @dependabot[bot] in #594
  • build(deps): bump got from 11.8.2 to 11.8.5 in /ts/hello-world by @dependabot[bot] in #595
  • build(deps): bump got from 11.8.3 to 11.8.5 in /ts/demo-functions by @dependabot[bot] in #596
  • feat: add setSlice function by @zyy98 in #610
  • fix: modify result without kyaml package by @zyy98 in #617
  • fix: add yaml annotations for ResourceRef by @zyy98 in #618
  • Add GroupVersionKind helper to Object by @justinsb in #625
  • Deprecate IsGVK, as the matching semantics are surprising by @justinsb in #626
  • Use go 1.18 by @yuwenma in #629
  • Add Results method and Context by @yuwenma in #631
  • Add ParseKubeObjects helper to parse multiple objects by @justinsb in #628
  • Add methods for type-aware functions, change errors and panics by @yuwenma in #632
  • Update CODEOWNER -remove mengqi and add justin by @yuwenma in #635
  • Validate FnRunner workflow by @yuwenma in #634
  • Add test infra for KRM functions SDK by @yuwenma in #633
  • Update ci to validate gofmt by @yuwenma in #636
  • Fix some risk conditions for golden test by @yuwenma in #637
  • feat: add example for effective go krm function by @yuwenma in #602
  • feat: Add kfn as function editor CLI by @yuwenma in #639
  • feat: kfn build uses ko as default by @yuwenma in #644
  • rename fn cli to kfn by @yuwenma in #645
  • Fix naming collisions in generated typescript with two arrays in same object by @mortent in #655
  • Update Code of Conduct and Maintainers files by @mortent in #656
  • Update workflow for releasing typegen by @mortent in #659
  • Fix bins upload script to reference the correct path by @mortent in #666
  • Update create-kpt-functions package to use the latest version of typegen by @mortent in #667
  • build(deps): bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 in /go/fn/internal/test by @dependabot[bot] in #665
  • build(deps): bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 in /go/fn/examples by @dependabot[bot] in #663
  • build(deps): bump golang.org/x/net from 0.1.0 to 0.7.0 in /go/get-started by @dependabot[bot] in #658
  • [Snyk] Upgrade @types/jasmine from 3.10.2 to 3.10.7 by @snyk-bot in #650
  • build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /ts/demo-functions by @dependabot[bot] in #654
  • build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /ts/create-kpt-functions by @dependabot[bot] in #653
  • build(deps): bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 in /go/fn by @dependabot[bot] in #664
  • build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /ts/hello-world by @dependabot[bot] in #652
  • build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /ts/init-package by @dependabot[bot] in #651
  • build(deps): bump minimist from 1.2.5 to 1.2.7 in /ts/init-package by @dependabot[bot] in #641
  • build(deps): bump qs from 6.5.2 to 6.5.3 in /ts/init-package by @dependabot[bot] in #647
  • build(deps): bump qs from 6.5.2 to 6.5.3 in /ts/create-kpt-functions by @dependabot[bot] in #649
  • create-kpt-functions@0.19.1-rc.1 by @mortent in #673
  • create-kpt-functions@0.19.1 by @mortent in #675
  • fix NestedSubObject by @yuwenma in #676
  • Update governance things by @CsatariGergely in #730
  • Update CoC, add link to CNCF Sandbox and Governance repo by @CsatariGergely in #731
  • Add license scan report and status by @fossabot in #732
  • Add OpenSSF Best Practices badge by @CsatariGergely in #733
  • Rename go modules from GoogleContainerTools to kptdev by @kispaljr in #735
  • Remove TypeScript and Starlark SDKs by @kispaljr in #734
  • Fix and clean up PR CI by @nagygergo in #740
  • Add go mod tidy Make target by @efiacor in #741
  • Update go dependencies by @efiacor in #742
  • Adding Fiachra and Laszlo to CODEOWNERS by @CsatariGergely in #744
  • Bump embed docker image base to go 1.24 by @efiacor in #743
  • Add improvements that were made as part of the Ne...
Read more

go/fn/v1.0.0-beta.59

08 Jan 12:55
0999912

Choose a tag to compare

go/fn/v1.0.0-beta.59 Pre-release
Pre-release

This release is the release of the go/fn submodule of the SDK for release v1.0.0-beta.59

Release go fn v0.0.1

14 May 07:14
d396a3e

Choose a tag to compare

This release is for Go SDK github.com/GoogleContainerTools/kpt-functions-sdk/go/fn@v0.0.1

This version kick-starts the Go SDK to write your own KRM functions in as less as ~10 lines of code.

  • The SDK converts STDIN to a ResourceList object and provides well handling around ResourceList object read/write. The ResourceList specification is defined here
  • The SDK defines KubeObject which is the smallest unit to represent a KRM resource. KubeObject methods can be called similar to unstructured.Unstructured. For example, you can get/set the MetaType and NameType fields of KubeObejct via GetName SetNamespace, GetAnnotation, GetApiVersion "IsGVK", or get/set a specific field path via NestedStringOrDie SetNestedStringMap, etc

release-kpt-functions-v0.16.1

19 Nov 21:17
c56754d

Choose a tag to compare

kpt-functions@0.16.1 (#463)

release-kpt-functions-v0.16.1-rc.0

19 Nov 18:53
7a878e8

Choose a tag to compare

Pre-release
kpt-functions@0.16.1-rc.0 (#461)

release-create-kpt-functions-v0.19.0

13 Nov 00:04
95cecf8

Choose a tag to compare

create-kpt-functions@0.19.0 (#457)