Skip to content

Releases: gitlabform/gitlabform

v3.0.0

13 Jul 19:06
Compare
Choose a tag to compare

This is a major new version with some backward incompatibility. Please follow the upgrade guide for a fast and safe upgrade.

New features/bugfixes:

  • Subgroups now do inherit the settings from their groups. It should have worked like this already, but it did not because of a bug #372 fixed in PR #385. (Please use inherit: false to keep the old behavior. See the upgrade guide for more info.),
  • Shorter and easier to read errors (full stacktrace shown only when --debug is enabled),

Backward-incompatible maintenance changes:

  • Require GitLab version >= 14.4 (released in Oct 2021) as it contains the required API rename,
  • Require Python version >= 3.7 (as 3.6 is EOL since Dec 2021) and update many dependencies that have required it,
  • Drop support for a lot of deprecated configuration syntax that the app has warned about:
    • branch protection - no more developers_can_push, developers_can_merge, use push_access_level, merge_access_level etc. instead,
    • group members - no more group_shared_with, enforce_group_members, group_access_level, use group_members, group_members.enforce, group_access instead,
    • services/integrations - no more recreate,
  • Rename some configuration sections following the renames made in GitLab:
    • services -> integrations,
    • secret_variables -> variables,
    • group_secret_variables -> group_variables,
  • Drop the Debian-based Docker image (it's practically unused - you can maintain your own, if you needed it),
  • (For users of this app as a library) Rename some API methods, remove deprecated ones:
    • protect_branch() is now the method using the new API, the method using the old one has been removed,
    • branch_code_owner_approval_required() -> set_branch_code_owner_approval_required().
    • delete_legacy_approvers() has been removed,
    • all the methods with service(s)/secret_variable(s)/group_secret_variable(s) in their names have been renamed to contain integration(s)/variable(s)/group_variables(s).

Thanks to the contributors of this release: @ep-linden from Elastic Path.

v3.0.0rc3

06 Jul 14:10
Compare
Choose a tag to compare
v3.0.0rc3 Pre-release
Pre-release
Release v3 RC3

v3.0.0rc2

01 Jul 06:18
Compare
Choose a tag to compare
v3.0.0rc2 Pre-release
Pre-release
Pre-release 3.0.0rc2

v3.0.0rc1

25 Jun 14:41
Compare
Choose a tag to compare
v3.0.0rc1 Pre-release
Pre-release
Pre-release 3.0.0rc1

v2.12.0

15 Jun 06:51
Compare
Choose a tag to compare
  • Update base Docker images:
    • from Python 3.9 and Alpine 3.14 to Python 3.10 and Alpine 3.16,
    • from Python 3.9 and Debian 10 (Buster) to Python 3.10 and Debian 11 (Bullseye).
  • Fix Group CI/CD Variables not honoring protected and masked values set to false. Fixes #384.

v2.11.1post3

04 Jun 07:24
Compare
Choose a tag to compare
  • Moved the GitHub project from gdubicki/gitlabform to gitlabform/gitlabform.
  • Stopped publishing new Docker images to the old egnyte/gitlabform DockerHub registry. Up to date images are only in the GitHub Container Registry (GHCR) now.

v2.11.1

10 May 15:40
Compare
Choose a tag to compare

Fix another case of GitLab's Schedules API change/bug. Really fixes #364.

v2.11.0

09 May 06:50
Compare
Choose a tag to compare
  • Allow breaking configuration inheritance. Implements #326. PR #339.

Imagine you have a configuration like this:

projects_and_groups:
  my-group/*:
    members:
      enforce: true
      groups:
        regular-developers:
          group_access: developer
 
  my-group/special-private-project:
    members:
      inherit: false # <--- the new keyword
      enforce: true
      groups:
        special-developers:
          group_access: developer
      users:
        john:
          access_level: maintainer

With the new inherit: false entry used here, the effective members for my-group/special-private-project project are ONLY the special-developers grup and john user.

  • Always expect pagination for GETs. Fixes #354. PR #358.
  • Workaround for the GitLab's Schedules API change/bug. Fixes #361.

Big thanks to the Elastic Path team for their contribution of the above feature, especially @ep-linden for the whole implementation and @amimas for the initial proposal and cooperation on design!


(There were 4 pre-releases of this version, 2.11.0b1-b4. b1 contained "Allow breaking configuration inheritance", b2 also #358, b3 also a fix of a bug that caused breaking config inheritance to not work in some cases, b4 - #361).

v2.11.0b4

07 May 06:11
Compare
Choose a tag to compare
v2.11.0b4 Pre-release
Pre-release

The same as the final v2.11.0.

v2.11.0b3

06 May 06:20
Compare
Choose a tag to compare
v2.11.0b3 Pre-release
Pre-release

Like v2.11.0b4 but without #361.