Releases: OneSignal/onesignal-node-api
Releases · OneSignal/onesignal-node-api
Release 5.0.0-alpha-01
⚠️ User Model alpha release with API breaking changes.
- Please test before using.
- The APIs are subject to change as we move towards a finalized GA release. Feedback on this version is highly appreciated.
- Note that Documentation on API changes is lacking and under progress. The README contains outdated information for this release.
- All player-model references and APIs are removed.
- We have chosen to number this major version with
5.x.x
to align with our suite of SDKs including mobile SDKs.
To get started using the client in this version:
See the full list of API Endpoints.
const configuration = OneSignal.createConfiguration({
userAuthKey: '<YOUR_USER_AUTH_KEY>',
restApiKey: '<YOUR_REST_API_KEY>',
});
const client = new OneSignal.DefaultApi(configuration);
Full Changelog: 2.0.1-beta2...5.0.0-alpha-01
Added 409 and 429 response errors
Added 400, 429 to all responses
Added 409 Subscription Limit Exceeded error response
Other minor changes
2.0.1-Beta1
- Adds support for the following fields on the OneSignal API #56
email_preheader
include_unsubscribed
custom_data
2.0.0-beta1
User model updates
1.0.0 Release (Beta 9)
Added User Model endpoints
1.0.0 Release (Beta 8)
Live Activities
1.0.0 Release (Beta 7)
Merge pull request #42 from OneSignal/npmignore Updated GitHub action and added .npmignore file.
1.0.0 Release (Beta 6)
Fixed
- NPM publish issue where the dist/ folder was not created during the GitHub publish action.
1.0.0 Release (Beta 5)
Api Changes
- Configuration setup has been simplified and streamlined. Now it looks like this:
const configuration = OneSignal.createConfiguration({ userKey: USER_KEY_TOKEN, appKey: APP_KEY_TOKEN, });
- Player ID is no longer required when creating a player
Fixed
- Bug in the OpenAPI schema not allowing users to use filters when creating a notification.
- Bug in the OpenAPI schema not allowing to set the notification name.
1.0.0 Release (Beta 4)
What's Changed
Full Changelog: 1.0.0-beta3...1.0.0-beta4