From 2267e2c9bb684bb984612a9d8837d24a64ba9647 Mon Sep 17 00:00:00 2001 From: Alejandro Rosas Date: Sat, 31 Oct 2026 17:24:16 +0400 Subject: [PATCH] Prepare the 0.5.1 release Release notes for the iframe's digital-credentials-get permission and the lifecycle fixes that landed after 0.5.0 was published (they were listed under 0.5.0, which did not contain them). Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 18 +++++++++++++----- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f74b8b..d00c7ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to `@didit-protocol/sdk-web` will be documented in this file. +## [0.5.1] - 2026-10-31 + +### Added +- The verification iframe, in a modal and embedded, also allows `digital-credentials-get`, so the hosted flow can ask a digital ID wallet such as Google Wallet for the user's ID through the W3C Digital Credentials API without leaving the SDK. + +### Fixed +- A failed launch keeps the SDK in the `error` state with its `errorMessage` instead of silently returning to `idle`, and starting again clears it. +- Closing or completing a verification reports the `idle` state through `onStateChange`. +- A verification the user closes by hand reports the session the flow already announced in the `cancelled` result. +- Embedded mode fails a launch with a clear error when its host element is missing, instead of rendering an overlay it never shows. +- Focusing the exit confirmation keeps its title visible in Safari. + ## [0.5.0] - 2026-11-01 ### Added @@ -16,11 +28,7 @@ All notable changes to `@didit-protocol/sdk-web` will be documented in this file - The verification iframe, in a modal and embedded, also allows `clipboard-write`, so the hosted flow's copy buttons work inside the SDK. ### Fixed -- The exit confirmation is announced as a dialog, and its Exit control is a button that works from the keyboard. Focus stays inside the confirmation while it is open and goes back to where it was when the user continues. In the redesigned flow's modal, a confirmation taller than the modal at a large text size scrolls, wraps long words and opens again at its title; focusing the dialog keeps the title visible in Safari. -- A failed launch keeps the SDK in the `error` state with its `errorMessage` instead of silently returning to `idle`, and starting again clears it. -- Closing or completing a verification reports the `idle` state through `onStateChange`. -- A verification the user closes by hand reports the session the flow already announced in the `cancelled` result. -- Embedded mode fails a launch with a clear error when its host element is missing, instead of rendering an overlay it never shows. +- The exit confirmation is announced as a dialog, and its Exit control is a button that works from the keyboard. Focus stays inside the confirmation while it is open and goes back to where it was when the user continues. In the redesigned flow's modal, a confirmation taller than the modal at a large text size scrolls, wraps long words and opens again at its title. ## [0.4.0] - 2026-09-19 diff --git a/package-lock.json b/package-lock.json index 5794079..310f5e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@didit-protocol/sdk-web", - "version": "0.5.0", + "version": "0.5.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@didit-protocol/sdk-web", - "version": "0.5.0", + "version": "0.5.1", "license": "MIT", "workspaces": [ "packages/*", diff --git a/package.json b/package.json index 151c2cd..5025d09 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@didit-protocol/sdk-web", - "version": "0.5.0", + "version": "0.5.1", "description": "Didit Identity Verification SDK for Web Applications", "main": "dist/didit-sdk.cjs", "module": "dist/didit-sdk.module.js",