Skip to content

chore(deps): bump opensheetmusicdisplay from 1.9.9 to 2.0.0 - #18

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/opensheetmusicdisplay-2.0.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/opensheetmusicdisplay-2.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 1, 2026

Copy link
Copy Markdown
Contributor

Bumps opensheetmusicdisplay from 1.9.9 to 2.0.0.

Release notes

Sourced from opensheetmusicdisplay's releases.

2.0.0

OSMD 2.0 now renders about twice as fast! 🎉 Also, we added lazy / incremental rendering, so even if OSMD is still not fast enough for your huge scores on slow devices, you can now render one system ("line") at a time to get a fast first render, and e.g. render more when scrolling.

But that's by far not all, this release is a bit of a big one. We also implemented tremolo between notes, slurs crossing staffs (e.g. left to right hand), made stafflines always crisp, and more!

See the Changelog:

2.0.0 (2026-06-15)

Features

  • MeasureNumber: Don't render measure numbers for implicit measures (e.g. implicit="yes" in MusicXML) by default (#1574). Add EngravingRule RenderMeasureNumbersForImplicitMeasures (3042567)
  • Performance: OSMD renders twice as fast now: Calculate skylines geometrically instead of reading canvas pixels (getImageData): average 1.8x speedup, up to 4x faster depending on sample. Importantly, faster for long samples (#1681, #937) (f1ef0d7)
  • Performance: Cache flattened glyph outline segments for the geometric skyline calculation (#1681, #937) (f976d48)
  • Rendering: Add incremental/lazy rendering, "system by system" / "line by line", to get a fast first render for large scores (renderNext API, [PR #1690](opensheetmusicdisplay/opensheetmusicdisplay#1690), #1604, #1554) (4b3bff8)
  • Slurs: Render cross-staff slurs, e.g. left hand to right hand (#1006) (21c99c0)
  • Slurs: Add EngravingRule RenderSlursAcrossStaves (default true) to toggle cross-staff slurs (#1006) (816ae81)
  • TimeSignature: Don't render time signature for samples without one (e.g. Satie Gnossiennes) (#1574). Add EngravingRule RenderTimeSignaturesForSamplesWithoutTimeSignature (default false) (a6a6820)
  • Tremolo: Render tremolos between two notes (e.g. two alternating half notes) (#1551, PR #1680). Also: read tremolo without type attribute as single note tremolo (d59e1d1)
  • Tuplet: Render nested tuplets (#1583) (cfcc2a6)

Bug Fixes

  • AutoResize: Don't re-render the first loaded sheet a second time (in the demo) (#1684, #1683, #1681 follow-up) (7a4a66e)
  • Cursor: Prevent clone() not being independent / sharing data due to shallow copy in MusicPartManagerIterator (#1674, PR #1675) (77e9b58)
  • Layout: Fix key change extra graphical measure cut off at end of staffline. Give extra instruction measures (mid-piece key/rhythm changes) their correct width (#869, #1681)
  • Layout: Make re-renders identical to the first render: reset per-render VexFlow state (#1683, #1681, #937) (0995df0), closes #1684
  • Notes: Don't stagger/x-shift a unison between two voices in a three-voice stave (PR #1677) (52e2ef5)
  • Notes: Merge unison noteheads that differ only in dots (PR #1678) (abf5475)
  • Stafflines: Crisp and consistent staffline strokes: Round staffline/system distances to half pixels for consistent staff line anti-aliasing. new EngravingRule SnapStafflinesToCrispPixels, default true (#1681, #937) (aa94e20)
  • Recalculate: Keep pageWidth stable for RenderSingleHorizontalStaffline (idempotent re-render) (ce2d3a2)
  • Rehearsal Marks: Fix overlaps with notes by lifting above high notes (#919) (e397348)
  • Rehearsal Marks: Lift rehearsal marks above chord symbols to prevent overlap, reserve skyline space (#919) (5217af0)
  • Tuplet: Align cross-staff tuplet notes with simultaneous notes in other voices (PR #1676) (4b2c8a2), closes #1631
  • Unison: Render stem of a beamed note whose notehead is hidden behind a unison in another voice, e.g. Moonlight Sonata m.37 (#1038) (b00e9fe)
Changelog

Sourced from opensheetmusicdisplay's changelog.

2.0.0 (2026-06-15)

Features

  • MeasureNumber: Don't render measure numbers for implicit measures (e.g. implicit="yes" in MusicXML) by default (#1574). Add EngravingRule RenderMeasureNumbersForImplicitMeasures (3042567)
  • Performance: OSMD renders twice as fast now: Calculate skylines geometrically instead of reading canvas pixels (getImageData): average 1.8x speedup, up to 4x faster depending on sample. Importantly, faster for long samples (#1681, #937) (f1ef0d7)
  • Performance: Cache flattened glyph outline segments for the geometric skyline calculation (#1681, #937) (f976d48)
  • Rendering: Add incremental/lazy rendering, "system by system" / "line by line", to get a fast first render for large scores (renderNext API, [PR #1690](opensheetmusicdisplay/opensheetmusicdisplay#1690), #1604, #1554) (4b3bff8)
  • Slurs: Render cross-staff slurs, e.g. left hand to right hand (#1006) (21c99c0)
  • Slurs: Add EngravingRule RenderSlursAcrossStaves (default true) to toggle cross-staff slurs (#1006) (816ae81)
  • TimeSignature: Don't render time signature for samples without one (e.g. Satie Gnossiennes) (#1574). Add EngravingRule RenderTimeSignaturesForSamplesWithoutTimeSignature (default false) (a6a6820)
  • Tremolo: Render tremolos between two notes (e.g. two alternating half notes) (#1551, PR #1680). Also: read tremolo without type attribute as single note tremolo (d59e1d1)
  • Tuplet: Render nested tuplets (#1583) (cfcc2a6)

Bug Fixes

  • AutoResize: Don't re-render the first loaded sheet a second time (in the demo) (#1684, #1683, #1681 follow-up) (7a4a66e)
  • Cursor: Prevent clone() not being independent / sharing data due to shallow copy in MusicPartManagerIterator (#1674, PR #1675) (77e9b58)
  • Layout: Fix key change extra graphical measure cut off at end of staffline. Give extra instruction measures (mid-piece key/rhythm changes) their correct width (#869, #1681)
  • Layout: Make re-renders identical to the first render: reset per-render VexFlow state (#1683, #1681, #937) (0995df0), closes #1684
  • Notes: Don't stagger/x-shift a unison between two voices in a three-voice stave (PR #1677) (52e2ef5)
  • Notes: Merge unison noteheads that differ only in dots (PR #1678) (abf5475)
  • Stafflines: Crisp and consistent staffline strokes: Round staffline/system distances to half pixels for consistent staff line anti-aliasing. new EngravingRule SnapStafflinesToCrispPixels, default true (#1681, #937) (aa94e20)
  • Recalculate: Keep pageWidth stable for RenderSingleHorizontalStaffline (idempotent re-render) (ce2d3a2)
  • Rehearsal Marks: Fix overlaps with notes by lifting above high notes (#919) (e397348)
  • Rehearsal Marks: Lift rehearsal marks above chord symbols to prevent overlap, reserve skyline space (#919) (5217af0)
  • Tuplet: Align cross-staff tuplet notes with simultaneous notes in other voices (PR #1676) (4b2c8a2), closes #1631
  • Unison: Render stem of a beamed note whose notehead is hidden behind a unison in another voice, e.g. Moonlight Sonata m.37 (#1038) (b00e9fe)
Commits
  • 0463b84 chore: update changelog for 2.0.0
  • d940c77 chore: bump version to 2.0.0
  • 1306ee7 chore: fix moved jsdoc comment, move IRenderNextOptions and IRenderNextResult...
  • 82ccad1 feat(Rendering): Add incremental/lazy rendering, "system by system" / "line b...
  • 4b3bff8 feat(rendering): add incremental "system by system" rendering (renderNext API...
  • e397348 fix(Rehearsal Marks): Fix overlaps with notes by lifting above high notes (#919)
  • ce2d3a2 fix(Recalculate): Keep pageWidth stable for RenderSingleHorizontalStaffline (...
  • b34a94e fix demo: Center the header and sample selector over the score, not the whole...
  • 5cd5194 chore(demo): Remove the Render backend (SVG/Canvas) selection from the demo
  • d4581a4 fix demo: Avoid a possible controls-sidebar horizontal scrollbar and tighten ...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [opensheetmusicdisplay](https://github.com/opensheetmusicdisplay/opensheetmusicdisplay) from 1.9.9 to 2.0.0.
- [Release notes](https://github.com/opensheetmusicdisplay/opensheetmusicdisplay/releases)
- [Changelog](https://github.com/opensheetmusicdisplay/opensheetmusicdisplay/blob/develop/CHANGELOG.md)
- [Commits](opensheetmusicdisplay/opensheetmusicdisplay@1.9.9...2.0.0)

---
updated-dependencies:
- dependency-name: opensheetmusicdisplay
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 1, 2026
@vercel

vercel Bot commented Jul 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stafflines Ready Ready Preview, Comment Jul 1, 2026 3:37am

Request Review

@dependabot @github

dependabot Bot commented on behalf of github Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #24.

@dependabot dependabot Bot closed this Aug 1, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/opensheetmusicdisplay-2.0.0 branch August 1, 2026 03:36

This branch was successfully deployed

1 active deployment
Preview — 43e861df Deployed Jul 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants