anchordb 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ All notable changes to the `anchordb` packages.
5
5
  This project follows [semantic versioning](https://semver.org/). While the version is `0.x`, minor
6
6
  releases may contain breaking changes.
7
7
 
8
+ ## 1.0.3
9
+
10
+ Guidance fix for Expo apps. No change to database behaviour.
11
+
12
+ - **`createAnchorDB` and the `anchordb-react` README recommended `npx expo install --fix`**, which
13
+ cannot help: it only realigns packages listed in the package.json of the app, and `expo-sqlite`
14
+ and `react-native-get-random-values` arrive through `anchordb-react`. Both now name
15
+ `npx expo install expo-sqlite react-native-get-random-values`, which pins the drivers at the top
16
+ level where the wide ranges from 1.0.2 dedupe onto them.
17
+ - Verified in an Expo SDK 56 app: with the pins, both drivers resolve to the versions the SDK pins
18
+ (`expo-sqlite` 56.0.6, `react-native-get-random-values` 1.11.0), deduped, and
19
+ `npx expo install --check` reports dependencies up to date. Without the pin the polyfill resolves
20
+ to 2.0.0 against the 1.11 native module Expo Go ships.
21
+
8
22
  ## 1.0.2
9
23
 
10
24
  `anchordb-react` pinned its native drivers to a single Expo SDK.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anchordb",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "MongoDB + Mongoose for mobile apps. Offline-first local database with optional sync.",
5
5
  "keywords": [
6
6
  "mongodb",