- Additional SMS related fields (on the Notifications payload)
- Add ability to update device IP address
- add "name" to Notifications payload
- Implement 'Edit tags with external user id' API endpoint
- Implement View Outcomes endpoint
- Add new device types
- Add app_url option in NotificationResolver
- Add channel_for_external_user_ids option in NotificationResolver
- Allow to install on php 8.0
- Add "kind" argument to notifications getAll method
- Add field "include_email_tokens"
- Add field "apns_push_type_override"
- Add missed chrome_web_badge option to NotificationResolver
- Add create/update segments and notification history examples to readme
- At least PHP 7.3 version is now required.
OneSignal\OneSignal
client now requires always to provideOneSignal\Config
.OneSignal\OneSignal
client now expectsPsr\Http\Client\ClientInterface
as a second arguments instead ofHttp\Client\Common\HttpMethodsClient
and is mandatory.OneSignal\OneSignal
client now requires always to providePsr\Http\Message\RequestFactoryInterface
as a third argument andPsr\Http\Message\StreamFactoryInterface
as a fourth argument.- Replaced magic __get method with __call in
OneSignal\OneSignal
, so from now calls like$oneSignal->apps
must be used as$oneSignal->apps()
. It is better to use Dependency injection, because these calls will construct new instances. - Removed
OneSignal\Exception\OneSignalException
and addedOneSignal\Exception\OneSignalExceptionInterface
. - Removed
setConfig
andsetClient
methods inOneSignal\OneSignal
. You can build new instances with different configs or http clients.