Journalist Sophia Huang Xueqin, who has been behind bars since 2021, is due to be released on Friday.