Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscribe & Presence Event Engine #152

Merged
merged 7 commits into from
Jan 22, 2024
Merged

Subscribe & Presence Event Engine #152

merged 7 commits into from
Jan 22, 2024

Conversation

jguz-pubnub
Copy link
Contributor

@jguz-pubnub jguz-pubnub commented Dec 22, 2023

feat(subscribe & presence): introducing Subscribe & Presence EventEngine

* Adding `.connnectionError` and removing `.connecting` and `.reconnecting` from `ConnectionStatus`
* Deprecating `SubscriptionSession` and `SubscribeSessionFactory`
* Limiting the scope of public structs/classes associated with the Subscribe loop that aren't part of any exposed public method/variable
* Introducing Strategy pattern to handle both old & new Subscribe loop implementation
* Removing local events emitted from Subscribe loop
* Maintaining `state` parameter for /v2/subscribe and /v2/presence/heartbeat
* Adding `enableEventEngine` and `maintainPresenceState` flags in `PubNubConfiguration`
* Improved AutomaticRetry and making possible to retry other requests
* Fixing unit & contract tests according to changes above
* Handling filterExpression
* Providing backward compatibility for SubscribeSessionFactory
* Providing full backward compatibility with old subscription loop
* Always using PubNubError for any kind of errors
@jguz-pubnub jguz-pubnub requested a review from parfeon January 19, 2024 12:29
Copy link
Contributor

@parfeon parfeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jguz-pubnub
Copy link
Contributor Author

@pubnub-release-bot release as 6.3.0

@jguz-pubnub jguz-pubnub merged commit 649a9e9 into master Jan 22, 2024
10 checks passed
@jguz-pubnub jguz-pubnub deleted the feat/ee branch January 22, 2024 11:47
@pubnub-release-bot
Copy link

🚀 Release successfully completed 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants