The last release broke one of the styles I rely on and reverting MiKTeX seems to be faster than fixing the style.
I asked this question as I was looking for a way to binary search through releases to find which one broke the style before reporting it to the style author, @andybuckley.
I considered
- Using the code stored under https://github.com/MiKTeX/miktex/releases/tag [as suggested by @AndréC] but found the overhead to install the complete MiKTeX toolchain to be too much. Plus, as pointed out by @david-carlisle, this only contains the code to build MiKTeX: the packages would still be pulled from the current versions.
- I also looked at the MiKTeX Docker images. They are also available for only the current release (AFAICT), but are cool nonetheless.
- LiveTeX does maintain a complete archive: e.g., ftp://tug.org/historic/systems/texlive/2018.
LiveTeX allowed me to determine that the break comes between the 2018 and 2019 releases. If anyone is interested, here is the MWE;
\documentclass{minimal}
\usepackage{hepparticles} % the package under test
\newcommand{\Pg}{{\HepParticle{g}{}{}}} % gluon
\begin{document}
:\Pg:
\end{document}
Output under LiveTeX 2018: ":g:"; under LiveTeX 2019: "::"
The problem is also displayed when running the package test file, http://mirrors.ctan.org/macros/latex/contrib/hepparticles/testhepparticles.tex.
In the newer version, \updefault-> up, while previously it was \updefault -> n.
Found the origin: The default value of \updefault.

packagefrom CTAN hepparticles (https://www.ctan.org/pkg/hepparticles) and paste it on the same folder of your main tex file? – FHZ Feb 12 '20 at 14:01copy and pasteworks, then you may verify how to create your local package folder, something like explained here Create a local texmf tree in MiKTeX. – FHZ Feb 12 '20 at 14:03hepparticles.styto test if the file on the folder is to one being used. For example, edit at the command\DeclareRobustCommand{\HepParticle}[3], the line\@HepConStyle{{{#1}}{}to\@HepConStyle{{{A#1}}{}. The result should be:Ag:. hepparticles requires the packagessubdepthandamsmath, and also OT1 fonts as stated on the line110of the.styfile. Sorry I can't give you better advices. – FHZ Feb 13 '20 at 00:31pdflatexandlatex->dvips->ps2pdfcommands and both produced the correct result to me. I cannot replicate your issue at my machine. Btw, I'm on Windows. – FHZ Feb 13 '20 at 00:37