Lego 5.0.0 Release

Hello,

I am thrilled to announce go-acme/lego v5!

This is a major release that brings a completely redesigned CLI, and powerful new features.

Wow, that looks like a big release with a lot of exciting changes! (You have no idea how happy I was to finally see a key rollover command.) I look forward to upgrading my systems. I've got a couple questions:

  1. The migration CLI guide says "Before upgrading to v5, please run the command lego migrate." Does that literally mean before upgrading, like I should run that command on v4.35.2? Or just that after installing lego 5, run lego migrate before running any other commands?
  2. It may take a bit before I get a chance to upgrade all my systems (and scheduled scripts/etc.) using lego. How long will v4 be supported? I know that "support" can have a wide range of meanings, and I certainly wouldn't expect new features like new DNS providers or DNS-PERSIST-01 support to be backported, but if there were some security patch or the like will those still be released for v4?
  1. run lego migrate before running any other commands. (I will update the doc)
  2. I don't have the answer for now about v4, I need to think about that.

I updated the doc to clarify the usage of lego migrate.

About the v4, I think only bug fixes directly related to CVEs may be backported if they are effectively critical for lego.

I mean that if a dependency has a CVE, but lego doesn't use the specific element related to the vulnerability, I will not backport the fix.

Also, I have very limited resources (time and money), I cannot commit to a specific duration for which I will maintain v4, my only promise is that I will do my best.
So, I recommend you to upgrade to v5 as soon as possible.

If you need help during the migration, please open a discussion, I will be happy to help you.