Skip to content

Commit f972f40

Browse files
committed
chore: release v0.4.0
1 parent 51cf825 commit f972f40

File tree

4 files changed

+46
-19
lines changed

4 files changed

+46
-19
lines changed

.changeset/happy-clocks-turn.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/tasty-ideas-accept.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,49 @@
11
# react-native-passkeys
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- Add PRF extension evalByCredential support and credProps extension across all platforms
8+
9+
## New Features
10+
11+
### PRF Extension - evalByCredential
12+
13+
- Add support for per-credential PRF inputs via `evalByCredential` property
14+
- Allows different PRF salt inputs for each credential during authentication
15+
- Implemented across iOS (iOS 18+), Android (API 34+), and Web platforms
16+
- Includes validation that `allowCredentials` is specified when using `evalByCredential` per WebAuthn spec
17+
18+
### credProps Extension
19+
20+
- Add support for credential properties extension on Android and Web
21+
- Returns whether a credential is client-side discoverable (resident key/passkey)
22+
- iOS types included (commented) for future implementation
23+
24+
## Improvements
25+
26+
- Normalize `getPublicKey()` return type to Base64URLString across all platforms for consistency
27+
- Improve type safety for credential responses
28+
- Enhanced error handling and input validation on iOS
29+
- Better documentation across Android and iOS implementations
30+
31+
## Example App
32+
33+
- Add demonstration of evalByCredential usage
34+
- Upgrade Android compile SDK to 36
35+
- Upgrade Expo SDK to 54
36+
- Improve type safety and UI handling
37+
- Add type definitions for @hexagon/base64
38+
39+
## Breaking Changes
40+
41+
- `getPublicKey()` now returns Base64URLString on web instead of ArrayBuffer for cross-platform consistency
42+
343
## 0.3.2
444

545
### Patch Changes
46+
647
- 7eca9ea: Fix iOS Safari crashing due to largeBlob empty object
748

849
iOS Safari crashes when requesting a largeBlob credential with an empty object

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-passkeys",
3-
"version": "0.3.3",
3+
"version": "0.4.0",
44
"description": "A library for using (webauthn) passkeys on iOS, Android & web with a single api",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",
@@ -28,7 +28,10 @@
2828
"react-native-passkeys",
2929
"ReactNativePasskeys"
3030
],
31-
"repository": "https://github.com/peterferguson/react-native-passkeys",
31+
"repository": {
32+
"type": "git",
33+
"url": "git+https://github.com/peterferguson/react-native-passkeys.git"
34+
},
3235
"bugs": {
3336
"url": "https://github.com/peterferguson/react-native-passkeys/issues"
3437
},

0 commit comments

Comments
 (0)