Skip to content

chore: version packages#65

Merged
thecodedrift merged 1 commit into
mainfrom
changeset-release/main
Jul 14, 2026
Merged

chore: version packages#65
thecodedrift merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@taskless/cli@0.10.2

Patch Changes

  • 1cd0f89: Treat the Taskless organization UUID as the one canonical identity, and become
    forward-compatible with the server's coming identity cleanup.
    • Stop consuming installationId. It is dropped from the WhoamiOrg type
      and from the taskless rule meta --json output (it was already optional and
      absent for public repos). The CLI never used it and it should not round-trip
      through us.
    • Namespace the GitHub org id. WhoamiOrg.orgId is now optional and a new
      githubOrgId?: number is added, so a consumer reads githubOrgId ?? orgId
      and keeps working across the server's rename. It is a convenience id, never an
      identity.
    • Identify on the canonical id. decodeOrgId validates the token's id
      claim (a UUID string) and the legacy orgId claim (numeric, or a numeric
      string) independently: a valid id wins, an invalid id still lets a valid
      orgId through, and a non-numeric orgId is rejected rather than smuggled in
      as an identity. PostHog then groups organizations on that canonical id. Tokens
      that don't yet carry an id claim fall back to the numeric claim, so grouping
      is unchanged until the server starts sending it.
    • Always have a known org id. When neither a matched org nor a token claim
      resolves, the canonical id falls back to the nil UUID
      (00000000-0000-0000-0000-000000000000) instead of being absent — so the org
      subject and telemetry group are always a stable, known value and unattributed
      usage lands in one bucket. As a result, a write from a token missing org info
      now sends the nil-UUID subject rather than failing with a re-authenticate
      error.
    • Tolerate number | string on the legacy path. The canonical id stays a
      UUID string, but decodeOrgId accepts either type since we can't promise
      what a legacy claim carries.

@thecodedrift
thecodedrift merged commit 0f55da9 into main Jul 14, 2026
7 checks passed
@thecodedrift
thecodedrift deleted the changeset-release/main branch July 14, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant