Repository navigation
fix(deps): update all non-major dependencies - #187
Merged
Merged
Conversation
- merman: Engine is now SemanticParser; PNG bytes come from into_bytes(). It can no longer draw a PNG without fonts, so the measuring test compares layouts as SVG. - resvg: turn on svgz, which usvg 0.50 put behind a feature, so local gzipped SVGs are still drawn. fontdb no longer reads files, so smd reads the font files itself. - png: Decoder needs Seek and output_buffer_size returns an Option. - Rust 1.100: ignore the ExitCode in the should_panic test.
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
On macOS the font found is Trebuchet MS, which merman's estimates are taken from, so the layouts matched and the comparison failed.
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.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
=4.6.7→=4.6.84.6.9=0.9.0→=0.9.1=0.14.0→=0.15.0=3.0.1→=3.0.3=0.9.2→=0.10.00.11.0=0.17.16→=0.18.1=0.47.0→=0.50.01.99.1→1.100.0=1.1.8→=1.2.11.2.2=0.2.2→=0.2.3=3.5.0→=3.5.2Release Notes
clap-rs/clap (clap)
v4.6.8Compare Source
Performance
devprofilerossmacarthur/emojis (emojis)
v0.9.1Compare Source
October 17th, 2026
Roughsketch/imagesize (imagesize)
v0.15.0Compare Source
What's Changed
Full Changelog: Roughsketch/imagesize@v0.14.0...v0.15.0
jscarr64/latex-rust (latex-rust)
v3.0.3Added
gatheredenvironment (unnumbered centred display rows), array rulespacing that preserves the intercolumn gap around vertical rules, and
ink-safe SVG metrics (viewport contains the ink, real baseline reported).
Credit: Titiloye Paul (Ohanronnie),
whose commits are in the history under his name.
Fixed
vertical rules add zero width (TeX draws a rule centred in the gap, so
ruled − plain is exactly 0); a
||group adds exactly\doublerulesep(0.2 em) and a single|adds nothing, at the edges aswell as between columns.
\arrayrulewidth(0.4 pt = 0.04 em) instead of the font's fraction rulethickness (0.068 em), each rule's thickness is split evenly between height
and depth, adjacent rules are separated by
\doublerulesepminus one rulethickness (0.16 em), and no other padding surrounds a rule. Isolated
\hlinenow grows an array by exactly 0.04 em and\hline\hlinebyexactly 0.24 em, matching TeX.
gatheredaccepts\hline, as TeX does: the box grows by exactly therule thickness (0.04 em), half in height and half in depth. Alignment tabs
in
gatheredstill error, as TeX errors on them.v3.0.2Compare Source
Fixed
\,and
\quadin align, matrix, and cases cells, and allow spacing-onlycontent such as
\underline{\quad}. Empty\hat{}remains an error.\frac{\,}{2}, and the empty-accent guard.round-trip: explicit spacing is content; truly empty binomials still error.
baac54ba fix
removes spacing from the empty-node classification.
Latias94/merman (merman)
v0.10.0Compare Source
After introducing the theme compiler and editable theme recipes in 0.10.0, we focused 0.11.0 on performance and ease of use. A short-lived CLI should be quick enough to call for a single image, and a long-running editor or document builder should be able to reuse the work it has already done. This release also gives hosts simpler ways to request geometry, static SVGs, and terminal output. 0.10.0 release notes
CLI startup and fonts
Since 0.9.3, CLI builds with system fonts enabled have measured Mermaid labels for PNG, JPEG, and PDF with the fonts used to paint them. This improves wrapping and node sizing and helps prevent clipped text, so it stays on by default. Much of the startup cost came from bounded discovery reading and hashing candidate font files for each new process. Ordinary Mermaid-to-SVG output still uses deterministic measurement and skips system font discovery. 0.9.3 font change
The official Windows archive now defaults to Platform, which follows Skia's DirectWrite approach and opens the fonts selected for the diagram. On Windows 11, a seven-node Flowchart produced the same PNG as 0.10.0 while process logical reads fell from 826 MB to 255 KB. Linux and macOS archives and ordinary Cargo installs default to bounded. The archives offer both
--font-system platformand--font-system bounded. We plan to improve on-demand queries and fallback on Linux and macOS before switching their defaults. Skia DirectWrite backend, CLI font selection, #336For quicker startup, especially on Linux and macOS, pass the fonts your diagram uses with repeatable
--font-fileoptions. Set the diagram'sfontFamilyto match a supplied family. Explicit files skip system discovery by default. With--font-system off, PNG, JPEG, and PDF require an explicit font file or directory for painting. For SVG,offmakes the existing default explicit. CLI font guideTools that wrap the CLI can expose these font options to users and use deterministic measurement for SVG by default. For PNG, JPEG, and PDF,
--font-measurement deterministicchanges layout measurement and can still discover system fonts when painting. CLI font guideRendering and export performance
Trident benchmarks Mermaid implementations with examples from Mermaid's documentation. We profiled Merman on 114 Flowcharts from its DaveBench corpus, which helped us find repeated stylesheet work in small SVGs. We also used the same diagrams to compare default SVG output, static SVG size, and layout coordinates. Trident's DaveBench corpus
nodeSpacing: 50in frontmatter allocated 269 KB cumulatively, down from 1,023 KB in 0.10.0, with byte-identical SVG. The renderer also reuses edge and stylesheet buffers, and computes edge path length when painting needs it. #328, #336@mermanjs/web-rendercandidate's first medium Flowchart render from 271 ms in 0.10.0 to 201 ms on Windows with Chromium 158. This includes import, initialization, and rendering. The SVG was byte-identical across eight paired trials. Benchmark build, #328, #336renderSvg()andrenderSvgSync(), avoiding the JSON round trip. Queued calls release their execution slot before the promise settles, so a follow-up call can use the freed capacity. #328, #336--svg-pipeline static, RustSvgGeneration::Static, orsvg.pipeline: "static"in bindings for fixed illustrations. The renderer writes container palette rules for the slots that the diagram uses. Across 114 Trident Flowcharts, SVG size fell by 52% and per-file gzip size by 21%, with matching initial Chromium frames. Native image and PDF output use this generation path where supported. Use the default SVG pipeline for dynamic recoloring. SVG output guideUpgrading
8makeslayoutreturn schema-1 geometry. RustRenderRequest::layout_jsonreturns the same geometry. Usemerman-cli layout --snapshotorRenderRequest::layout_snapshotfor the 0.10 envelope withmeta,semantic, andlayout, including parse diagnostics when using--suppress-errors. CLI and Rust hosts that stream geometry can use the typed writer path, exposed in Rust asRenderer::write_layout_json. On 114 Trident Flowcharts, geometry responses occupied 88 KB of the 2.71 MB used by full snapshots and preserved the same coordinates. Layout guide--ascii-reportand bindingoutput_planreaders to schema4. Replaceoverflowedwith nullableprimary_overflowedand requiredemitted_overflowed. Readrequested_graph_presentationfor the requested policy. The primary dimensions, layout profile, and overflow status are null together when no primary layout was produced. Preserve zero dimensions for a measured empty diagram. ASCII report migration, #32311, Node wrappers with their native addon or WASM artifact for transport API2, and Swift and Python wrappers with their native libraries for UniFFI binding API8. Binding migrationAdded
--ascii-graph-presentation adaptive --ascii-color plaincan emit complete node and relationship records when graph routing exhausts its search or runs out of ports. Bindings exposeascii.graph_presentation. Terminal support matrix, #314, #317, #323, #324, #326--fixed-unix-millisin the CLI orfixed_unix_millisin binding options, together with the local offset. #311, #312merman.authoring.class.ignored_statementhint in the Recommended ruleset. This catches atitlestatement where the diagram expects a front matter field. #332Fixed
placeholder-0and their edges when the layout adds internal long-edge placeholders. Collapsed Swimlane groups hide their contents, preserve every visible boundary route and label, and apply pairwise routing limits to the visible edges.resvg-safeselector-budget errors for large Flowcharts and Class diagrams, including a Class diagram with 400 members. #313A&BIDs fromA & Bgroups, and preserve adjacent edge operators and bindings during editor renames. Match Mermaid's stroke and length for compact links with mixed endpoint markers. LSP highlighting follows the corrected identifier and arrow boundaries. #329, #330directionparsing and editor completion. A baredirectioncan name a node, directives accept a direction prefix in inputs such asdirection LRfoo, and shape data attached todefaultcan contain direction text as a label. #333--font-dirand bounded system font discovery. #315, #316mermancrates.io page. #336Tooling
1.100.0for repository development, CI, and release builds. The library minimum is Rust1.95. #308@preview/merman:0.6.0bundles Merman0.10.0. Typst Universe, #304, #306Contributors
Thanks @Latias94 for the implementation, @MikeRomaa for the Flowchart parsing contribution, @mitch-karch for the Gantt Today Marker report, and @mfontanini for the font-directory symlink report.
v0.9.4: 0.9.4 - 2026-11-13Compare Source
Maintenance fixes on the Mermaid 12.1.0 line. Review layout and image/PDF snapshots after adopting the text and font corrections below.
Fixed
DOC-12345can wrap after their hyphen without splitting a leading minus sign. #283, #288, #289, #299par_overparallel branches in Sequence parsing and terminal output, and retain embedded#and%%in unquoted Requirement tokens. #282, #283, #287, #297Security
pulldown-cmark 0.13.6or later for RUSTSEC-2026-0433. Merman's Markdown entrypoints do not enable the affected Wikilinks option.rustix 1.1.6or later for RUSTSEC-2026-0486. Merman's direct Unix output path does not use the affected extended-attribute queries.Delivery
0.9.4on crates.io.standard,mathorfulland keep its matching headers and libraries together.0.9.3to stay on the maintenance line. Thelatesttags remain0.10.0.0.9.3for this maintenance line. Their latest packages remain0.10.0.Mermaid 12.1.0, Rust MSRV 1.95, the Presentation API, Options JSON schema 2 and existing host/native protocols are preserved. Keep coupled Rust packages and generated native wrappers on matching versions. The project-wide latest release remains v0.10.0.
Changes since 0.9.3
v0.9.3Compare Source
This release adds native C and WASI SDKs and improves diagram text and native exports on the Mermaid 12.1.0 line. Review SVG and image/PDF snapshots after upgrading.
Added
wasm32-wasip1WASI module. Choosestandardwithout formulas or ELK,mathwith formulas but no ELK, orfullwith both. SDKs include capability catalogs, license notices, checksums, and C/C++, Go/wazero, or Python/wasmtime examples. WASI supports SVG and PNG output. See the SDK guide for targets and integration. #241, #245, issue #243createRenderSession({ iconPacks })and NodecreateNodeEngine({ iconPacks }). Icons are scoped to each engine; the application controls loading. #247Changed
system-fonts. This reduces clipping but can change wrapping, dimensions, and snapshots. Native measurement rejects--css-fileandthemeCSS; use--font-measurement deterministicwithout font sources to retain previous layout estimates and CSS support. Painting may still discover system fonts. SVG and library/binding defaults are unchanged. See the CLI font guide. #255capabilities --jsondistinguishes SVG and PNG/JPEG/PDF font defaults. Integrations readingnative_fonts.default_policy_scopemust acceptmermaid-svg-inputand useencoded_output_defaultsfor image/PDF output. #255Fixed
configwith explicit configuration namespaces or frontmatter. #252%in Flowchart node IDs and parse header directions correctly. Separate the header direction from the diagram body with a newline or semicolon; malformed inline headers now fail strict parsing. #241Error::OperationCancelledwhen a custom parser is cancelled, including in lenient mode, instead of rendering an error diagram. #252Security
Contributors
Thanks @Latias94 for the implementation and maintenance backports, @nerzhulart for the Swimlane report, and @mrueg for the WASI integration request.
image-rs/image-png (png)
v0.18.1Additions
Filter::MinEntropyfor encoding, which selects the filter thatminimizes the Shannon entropy of the filtered row. (#647)
ScaledFloat::SCALINGconstant public. (#650)use cases. (#664)
Changes
is maintained. (#635)
portable_simdPaeth unfiltering for 3bpp and 4bpp images on nightly.(#632, #633)
(#646)
acTLchunks instead of producing errors. (#651)(#653)
acTLframe counts to be valid PNG 4-byte integers (capped at 2^31-1).(#673)
Fixes
portable_simdbuild. (#675)v0.18.0API Breaking Changes
Info::encodeandEncoder::set_srgbmethods.Decodernow requires a reader that implementsSeekandBufReadtraits.StreamingDecoder::updatenow takes a structuredUnfilterBufargumentinstead of a direct reference to a vector. This allows in-place
decompression. There is a public constructor for
UnfilterBuf.Decoder::output_buffer_sizeandoutput_line_sizenow returnOption<usize>to reflect that these calculations no longer overflow on sometargets where the required buffers can not be represented in the address
space. They return the mathematically correct size where possible.
Decodedenum returned fromStreamingDecoder::updatewas simplified tono longer contains any chunk payload data. Instead, it now contains only
chunk events where every chunk that was started will eventually be ended by
ChunkComplete,BadAncillaryChunkorSkippedAncillaryChunk.file, which fail to parse are now terminated with a
BadAncillaryChunkeventbut no longer returned a
DecodingError. This includes text chunks as wellas many metadata chunks (except for
fcTLthat we deem crucial to theparser's understanding of the image sequence in an APNG despite being
technically ancillary).
Additions
Reader::read_rowmethod.splat_interlaced_row, which implements an alternative method formerging Adam7 interlaced lines into the output buffer that is more suitable
for the presentation of progressive states of the buffer.
Adam7Variantdocumenting the various methods for applying interlacedrows and to prepare an API to progressively read frames through
Decoder.Changes
acTLchunk is now ignored when it is invalid, instead of producingerrors while reading or decoding the following APNG chunks.
fcTLchunk for the default image to match the IHDR'sindicate image size is now enforced.
instead disregarding the malformed chunk.
previously wrote some bytes to the wrong pixel indices due to overflows.
linebender/resvg (resvg)
v0.50.0Compare Source
This release has an MSRV of 1.85.0 for
usvgandresvgand the C API.Added
Options::max_depthandDEFAULT_MAX_DEPTHto configure the maximum nesting depthwhen parsing. (#1223)
pathattribute ontextPath(SVG 2). (#1020)Changed
Node,GroupandPathnow return anOption, which isNonefor nodes without a bounding box, such as empty groups.resvg_get_node_bboxandresvg_get_node_stroke_bboxof the C API returnfalsefor such nodes,--query-allskips them, and
--query-bboxfails for an SVG without content. (#1167)underline,overlineandline_throughfields oflayout::Spanare now boxed. (#1200)and fonts with shared data are no longer copied. (#1195, #1208, #1209, #1211, #1220, #1222)
(#1200, #1201, #1204, #1206, #1212, #1213)
harfrustupdated to 0.15 andskrifato 0.49. (#1156)svgtypesis now developed in the resvg repository. (#1227)Fixed
flood-color="currentColor"onfeFloodandfeDropShadowno longer resolves to black. (#1217)color="currentColor"now inherits the parent'scolorinstead of resolving to black. (#1217)primitiveUnits="objectBoundingBox"are now resolved againstthe element's bounding box, and unspecified values default to the filter region. (#1188)
feDisplacementMapno longer appliesscaletwice, and now reads the displacement mapwith non-premultiplied colors. (#1157)
styleelement is no longer cut off at the first XML comment or processing instruction,and a
typeattribute that is empty ortext/cssin any letter case is now accepted. (#1161)feImage, including indirectones via nested elements and inherited properties, are now detected and rejected. (#1225)
xlink:hrefchain that loops without including its first element. (#1218)sbixbitmap glyphs. (#1221)v0.49.0Compare Source
This release has an MSRV of 1.85.0 for
usvgandresvgand the C API.Added
--query-bboxCLI option to query the drawing bounding box without rasterizing it. (#1050)mix-blend-mode: plus-lighter(Compositing and Blending Level 2). (#1142)feCompositeoperator="lighter"(SVG 2). (#1142)aarch64release binaries for Linux and Windows. (#1132)Changed
usvg::BlendModeandusvg::filter::CompositeOperatorhave newPlusLighterand
Lightervariants. (#1142)Group::layer_bounding_boxof a group without filters is now clipped by its clip path,so clipped groups allocate smaller layers. This also affects the sizes reported by
--query-alland used by--export-id. (#1158)Fixed
dominant-baselineis now correctly inherited by nested<tspan>elements,so a nested span stays on the same baseline as its siblings. (#1086)
svgelement with aviewBox. (#1085)dxanddy, including text on a path and text decorations. (#1145)text-anchornow uses the actual extent of a text chunk, whichdxandtextLengthcan change. (#1145)This fixes the clipping to filter regions and subregions, as well as the direction of
offsets, blurs, turbulence and tiles, and the rendering of
feImage. (#1155)gradientTransformandpatternTransformare now inherited viahref. (#1135)<image>withpreserveAspectRatio="… slice"is now its viewport,so
objectBoundingBoxclip paths, masks and filters on it are resolved correctly. (#1077)viewBoxwhen the aspect ratios differ. (#1163)feImagefilters used by more than one elementare now resolved correctly, instead of being rendered as a flat fill or not at all. (#1164)
feMorphologykernels are now symmetric and fractional radii are rounded to the nearest pixel. (#1120)resvgCLI no longer rounds fractional image sizes before scaling, and rounds the output size upinstead of to the nearest integer. (#875)
RESVG_ERROR_SVGZ_UNSUPPORTED, so all following error codes were off by one. (#1122)cargo-cnow installsResvgQt.halongsideresvg.h. (#1182)v0.48.1Compare Source
This release has an MSRV of 1.85.0 for
usvgandresvgand the C API.Changed
Fixed
as_mut_slicefuture-compatibility warning. (#1108)v0.48.0Compare Source
This release has an MSRV of 1.89.0 for
usvgandresvgand the C API.The big change in this release is that text support is now backed by
skrifaandharfrustrather thanttf-parserandrustybuzz:Added
svgzandwriterfeature gates to reduce the number of required dependencies. (#1088 by @reed-smout)Displayimplementation forUnits. (#986)Changed
font-types.harfrustinstead ofrustybuzz, and font parsing usesskrifa(fontations) instead ofttf-parser. (#922 by @nicoburns)Fixed
Configuration
📅 Schedule: (in timezone Europe/London)
* 7-22 * * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.