anchordb 1.0.1 → 1.0.2
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.
- package/CHANGELOG.md +28 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,34 @@ 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.2
|
|
9
|
+
|
|
10
|
+
`anchordb-react` pinned its native drivers to a single Expo SDK.
|
|
11
|
+
|
|
12
|
+
- **`expo-sqlite` was declared `^57.0.3`**, so an app on Expo SDK 56 (`expo-sqlite ~56.0.4`) could
|
|
13
|
+
not dedupe it. npm nested a second, SDK 57 `expo-sqlite` whose JavaScript no longer matched the
|
|
14
|
+
native build of the app. The intended range was `>=14`; `npm install -w` rewrote it with a caret
|
|
15
|
+
when the dependency was added. Both drivers now take wide ranges (`expo-sqlite >=14`,
|
|
16
|
+
`react-native-get-random-values >=1.11`), so npm reuses whatever version the Expo SDK of the app
|
|
17
|
+
already installed.
|
|
18
|
+
- A test now asserts both ranges accept the drivers Expo SDK 56 and 57 ship and are not caret- or
|
|
19
|
+
tilde-pinned, so a future `npm install -w` cannot silently narrow them again.
|
|
20
|
+
|
|
21
|
+
Found by comparing against a working Expo SDK 56 app on the same machine.
|
|
22
|
+
|
|
23
|
+
## 1.0.1
|
|
24
|
+
|
|
25
|
+
Two defects in `anchordb-angular`, both in its *documented* usage, found by building a real Ionic
|
|
26
|
+
app against the published package for the first time.
|
|
27
|
+
|
|
28
|
+
- **The provider arrays did not typecheck against Angular.** `Provider.useFactory` was declared
|
|
29
|
+
optional, so the array was not assignable to Angular’s `Provider[]` and the documented
|
|
30
|
+
`bootstrapApplication` example failed to compile. It is now required, matching what every
|
|
31
|
+
provider in the package actually returns, and `useValue` — declared but never used — is gone.
|
|
32
|
+
- **`.toObservable()` was documented but implemented nowhere.** The real API is
|
|
33
|
+
`AnchorService.find$` / `findOne$` / `count$`, which return an RxJS-interop `AnchorObservable`
|
|
34
|
+
the `async` pipe accepts directly. The documentation now shows that.
|
|
35
|
+
|
|
8
36
|
## 1.0.0
|
|
9
37
|
|
|
10
38
|
**Versioning changes with this release.** The major version now tracks the React / Angular major the
|