All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
MD5(_ input:)
method from the public APIDeviceStateStore
,InstanceDeviceStateStore
,JustDont
,Metadata
andWithInfiniteExpBackoff
types from the public API NOTE: These types and methods were included in the public API by mistake, their removal should have no effect on end users or require any code changes
- Allow
clearAllState
andstop
to be called whenever without crashing
- Ensure all public methods are accessible with objective-c
- Support for Swift Package Manager.
- Issue that caused the project not to compile in Xcode 10.
- Allow register for remote notifications to be called from the static push notifications.
- Support for multiple instances in the same application.
2.1.2 - 2019-06-10
## Fixed
- Issue when attempting to remove an element from an empty collection.
2.1.1 - 2019-06-08
## Fixed
- Bug when persisting operations to the file.
2.1.0 - 2019-06-04
## Added
- Robuster synchronization logic.
2.0.2 - 2019-05-29
## Added
-
Support for macOS versions:
10.10
10.11
2.0.1 - 2019-05-28
## Changed
- Improve cases when a warning message is displayed.
2.0.0 - 2019-04-12
## Added
- Performance and reliability improvements.
-
Simplified completion handlers:
registerDeviceToken(_ deviceToken:, completion:)
tofunc registerDeviceToken(_ deviceToken:)
addDeviceInterest(interest:, completion:)
tofunc addDeviceInterest(interest:)
setDeviceInterests(interests:, completion:)
tofunc setDeviceInterests(interests:)
removeDeviceInterest(interest:, completion:)
tofunc removeDeviceInterest(interest:)
stop(completion: @escaping (Error?) -> Void)
tofunc stop(completion: @escaping () -> Void)
clearDeviceInterests(completion:)
tofunc clearDeviceInterests()
clearAllState(completion: @escaping (Error?) -> Void)
toclearAllState(completion: @escaping () -> Void)
-
Removed deprecated methods:
subscribe(interest:, completion:)
setSubscriptions(interests:, completion:)
unsubscribe(interest: String, completion:)
unsubscribeAll(completion:)
getInterests()
interestsSetDidChange(interests:)
-
We no longer support macOS versions:
10.10
10.11
1.3.0 - 2019-03-25
## Added
- Add optional
userId
to the event type payload.
1.3.0-beta.1 - 2019-02-21
- Return '.ShouldProcess' if push notification payload contains customer provided 'data' and application is in foreground.
1.2.1 - 2019-02-20
- Call completion handler if device id is already present.
1.2.0 - 2019-02-06
- A secure method to directly target a notification to an authenticated user in your application.
1.1.0 - 2018-09-20
- Compatibility with Xcode 10.0
1.0.1 - 2018-08-22
- Minor internal improvements.
1.0.0 - 2018-07-31
- General availability (GA) release.
0.10.12 - 2018-07-17
- Optimized sync strategy (sync only if interests change).
0.10.11 - 2018-07-04
- Retry strategy with exponential backoff - if the HTTP request fails, SDK will retry that request.
- Improved thread safeness.
0.10.10 - 2018-06-25
interestsSetDidChange(interests:)
will be called when interests set changes.
0.10.9 - 2018-06-18
- Synchronization logic of the
subscribe
method.
0.10.8 - 2018-06-13
- Migration mechanism that syncs interests from Push Notifications BETA service to Pusher Beams.
0.10.7 - 2018-04-24
- Applied recommended settings by Xcode 9.3 to the example projects.
- Ability to ignore Pusher related remote notifications. PR: #60
0.10.6 - 2018-04-04
X-Pusher-Library
HTTP header field.
- Open/Delivery Event Schemas
0.10.5 - 2018-03-20
### Added
- All asynchronous tasks are added into the serial queue in order to prevent race conditions.
- Execution of the tasks in the serial queue is suspended until we receive device id.
- Minor improvements to the unit tests.
0.10.4 - 2018-03-13
- Allow '-' (dash) character in the interest name as service now supports it.
0.10.3 - 2018-03-07
- Sync interests with Pusher Push Notifications service when app starts.
- Bug when
setSubscriptions
method would throw an exception.