Skip to content

LM-08Changelog

Revision history.

Every release, newest first. Minor revisions go out every second Wednesday; a major revision reissues this manual and is the only kind that may ask you to change code.

Title
Revision history
Doc. no.
LM-08
Current
Rev. 4.12
Issued
18 Nov 2026
Entries
16

1.0Releases

Releases

16 of 16 releases

1.1Revision 4

03 Jun 2026 to 18 Nov 2026 · 13 releases

  1. Rev.4.12

    Added

    Passkey autofill on Android

    Conditional UI now works in Chrome on Android 14 and later: saved passkeys appear in the keyboard suggestion row.

    • <SignIn /> starts conditional mediation on Android when the device reports a platform authenticator.
    • Falls back to the passkey button, without an error, in web views and on Android 13 and earlier.
    • The dashboard's passkey report now splits sign-ins by platform.

    Areas:

    • @latch/nextjs 4.12.0
    • @latch/expo 2.9.0
  2. Rev.4.11

    Changed

    Token verification is 41% faster at the edge

    JWKS are now pinned per region. Median verification fell from 64 ms to 38 ms; no SDK update needed.

    • Signing keys are replicated to all 310 locations and served from memory.
    • Refresh requests no longer leave the region the session was created in.
    • p99 fell from 210 ms to 96 ms over the same seven days.

    Areas:

  3. Rev.4.10

    Added

    SCIM 2.0 directory sync for organizations

    Okta, Entra ID and JumpCloud can now create, update and deactivate members. Business plan and above.

    • Each organization gets its own SCIM endpoint and bearer token, issued from the dashboard.
    • A deactivated member's sessions are revoked within the same request.
    • Groups map to roles with a table your customer's admin can edit.

    Areas:

    • @latch/nextjs 4.10.0
    • @latch/express 3.4.0
  4. Rev.4.9

    Security

    Breached-password check on every sign-in

    Passwords are compared against 1.3 billion leaked hashes using k-anonymity. Matches trigger a forced reset.

    • Only the first five characters of the SHA-1 hash leave the sign-in service.
    • Applies to sign-up, sign-in and password change. Passkey and code sign-ins are unaffected.
    • Switch it to warn-only per application under Settings, Passwords.

    Areas:

  5. Rev.4.7

    Added

    Organization switcher component

    <OrgSwitcher /> lists a user's organizations, pending invitations and a create action, in 6 kB.

    • Switching updates the active organization claim on the next token, at most 60 seconds later, or at once with setActive().
    • Themed by the same tokens as <SignIn />.
    • Keyboard: type to filter, arrows to move, Enter to switch.

    Areas:

    • @latch/nextjs 4.7.0
    • @latch/expo 2.8.0
  6. Rev.4.6

    Changed

    Known devices get their own rate-limit budget

    A browser that has signed in to an account before is no longer slowed down by failed attempts from elsewhere.

    • A signed device token selects the counter; it is not a session and grants nothing.
    • Refusals that hit a real user fell from 0.31% to 0.02% in the first month.
    • Budgets are configurable per application under Settings, Attack protection.

    Areas:

  7. Rev.4.5

    Fixed

    Refresh storms with many tabs open

    Tabs of the same app now take turns refreshing the session token instead of all asking at once.

    • Refresh runs under a Web Lock and the new token is shared over a BroadcastChannel.
    • Background tabs stop refreshing and catch up once when they become visible.
    • One customer with a 40-tab power user saw refresh volume drop by 97%.

    Areas:

    • @latch/nextjs 4.5.1
  8. Rev.4.4

    Added

    Audit log export to S3 and webhooks

    Stream audit events to a bucket you own or to an HTTPS endpoint, in addition to the dashboard search.

    • Events are delivered at least once, in order per organization, within 30 seconds.
    • Webhook deliveries are signed; verify with latch.webhooks.verify().
    • Included with the audit log add-on and on Business.

    Areas:

    • @latch/express 3.3.0
  9. Rev.4.3

    Security

    Session tokens are bound to the device that asked

    A token replayed from another browser is refused at the next refresh, and the session is flagged.

    • The refresh request must present the HttpOnly device cookie set at sign-in.
    • A mismatch revokes the session and writes a session.replay_suspected audit event.
    • No change for mobile SDKs, which already used the keychain.

    Areas:

  10. Rev.4.2

    Changed

    One-time codes: five attempts, then a new code

    The attempt limit moved from the account to the code, so a typo never locks anyone out.

    • After five wrong attempts the code is void and the form offers to send another.
    • Sends are limited to five an hour per account.
    • The error text now says which of the two limits was reached.

    Areas:

  11. Rev.4.1

    Fixed

    SAML responses with two certificates

    Connections whose identity provider is mid-rotation no longer fail when the response is signed with the newer key.

    • Each connection accepts a current and a next certificate.
    • Admins are emailed 30 days before either expires.

    Areas:

  12. Rev.4.0

    Changed

    Revision 4: components by default

    <SignIn />, <UserButton /> and the hosted pages share one renderer, and the session token defaults to 60 seconds.

    Breaking
    getAuth(req) is removed; call auth() instead. The appearance.elements class map is no longer read. Run npx latch upgrade to rewrite both, and check any cache in front of token verification against the new 60-second lifetime.
    • Components shrank from 31 kB to 14 kB gzipped and no longer need a provider at the root for static pages.
    • Default token lifetime is 60 seconds (was 5 minutes). Configurable from 30 seconds to 5 minutes.
    • The appearance prop takes design tokens instead of CSS class names.

    Areas:

    • @latch/nextjs 4.0.0
    • @latch/expo 2.6.0
    • @latch/express 3.0.0

