Skip to content

Releases

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 20:48
Immutable release. Only release title and notes can be modified.
v0.6.0
0476a2e

What's Changed

  • feat!: v1 readiness: transport hardening, not-found contract and API shape (v0.6.0) by @johnnycube in #38

Full Changelog: v0.4.0...v0.6.0

Verify the checksums signature:

cosign verify-blob --bundle checksums.txt.sigstore.json \
  --certificate-identity 'https://github.com/johnnycube/kasapi/.github/workflows/release.yml@refs/tags/v0.6.0' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  checksums.txt

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 10:50
Immutable release. Only release title and notes can be modified.
v0.4.0
72d90cf

What's Changed

  • chore(deps): update github/codeql-action digest to 9b32540 by @renovate[bot] in #32
  • chore(deps): update dependency goreleaser/goreleaser to v2.19.0 by @renovate[bot] in #33
  • chore(deps): update module github.com/fleetlint/fleetlint to v0.9.0 by @renovate[bot] in #34
  • chore(deps): update module github.com/golangci/golangci-lint/v2 to v2.15.0 by @renovate[bot] in #35
  • feat: services for mailing lists, directory protection, network drives, accounts and statistics by @johnnycube in #36
  • release: v0.4.0 by @johnnycube in #37

Full Changelog: v0.3.4...v0.4.0

Verify the checksums signature:

cosign verify-blob --bundle checksums.txt.sigstore.json \
  --certificate-identity 'https://github.com/johnnycube/kasapi/.github/workflows/release.yml@refs/tags/v0.4.0' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  checksums.txt

v0.3.4

Choose a tag to compare

@github-actions github-actions released this 21 Oct 11:50
Immutable release. Only release title and notes can be modified.
v0.3.4
d680756

What's Changed

  • fix(deps): update go dependencies (non-major) by @renovate[bot] in #29
  • chore(deps): update pre-commit hook zizmorcore/zizmor-pre-commit to v1.31.1 by @renovate[bot] in #28
  • chore(deps): update module github.com/fleetlint/fleetlint to v0.5.1 by @renovate[bot] in #27
  • chore(deps): update go toolchain directive to v1.27.3 [security] by @renovate[bot] in #30
  • chore(deps): update github/codeql-action digest to 6f2ac81 by @renovate[bot] in #26
  • release: v0.3.4 by @johnnycube in #31

Full Changelog: v0.3.3...v0.3.4

Verify the checksums signature:

cosign verify-blob --bundle checksums.txt.sigstore.json \
  --certificate-identity 'https://github.com/johnnycube/kasapi/.github/workflows/release.yml@refs/tags/v0.3.4' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  checksums.txt

v0.3.3

Choose a tag to compare

@github-actions github-actions released this 14 Oct 19:23
v0.3.3
86f0c66

What's Changed

Full Changelog: v0.3.2...v0.3.3

Verify the checksums signature:

cosign verify-blob --bundle checksums.txt.sigstore.json \
  --certificate-identity 'https://github.com/johnnycube/kasapi/.github/workflows/release.yml@refs/tags/v0.3.3' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  checksums.txt

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 14 Oct 15:05
v0.3.2
936d858

What's Changed

  • chore(deps): update github/codeql-action digest to 24c5418 by @renovate[bot] in #23

Full Changelog: v0.3.1...v0.3.2

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 29 Sep 20:57
v0.3.1
a06fefc

Documentation only. The README gains a reference of every object: its
service and methods, the kascli resource and its fields. No code changes.

Full Changelog: v0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 29 Sep 20:48
v0.3.0
df7c8a1

New services and settings in the library, write verbs for kascli, and tests
for every function. "Changed" lists what behaves differently for existing
callers.

