-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(subscription): add more types to create `SubscriptionCursor` from Make it possible to create `SubscriptionCursor` from the string slice. feat(subscription): add methods to manipulate subscriptions in set Add `add_subscriptions(..)` and `sub_subscriptions(..)` to `SubscriptionSet` to make it possible in addition to sets manipulation, use a list of subscriptions. feat(subscribe): add subscription list changed status fix(subscribe): fix `cursor` reset issue Fix issue because of which `cursor` is not reset on `Subscription` and `SubscriptionSet` on unsubscribe. fix(subscription): fix issue with cancelled effects Fix issue because of which cancelled effects still asynchronously spawned for processing. refactor(examples): refactor `subscribe` example Separate `subscribe` example into two to show separately `subscribe` feature and `presence state` maintenance with subscribe. refactor(subscribe): add subscription token validation Added a method to validate the provided subscription token to conform to PubNub time token requirements with precision. refactor(subscription): split `subscribe` method Split the `subscribe` method into two: `subscribe` and `subscribe_with_timetoken`. docs(inline): change `client` to `pubnub` in inline docs --------- Co-authored-by: Mateusz Wiktor <[email protected]>
- Loading branch information
1 parent
c3b921f
commit dab433d
Showing
28 changed files
with
1,162 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "pubnub" | ||
version = "0.5.0" | ||
version = "0.6.0" | ||
edition = "2021" | ||
license-file = "LICENSE" | ||
authors = ["PubNub <[email protected]>"] | ||
|
@@ -165,6 +165,10 @@ required-features = ["default"] | |
|
||
[[example]] | ||
name = "subscribe" | ||
required-features = ["default", "subscribe"] | ||
|
||
[[example]] | ||
name = "subscribe_with_presence_state" | ||
required-features = ["default", "subscribe", "presence"] | ||
|
||
[[example]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.