Packages can specify that they need a specific version of LaTeX using \NeedsTeXFormat, which takes something like LaTeX2e, and an optional release-date which the latex-version used must be newer than.
Since packages cannot specify an exact release date or an "older-than" release date, can I download the newest release of the specified LaTeX-version (e.g. LaTeX2e) and have a guarantee that all packages that NeedTeXFormat LaTeX2e work with this?
In other words, do releases of LaTex-versions have backward compatibility?
Also, according to this answer here, when I compile a document with say pdflatex, it uses a file latex.ltx. Am I right in assuming that the latex-version and release date one can specify in \NeedsTeXFormat refers to the version and release date of the latex.ltx file?
latexreleasecan be used to do a rollback of the LaTeX release. And also some packages allow a rollback using[=<version>]as optional argument to\usepackageafter the package argument. BTW: Because of version dependencies it is often not a good idea to update only one package, instead of the whole distribution. But sometimes it is. ;-/ – cabohah Jul 31 '23 at 10:08\patchcmd(etoolbox package) to replace code that no longer exists, it may or may not generate an error depending on the arguments used. – John Kormylo Jul 31 '23 at 12:53\NeedsTeXFormat) a version later than the specified would still satisfy. – Marc Miller Jul 31 '23 at 14:49