Changelog
8.0.3 (2026-08-03)
Section titled “8.0.3 (2026-08-03)”- bump @icp-sdk/signer to 5.6.2 (#138)
8.0.2 (2026-07-31)
Section titled “8.0.2 (2026-07-31)”- await session teardown before the idle-logout reload (#127)
- validate signOut returnTo (block open redirect and javascript: URLs) (#128)
- expire and sweep abandoned pending redirect session keys (#129)
8.0.1 (2026-07-27)
Section titled “8.0.1 (2026-07-27)”- auth-client: keep the redirect flow batched and its derivation origin stable (#124)
8.0.0 (2026-07-23)
Section titled “8.0.0 (2026-07-23)”BREAKING CHANGE
Section titled “BREAKING CHANGE”AuthClient.requestAttributesnow takesnonceas a callback() => Promise<Uint8Array>instead of aUint8Array | Promise<Uint8Array>value. Pass the function that fetches the nonce (don’t await it at the call site):nonce: () => fetchNonce().
- auth-client: URL redirect transport (#121)
7.1.0 (2026-05-22)
Section titled “7.1.0 (2026-05-22)”- auth-client: support Promise
nonce in requestAttributes (#116)
7.0.0 (2026-05-04)
Section titled “7.0.0 (2026-05-04)”BREAKING CHANGE
Section titled “BREAKING CHANGE”AuthClient.logout()is renamed toAuthClient.signOut(). Callers must renameauthClient.logout(...)toauthClient.signOut(...).
Refactor
Section titled “Refactor”- rename AuthClient.logout to signOut (#112)
6.2.2 (2026-04-26)
Section titled “6.2.2 (2026-04-26)”- release
@icp-sdk/signerv5.3.1 bump (#109)
6.2.1 (2026-04-25)
Section titled “6.2.1 (2026-04-25)”- include id in requestAttributes JSON-RPC request (#104)
6.2.0 (2026-04-22)
Section titled “6.2.0 (2026-04-22)”- Make @icp-sdk/signer a direct dep and bump its minor version. (#101)
6.1.0 (2026-04-17)
Section titled “6.1.0 (2026-04-17)”- add requestAttributes for signed user attributes (#85)
BREAKING CHANGE
Section titled “BREAKING CHANGE”login()is now renamed tosignIn()
6.0.0 (2026-04-16)
Section titled “6.0.0 (2026-04-16)”BREAKING CHANGE
Section titled “BREAKING CHANGE”-
AuthClient.create()removed — usenew AuthClient()instead
getIdentity()is now async (returnsPromise<Identity>)isAuthenticated()is now sync (returnsbooleaninstead ofPromise<boolean>)-
identityProvider,derivationOrigin, andwindowOpenerFeaturesmoved fromAuthClientLoginOptionstoAuthClientCreateOptions
loginOptionsfield removed fromAuthClientCreateOptions-
allowPinAuthenticationandcustomValueslogin options removed (not supported by the signer protocol)
InternetIdentityAuthResponseSuccesstype removedERROR_USER_INTERRUPTremoved
- one-click OpenID sign-in (#83)
- update README and quick-start for new API (#82)
- fresh session keys, improved error handling, singleton IdleManager (#80)
Refactor
Section titled “Refactor”- reorganize auth-client code structure (#84)
- sync constructor, sync isAuthenticated, async getIdentity (#81)
- replace custom postMessage protocol with @icp-sdk/signer (#75)
5.0.0 (2025-12-18)
Section titled “5.0.0 (2025-12-18)”- build: bump
@icp-sdk/coreto 5.0.0 (#65)
5.0.0-beta.2 (2025-12-17)
Section titled “5.0.0-beta.2 (2025-12-17)”- build: bump
@icp-sdk/coreto 5.0.0-beta.2 (#62)
5.0.0-beta.1 (2025-12-11)
Section titled “5.0.0-beta.1 (2025-12-11)”- build: bump
@icp-sdk/coreto 5.0.0-beta.1 (#55)
5.0.0-beta.0 (2025-11-26)
Section titled “5.0.0-beta.0 (2025-11-26)”- build: bump
@icp-sdk/coreto 5.0.0-beta.0 (#55)
4.2.0 (2025-11-04)
Section titled “4.2.0 (2025-11-04)”- revert support requesting delegations with ICRC-29 (#50)
4.1.1 (2025-10-21)
Section titled “4.1.1 (2025-10-21)”- throw error if IndexedDB fails to open (#45)
- support requesting delegations using ICRC-29 (#39)
4.0.2 (2025-10-01)
Section titled “4.0.2 (2025-10-01)”- client: overwrite stored key on login to prevent key/delegation mismatch (#34)
4.0.1 (2025-09-26)
Section titled “4.0.1 (2025-09-26)”- Downgrade idb to fix the “localStorage is not defined” error when the library is used in a web worker context. (#28)
4.0.0 (2025-09-26)
Section titled “4.0.0 (2025-09-26)”Publishes the new @icp-sdk/auth package.
See the upgrading guide for more information.
4.0.0-beta.2 (2025-09-23)
Section titled “4.0.0-beta.2 (2025-09-23)”4.0.0-beta.1 (2025-09-23)
Section titled “4.0.0-beta.1 (2025-09-23)”This package was previously published as @dfinity/auth-client and its source code was hosted at dfinity/icp-js-core. The CHANGELOG of that repository contains the history of the changes up until v3.