Changelog
Release notes and version history for the General Wisdom SDK.
Releases follow Semantic Versioning. Beta releases (-beta.x) introduce new features that may change before the next stable release.
0.4.0-beta.3
2026-05-05
Added
gw.sessions.extend()now accepts an optionaldurationparameter for fine-grained extension control- Geographic distribution data in provider analytics responses
- TypeScript strict mode support across all SDK exports
Fixed
- Race condition in session termination when multiple extensions are pending
- Incorrect token balance reported after rapid consecutive session launches
Changed
- Minimum Node.js version bumped to 20.x
SessionEventtype now includessettlementfield on termination events
0.4.0-beta.2
2026-04-22
Added
- In-session purchase API (
gw.sessions.purchase()) - Webhook signature verification helper (
gw.webhooks.verify()) - Support for custom metadata on session creation
Fixed
- Token escrow amount calculation for sessions with promotional pricing
- WebSocket reconnection loop when server returns 503
0.4.0-beta.1
2026-04-10
Added
- Provider analytics SDK methods (
gw.provider.analytics.*) - Session lifecycle webhooks with configurable event filters
- Batch session creation for enterprise providers
Breaking Changes
SessionConfig.tokenAmountrenamed toSessionConfig.feefor clarity- Removed deprecated
gw.connect()method (usegw.sessions.create()instead)
0.3.0
2026-03-28
Added
- Session extension support
- Real-time session status via WebSocket
- Provider dashboard API endpoints
- Data provider query interface
Fixed
- Memory leak in long-running session connections
- Auth token refresh failing silently after network interruption
Changed
- Default session timeout increased from 30 to 60 minutes
- Error responses now include
requestIdfor support correlation
0.2.2
2026-03-14
Fixed
- TypeScript type exports missing from package entry point
gw.sessions.list()pagination returning duplicate results- CORS preflight handling for custom auth headers
0.2.1
2026-03-07
Fixed
- SDK initialization failing when
windowis undefined (SSR environments) - Token balance query returning stale cached values
0.2.0
2026-02-20
Added
- Multi-provider authentication (Cognito, Auth0, custom JWT)
- Session creation and termination APIs
- Token balance queries
- React hooks (
useSession,useTokenBalance)
Changed
- Configuration moved from constructor args to
gw.configure()method - API base URL now auto-detected from environment
0.1.0
2026-01-15
Initial release.
Added
- SDK initialization and authentication
- Basic session launch flow
- TypeScript type definitions
- Getting started documentation