Releases: OneSignal/OneSignal-Website-SDK
Release 160004
Release Notes
🐛 Bug Fixes
addEmail
andaddSms
now saveonesignal_id
for anonymous Users if notifications have not been enabled yet. PR #1119- When awaiting OneSignal.login the Promise now resolve correctly after all work has been completed. PR #1119
- Hide bell if user is subscribed, when setting is enabled on OneSignal dashboard. PR #1130
- Notification click event not firing if it opens a new tab. PR #1132
Full Changelog: 160003...160004
Release 160003
Release Notes
🐛 Bug Fixes
- Safari macOS - Fix native prompt with custom link PR #1116
- Safari macOS - Fix auto resubscribe PR #1117
Full Changelog: 160002...160003
Release 160002
What's Changed
🐛 Bug Fixes
🛠️ Improvements
- Call out error to show 409 http is expected (#1102)
Full Changelog: 160001...160002
Release 160001
What's Changed
🐛 Bug Fixes
- Fix direct outcomes not working for some users. PR #1087
Full Changelog: 160000...160001
Release v16 (160000)
📦 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.
v16 Migration Guide
Please read the overview first to get a better understanding from a high level of what changed
⚠️ What is not available in this release ⚠️
- Identity Verification (Coming soon)
- HTTP / os.tc label - HTTPS is now required , HTTP sites are no longer supported.
- You must also use your own domain, os.tc is no longer supported
- Google AMP - Please create an issue if you need support.
Full Changelog from v15 to v16
Changelog from v16.beta8 to Release (GA)
- Fix notification Open & Confirm Delivery REST API calls failing. PR #1079
- Fix notification event types; click, willDisplay, and dismiss. PR #1078
Commits 160000.beta8...160000
Release 160000 (Beta 8)
v16 Migration guide
See the migration guide if coming from v15.
What's Changed from beta7 to beta8
Fixes
- [User Model] [Fix] Notification permission change event stop firing by @jkasten2 in #1072
- [User Model] [Fix] Bell not updating to subscribed state by @jkasten2 in #1073
- [User Model] [Fix] Notification permission change event type to boolean by @jkasten2 in #1075
- [User Model] [Fix] Wrong notifications type when disabling browser permission by @jkasten2 in #1076
- [User Model] [Fix] Update existing subscription on token changes instead of creating new by @jkasten2 in #1077
Full Changelog: 160000.beta7...160000.beta8
Release 160000 (Beta 7)
v16 Migration guide
See the migration guide if coming from v15.
What's Changed from beta6 to beta7
Fixes
- Fixed
OneSignal.User.PushSubscription.id
alwaysundefined
, until you refresh the page. PR #1069 - Fixed Safari on macOS native prompt not showing from category slidedown. PR #1070
Full Changelog: 160000.beta6...160000.beta7
Release 151604
What's New
- Fix notification permission change event stop firing after the first event. PR #1071
- Regression in version 151603 (was released on July 7th)
Release 160000 (Beta 6)
v16 Migration guide
See the migration guide if coming from v15.
What's Changed since v160000 Beta5
Fixes
- Added support for iOS WebApp push
- Requires installing your site as a Web App, see Mobile Web Push for iOS/iPadOS
- Brought over from v151600, from PR #1002.
- [User Model] [Fix] Erroring on User property updates before push subscription create by @jkasten2 in #1061
- [User model] [Fix] macOS Safari prompting and subscribing by @jkasten2 in #1062
- [User Model] Migration guide fixes; service worker name, async, and small misc by @jkasten2 in #1065
Full Changelog: 160000.beta5...160000.beta6