Skip to content

Releases: OneSignal/react-onesignal

3.0.0 Release (Beta 3)

31 Mar 20:55
a6e4c54

Choose a tag to compare

Pre-release

What's Changed

Full Changelog: 3.0.0-beta2...3.0.0-beta3

3.0.0 Release (Beta 2)

30 Mar 00:08
e931e92

Choose a tag to compare

Pre-release

What's Changed

Full Changelog: 3.0.0-beta1...3.0.0-beta2

3.0.0 (Beta 1)

21 Mar 22:24
0a9fade

Choose a tag to compare

3.0.0 (Beta 1) Pre-release
Pre-release

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

New Contributors

Full Changelog: 2.0.4...3.0.0-beta1

2.0.4

25 May 15:21
9821073

Choose a tag to compare

What's Changed

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

08 Feb 18:16
eedd643

Choose a tag to compare

What's Changed

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

2.0.2

15 Nov 21:00
18e7825

Choose a tag to compare

  • Fixes functions that weren't returning promises. See #53

2.0.1

12 Oct 21:16
dd89beb

Choose a tag to compare

Adds homepage and repository links from #50

2.0.0

18 Aug 23:17
9ee9d12

Choose a tag to compare

2.0.0 Release

🚧 Includes breaking changes 🚧

If migrating from a 1.0+ version, read the migration guide.


The React OneSignal NPM package previously lacked several OneSignal WebSDK functions. The package was also dependent on an initialization helper set-up hook. This ensured OneSignal was ready to execute the functions before doing so. The initialization function was also different from our WebSDK initialization.

This release addresses the above points by:

  • adding all supported functions
  • changing the initialization function
  • removing the need for the set-up hook

Additionally, the release includes some clean-up:

  • restructures repository so the package is at the top level
  • removes unneeded files
  • updates the README

We hope the changes will greatly simplify the package and improve usability. We also want to ensure adopters have access to all of the most up-to-date functions and features provided by OneSignal.

Events

The events object is no longer needed either. In its place, the event handlers can now be added directly via the on function to match the WebSDK 1:1.

Typescript Support

This release also adds full Typescript support for all functions.

Release 2.0 (Beta)

06 Jul 21:10
68bc0e7

Choose a tag to compare

Release 2.0 (Beta) Pre-release
Pre-release

See #44 for more info.

1.7.0

03 Sep 20:11

Choose a tag to compare

🔥 Support Slidedown prompts

This release adds two new functions: showSlidedownPrompt and showCategorySlidedown. With these, you can call the option to show the registration mode. Docs here.

image

image

Thanks to @RodolfoSilva for the contributions! 🚀