Releases: pubnub/rust
Releases · pubnub/rust
0.7.0
October 28 2025
Added
- Add
limit(default1000) andoffsetparameters forhere_nowto fetch presence in portions. - Use default retry configuration for
subscribeandpresenceREST API calls.
Fixed
- Fix the issue because of which it was possible to add the same channel / group multiple times to the
subscribe,heartbeat, orleaverequests. - Fix the
Presenceenum variant to not intercept user-published messages that partly match thePresencevariant.
Modified
- Synchronize subscription flow with other SDKs.
- Synchronize presence flow with other SDKs.
0.6.0
February 08 2024
Added
- Make it possible to create
SubscriptionCursorfrom the string slice. - Add
add_subscriptions(..)andsub_subscriptions(..)toSubscriptionSetto make it possible in addition to sets manipulation use list of subscriptions.
Fixed
- Fix issue because of which
cursoris not reset onSubscriptionandSubscriptionSeton unsubscribe. - Fix issue because of which cancelled effects still asynchronously spawned for processing.
Modified
- Change
clienttopubnubin inline docs. - Add subscription token validation.
- Added a method to validate the provided subscription token to conform to PubNub time token requirements with precision. Separate
subscribeexample into two to show separatelysubscribefeature andpresence statemaintenance with subscribe.
0.5.0
January 26 2024
Added
- Change the real-time event handling interface.
user_idstate for specified channels will be maintained by the SDK. State with subscribe calls has been improved.- Adding
Channel,ChannelGroup,ChannelMetadataandUuidMetadataentities to be first-class citizens to access APIs related to them. Currently, access is provided only for subscription APIs. - Added ability to configure request retry policies to exclude specific endpoints from retry.
0.4.1
November 03 2023
Modified
- Update license information.
0.4.0
October 16 2023
Added
- Update the crypto module structure and add enhanced AES-CBC cryptor.
0.3.0
August 30 2023
Added
- PubNub subscribe API implemented.
- PubNub presence API implemented.
- Event engine as a new method of handling connections for
subscribeandpresencemethods implemented.
0.2.1
June 07 2023
Fixed
- Fixed versions in the docs.
- Fixed broken links for
docs.rspage. - Fixed logo image.