-
-
Notifications
You must be signed in to change notification settings - Fork 180
Clojure SDK: ADR changes and 2 new features #961
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
|
Thanks a lot @JeremS! For information: After updating to the newest SDK from this PR I merely had to change Went from rc11 to rc13. Brotli is currently not working for me, but we'll investigate this via Discord. |
|
Is this ready for merging? |
|
Brotli on Http-kit works. When using jetty that's another story. I suspect it's a Jetty buffering issue not a SDK one. I will add a notice to the Brotli lib's README to that effect. @bencroker Usually @andersmurphy & @Ramblurr review the Clojure SDK. I think it's fine to be merged but I'd also like to get their go ahead. I should have mentioned them in this PR sooner. |
- moved clj-kondo config to allows other lib to use the starfederation.datastar.clojure ns for their clj-kondo configs. - refactored the base SDK unit tests - removing superfluous newline char when terminating a sse event - using the bundle from the repo in dev examples and tests
|
Jetty will not work if you don't set the settings as per |
|
@anastygnome Hi, I am not sure what you mean, what settings should we set? For info the SDK's GZIP write profile works with Jetty, it's the Brotli one that does not. |
|
I am looking at this today. |
I'll check this when I get to that point with the jetty buffer, but this is the same kind of buffer issue we encounter with gzip (even though it works) |
|
Can we get this finalised today for the public RC? |
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.
@bencroker My comments only affect the testing/example files, not the core SDK code. IMO it can be merged as is. I've tested that the core functionality works in my apps (though I haven't used the new http-kit2 ns yet).
@JeremS I'm approving these changes despite the comments above, maybe you can address them later?
|
Let’s get these resolved first. |
|
I have fixed the mistakes @Ramblurr caught. They were in example snippets I use to test not the ones that go into the D* website though. I checked, these mistake are only in my tests, not on the website. @Ramblurr Thanks for the review. |
This PR mainly contains the changes for the new ADR:
I used these changes as an opportunity to review some things:
I also added 2 new features:
sdk-brotlidirectory (and the associated commit)All in all, the breaking changes are ADR related, the new features are additive and optional.
Cheers!