-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Issue with 1.18.0-RC1 Cljs build #429
Comments
@danielsz Hi Daniel, it's good to hear from you! Thanks a lot for pinging about this, and for the clear report. Apologies for the trouble! It looks like you're being affected by this. Would you please try again, after placing I'll aim to cut new stable Timbre and Sente releases that include this fix before the end of the month. |
Hi Peter, it's good to meet you again! 😃 |
Just to clarify:
Is that all correct? |
Absolutely. That is exactly right. I've done exactly what you wanted to clarify. |
Oh the wonders of a good night sleep.
So once Anyway, I am happy to report that everything is fine now. Thank you, Peter! |
Thanks for the update Daniel, happy to hear that you found a solution! Again, apologies for the trouble on this. I'll have updated Timbre & Sente stable releases up later this week. Will keep this issue open till then. |
Thank you so much, Peter. I am very grateful. |
Pushing update in a moment, closing 👍 |
…ids` Big thanks to @krajj7 for the report and huge assistance debugging! As part of the investigation into this issue, and due to another recent related issue (#429), I decided that we were overdue for a refactor of Sente's connection management system. The old system had grown overly complex, and left too much room for edge cases and timing issues. This commit introduces a major refactor of the system, with an emphasis on robustness and improved observability. Specific improvements include: - New internal "conn-id" concept that: 1. No longer depends on http server implementations to properly implement identity 2. Greatly improves logging output, easing debugging - General logging improvements to ease debugging - Now expose internal `conns_` state to ease debugging - Added server-side ping timeout to match client side, and to catch unexpected cases where http server is never able to identify a connection as broken. Note that this new feature is currently opt-in[1], but will be enabled by default in a future release. - Simplified internal API for updating `conns_` state. - More robust handling when events fire in unexpected order (e.g. :on-close firing before :on-open handshake). - Generally improved clarity and robustness. Note: some related additions will also be made to the reference example project in another commit. [1] Provide a value (e.g. 5000) for the new `:ws-ping-timeout-ms` option to `make-channel-socket-server!`
…ids` Big thanks to @krajj7 for the report and huge assistance debugging! As part of the investigation into this issue, and due to another recent related issue (#429), I decided that we were overdue for a refactor of Sente's connection management system. The old system had grown overly complex, and left too much room for edge cases and timing issues. This commit introduces a major refactor of the system, with an emphasis on robustness and improved observability. Specific improvements include: - New internal "conn-id" concept that: 1. No longer depends on http server implementations to properly implement identity 2. Greatly improves logging output, easing debugging - General logging improvements to ease debugging - Now expose internal `conns_` state to ease debugging - Added server-side ping timeout to match client side, and to catch unexpected cases where http server is never able to identify a connection as broken. Note that this new feature is currently opt-in[1], but will be enabled by default in a future release. - Simplified internal API for updating `conns_` state. - More robust handling when events fire in unexpected order (e.g. :on-close firing before :on-open handshake). - Generally improved clarity and robustness. Note: some related additions will also be made to the reference example project in another commit. [1] Provide a value (e.g. 5000) for the new `:ws-ping-timeout-ms` option to `make-channel-socket-server!`
Hi,
I've been using Sente 1.17 stable for years, am now trying to upgrade to 1.18.0-RC1. I am very much aware of the breaking changes, but they don't seem to be affecting my use case. I have no issues starting the server side of Sente, however the client side doesn't load in the browser due to logging output. Here are the first lines of the compiled sente file.
As can be seen, the second line is not commented out and causes a reference error.
Uncaught SyntaxError: Unexpected identifier 'initial'
When using Sente 1.17, I was not touching the timbre logging system at all and everything worked without configuring anything. Has that change in Sente 1.18?
The text was updated successfully, but these errors were encountered: