The most frequently cited technique is that of mental reservation. If Nazis knock on your door and ask, "Are there any Jews here?" you can stand in your foyer and say "There are no Jews here." because "here" means the foyer, not your attic or closet.
Fast-forward to the present day. The Catechism of the Catholic Church revised a few paragraphs on lying: #2483 and #2508. While this doesn't constitute a change in teaching or doctrine, it makes the present stance stricter and less permissive, as well as obscuring the controversial history of the thing, and now we're unable to reconcile the OT pericopes with what the Catechism says.
https://www.catholicculture.org/culture/library/view.cfm?rec...