Releases: OneSignal/react-onesignal
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
3.0.0 (Beta 1)
User Model (Beta)
🚧 Beta release. Please test thoroughly prior to production use. 🚧
In this major version beta 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.
For information please see the migration guide
What's Changed
- Bump ejs from 3.1.6 to 3.1.7 in /example by @dependabot in #68
- Add issue templates by @rgomezp in #72
- removed . npmignore file by @kesheshyan in #73
- Bump json5 from 1.0.1 to 1.0.2 by @dependabot in #89
- Update README.md by @rgomezp in #84
- Adding the release drafter action by @emawby in #91
- Close asana tasks generated from Github issues by @emawby in #88
- Generator Update by @onesignal-deploy in #98
New Contributors
- @kesheshyan made their first contribution in #73
- @emawby made their first contribution in #91
- @onesignal-deploy made their first contribution in #98
Full Changelog: 2.0.4...3.0.0-beta1
2.0.4
What's Changed
- Update README with updated type definitions by @rgomezp in #64
- Update README with Troubleshooting section by @rgomezp in #65
- Example App by @rgomezp in #66
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #63
- Bump ansi-regex from 4.1.0 to 4.1.1 by @dependabot in #67
What's fixed
- 2.0.4 Release - fix typescript compiler errors related to event handler functions by @rgomezp in #71
Full Changelog: 2.0.3...2.0.4
2.0.3
What's Changed
- Update README to include Service Worker config info by @rgomezp in #56
- 2.0.3 Release by @rgomezp in #59
Fixed
- Switch from a timeout strategy during OneSignal initialization to script#onload and script#onerror so that calls to #init will always resolve.
Full Changelog: 2.0.2...2.0.3