What might affect a magnet's strength?
The factors can affect a magnet's strength: heat; strong electrical currents in close proximity to the magnet; Neodymium magnets will corrode in high humidity environments unless they have a protective coating. Shock and vibration do not affect modern magnet materials, unless sufficiently strong to physically damage the material itself.