Closed ehuss closed 6 months ago
From the view of a preprocessor this isn't a SemVer compatible change and probably needs a minor version bump:
https://github.com/dylanowen/mdbook-graphviz/actions/runs/9120113600/job/25076838288?pr=132
expected `pulldown_cmark::Event<'_>`, found `Event<'_>`
Also pulldown-cmark-to-cmark doesn't seem to support 0.11 yet
😦 Indeed. Thanks for letting me know. I did not realize the pulldown_cmark types were exposed, and we updated in 0.4.37 to 0.10 and nobody mentioned anything at the time.
I'll revert it for now. We'll probably need to do some kind of public re-export.
Thanks for the quick fix! I think we ran into issues with 0.4.37 as well but I neglected to warn anyone here 😬:
https://github.com/dylanowen/mdbook-graphviz/issues/107#issuecomment-1939140745
Changelog: https://github.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.11.0
Note that math is not yet supported. However, due to the new Event variant, I decided to include math script in the search index. I don't know if that is the right thing to do, but seems like something we can figure out later if we start using the math feature.