They all fit and function. The early ones were not metal lined, and will bulge when loaded which means they may not "drop free" of the gun when you hit the mag release. A little WD-40 on the outside of the mag helps a little.
I prefer the metal lined flavors (which is all they have made for years now), just because I like 'em. In theory, the latter generation mags presumably are "improved", so maybe they are better, but who knows.
Hi cap G17 mags will also feed the G19 and G26, though they obviously stick out the bottom of the gun.
As for those barrels I show in the pic, I do that just because its goofy. They do function just fine, though, because the gun has no idea that the extra 0.5" to 1.0" of barrel is sticking out there.