Skip to content
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

chore(deps): bump github.com/caddyserver/certmagic from 0.18.2 to 0.19.0 #128

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jul 11, 2023

Bumps github.com/caddyserver/certmagic from 0.18.2 to 0.19.0.

Release notes

Sourced from github.com/caddyserver/certmagic's releases.

v0.19.0

This release has a few (relatively minor) API changes and additions to enable substantial performance improvements for large certificate deployments; for example, large and busy servers can now update a certificate cache's settings without having to make a new cache. This enables certificates already decoded into memory to remain even after a config change downstream.

⚠️ As we are still pre-1.0, there are some breaking API changes in this release. Please take note 😃

Highlights

  • The Config.Manage*() methods are now (basically) a no-op if a managed certificate for the name(s) passed in is already present in the cache. It doesn't really make sense to reload the certificate from storage and decode it and replace it in the cache, because it is managed it will do that automatically when it gets renewed.
  • Removed Config.Unmanage() since it does not actually rely on the config at all. Replaced with Cache.RemoveManaged(). Removing a managed cert from the cache stops maintenance.
  • Also added Cache.Remove() which removes a certificate from the cache given its hash.
  • The methods which load unmanaged certs into the cache now return the cert hash.
  • Added Cache.SetOptions() to update a cache's config while active.
  • Clarified the semantics around the Storage and Locker interfaces. This should be useful for implementers.
  • Fixed a performance bug when On-Demand TLS was used with lots of specified domains (this is uncommon, as most uses of on-demand TLS don't know the domain names ahead of time).

What's Changed

New Contributors

Full Changelog: caddyserver/certmagic@v0.18.2...v0.19.0

Commits
  • 1bdc8fd Remove flaky tests...
  • fb1700b Getter method for cert hash
  • f01bd63 Only load uncached managed certs from storage
  • 93a28b7 Make cache options updateable; new remove methods
  • d8b13df Add pki.goog to known public ACME CAs
  • 7836d86 Change slice to map to avoid O(n^2) performance
  • d8e706f README: fix typo in sample code and update (#243)
  • 223063d Enhance Storage/Locker comments (fix #242)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.18.2 to 0.19.0.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](caddyserver/certmagic@v0.18.2...v0.19.0)

---
updated-dependencies:
- dependency-name: github.com/caddyserver/certmagic
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 11, 2023
@github-actions github-actions bot merged commit e09c12d into master Jul 11, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/caddyserver/certmagic-0.19.0 branch July 11, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants