Repository navigation
Move to Morph 1.23.3 - #161
Merged
Merged
Conversation
Morph 1.23 added a CancellationToken to ConvertToImageData, so Verify.OpenXML 2.0.0 throws MissingMethodException wherever Morph is lifted to 1.23. The Renderer delegate takes the matching optional parameter. Morph 1.23 also writes pages with no colour as grayscale PNG instead of RGBA. The 70 re-verified pages are pixel-identical.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Morph 1.23 added an optional
CancellationTokentoConvertToImageDataonDocumentConverter,ExcelConverterandPowerPointConverter. That compiles fine against the new version but breaks code already built against the old one: Verify.OpenXML 2.0.0 was built against Morph 1.20, so any project that lifts Morph to 1.23 fails every render withExcelsior hit this when it moved to Morph.Skia 1.23.1 (158 tests).
MorphRenderer.Renderertakes the matchingCancel cancel = default, so the method-group conversions bind again (CS0123 without it). Call sites are unchanged.Tests.SkiaandTests.ImageSharp. Each was compared pixel by pixel against its previous snapshot, and all 70 are identical. No text, CSV, info or package snapshot changed.All 172 tests pass across the four test projects, on two consecutive runs.