• v0.6.29 bded36b969

    v0.6.29 Stable

    pipeline-bot released this 2026-07-28 14:58:40 +00:00 | 18 commits to trunk since this release

    Fixed

    • Never evict every team member when spec.members is omitted.
      ForgejoTeam.spec.members is +optional with omitempty, so a CR that leaves
      the field out decodes to Members == nil — a legal shape meaning "I am not
      managing membership". The removal sweep treated that nil as an authoritative
      empty desired set and called RemoveTeamMember for every existing member,
      silently evicting all users from the org team and revoking the repo access it
      granted them. Nothing surfaced the damage: each removal logged as a success and
      the CR still went Ready=True. A nil spec.members now skips the sweep
      entirely; an explicitly-empty list ([]) is still a real assertion of "no
      members" and removes everyone, so authoritative membership is unchanged for
      every CR that actually sets the field.

    Included changes (v0.6.28 -> v0.6.29)

    • 68890d07b40f fix(team): omitted spec.members must not evict every team member
    Downloads