@youversion/platform-core 1.18.0 → 1.19.0

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @youversion/platform-core@1.18.0 build /home/runner/work/platform-sdk-react/platform-sdk-react/packages/core
2
+ > @youversion/platform-core@1.19.0 build /home/runner/work/platform-sdk-react/platform-sdk-react/packages/core
3
3
  > tsup src/index.ts --format cjs,esm --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,11 +8,11 @@
8
8
  CLI Target: es2022
9
9
  CJS Build start
10
10
  ESM Build start
11
- ESM dist/index.js 53.00 KB
12
- ESM ⚡️ Build success in 41ms
13
11
  CJS dist/index.cjs 56.12 KB
14
- CJS ⚡️ Build success in 41ms
12
+ CJS ⚡️ Build success in 48ms
13
+ ESM dist/index.js 53.00 KB
14
+ ESM ⚡️ Build success in 48ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 1707ms
16
+ DTS ⚡️ Build success in 2088ms
17
17
  DTS dist/index.d.cts 34.06 KB
18
18
  DTS dist/index.d.ts 34.06 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @youversion/platform-core
2
2
 
3
+ ## 1.19.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 030e297: Deprecates hooks and providers that are not used by the UI package or any known consumers. These were inherited from a hackathon project and never adopted. These will be fully removed in the next major version bump.
8
+
9
+ Deprecated:
10
+ - `useInitData` — convenience wrapper over `useVersion`, `useBook`, `useChapter` that loses error granularity, drops `refetch`, and has zero consumers. Use the three hooks directly.
11
+ - `useChapterNavigation` — coupled to `ReaderProvider` which nobody uses. The UI package calls `getAdjacentChapter` from core directly.
12
+ - `ReaderProvider`, `ReaderContext`, `useReaderContext` — the UI package built its own `BibleReaderContext` instead. Zero consumers.
13
+ - `VerseSelectionProvider`, `VerseSelectionContext`, `useVerseSelection` — the UI package handles verse selection via props/callbacks. Zero consumers.
14
+
15
+ ## 1.18.1
16
+
17
+ ### Patch Changes
18
+
19
+ - 325dff9: BibleCard now animates content height transitions when loading new data instead of flashing and abruptly resizing
20
+
3
21
  ## 1.18.0
4
22
 
5
23
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youversion/platform-core",
3
- "version": "1.18.0",
3
+ "version": "1.19.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -30,8 +30,8 @@
30
30
  "tsup": "8.5.0",
31
31
  "typescript": "5.9.3",
32
32
  "vitest": "4.0.4",
33
- "@internal/eslint-config": "0.0.0",
34
- "@internal/tsconfig": "0.0.0"
33
+ "@internal/tsconfig": "0.0.0",
34
+ "@internal/eslint-config": "0.0.0"
35
35
  },
36
36
  "dependencies": {
37
37
  "zod": "4.1.12"