1.2Revision 3

22 Apr 2026 to 20 May 2026 · 3 releases

  1. Rev.3.9

    Added

    Custom roles and permissions

    Customers can define their own roles per organization. Checks stay local: permissions travel in the token.

    • Up to 256 permissions per application, encoded as a bitmap in the session token.
    • has("billing:manage") on the server and <Protect> in components.
    • Role edits are written to the audit log with before and after sets.

    Areas:

    • @latch/nextjs 3.9.0
    • @latch/express 2.9.0
  2. Rev.3.8

    Security

    Webhook signatures move to SHA-256 with timestamps

    Webhook deliveries are signed over the timestamp and the body, and refused by the SDK when older than five minutes.

    Breaking
    Handlers that verify the v1 signature by hand stop working on 4 August 2026. Switch to latch.webhooks.verify() or implement v2 before then.
    • New header latch-signature: t=…,v2=…. The old v1 value is sent alongside until 4 August 2026.
    • latch.webhooks.verify() checks both and rejects replays.

    Areas:

    • @latch/nextjs 3.8.0
    • @latch/express 2.8.0
  3. Rev.3.7

    Fixed

    Invitations accepted with a different email

    An invitation opened while signed in as someone else now asks which account to use instead of failing.

    • The accept screen shows both addresses and lets the person switch account or add the invited email.
    • Expired invitations offer a one-click “ask for a new one” that notifies the inviter.

    Areas:

    • @latch/nextjs 3.7.3

2.0Subscribe

Get each revision as it is issued.

One email per release with the notes above, or the same thing as an RSS feed for your reader and your team channel.

How we version

Minor revision
Every 2 weeks
Major revision
About once a year
Breaking changes
Major only
Deprecation notice
90 days
SDK versioning
Semver

A major revision reissues this manual, which is why the header says “Rev. 4”. Minor revisions never require a code change.

3.0Get started

Up to date. Now build on it.

Every release on this page is live on the free plan the day it ships. Install once; minor revisions never need a code change.

npm install @latch/nextjs

Included on Free

Monthly active users
10,000
Passkeys, codes, links
Included
Social providers
3
Organizations
5 members each
Card required
No