@youversion/platform-core 0.6.0 → 0.7.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@0.6.0 build /home/runner/work/platform-sdk-react/platform-sdk-react/packages/core
2
+ > @youversion/platform-core@0.7.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 37.59 KB
12
- ESM ⚡️ Build success in 44ms
13
- CJS dist/index.cjs 39.59 KB
14
- CJS ⚡️ Build success in 45ms
11
+ CJS dist/index.cjs 43.46 KB
12
+ CJS ⚡️ Build success in 41ms
13
+ ESM dist/index.js 41.62 KB
14
+ ESM ⚡️ Build success in 42ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 1936ms
17
- DTS dist/index.d.cts 34.21 KB
18
- DTS dist/index.d.ts 34.21 KB
16
+ DTS ⚡️ Build success in 1958ms
17
+ DTS dist/index.d.cts 33.54 KB
18
+ DTS dist/index.d.ts 33.54 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # @youversion/platform-core
2
2
 
3
+ ## 0.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b7e337d: 🔄 Authentication System Overhaul
8
+ - Replaced old authentication strategy with new PKCE-based OAuth flow
9
+ - Removed AuthenticationStrategy.ts and WebAuthenticationStrategy.ts
10
+ - Added SignInWithYouVersionPKCE.ts for secure OAuth implementation
11
+ - Enhanced Users.ts with comprehensive auth token management (+469 lines)
12
+
13
+ 🏗️ Context/Provider Architecture Refactor
14
+ - Renamed BibleSDKContext/Provider → YouVersionContext/Provider
15
+ - Removed UI-level YVPProvider, YVPErrorBoundary
16
+ - Added dedicated auth providers: YouVersionAuthProvider and YouVersionAuthContext
17
+ - Consolidated authentication logic into hooks package
18
+
19
+ 🪝 New Hooks Implementation
20
+ - Added useYVAuth hook for authentication state management
21
+ - Updated existing hooks (useBibleClient, useHighlights, etc.) to use new context
22
+ - Enhanced configuration management in YouVersionPlatformConfiguration
23
+
24
+ 🔧 Infrastructure Improvements
25
+ - Added token refresh capabilities
26
+ - Improved memory leak prevention in auth provider
27
+ - Enhanced type definitions and exports
28
+
29
+ Applications using this SDK will need to:
30
+ 1. Update all context/provider imports and names
31
+ 2. Migrate from old authentication patterns to new PKCE flow
32
+ 3. Update provider setup in application roots
33
+ 4. Adjust any direct usage of removed authentication classes
34
+ 5. Update package imports for auth-related functionality
35
+
3
36
  ## 0.6.0
4
37
 
5
38
  ### Minor Changes