Here's my table of vote by CD. I allocated the vote for the 4 municipalities that are in two CDs (Boston, Fall River, Hanson, Wayland) by number of precincts per CD. That may or may not be accurate. If someone has a better formula for breaking the towns up, please let me know.
If I'm reading this correctly, MA-8 had the highest swing and MA-10 the lowest, which seems to contradict the county/town maps.
If anyone wants to compile Boston's results by CD,
here is a list of precincts. (not sure if precinct data have come out yet)
I don't think the Republicans should get too worked up about gaining a House seat, not only are special elections quite different from general elections, but this was just one race (and involved a poor Democratic campaign) so it is not a given Mass. will continue to trend GOP.