Does the new passport law apply to all u s citizens who fly to and from Puerto Rico?
Not right now. Puerto Rico is a country that has a free associated state compact with the US. Under this compact US has jurisdiction of PR borders. This could change in the future since this status is not a permanent one, but for now you do not need a passport if you are flying from US, Only an ID with photo.