You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using preprocessors, they should work if they are compiled for a semver-compatible mdbook version. However, if I compile a preprocessor using 0.4.8 and try to use it with 0.4.9, parsing stdin fails. This is due to the change in the commit c1b2bec. The __non_exhaustive field of Book was part of the json output passed to preprocessors:
With c1b2bec, that field was removed and replaced with the #[non_exhaustive] annotation. Thus, the __non_exhaustive field isn't serialized anymore but still expected by preprocessors of earlier versions. Thus, 0.4.9 breaks all preprocessors compiled for 0.4.x where x < 9.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
When using preprocessors, they should work if they are compiled for a semver-compatible mdbook version. However, if I compile a preprocessor using 0.4.8 and try to use it with 0.4.9, parsing stdin fails. This is due to the change in the commit c1b2bec. The
__non_exhaustive
field ofBook
was part of the json output passed to preprocessors:With c1b2bec, that field was removed and replaced with the
#[non_exhaustive]
annotation. Thus, the__non_exhaustive
field isn't serialized anymore but still expected by preprocessors of earlier versions. Thus, 0.4.9 breaks all preprocessors compiled for 0.4.x where x < 9.The text was updated successfully, but these errors were encountered: