fix(deps): update dependency org.shredzone.acme4j:acme4j-client to v3.4.0 #423
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:
3.2.1
->3.4.0
Release Notes
shred/acme4j (org.shredzone.acme4j:acme4j-client)
v3.4.0
Important Changes
Until now, order finalization (
order.execute()
) was started immediately after the domain authorization process was completed. This is working fine for most CAs, but might fail for some CAs that take a while for the order to becomeREADY
for finalization. For this reason, I recommend to generally wait for the order status to becomeREADY
before invokingorder.execute()
. If you wait for state changes synchronously, you can use the neworder.waitUntilReady()
method for that. The example has been updated accordingly.Waiting for status changes was expected to be implemented by you. There was a
waitForCompletion()
method in the example client that showed how to wait synchronously. With acme4j v3.4.0, there are now new methodswaitForCompletion()
andwaitUntilReady()
that do the heavy lifting for you. You can replace your own waiting code with these new methods if you like to. The new methods wait synchronously, blocking the current thread for several seconds or even minutes. If you have implemented an asynchronous wait, you should prefer to use your own code.For further information, please see the migration guide and the example client.
Changelog
waitForCompletion()
andwaitUntilReady()
methods, which will synchronously wait for a status change. They replace thewaitForCompletion()
boilerplate method in the example implementation, and will make simple acme4j implementations simpler and less bugprone.update()
andAcmeRetryAfterException
. Usefetch()
instead.v3.3.1
Problem
objects.OrderBuilder.replaces()
setautoRenewal
totrue
, which makes no sense in this context. Fixes #158, thanks to @rcc13 for reporting.v3.3.0
AcmeProtocolException
was thrown when a rate limit was reached while fetching a nonce. Now eitherAcmeRetryAfterException
or a genericAcmeException
is thrown, depending on the error returned by the server.I also decided to discontinue acme4j v2, because the codebase diverged a lot now, and I don't want to spend my limited resources on maintenance. Please migrate your code to acme4j v3. For most clients, it is less work than it might look like.
Configuration
📅 Schedule: Branch creation - "after 10pm" in timezone Europe/Prague, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.