The world No. 1 next faces Italian Matteo Berrettini in a rematch of the Wimbledon final.
The 43rd-ranked Rogers recovered from a 5-2 deficit in the third set to push the affair into a tie-break, securing the biggest upset of the tournament thus far.
She was one of just 10 women in tennis history to have won singles titles at all four Grand Slams.
The International Tennis Integrity Agency is investigating two matches after bookmakers flagged "possible irregular betting patterns".
Novak Djokovic beat Italian Matteo Berrettini 6-7(4), 6-4, 6-4, 6-3 to win his sixth title at Wimbledon.
World No. 1 Barty became the first Australian woman to win the Wimbledon singles title for 41 years when she defeated Czech Karolina Pliskova 6-3, 6-7(4), 6-3.
Djokovic absorbed a barrage of powerful hitting from Canadian Denis Shapovalov to move on step closer to a record-equalling 20th Grand Slam title.
The 25-year-old took two hours and 36 minutes to get past the 14th-seeded Hurkacz.
Top seed Ash Barty became the first Australian woman to reach the Wimbledon singles final for 41 years.
All the cheers and standing ovations in the world could not save Federer from the Centre Court mauling as it seemed his 39-year-old body finally said enough is enough.