func/testdata/migrations
Lance Ball 416ada6715
feat!: change 'version' to 'specVersion' (#1086)
* feat!: change 'version' to 'specVersion'

Changes `func create` to write the last migration value to func.yaml
when a new function is created, and modifies the name in the func.yaml
file to be 'specVersion' instead of 'version' to help reduce confusion.

Adds a migration, and a LastMigration() utility function.

Fixes: https://github.com/knative-sandbox/kn-plugin-func/issues/861

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: remove DefaultVersion

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: review feedback

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: review feedback

Signed-off-by: Lance Ball <lball@redhat.com>
2022-07-01 09:22:45 +00:00
..
v0.19.0 feat: function version migrations (#664) 2021-11-24 04:50:27 -08:00
v0.23.0 feat: builder images map migration (#1033) 2022-06-07 11:15:36 +00:00
v0.23.0-customized feat: builder images map migration (#1033) 2022-06-07 11:15:36 +00:00
v0.25.0 feat!: change 'version' to 'specVersion' (#1086) 2022-07-01 09:22:45 +00:00
README.md feat: function version migrations (#664) 2021-11-24 04:50:27 -08:00

README.md

Migrations

Contains Functions created with earlier versions to ensure backwards compatibility and test migrations where applicable.