Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .changeset/x-yvp-sdk-header.md

This file was deleted.

10 changes: 10 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @youversion/platform-core

## 1.30.0

### Minor Changes

- 02c2330: Add `X-YVP-Sdk` header to every API call and let consumers override headers
- 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.
- `SDK_VERSION`, `SDK_NAME`, and `SDK_VERSION_HEADER_NAME` exported from `@youversion/platform-core`.
- `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.
- `YouVersionProvider` gains an `additionalHeaders` prop that flows through context to every hook-built `ApiClient`.

## 1.29.0

## 1.28.0
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@youversion/platform-core",
"version": "1.29.0",
"version": "1.30.0",
"description": "A type-safe TypeScript SDK for accessing the YouVersion Platform APIs. Get Bible content and build Bible-based applications.",
"license": "Apache-2.0",
"type": "module",
Expand Down
15 changes: 15 additions & 0 deletions packages/hooks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @youversion/platform-react-hooks

## 1.30.0

### Minor Changes

- 02c2330: Add `X-YVP-Sdk` header to every API call and let consumers override headers
- 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.
- `SDK_VERSION`, `SDK_NAME`, and `SDK_VERSION_HEADER_NAME` exported from `@youversion/platform-core`.
- `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.
- `YouVersionProvider` gains an `additionalHeaders` prop that flows through context to every hook-built `ApiClient`.

### Patch Changes

- Updated dependencies [02c2330]
- @youversion/platform-core@1.30.0

## 1.29.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@youversion/platform-react-hooks",
"version": "1.29.0",
"version": "1.30.0",
"description": "React hooks for accessing YouVersion Platform APIs with automatic loading/error states.",
"license": "Apache-2.0",
"type": "module",
Expand Down
16 changes: 16 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @youversion/platform-react-ui

## 1.30.0

### Minor Changes

- 02c2330: Add `X-YVP-Sdk` header to every API call and let consumers override headers
- 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.
- `SDK_VERSION`, `SDK_NAME`, and `SDK_VERSION_HEADER_NAME` exported from `@youversion/platform-core`.
- `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.
- `YouVersionProvider` gains an `additionalHeaders` prop that flows through context to every hook-built `ApiClient`.

### Patch Changes

- Updated dependencies [02c2330]
- @youversion/platform-core@1.30.0
- @youversion/platform-react-hooks@1.30.0

## 1.29.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@youversion/platform-react-ui",
"version": "1.29.0",
"version": "1.30.0",
"description": "Pre-built React components for Bible applications with styling included.",
"license": "Apache-2.0",
"type": "module",
Expand Down