The new regulations on medical devices are now published in the Official Journal of the European Union

The texts are available following this link.

The Medical Devices Regulation is identified as Regulation (EU) 2017/745.

The In Vitro Diagnostic Medical Devices Regulation is identified as Regulation (EU) 2017/746.