Releases: OneSignal/react-onesignal
3.2.3
3.2.3 (2025-06-06)
Changes
- improve types for
setLogLevel
method - pass
welcomeNotification.disabled
asdisable
to web SDK - set
welcomeNotification.url
to be optional - await
OneSignalDeferred
to 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
Language
functions toUser
model (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
&permissionNative
properties. RemovegetPermissionStatus
. -
Rename
subscriptionChange
event 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
3.0.0 Release (Beta 3)
What's Changed
- Generator Update by @onesignal-deploy in #105
- Include tag functions that were previously missing
Full Changelog: 3.0.0-beta2...3.0.0-beta3
3.0.0 Release (Beta 2)
What's Changed
- Generator Update by @onesignal-deploy in #102
- Generator Update by @onesignal-deploy in #103
- Generator Update by @onesignal-deploy in #104
Full Changelog: 3.0.0-beta1...3.0.0-beta2