Skip to content

Commit dad1c1c

Browse files
chore: version packages (#242)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 3758009 commit dad1c1c

8 files changed

Lines changed: 45 additions & 19 deletions

File tree

.changeset/bible-card-footnote-press.md

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

.changeset/x-yvp-sdk-header.md

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

packages/core/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @youversion/platform-core
22

3+
## 1.30.0
4+
5+
### Minor Changes
6+
7+
- 02c2330: Add `X-YVP-Sdk` header to every API call and let consumers override headers
8+
- New `X-YVP-Sdk: ReactSDK={version}` header sent on every request alongside `X-YVP-App-Key`. The version is imported directly from `packages/core/package.json` and inlined by the bundler at build time.
9+
- `SDK_VERSION`, `SDK_NAME`, and `SDK_VERSION_HEADER_NAME` exported from `@youversion/platform-core`.
10+
- `ApiConfig` gains an optional `additionalHeaders` map that is merged into every request. Keys here override the SDK's built-in headers, so wrappers (e.g. the React Native Expo SDK) can replace `X-YVP-Sdk` with their own identifier.
11+
- `YouVersionProvider` gains an `additionalHeaders` prop that flows through context to every hook-built `ApiClient`.
12+
313
## 1.29.0
414

515
## 1.28.0

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@youversion/platform-core",
3-
"version": "1.29.0",
3+
"version": "1.30.0",
44
"description": "A type-safe TypeScript SDK for accessing the YouVersion Platform APIs. Get Bible content and build Bible-based applications.",
55
"license": "Apache-2.0",
66
"type": "module",

packages/hooks/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# @youversion/platform-react-hooks
22

3+
## 1.30.0
4+
5+
### Minor Changes
6+
7+
- 02c2330: Add `X-YVP-Sdk` header to every API call and let consumers override headers
8+
- New `X-YVP-Sdk: ReactSDK={version}` header sent on every request alongside `X-YVP-App-Key`. The version is imported directly from `packages/core/package.json` and inlined by the bundler at build time.
9+
- `SDK_VERSION`, `SDK_NAME`, and `SDK_VERSION_HEADER_NAME` exported from `@youversion/platform-core`.
10+
- `ApiConfig` gains an optional `additionalHeaders` map that is merged into every request. Keys here override the SDK's built-in headers, so wrappers (e.g. the React Native Expo SDK) can replace `X-YVP-Sdk` with their own identifier.
11+
- `YouVersionProvider` gains an `additionalHeaders` prop that flows through context to every hook-built `ApiClient`.
12+
13+
### Patch Changes
14+
15+
- Updated dependencies [02c2330]
16+
- @youversion/platform-core@1.30.0
17+
318
## 1.29.0
419

520
### Patch Changes

packages/hooks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@youversion/platform-react-hooks",
3-
"version": "1.29.0",
3+
"version": "1.30.0",
44
"description": "React hooks for accessing YouVersion Platform APIs with automatic loading/error states.",
55
"license": "Apache-2.0",
66
"type": "module",

packages/ui/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# @youversion/platform-react-ui
22

3+
## 1.30.0
4+
5+
### Minor Changes
6+
7+
- 3758009: Add optional `onFootnotePress` callback to `BibleCard` for custom footnote handling (same pattern as `BibleReader`).
8+
- 02c2330: Add `X-YVP-Sdk` header to every API call and let consumers override headers
9+
- New `X-YVP-Sdk: ReactSDK={version}` header sent on every request alongside `X-YVP-App-Key`. The version is imported directly from `packages/core/package.json` and inlined by the bundler at build time.
10+
- `SDK_VERSION`, `SDK_NAME`, and `SDK_VERSION_HEADER_NAME` exported from `@youversion/platform-core`.
11+
- `ApiConfig` gains an optional `additionalHeaders` map that is merged into every request. Keys here override the SDK's built-in headers, so wrappers (e.g. the React Native Expo SDK) can replace `X-YVP-Sdk` with their own identifier.
12+
- `YouVersionProvider` gains an `additionalHeaders` prop that flows through context to every hook-built `ApiClient`.
13+
14+
### Patch Changes
15+
16+
- Updated dependencies [02c2330]
17+
- @youversion/platform-core@1.30.0
18+
- @youversion/platform-react-hooks@1.30.0
19+
320
## 1.29.0
421

522
### Minor Changes

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@youversion/platform-react-ui",
3-
"version": "1.29.0",
3+
"version": "1.30.0",
44
"description": "Pre-built React components for Bible applications with styling included.",
55
"license": "Apache-2.0",
66
"type": "module",

0 commit comments

Comments
 (0)