release-2024-04-05: Allow custom domains to use alternative origins
This is Internet Identity release release-2024-04-05 for commit cdf3ffd7358d775e1da31183abe2b54383187579.
This release makes it possible to use a custom domain as an alternative origin. Other fixes and improvements are included as well, such as allowing special characters in passkey names, improved add device flow and technical improvements for developers.
The sha256 of production asset internet_identity_production.wasm.gz is a191b5cd0423223f08218b46c40b88850cc087ac985a88b7c5232ddcaf8bbfd3.
What's Changed
- Update release in README by @gix-bot in #2376
- Update rust version by @gix-bot in #2375
- Refactor add device success screen to be shown consistently by @frederikrothenberger in #2377
- Use ic_representation_independent_hash instead of a copied hash code by @przydatek in #2379
- Update commit of IC artefacts by @gix-bot in #2380
- Remove unused compatibility chart by @frederikrothenberger in #2384
- Catch unexpected errors during authentication by @frederikrothenberger in #2383
- Extract canisterId resolution to shared util by @frederikrothenberger in #2385
- Remove II's direct dependency on identity.rs library for handling VCs by @przydatek in #2378
- Move derivation origin validation into utils by @frederikrothenberger in #2386
- Improve add device flow by @frederikrothenberger in #2382
- Allow special characters in passkey alias by @frederikrothenberger in #2387
- Update node version by @gix-bot in #2388
- Improve message for unsupported stable memory version by @frederikrothenberger in #2389
- Provide error message for files unsupported by asset_util by @przydatek in #2390
- Bump express from 4.18.2 to 4.19.2 in /demos/using-dev-build by @dependabot in #2393
- Handle all well-known domains in canister id resolution by @frederikrothenberger in #2392
- Update commit of IC artefacts by @gix-bot in #2394
- Update setup-dfx action to new version by @frederikrothenberger in #2395
- Fix duplicated domain in test by @frederikrothenberger in #2397
- Enable serving of well-known assets that don't have extensions by @przydatek in #2398
- Use proper type for resolved canister Id by @frederikrothenberger in #2396
- Update dapps list by @gix-bot in #2401
- Update node version by @gix-bot in #2403
- Bump vite from 4.5.2 to 4.5.3 by @dependabot in #2400
- Bump vite from 4.5.2 to 4.5.3 in /demos/using-dev-build by @dependabot in #2402
- Handle error when parsing origin for canister id resolution by @frederikrothenberger in #2404
- chore: update content for mdx v3 parser by @dfx-json in #2405
- Bump undici from 5.28.3 to 5.28.4 by @dependabot in #2406
- Allow custom domains to use alternative origins by @frederikrothenberger in #2399
New Contributors
- @dfx-json made their first contribution in #2405
Full Changelog: release-2024-03-22...release-2024-04-05
Build flavors
For more information please see the Build flavors section of the README.
Wasm Verification
To build the wasm modules yourself and verify their hashes, run the following commands from the root of the Internet Identity repository:
git pull # to ensure you have the latest changes.
git checkout cdf3ffd7358d775e1da31183abe2b54383187579
./scripts/verify-hash --ii-hash a191b5cd0423223f08218b46c40b88850cc087ac985a88b7c5232ddcaf8bbfd3
Make sure to compare the hashes also with the proposal payload when verifying canister upgrade proposals.