Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upExpose public Node constructor. #374
Conversation
|
@SimonSapin Do you have any thoughts about this? |
|
It sounds like 0.22.8 was a breaking change and should have been published as 0.23.0 instead, per Semantic Versioning. Now I think we should yank 0.22.8 and publish 0.23.0 with this PR (since r+ with the version number bump to three crates. (Or, if we don’t want to have to deal with migrating the ecosystem, let’s find a way to not add fields to |
|
Yeah, I didn't realize that we re-export RcDom in both html5ever and xml5ever, so I only did a semver-major bump for markup5ever. I'll follow your suggestion. |
|
@bors-servo r=SimonSapin |
|
|
|
|
jdm commentedMay 2, 2019
Since #372 there is a private field in Node that prevents constructing them manually. If we want to support that, we need to expose the constructor.