Skip to content

Say plainly in the docs what changes for an app moving to 0.2.0 - #2

Merged
henrikbjorn merged 1 commit into
mainfrom
changelog-0.2.0
Nov 18, 2026
Merged

henrikbjorn merged 1 commit into
mainfrom
changelog-0.2.0

Conversation

@henrikbjorn

Copy link
Copy Markdown
Member

These doc fixes were pushed to #1 after it was merged, so they never reached main. This adds them, with the 0.2.0 changelog cut to three short lines:

  • credentials adds token_type, scope and refresh_token_expires_at.
  • Expiry times are epoch seconds, not ISO 8601 text. Credentials saved by 0.1.0 keep a text expires_at until their next refresh.
  • refresh always asks the vendor, so check expires_at before calling it. expired? and refresh! are gone.

The README and docs/how-a-sign-in-works.md add that a strategy with nothing to refresh returns the credentials unchanged, and that 0.1.0 rows hold expires_at as text until they refresh. Docs only; no code changes.

The changelog says in three lines what 0.2.0 changes and what an upgrading
app must do: check expires_at before refresh, and expect a text expires_at
from 0.1.0 until the next refresh. The README and the sign-in guide add that
a strategy with nothing to refresh answers the credentials as they are.
@henrikbjorn
henrikbjorn merged commit 3f3a3ca into main Nov 18, 2026
3 checks passed
@henrikbjorn
henrikbjorn deleted the changelog-0.2.0 branch November 18, 2026 06:42
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