Shanghai is getting hotter -- the previous record of 40.8 degrees was set only in 2013, and eight of the 12 highest temperatures reached over the past century were recorded in the last five years, according to the city weather bureau.