Skip to content

Releases

v0.1.10

Choose a tag to compare

@github-actions github-actions released this 08 Nov 23:24

Behavior changes for scripts

If you run pakyas from scripts or CI, check these before upgrading:

  • Exit codes say what kind of error happened. 0.1.9 exited 1 for every error;
    now 1 is for errors without a more specific code (for example, the API
    rejected the request), and:

    • 2: usage error (invalid or missing argument, no organization or default
      project selected). Unknown flags already exited 2.
    • 3: organization, project, check or other resource not found
    • 4: temporary failure (API unreachable, timeout, rate limited, server error);
      safe to retry
    • 5: authentication (not logged in; API key invalid, expired, revoked, or for
      another organization)
    • 6: permission denied (403)
    • 7: unexpected response from the API

    Scripts that only check for non-zero are unaffected. check doctor --fail-on
    still exits 1, and monitor still exits with your command's code, or 3 when
    the run couldn't be recorded.

  • pakyas whoami exits 5 when you are not logged in. 0.1.9 printed
    "Not logged in" and exited 0.

  • Warnings and notices go to stderr. Stdout carries only command output, and
    --format json, ndjson and yaml output contains no ANSI codes or summary
    lines. Scripts that read warnings from stdout must read stderr.

  • pakyas project create makes the new project the default only when you pass
    --set-default or no default project is set yet. 0.1.9 always switched the
    default. It also no longer prompts when --name is given.

  • pakyas check update -y with nothing to change exits 2 (usage) before
    contacting the API. 0.1.9 exited 0 without changing anything.

  • --alert-after-miss-pings accepts 1-20 on check create and check update,
    matching the server. Values outside that range are usage errors (exit 2).

  • pakyas monitor runs the job even when the check can't be resolved, passes
    the job's output through, and then exits 3 because the run wasn't recorded.
    0.1.9 exited 1 without running the job.

  • pakyas check tail --since is now applied by the server, so the default
    --since 30m shows only the last 30 minutes. 0.1.9 sent the parameter but the
    server ignored it. This comes from a server update, so 0.1.9 filters too once
    that update is live.

Added

  • auth key set, auth key verify and auth key rm accept an organization
    name for --org, like the global --org. set stores the key under the
    organization's ID.

Fixed

  • project create and check create (including --dry-run) honor --format.
  • --project accepts a project ID, slug or name everywhere, and
    check list --project <id> no longer fails with "missing field
    project_name".
  • Boolean environment variables accept 1/true/yes/on, so NO_COLOR=1
    works. --ignore-env, --debug-http, --no-color and the config file's
    format/color settings take effect.
  • CI with only PAKYAS_API_KEY set works: the organization comes from the key.
    --org accepts an organization name.
  • login no longer wipes stored credentials when PAKYAS_API_KEY is set.
    login --api-key, login --no-browser and org switch store the key under
    the key's real organization, and auth key set reads the server response
    correctly.
  • check update can switch a check between cron and interval schedules, sends
    --alert-after-fail-pings, and maps the legacy --alert-after-failures and
    --missed-before-alert names to missed pings.
  • monitor streams the job's output as it runs, keeps the job's exit code
    (128 + signal when the job is killed) and truncates the captured failure
    output on character boundaries.
  • Check slugs and public IDs resolve across the whole organization. The check
    cache is keyed by organization and updated on check delete and
    check sync.
  • ping and monitor look a slug up again once its cache entry is an hour
    old (it was 24 hours), so a check deleted and re-created under the same slug
    gets its new ping ID within the hour. Pings to the old ID are accepted but
    not recorded, so the CLI can't tell. If the lookup fails because the API is
    unreachable, slow or returning server errors, the cached ping ID is used,
    however old, with a warning; 0.1.9 failed the ping once the entry was 24
    hours old.
  • check tail prints events oldest first, and --follow shows only new
    events.
  • No panics on very large durations, an empty project default, or short API
    keys.
  • Clearer messages for 401, 403, 404 and 429 responses.

Commits

[0.1.10] - 2026-11-08

Bug Fixes

  • Honor output formats, resolve project slugs, and fix API decoding
  • auth: Accept organization names in auth key --org
  • ping: Look a cached slug up again after an hour

Documentation

  • Match README, guide and architecture notes to CLI behavior
  • Add CHANGELOG with 0.1.10 behavior changes
  • Document exit codes and org names for auth key --org

Features

  • Exit with a code that says what kind of error happened

Miscellaneous

  • Ignore .claude directory
  • release: Lead release notes with the CHANGELOG section

v0.1.9

Choose a tag to compare

@github-actions github-actions released this 25 Mar 06:23

[0.1.9] - 2026-03-25

v0.1.8

Choose a tag to compare

@github-actions github-actions released this 27 Jan 04:53

[0.1.8] - 2026-01-27

Features

  • monitor: Add inline CLI arguments for external monitors
  • justfile: Add release recipe for automated version bumps

Refactoring

  • check: Extract resolve_public_id_verbose helper to reduce duplication

v0.1.7

Choose a tag to compare

@github-actions github-actions released this 23 Jan 17:02

[0.1.7] - 2026-01-23

Bug Fixes

  • cli: Rename global --tz to --display-tz to resolve clap conflict

Features

  • auth: Add interactive project selection during login
  • check: Support --all flag in listing check
  • cli: Org-centric UX with default project and slug support
  • check: Add schedule type selector to update interactive mode

Refactoring

  • check: Extract set_check_state helper for pause/resume
  • Use dotenv-load instead of hardcoded URLs in justfile
  • check: Use org context for check commands
  • check: Split monolithic check.rs into module directory
  • check: Align CLI field names with API and extend create options

v0.1.6

Choose a tag to compare

@github-actions github-actions released this 13 Jan 13:22

[0.1.6] - 2026-01-13

Features

  • external-monitors: Support public_id for external monitor config lookup

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 12 Jan 17:32

[0.1.5] - 2026-01-12

Bug Fixes

  • api-key: Add verbose debugging and fix response deserialization

Features

  • cli: Add --public_id flag to ping/monitor and show in check list

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 12 Jan 11:45

[0.1.4] - 2026-01-12

Bug Fixes

  • org: Use target org credentials for project fetch after switch

Features

  • org: Add interactive missing key flow for org switch
  • org: Auto-select first project when switching organizations

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 12 Jan 06:06

[0.1.3] - 2026-01-12

Features

  • ping: Add --duration-ms flag and send measured duration

Performance

  • hooks: Run fmt/clippy only on staged .rs files

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 12 Jan 03:34

[0.1.2] - 2026-01-12

Bug Fixes

  • test: Use struct initialization to satisfy clippy

Features

  • Per-org credentials storage and key selection (PR1+PR2)
  • org: Atomic org switch with lock-release-relock pattern (PR3)
  • auth: Store credentials in V2 format on login (PR5 partial)
  • auth: Add auth status and key management commands (PR5)

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 11 Jan 12:22

[0.1.1] - 2026-01-11

Bug Fixes

  • auth: Show actual server error in login command
  • auth: Clear stale project cache on login and improve login output

Miscellaneous

  • dev: Add lefthook pre-commit hooks