For those hoping for a 4.17 plugin: don’t hold your breath. I looked into it, but it seems impossible for a plugin-based shader to interact with the material editor. is fine for a post process shader such as the one they use as an example of the feature, but makes implementing new shading models as a plugin still impossible.
At least that is what I gathered from my investigation into 4.17, so maybe someone can prove me wrong.