Skip to content

Nested Template Variables & List Support

Compare
Choose a tag to compare
@defreng defreng released this 08 Nov 21:01
· 35 commits to main since this release
8d3b60e

New Features

  • support for template variables of a more complex shape and form (docs):
    • new boolean variable type
    • new list variable type (for now, only supporting lists of strings)
    • new object variable type which allows variables to be nested in more complex structures and introduce some grouping
  • improved handling variables that have defaults (see #108)
    • previously, when incarnations were created from a template without specifying values for variables that have defaults, these defaults were saved in the incarnation state as if the user had specified them explicitly. This caused that a change of default values in the template, to not be reflected in the incarnation after an update. Even if the user did not specify the default value explicitly.
    • now foxops separates the user-specified values from what is defined in the template

Breaking Changes & Deprecations

  • the allow_import parameter on the create incarnation endpoint was completely removed
  • the support for template variables of type float was removed
  • support for reading variables from a defaults.fvars file in the incarnation repository was removed

Bug Fixes

  • the changes API was returning wrong status information for changes with merge requests. this has been fixed.