@youversion/platform-react-hooks 1.2.1 → 1.4.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,4 +1,4 @@
1
1
 
2
- > @youversion/platform-react-hooks@1.2.1 build /home/runner/work/platform-sdk-react/platform-sdk-react/packages/hooks
2
+ > @youversion/platform-react-hooks@1.4.0 build /home/runner/work/platform-sdk-react/platform-sdk-react/packages/hooks
3
3
  > tsc -p tsconfig.build.json
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @youversion/platform-react-hooks
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 8275a27: feat(ui): add bible reader settings
8
+ - refactor popover component to have consistent styling across
9
+ multiple components and reduce duplication in code.
10
+ - add bible reader settings and save the users settings to localStorage.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [8275a27]
15
+ - @youversion/platform-core@1.4.0
16
+
17
+ ## 1.3.0
18
+
19
+ ### Minor Changes
20
+
21
+ - b2b86c2: Add support for array query parameters in API client and improve language range handling
22
+ - **API Client**: Enhanced query string serialization to support array parameters, properly formatting them as repeated keys (e.g., `?param=one&param=two`)
23
+ - **Bible Client**: Updated `getVersions()` method to accept either a single language range string or an array of language ranges, providing more flexibility for filtering Bible versions
24
+ - **Schema**: Renamed language range schema to use plural naming convention for consistency
25
+ - **Testing**: Added comprehensive test coverage for query string building with both scalar and array parameters
26
+
27
+ This change maintains backward compatibility while providing more flexible API parameter handling.
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [b2b86c2]
32
+ - @youversion/platform-core@1.3.0
33
+
3
34
  ## 1.2.1
4
35
 
5
36
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youversion/platform-react-hooks",
3
- "version": "1.2.1",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -22,7 +22,7 @@
22
22
  }
23
23
  },
24
24
  "dependencies": {
25
- "@youversion/platform-core": "1.2.1"
25
+ "@youversion/platform-core": "1.4.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=19.1.0 <20.0.0"