Library:

  • Host settings. HostSettings carries document root, redirect status,
    PHP version and the active flag for domains and subdomains.
    Subdomains.CreateWithSettings, Subdomains.Update and Domains.Update
    send the set fields only. Subdomain and Domain report the same settings
    plus PHPDeprecated, InProgress and the TLS state. Subdomains.Create
    sends no PHP version, so the host gets the KAS default, which the API
    documents as 7.1 — CreateWithSettings chooses one.
  • TLS. TLS.Update installs a certificate and sets the HTTPS redirect
    and HSTS (update_ssl); TLS.Get reads the state of a host. Certificate
    and key are validated before the request: they must form a pair and name
    the host. The API has no parameter that requests a Let's Encrypt
    certificate — that switch exists in the KAS panel only.
    HostTLS.LetsEncrypt reports whether a host uses one.
  • Two-factor authentication. Config.OTP supplies the one-time PIN,
    sent as session_2fa on every session handshake.
  • Mail. UpdateResponder sets the autoresponder, with an optional time
    window. UpdateState, UpdateAllowNets and UpdateWebmailAutologin
    control activation, allowed clients and the panel's webmail login.
    AvailableFilters, SetFilters and DeleteFilters manage the standard
    filters. MailAccount reports all of it; CreateAccount sends an active
    responder and the allowed clients.
  • New services. FTP, Databases, Cronjobs and DDNS, each with
    List, Get, Create, Update and Delete; UpdatePassword where the
    object has a password.
  • DNSRecord.Deletable, MailForward.SpamFilters and
    MailForward.InProgress.
  • kasapitest.Server.OTP makes the fake server require a one-time PIN;
    Server.SessionLifetime records the requested session lifetime.

CLI:

  • Verbs create and update for every resource that has them; update
    changes only the flags that are given. kascli api-resources lists the
    verbs per resource.
  • Resources ftpusers, databases, cronjobs, ddnsusers, mailfilters
    and tls. get domains and get subdomains show redirect, PHP version
    and TLS state in -o wide; get mailaccounts -o wide shows state, allowed
    clients and filters.
  • Passwords are read from the terminal or, with --password-stdin, from
    stdin. No command takes one as a flag value.
  • --otp, KAS_OTP and config set-context --two-factor for accounts with
    two-factor authentication.

Changed:

  • Update methods treat the fault nothing_to_do as success. KAS sends it
    when an update matches the current state; returning it as an error made
    every idempotent caller handle it. This covers the existing DNS.Update,
    Mail.Update*, Mail.UpdateForward and Subdomains.UpdatePath.
  • Get methods filter on the server (record_id, domain_name,
    subdomain_name, mail_login, mail_forward) instead of reading the full
    list. They still match the entry they asked for, so a response that
    ignores the filter cannot return the wrong object.
  • List methods treat the fault empty_list as an empty result.
  • Subdomains.UpdatePath and Subdomains.Delete recognize the API's
    subdomain_doenst_exist as ErrNotFound.
  • SessionLifetime is capped at 30000 seconds, the documented maximum,
    instead of 3600. The default stays 1800.
  • kascli delete domain answers "cannot be deleted" instead of "read-only":
    domains now have update.

Dependencies:

  • github.com/spf13/pflag 1.0.10, now a direct dependency of cmd/kascli.
  • Renovate proposes upgrades of the go directive, gated by approval in the
    Dependency Dashboard. Its default is not to propose them.

What's Changed

  • fix(deps): update module golang.org/x/term to v0.45.0 by @renovate[bot] in #18
  • chore(deps): update actions/setup-go action to v7 by @renovate[bot] in #19
  • chore(deps): update golangci/golangci-lint-action digest to ba0d7d2 by @renovate[bot] in #15
  • chore(deps): update goreleaser/goreleaser-action digest to f06c13b by @renovate[bot] in #16
  • chore(deps): pin actions/checkout action to 3d3c42e by @renovate[bot] in #20
  • chore(deps): update actions/checkout digest to 3d3c42e by @renovate[bot] in #17
  • fix(deps): update module golang.org/x/term to v0.46.0 by @renovate[bot] in #22
  • chore(deps): pin github/codeql-action action to 2892aa5 by @renovate[bot] in #21

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 16 Jul 17:41
162e7b1

What's Changed

  • fix the golint errors in the ci by @johnnycube in #8
  • chore(deps): update goreleaser/goreleaser-action action to v7 by @renovate[bot] in #13
  • chore(deps): update actions/checkout action to v7 by @renovate[bot] in #10
  • chore(deps): update golangci/golangci-lint-action action to v9 by @renovate[bot] in #12
  • chore(deps): update actions/setup-go action to v6 by @renovate[bot] in #11
  • chore(deps): update actions/setup-go digest to 924ae3a by @renovate[bot] in #14

New Contributors

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 22 Jun 23:09
v0.1.0
fe60d03