Releases: OneSignal/react-onesignal
3.4.0
3.3.0
3.2.3
3.2.3 (2025-06-06)
Changes
- improve types for
setLogLevelmethod - pass
welcomeNotification.disabledasdisableto web SDK - set
welcomeNotification.urlto be optional - await
OneSignalDeferredto complete processing for endpoints such asgetTags()andgetLanguage() - improvements to distributed bundle size
3.2.2
3.2.1
3.2.0
3.1.1
3.1.1 (2025-03-14)
- Add
Languagefunctions toUsermodel (Resolves #143) - Add missing types
UserChangeEvent& new properties (OneSignal/web-shim-codegen@6ae24c1) - Update function templates to support non-void return types (OneSignal/web-shim-codegen@a3ac32f)
3.0.1
What's Changed
- Fix server-side rendering in frameworks like Next.js erroring on
window.
Full Changelog: 3.0.0...3.0.1
3.0.0
⚠️ This is a major release which contains breaking API changes ⚠️
In this major version release for the OneSignal SDK, we are making a significant shift from a device-centered model to a user-centered model. A user-centered model allows for more powerful omni-channel integrations within the OneSignal platform.
Migration Guide
Check out the User Model Migration Guide to get high level understanding of the concepts in this major release.
For code specific change to upgrade your site from v2 to v3 see the onesignal-react specific migration guide.
3.0.0 Release (Beta 5)
What's Changed
- Update migration guide
- Check to see if we are in a client environment (prevent SSR errors)
- Type definition improvements
- API Changes
API Changes
-
Notifications namespace: new
permission&permissionNativeproperties. RemovegetPermissionStatus. -
Rename
subscriptionChangeevent tochange -
Generator Update by @onesignal-deploy in #106
-
Generator Update by @onesignal-deploy in #109
Full Changelog: 3.0.0-beta3...3.0.0-beta5