fix(deps): update dependency com.github.mizosoft.methanol:methanol from v1.7.0 to v1.8.0 #514
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.7.0
->1.8.0
Release Notes
mizosoft/methanol (com.github.mizosoft.methanol:methanol)
v1.8.0
Compare Source
Ok, here we go. That took a while.
There's been a number of unreleased features brewing in the last two and a half years (!). Guess I could say I've been cooking some Meth—anol, and now it's ready to serve. What's—my—name? Please don't say Heisenbug.
Anyhow, here's what's new:
This will work well with the Redis cache. Consider the case where you have multiple instances of your service all sharing
a Redis setup, you can have a chain of (JVM memory -> Redis) or even (JVM memory -> disk -> Redis) caches, so each node can have a local cache to consult first, and the shared Redis cache after.
ServiceLoader
& static state.We now have an
AdapterCodec
that is registered per-client.adapters expose no customization. If you think there's a useful, generalizable customization that can be passed to any of the supported adapters, feel free to create an issue.
MoreBodyPublishers::ofOutputStream
&MoreBodyPublishers::ofByteChannel
to be used in favor ofWritableBodyPublisher
.ResponsePayload
using the basic adapter.fsync
on entry writes/updates, which was used to provide durability in a manner that later turned outto be unnecessary for caches. Now CRC checks are used. Reads however became slightly slower.
HttpClient
APIs for closure & for setting a local socket address have been implemented.sendAsync(...).cancel(true)
, or an interruption for the thread callingsend
can cancel the underlyingexchange. This is made sure to continue being the case even after the Methanol seasoning.
ResponseBuilder
part of public API.There are other incremental improvements here and there that I may have missed. I promise though your code won't break after the update. If that happens, please file an issue.
Later!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.