Probably better production methods and the use of preservatives.
I got a six-month supply of compounded vials and the label said they were good for a full year from when they were made. That surprised me because I thought once you mix a vial it only lasts 28 days.