Skip to content

Releases: Roche/foxops

Upgrade to Python 3.12 & Bumping Dependencies

03 Oct 13:22
89bc7c3
Compare
Choose a tag to compare

No changes in functionality

What's Changed

Full Changelog: v2.3.3...v2.3.4

Bugfix Release

27 May 19:22
1ea33e8
Compare
Choose a tag to compare

This release fixes an edge case, where it was impossible to recover from an incarnation update when the MR was created, but not recorded in the database.

If this happens, an error message will be shown in the foxops log that now looks like this:

foxops.services.change.IncompleteChange: the given change is in an incomplete state (MR ID/Branch = null). Try 'POST /api/incarnations/1/changes/2/fix'

The mentioned endpoint has to be manually called to repair the broken incarnation state in the foxops database

Bugfix Release: User-provided values equal to variable defaults were not handled correctly

01 Mar 12:30
f2b0c4e
Compare
Choose a tag to compare

This release fixes a problem where incarnations were not stored correctly, if the user-provided variable values are (partially) equal to the default values of certain variables.

Bugfix Release: Fix issue when using SQLite as Database

23 Nov 14:11
3ff2ec2
Compare
Choose a tag to compare

this patch release is fixing a small issue when using foxops "in dev mode" with an SQLite database. In this setup, foreign keys weren't enforced which lead to undesired behavior when removing incarnations (changes in the change table were becoming orphaned).

New behaviour for PUT API. UI support for nested variables

20 Nov 19:17
d7f35c2
Compare
Choose a tag to compare

New Features

  • The UI now supports providing and editing nested template variables and lists
  • There is a new PATCH /incarnation/{id} endpoint which has the same behavior as the previous PUT endpoint (see breaking changes below)

Breaking Changes & Deprecations

  • Behavior of the PUT /incarnation/{id} endpoint changed to no longer behave as a PATCH endpoint. When using the PUT endpoint, from now on the complete set of template variable values has to be provided (it no longer remembers the previous used values).
    • in case the old behavior is needed, there is a new PATCH endpoint available.

Bug Fixes

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

patch: allow integer values for string variables

09 Nov 14:55
Compare
Choose a tag to compare
v2.2.2

be more lenient about giving int values to string variables

bugfix release: also support "bool" keyword for boolean template variables

08 Nov 23:28
Compare
Choose a tag to compare
v2.2.1

support boolean variables also with the bool type keyword

Nested Template Variables & List Support

08 Nov 21:01
8d3b60e
Compare
Choose a tag to compare

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.

more stable builds

17 Sep 22:02
0f63368
Compare
Choose a tag to compare

even more stable builds

v2.1.1

17 Sep 20:13
Compare
Choose a tag to compare

just a bugfix release that fixes the build of 2.1.0