Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 5.1.0 #1662

Merged
merged 2 commits into from Mar 12, 2024
Merged

Release 5.1.0 #1662

merged 2 commits into from Mar 12, 2024

Conversation

jennantilla
Copy link
Contributor

@jennantilla jennantilla commented Mar 12, 2024

What's Changed

πŸŽ‰ New Methods πŸŽ‰

  • Add getter for onesignalId and externalId and a UserState Observer to be notified of changes in #1627
  • Add asynchronous getter methods for Notifications permission and Push Subscription token, id,optedIn in #1649
    • πŸ›‘ Deprecated methods πŸ›‘
      • Notifications.hasPermission, User.pushSubscription.id, User.pushSubscription.token, and User.pushSubscription.optedIn are now deprecated but non-breaking.
    • See the Push Subscription Namespace API Reference and Notifications Namespace API Reference in the Migration Guide for usage of new methods getPermissionAsync, getIdAsync, getTokenAsync, and getOptedInAsync.

⚠️ Minor Breaking Change ⚠️

  • API update for PushSubscriptionState: the Push Subscription observer will now be passed nullable properties. Please account for the possibility of the push subscription token and id being null.

Native Changes

  • Bump Android Native Version to 5.1.6
  • Bump iOS Native Version to 5.1.3

Full Changelog: 5.0.6...5.1.0


This change is Reviewable

Native:
- Android 5.1.6
- iOS 5.1.3

Wrapper:
- RN 5.1.0
Copy link
Contributor

@nan-li nan-li left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

package.json version bump needed

@jennantilla jennantilla requested a review from nan-li March 12, 2024 21:34
Copy link
Contributor

@nan-li nan-li left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The release notes look really good

@jennantilla jennantilla merged commit 4ab7c7b into major_release_5.0.0 Mar 12, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants