v0.3.0
teamhanko/hankov0.3.0Oct 24, 2022by FlxMgdnz
AI Summary
Introduces Conditional UI (passkey autofill) and an audit log system to track user actions.
Key Highlights
- Conditional UI support (passkey autofill) in supported browsers.
- New audit logs API to track user actions like login and passkey creation.
- Light DOM support for hanko-elements.
Breaking Changes
- Private API renamed to Admin API
New Features
- Conditional UI support
- Audit logs system
- Light DOM support
- Admin API
Full Release Notes
 The main features of this release are support for Conditional UI and an audit log system. ## Conditional UI Hanko's login box now supports Conditional UI, aka passkey autofill. In supported browsers, the "Sign in with a passkey" button is no longer required, and instead a passkey autofill UI is displayed when the user clicks or taps on the username input. Passkey autofill lists all available passkeys and is much less intrusive or misleading than the extra button that may or may not work for users that don't have any passkey yet. You can test passkey autofill today by spinning up a local Hanko example. We will also update passkeys.io in the next few days. Browsers that already support conditional UI are: - Safari on iOS16 - Safari on macOS13 Beta/RC - Chrome Canary on Android (with Play Services Beta) - Chrome Canary on Windows 11 22H2 ## Audit logs We've added a new feature to Hanko backend to collect audit logs and an API to access the logs. The focus here is on user actions (e.g., login attempt, passkey creation, password changed). ## What's changed * ci: build and publish frontend-sdk by @aspeteRakete in https://github.com/teamhanko/hanko/pull/229 * create code_of_conduct from github template by @aspeteRakete in https://github.com/teamhanko/hanko/pull/232 * docs: move documentation into monorepo by @lfleischmann in https://github.com/teamhanko/hanko/pull/230 * docs: move into monorepo cleanup by @lfleischmann in https://github.com/teamhanko/hanko/pull/233 * Passkey creation view minor text improvements by @FlxMgdnz in https://github.com/teamhanko/hanko/pull/231 * rename "private" api to "admin" api by @lfleischmann in https://github.com/teamhanko/hanko/pull/234 * docs: link frontend guides to ui customization guide by @lfleischmann in https://github.com/teamhanko/hanko/pull/242 * docs: provide only the latest version of the frontend sdk docs by @lfleischmann in https://github.com/teamhanko/hanko/pull/239 * chore: add License note for frontend-sdk by @aspeteRakete in https://github.com/teamhanko/hanko/pull/244 * docs: add js backend guide example by @lfleischmann in https://github.com/teamhanko/hanko/pull/241 * Remove console log by @irby in https://github.com/teamhanko/hanko/pull/250 * fix: send 401 when passcode is not found instead of 404 by @aspeteRakete in https://github.com/teamhanko/hanko/pull/247 * Update README.md by @shibukawa in https://github.com/teamhanko/hanko/pull/180 * Update dependabot.yml by @aspeteRakete in https://github.com/teamhanko/hanko/pull/253 * feat(hanko-elements): add light dom support by @bjoern-m in https://github.com/teamhanko/hanko/pull/235 * chore: add issue and pull request templates by @lfleischmann in https://github.com/teamhanko/hanko/pull/264 * Update Config.md by @aspeteRakete in https://github.com/teamhanko/hanko/pull/254 * Feat conditional UI by @bjoern-m in https://github.com/teamhanko/hanko/pull/255 * docs: add plausible analytics by @lfleischmann in https://github.com/teamhanko/hanko/pull/274 * Ask for Browser in BugReport by @aspeteRakete in https://github.com/teamhanko/hanko/pull/283 * fix(hanko-frontend-sdk): access X-Auth-Token header during cross-doma… by @bjoern-m in https://github.com/teamhanko/hanko/pull/251 * docs: fix broken link in e2e readme by @FreddyDevelop in https://github.com/teamhanko/hanko/pull/297 * Test hanko frontend sdk by @bjoern-m in https://github.com/teamhanko/hanko/pull/266 * feat: add audit logs by @FreddyDevelop in https://github.com/teamhanko/hanko/pull/185 * Add link to the slack community to the issue templates by @aspeteRakete in https://github.com/teamhanko/hanko/pull/299 * docs: misc api spec fixes, adjustments by @lfleischmann in https://github.com/teamhanko/hanko/pull/303 * fix: persisted passcode timestamps by @lfleischmann in https://github.com/teamhanko/hanko/pull/311 * feat: enable debugging for services/libs used in quickstart cluster by @lfleischmann in https://github.com/teamhanko/hanko/pull/312 ## New contributors * @irby made their first contribution in https://github.com/teamhanko/hanko/pull/250 * @shibukawa made their first contribution in https://github.com/teamhanko/hanko/pull/180 **Full changelog**: https://github.com/teamhanko/hanko/compare/v0.2.0...v0.3.0