Skip to content

0.10.5

Compare
Choose a tag to compare
@mholt mholt released this 27 Jul 22:24
· 2001 commits to master since this release
v0.10.5
c06ff1c

It's been kind of a crummy week for a lot of people, but here's some good news: Caddy 0.10.5 is out! This release fixes subtle issues that were present in proxying WebSockets or FastCGI connections. We've also improved MITM detection for iOS clients. There is a new header-based load balancing policy. On top of these changes, of note are these:

  • The requestid directive has been renamed to request_id to be more consistent with other directives and subdirectives.

  • There is a new default timeout in town: the idle timeout now has a default value of 5 minutes. Unlike the previous default timeouts, we don't expect this will negatively impact anyone. There is generally no good use for idle connections, and if you have a good use for them, you can disable this timeout in your Caddyfile. (We've tested this timeout on several kinds of sites for months and have had zero problems, only improvements in memory and FD usage.)

  • This release is compatible with three new 3rd-party plugins! The http.cache plugin acts as a caching layer of middleware, which can drastically improve performance of serving your site. http.nobots attempts to dissuade bots from accessing your site. http.webdav was extracted from the filemanager plugin and enables webdav serving.

As usual, a HUGE thanks to contributors who made this possible! Most of these changes were implemented by contributors to the project, while the maintainers have been busy working on improved proxy middleware and other things (that hopefully we can reveal soon). Our community is fantastic, and we and all Caddy users appreciate you. Thank you!

Full change log:

  • Renamed requestid directive to request_id
  • Set default idle timeout of 5 minutes
  • New 3rd-party plugin directives: cache, nobots, webdav
  • New Unix timestamp placeholder {when_unix}
  • Improved MITM detection on iOS clients
  • errors, log: Fix log rolling parsing
  • gzip: Convert any ETag header to weak etag
  • fastcgi: Reverted persistent connections (issue #1736)
  • proxy: Added header loaded balancing policy
  • proxy: Fix hang on chunked WebSockets (e.g. with HomeAssistant)
  • Several other bug fixes and minor internal improvements