v0.2.0
teamhanko/hankov0.2.0Sep 8, 2022by FlxMgdnz
AI Summary
Introduces the Hanko JavaScript Frontend SDK and reworks the OpenAPI specification.
Key Highlights
- New `hanko-frontend-sdk` package for easier API usage.
- OpenAPI specification reworked from scratch.
- JWK verification changes for explicit public keys.
Breaking Changes
- hanko-js folder renamed
New Features
- Hanko JavaScript Frontend SDK
- OpenAPI spec rework
- JWK verification changes
Full Release Notes
Aka **Introducing the Hanko JavaScript Frontend SDK**. Using the Hanko API has now become much easier with the introduction of our frontend SDK. The most common use cases (for now) are retrieving information about or creating a(nother) passkey for the authenticated user. We also updated the example app to make use of the SDK and added a "Create a passkey" button to the /secured page. Our OpenAPI specification (docs/spec/api.yaml) has been reworked from scratch and is now on par with the backend. ## What's changed * feat(hanko-frontend-sdk): introduce separated frontend sdk package by @bjoern-m in https://github.com/teamhanko/hanko/pull/181 * hanko-js switch to new sdk by @bjoern-m in https://github.com/teamhanko/hanko/pull/189 * chore: rename hanko-js folder by @bjoern-m in https://github.com/teamhanko/hanko/pull/215 * Feat example app frontend sdk integration by @bjoern-m in https://github.com/teamhanko/hanko/pull/224 * docs(api-spec): update spec by @lfleischmann in https://github.com/teamhanko/hanko/pull/197 * feat(jwk): make explicit public jwks are used for verifying signatures by @lfleischmann in https://github.com/teamhanko/hanko/pull/207 * docs(api-spec): webauthn login initialization adjustments by @lfleischmann in https://github.com/teamhanko/hanko/pull/223 * fix(e2e): playwright loader error by @lfleischmann in https://github.com/teamhanko/hanko/pull/186 * refactor(backend): remove unused ApiError dto by @lfleischmann in https://github.com/teamhanko/hanko/pull/187 * fix: do not serialize credential transports to json by @lfleischmann in https://github.com/teamhanko/hanko/pull/193 * docs(backend): document min_password_length config option by @lfleischmann in https://github.com/teamhanko/hanko/pull/194 * fix(jwk): remove conflicting order by clause when retriving last jwt … by @lfleischmann in https://github.com/teamhanko/hanko/pull/198 * update in vocabulary by @LucidSamuel in https://github.com/teamhanko/hanko/pull/175 * Small wording changes by @FlxMgdnz in https://github.com/teamhanko/hanko/pull/202 ## New contributors * @LucidSamuel made their first contribution in https://github.com/teamhanko/hanko/pull/175 **Full changelog**: https://github.com/teamhanko/hanko/compare/v0.1.1...v0.2.0