Commit Graph

3 Commits

Author SHA1 Message Date
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
Luke Kingland 5e26510f9d
feat: builder images map migration (#1033)
* feat: function builder images migration

* fix typos and comments
2022-06-07 11:15:36 +00:00
Luke Kingland ccf00152be
feat: function version migrations (#664)
* feat: function version migrations

* unmarshall functin now part of initialization

* regenerate schema

* spelling errors
2021-11-24 04:50:27 -08:00