|
1 | 1 | # @evolu/react-native |
2 | 2 |
|
3 | | -## 13.0.0 |
4 | | - |
5 | | -### Major Changes |
6 | | - |
7 | | -- dd3c865: - Added expo-secure-store backend for LocalAuth |
8 | | - - Added LocalAuth to Expo example app |
9 | | - - Added native EvoluAvatar to react-native package |
10 | | - - Added experimental jsdoc note to LocalAuth |
11 | | - - Moved LocalAuth out of expo deps to it's own export |
12 | | -- a957aa0: Refactor React Native package structure and remove react-native-quick-base64 dependency |
13 | | - |
14 | | - **Breaking Changes:** |
15 | | - - Package exports reorganized: use `/expo-sqlite`, `/expo-op-sqlite`, or `/bare-op-sqlite` instead of `/expo-sqlite` and `/op-sqlite` |
16 | | - - Updated quickstart documentation to reflect new import paths |
17 | | - |
18 | | - **@evolu/react-native:** |
19 | | - - Reorganized package structure with exports in dedicated `/exports` directory |
20 | | - - Move SQLite driver implementations into `/sqlite-drivers` directory |
21 | | - - Created shared dependency initialization in `shared.ts` |
22 | | - - Removed `react-native-quick-base64` dependency (no longer needed) |
23 | | - - Added `createExpoDeps.ts` for Expo-specific configuration including SecureStore integration |
24 | | - - Updated `package.json` exports to include three entry points: |
25 | | - - `/expo-sqlite` - for Expo projects using expo-sqlite |
26 | | - - `/expo-op-sqlite` - for Expo projects using @op-engineering/op-sqlite |
27 | | - - `/bare-op-sqlite` - for bare React Native projects using @op-engineering/op-sqlite |
28 | | - - Reorganized imports following project guidelines (named imports, top-down organization) |
29 | | - |
30 | | - **@evolu/common:** |
31 | | - - Added `Platform.ts` module with platform detection utilities |
32 | | - - Refactored `LocalAuth.ts` constants to follow naming conventions: |
33 | | - - `AUTH_NAMESPACE` → `localAuth_Namespace` |
34 | | - - `AUTH_DEFAULT_OPTIONS` → `localAuthDefaultOptions` |
35 | | - - `AUTH_METAKEY_LAST_OWNER` → `localAuthMetakeyLastOwner` (private) |
36 | | - - `AUTH_METAKEY_OWNER_NAMES` → `localAuthMetakeyOwnerNames` (private) |
37 | | - |
38 | | - **Documentation:** |
39 | | - - Updated quickstart guide to remove `react-native-quick-base64` from installation instructions |
40 | | - - Simplified Expo setup warnings and instructions |
41 | | - - Updated React Native import example to use `/bare-op-sqlite` path |
42 | | - |
43 | | -- f4a8866: Add owner usage tracking and storage improvements |
44 | | - |
45 | | - ### Breaking Changes |
46 | | - - Renamed `TransportConfig` to `OwnerTransport` and `WebSocketTransportConfig` to `OwnerWebSocketTransport` for clearer naming |
47 | | - - Renamed `SqliteStorageBase` to `BaseSqliteStorage` and `createSqliteStorageBase` to `createBaseSqliteStorage` |
48 | | - - Extracted storage table creation into separate functions: `createBaseSqliteStorageTables` and `createRelayStorageTables` to support serverless deployments where table setup must be separate from storage operations |
49 | | - - Removed `assertNoErrorInCatch` - it was unnecessary |
50 | | - |
51 | | - ### Features |
52 | | - - **Owner usage tracking** (in progress): Added `evolu_usage` table and `OwnerUsage` interface to track data consumption metrics per owner (stored bytes, received bytes, sent bytes, first/last timestamps). Table structure is in place but not yet fully implemented |
53 | | - - **Timestamp privacy documentation**: Added privacy considerations explaining that timestamps are metadata visible to relays, with guidance on implementing local write queues for maximum privacy |
54 | | - - **React Native polyfills**: Added polyfills for `AbortSignal.any()` and `AbortSignal.timeout()` to support Task cancellation on React Native platforms that don't yet implement these APIs |
55 | | - |
56 | | - ### Performance |
57 | | - - **isSqlMutation optimization**: Added LRU cache (10,000 entries) to `isSqlMutation` function, restoring Timestamp insert benchmark from 34k back to 57k inserts/sec. |
58 | | - |
59 | | -### Patch Changes |
60 | | - |
61 | | -- Updated dependencies [36af10c] |
62 | | -- Updated dependencies [6452d57] |
63 | | -- Updated dependencies [eec5d8e] |
64 | | -- Updated dependencies [dd3c865] |
65 | | -- Updated dependencies [8f0c0d3] |
66 | | -- Updated dependencies [eec5d8e] |
67 | | -- Updated dependencies [6759c31] |
68 | | -- Updated dependencies [2f87ac8] |
69 | | -- Updated dependencies [6195115] |
70 | | -- Updated dependencies [eec5d8e] |
71 | | -- Updated dependencies [47386b8] |
72 | | -- Updated dependencies [202eaa3] |
73 | | -- Updated dependencies [f4a8866] |
74 | | -- Updated dependencies [eec5d8e] |
75 | | -- Updated dependencies [13b688f] |
76 | | -- Updated dependencies [a1dfb7a] |
77 | | -- Updated dependencies [45c8ca9] |
78 | | -- Updated dependencies [4a960c7] |
79 | | -- Updated dependencies [6279aea] |
80 | | -- Updated dependencies [02e8aa0] |
81 | | -- Updated dependencies [f5e4232] |
82 | | -- Updated dependencies [0911302] |
83 | | -- Updated dependencies [31d0d21] |
84 | | -- Updated dependencies [0777577] |
85 | | -- Updated dependencies [29886ff] |
86 | | -- Updated dependencies [eec5d8e] |
87 | | -- Updated dependencies [de37bd1] |
88 | | -- Updated dependencies [1d8c439] |
89 | | -- Updated dependencies [3daa221] |
90 | | -- Updated dependencies [6b4a490] |
91 | | -- Updated dependencies [eed43d5] |
92 | | -- Updated dependencies [05fe5d5] |
93 | | -- Updated dependencies [4a82c06] |
94 | | - - @evolu/common@7.0.0 |
95 | | - - @evolu/react@10.0.0 |
96 | | - |
97 | 3 | ## 12.0.1-preview.9 |
98 | 4 |
|
99 | 5 | ### Patch Changes |
|
0 commit comments