Brew Crew pitcher Dave Bush held Philadelphia hitless for 7.1 innings before pinch-hitter Matt Stairs homered off the foul pole.
Bush's opponent World Series MVP Hamels was forced to leave after getting hit in the left shoulder by a Prince Fielder line drive.
Trainers immediately tended to Hamels, who left the game with what the team called a left shoulder contusion.
No further immediate info was given on Hamels' condition.
In partnership with NBC Sports Philadelphia
Hamels is off to a rough start this year with a 9.69 ERA through three outings.
The unheralded Bush was the big story of the game.
He was the sixth pitcher to take a no-hit bid into the late innings this season. All of them got broken up.
Right after third baseman Bill Hall made a tremendous play to preserve Bush's try, Stairs batted for reliever Chad Durbin and launched a high fly that hit the pole in right field.
This was the third time Bush took a no-hitter into the eighth inning.
Bush, from nearby Conestoga, Pa., gave up two hits in 7.2 innings. He drew a standing ovation when he left after Shane Victorino's single.