Star Wars: The Last Jedi introduced the concept of hyperspace tracking, which also fixed a plot hole from A New Hope. It's always been odd that the Empire tracked Leia's ship, the Tantive IV, to Tatooine, given that lightspeed was the go-to escape option throughout the original Star Wars trilogy. This was made even more confusing when the sequel trilogy established that hyperspace tracking was new technology, suggesting that the Tantive IV should've been able to escape by going to lightspeed.
https://screenrant.com/star-wars-last-jedi-fixed-new-hope-plot-hole/