Releases: OneSignal/OneSignal-Website-SDK
Releases · OneSignal/OneSignal-Website-SDK
Release 160203
🐛 Bug Fixes
- Fix prompting again after closing notification permission prompt if site has its own ServiceWorker. (#1192)
- Fix
OneSignal.logout()
so it doesn't throw an error if there isn't a push subscription. (#1194) - Fix outdated external ids caused by OneSignal returning the user's previous external id in its response for user GET requests when called quickly after the user was created. (#1189)
Dev Enhancements
- Enforce some additional Typescript compile errors that were only IDE warnings. (#1195)
- Fix
TypeError: Cannot destructure property 'lastKnownPushToken' of '(intermediate value)' as it is undefined.
in operation repo tests. (#1196) - Operation repo refactor that will help with the implementation of identity verification (#1179)
Release 160202
What's Changed
- Adjustments for Dev-Dev Environments by @rgomezp in #1157
- Api/notification create removal by @rgomezp in #1186
Full Changelog: 160201...160202
151606 (Player Model SDK)
What's Changed
Full Changelog: 151605...151606
Release 160201
🔨 Improvements
🐛 Bug Fixes
Release 160200
Release Notes
🎉 New Methods 🎉
- Add getter for
onesignalId
andexternalId
and a UserState Observer to be notified of changes in #1158- See the User Namespace API Reference in the Migration Guide for usage
🔨 Improvements
- Internal - Add OneSignal-Subscription-Id header to create user requests. #1161
Release 160101
What's Changed
🔨 Improvements
🐛 Bug Fixes
- Fixed slidedown prompting for email and sms when it was already collected. PR #1146
Full Changelog: 160100...160101
Release 160100
What's Changed
🆕 Features
- Add getTags to public API. PR #1140
🔨 Improvements
- Use new URL in macOS subscribeSafariPromptPermission. PR #1138
- Show iOS Web App supported message. PR #1135
- Improve logging format and styling. PR #1137
🐛 Bug Fixes
- Fix Service Worker race condition, when a 2nd sw is in play, causing User not to register. PR #1136
- Handle sites using os.tc subdomain, showing a correct error message. PR #1139
Full Changelog: 160004...160100
Release 151605
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