-
Notifications
You must be signed in to change notification settings - Fork 347
Update @rails/actioncable dependency to version >=7.0 #705
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
Conversation
05af63b
to
0850912
Compare
I think the CI failures are not directly linked to this PR and are addressed by #706 |
This includes changes to the app/js file. Take that's not intended? |
cf4df1e
to
0dcf22a
Compare
468588b
to
fbd4496
Compare
@@ -5533,12 +5533,11 @@ class ConnectionMonitor { | |||
isRunning() { | |||
return this.startedAt && !this.stoppedAt; | |||
} | |||
recordPing() { | |||
recordMessage() { |
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.
But this is an actual code change?
@@ -5737,6 +5736,7 @@ Connection.prototype.events = { | |||
return; | |||
} | |||
const {identifier: identifier, message: message, reason: reason, reconnect: reconnect, type: type} = JSON.parse(event.data); | |||
this.monitor.recordMessage(); |
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.
So is this?
Ah, so the code changes are actually pulled from the npm source? |
Yes these changes comes from the build process |
Is it possible to get a release with this change? The only workaround is to get @hotwired/turbo-rails from github main or a specific commit. |
I upgraded to Rails 8.0 our app and noticed that we now have 2 versions of actioncable in our bundle due to the dependency of turbo-rails to actioncable ^7.0
This PR loosen the dependency to >=7.0