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
2 changes: 0 additions & 2 deletions .changeset/cuddly-carrots-obey.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/ype-5528-core-split.md

This file was deleted.

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

## 2.12.2

### Patch Changes

- 42a7d88: Core clients are separate tsup entries so an `ApiClient` import can drop `BibleClient` and `LanguagesClient`. Import zod Mini as a namespace so unused classic locale files and unused Mini helpers stay out of named-import graphs. The version string is inlined from `package.json` without embedding the rest of the manifest. Published JS is whitespace-minified; syntax and identifier minify stay off so the `X-YVP-Sdk` stamp remains verifiable. Core does not run tsup's Rollup tree-shake pass, because that pass folds `isPublishBuild` and trips the stamp guard. Core wipes `dist` on build so stale tsup `.d.cts` files cannot publish. Bible version-filter allowlists live in a small state module so narrow imports do not pull auth storage or grants. `YouVersionPlatformConfiguration` still exposes the same statics. Public `theme.css` keeps the `--yv-*` tokens SDK components read.

Behavior note: input-validation failures throw zod Mini's `$ZodError` (from `zod/mini`) instead of classic `ZodError`. `instanceof ZodError` checks against classic `zod` no longer match. Callers that catch validation errors should match on `error instanceof $ZodError` from `zod/mini` (or `z.core.$ZodError`). `page_size="*"` without 1-3 fields still throws the prior `Error` (`page_size="*" requires 1-3 fields to be specified`).

## 2.12.1

### Patch Changes
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": "2.12.1",
"version": "2.12.2",
"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
7 changes: 7 additions & 0 deletions packages/hooks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @youversion/platform-react-hooks

## 2.12.2

### Patch Changes

- Updated dependencies [42a7d88]
- @youversion/platform-core@2.12.2

## 2.12.1

### 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": "2.12.1",
"version": "2.12.2",
"description": "React hooks for accessing YouVersion Platform APIs with automatic loading/error states.",
"license": "Apache-2.0",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @youversion/platform-react-ui

## 2.12.2

### Patch Changes

- Updated dependencies [42a7d88]
- @youversion/platform-core@2.12.2
- @youversion/platform-react-hooks@2.12.2

## 2.12.1

### Patch 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": "2.12.1",
"version": "2.12.2",
"description": "Pre-built React components for Bible applications with styling included.",
"license": "Apache-2.0",
"type": "module",
Expand Down
Loading