Australia's prime minister will visit China in early November to meet President Xi Jinping, Canberra confirmed Sunday, as the two trading partners work to repair a once-frosty relationship.

Prime Minister Anthony Albanese locked in the trip — from November 4 to November 7 — after China agreed to suspend a festering World Trade Organization dispute sparked by hefty tariffs on Australian wine.

It also follows the release of Australian journalist Cheng Lei, who was deported from China earlier this month after being detained for three years on espionage charges widely seen as politically motivated.