backend/v0.10.0
teamhanko/hankobackend/v0.10.0Feb 16, 2024by FlxMgdnz
AI Summary
Introduces webhooks for user account changes, automatic account linking for 3rd-party OAuth, and improved passkey naming based on authenticator information.
Key Highlights
- Webhooks configuration for user account changes
- Automatic account linking for 3rd-party OAuth connections
- Improved passkey naming based on authenticator info (e.g., iCloud Keychain)
New Features
- Added Chinese passcode template
- Added Italian translations
- Fixed cookie secure flag
- Extended third-party account linking
- Added webhooks
- Added webhook documentation
- Multiple dependency updates
Full Release Notes
This release contains some highly requested new features: ### Webhooks It is now possible to configure webhooks. For now, subscribable events are limited to changes to user accounts. More information [here](https://github.com/teamhanko/hanko/tree/main/backend#webhooks). ### 3rd-party Account Linking Automatic account linking can now be activated for individual 3rd-party OAuth connections. This allows for existing accounts to be accessed with 3rd-party connections like Sign in with Google when using the same email address, and vice versa. ### Improved Passkey Naming When a new passkey is created, the original passkey name displayed in the list of passkeys in the user profile is generated by Hanko Backend. Previously, all passkey names looked like "Passkeys-ABCDE", where "ABCDE" was the last characters of the random credential ID. From now on, the passkey names are based on the available information about the authenticator used to create the passkey, e.g. "iCloud Keychain", "Windows Hello" or "1Password", which improves the usability of the passkey list in the user profile. ## What's Changed * feat:add passcode.zh-CN.yaml for support chinese by @zhaoyii in https://github.com/teamhanko/hanko/pull/1219 * chore(deps): bump golang.org/x/crypto from 0.15.0 to 0.16.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1225 * chore(deps): bump golang.org/x/oauth2 from 0.14.0 to 0.15.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1226 * chore(deps): bump github.com/brianvoe/gofakeit/v6 from 6.24.0 to 6.25.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1227 * feat(i18n): add italian translations by @riccardoperra in https://github.com/teamhanko/hanko/pull/1228 * Fixed typo by @FlxMgdnz in https://github.com/teamhanko/hanko/pull/1238 * chore(deps): bump github.com/go-webauthn/webauthn from 0.9.1 to 0.9.2 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1232 * chore(deps): bump github.com/brianvoe/gofakeit/v6 from 6.25.0 to 6.26.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1248 * chore(deps): bump github.com/nicksnyder/go-i18n/v2 from 2.2.2 to 2.3.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1246 * chore(deps): bump github.com/lestrrat-go/jwx/v2 from 2.0.17 to 2.0.18 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1243 * chore(deps-dev): bump vite from 4.4.9 to 4.4.12 in /frontend by @dependabot in https://github.com/teamhanko/hanko/pull/1247 * chore(deps): bump github.com/go-webauthn/webauthn from 0.9.2 to 0.9.4 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1242 * fix: set cookie secure flag by @lfleischmann in https://github.com/teamhanko/hanko/pull/1250 * chore(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1252 * chore(deps): bump github.com/brianvoe/gofakeit/v6 from 6.26.0 to 6.26.2 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1257 * chore(deps): bump github.com/brianvoe/gofakeit/v6 from 6.26.2 to 6.26.3 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1258 * chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /frontend by @dependabot in https://github.com/teamhanko/hanko/pull/1286 * chore(deps): bump follow-redirects from 1.15.1 to 1.15.4 in /docs by @dependabot in https://github.com/teamhanko/hanko/pull/1285 * chore(deps): bump github.com/lestrrat-go/jwx/v2 from 2.0.18 to 2.0.19 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1283 * chore(deps): bump golang.org/x/oauth2 from 0.15.0 to 0.16.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1281 * chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /quickstart by @dependabot in https://github.com/teamhanko/hanko/pull/1268 * chore(deps): bump github.com/labstack/echo/v4 from 4.11.3 to 4.11.4 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1272 * chore(deps): bump github.com/go-webauthn/webauthn from 0.9.4 to 0.10.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1271 * chore(deps): bump github.com/brianvoe/gofakeit/v6 from 6.26.3 to 6.26.4 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1287 * chore(deps): bump github.com/brianvoe/gofakeit/v6 from 6.26.4 to 6.27.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1296 * chore(deps): bump github.com/go-playground/validator/v10 from 10.16.0 to 10.17.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1293 * chore(deps): bump github.com/brianvoe/gofakeit/v6 from 6.27.0 to 6.28.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1302 * chore(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1306 * chore(deps): bump github.com/lestrrat-go/jwx/v2 from 2.0.11 to 2.0.19 in /quickstart by @dependabot in https://github.com/teamhanko/hanko/pull/1305 * 1030 - Refactor SMTP settings to be outside of passcode config by @irby in https://github.com/teamhanko/hanko/pull/1121 * improve(passkeys): improve passkey naming by @shentschel in https://github.com/teamhanko/hanko/pull/1303 * chore(deps): bump github.com/nicksnyder/go-i18n/v2 from 2.3.0 to 2.4.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1313 * chore(deps): bump github.com/opencontainers/runc from 1.1.5 to 1.1.12 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1314 * chore(backend): update config json schema by @lfleischmann in https://github.com/teamhanko/hanko/pull/1318 * ci: enable dependabot version updates for actions by @lfleischmann in https://github.com/teamhanko/hanko/pull/1319 * fix: make samesite and domain attributes configurable for frontend sdk cookie by @lfleischmann in https://github.com/teamhanko/hanko/pull/1251 * chore(deps): bump actions/checkout from 3 to 4 by @dependabot in https://github.com/teamhanko/hanko/pull/1326 * chore(deps): bump docker/build-push-action from 4 to 5 by @dependabot in https://github.com/teamhanko/hanko/pull/1325 * chore(deps): bump actions/setup-go from 3 to 5 by @dependabot in https://github.com/teamhanko/hanko/pull/1324 * chore(deps): bump github.com/rs/zerolog from 1.31.0 to 1.32.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1327 * chore(deps): bump github/codeql-action from 2 to 3 by @dependabot in https://github.com/teamhanko/hanko/pull/1322 * chore(deps): bump actions/setup-node from 3 to 4 by @dependabot in https://github.com/teamhanko/hanko/pull/1323 * chore(deps): bump docker/metadata-action from 4 to 5 by @dependabot in https://github.com/teamhanko/hanko/pull/1332 * chore(deps): bump docker/setup-qemu-action from 2 to 3 by @dependabot in https://github.com/teamhanko/hanko/pull/1331 * chore(deps): bump docker/setup-buildx-action from 2 to 3 by @dependabot in https://github.com/teamhanko/hanko/pull/1330 * chore(deps): bump docker/login-action from 2 to 3 by @dependabot in https://github.com/teamhanko/hanko/pull/1329 * chore(deps): bump actions/github-script from 6 to 7 by @dependabot in https://github.com/teamhanko/hanko/pull/1328 * chore(deps): bump golang.org/x/crypto from 0.18.0 to 0.19.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1335 * feat: extend third-party account linking by @lfleischmann in https://github.com/teamhanko/hanko/pull/1316 * chore(deps): bump github.com/go-webauthn/webauthn from 0.10.0 to 0.10.1 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1339 * chore(deps): bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 in /backend by @dependabot in https://github.com/teamhanko/hanko/pull/1338 * feat(webhooks): add webhooks by @shentschel in https://github.com/teamhanko/hanko/pull/1291 * chore(docs): add webhook docs by @shentschel in https://github.com/teamhanko/hanko/pull/1346 * chore: bump frontend versions to v0.10.0 by @lfleischmann in https://github.com/teamhanko/hanko/pull/1348 * ci: fix tag extraction pattern in docker publish workflow by @lfleischmann in https://github.com/teamhanko/hanko/pull/1350 ## New Contributors * @zhaoyii made their first contribution in https://github.com/teamhanko/hanko/pull/1219 * @riccardoperra made their first contribution in https://github.com/teamhanko/hanko/pull/1228 **Full Changelog**: https://github.com/teamhanko/hanko/compare/backend/v0.9.1...backend/v0.10.0