Skip to content

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 18:55
· 113 commits to main since this release
fa48022

Command catalogue: every command, argument and option of FreeIPA 4.9.0 to
4.13.4, with the release that introduced each, generated from FreeIPA's own
API.txt. Clients can opt in to checking every call against it before it
is sent. Checked against real FreeIPA 4.9, 4.12 and 4.13 by the contract
tests, which now run with validation on.

Added

  • Commands, LookupCommand, Command and Param: the FreeIPA command
    catalogue for releases 4.9.0 to 4.13.4 (positional arguments, options,
    types and the release that introduced each), generated from API.txt with
    go generate; a nightly CI job fails when it is out of date
  • WithValidation and ErrInvalidCall: opt-in check of every call against
    the catalogue before it is sent, including each call inside Batch;
    commands and options newer than the server give ErrNotSupported
  • ipatest: built-in commands reject options the command lacks at the
    reported release (OptionError) and commands added after it;
    passkeyconfig_show is modelled

Changed

  • ipatest: built-in commands now reject options they lack and commands
    newer than the SetVersion release (3005 / 905), so consumer tests that
    sent such options may fail on upgrade; SetVersion now affects behaviour,
    not only the reported string. Handle overrides are not checked