The malleability of Halacha and the integrity of it’s transmitters

Is Halacha immutable? Does Halacha adapt to modernity? Did the executioners of the Law have the integrity to stay true and not bend in the face of controversy?