-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
feat(core): Add support for WebSockets as an alternative to Server-Sent Events #5443
Conversation
dc428df
to
67b0511
Compare
bdcaa11
to
ce47d66
Compare
…nt Events Co-authored-by: Matthijs Knigge <matthijs@volcano.nl>
ce47d66
to
fbd7877
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested both modes with multiple users, all working fine.
We must let @StarfallProjects know to add this to the docs.
* master: 🔖 Release n8n@0.215.0 ⬆️ Set n8n-core@0.154.0, n8n-editor-ui@0.181.0, n8n-nodes-base@0.213.0 and n8n-workflow@0.136.0 on n8n 🔖 Release n8n-editor-ui@0.181.0 ⬆️ Set n8n-design-system@0.53.0 and n8n-workflow@0.136.0 on n8n-editor-ui 🔖 Release n8n-design-system@0.53.0 🔖 Release n8n-nodes-base@0.213.0 ⬆️ Set n8n-core@0.154.0 and n8n-workflow@0.136.0 on n8n-nodes-base 🔖 Release n8n-node-dev@0.93.0 ⬆️ Set n8n-core@0.154.0 and n8n-workflow@0.136.0 on n8n-node-dev 🔖 Release n8n-core@0.154.0 ⬆️ Set n8n-workflow@0.136.0 on n8n-core 🔖 Release n8n-workflow@0.136.0 fix(core): Stop using unbound calls to `stopProcess` (no-changelog) (#5456) test(Read PDF Node): Unit tests (no-changelog) (#5453) test(Move Binary Data Node): Unit tests (no-changelog) (#5442) test: Add tests for ActiveWorkflowRunner class (#5278) feat(core): Add support for WebSockets as an alternative to Server-Sent Events (#5443) refactor(core): Delete duplicate code across all commands (#5452)
Got released with |
@joshxyzhimself This PR added support for websockets as a push mechanism for internal api calls in n8n. |
Got it. I somehow wish uws (https://github.com/uNetworking/uWebSockets.js) gets used over ws though, which has built-in pub-sub feature. Possible triggers:
Possible actions:
|
@joshxyzhimself We originally wanted to use uWebSockets.js, but it's not available on NPM, and we don't want to deal with the hassle of switching registries or pulling packages from multiple places right now.
|
N8N-4856
Possibly addresses #4162, #959, and #36.
Supercedes #5082.