Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vexflow to the latest version 🚀 #706

Closed
wants to merge 1 commit into from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Apr 1, 2020


☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


The dependency vexflow was updated from 1.2.90 to 1.2.91.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Publisher: 0xfe
License: MIT

Find out more about this release.


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@sschmidTU
Copy link
Contributor

From 0xfe's google groups update:

One major change: package.json now uses 'src/index.js' as the main file instead of 'releases/vexflow-debug.js'. If you're using vexflow packages in a standard way, this should significantly improve your bundle sizes without disrupting anything.

Please let me know if this breaks your code, I'll investigate and try to figure out the best path forward.

So maybe we just need to use index.js instead of vexflow-debug.js

@sschmidTU sschmidTU self-assigned this Apr 2, 2020
@sschmidTU
Copy link
Contributor

sschmidTU commented Apr 2, 2020

Maybe this will help too:

[how i used to import vexflow:]
import * as Vex from 'vexflow';

but now only works with

import Vex from 'vexflow';

in any case, Mo will probably respond with some interesting info in that topic.

(i haven't really looked into fixing Vexflow 1.2.91 import in OSMD yet, just happened to notice this)

greenkeeper bot added a commit that referenced this pull request Apr 2, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 2, 2020

  • The dependency vexflow was updated from 1.2.90 to 1.2.92.

Update to this version instead 🚀

Commits

The new version differs by 7 commits.

  • edfa3fb Committing release binaries for new version: 1.2.92
  • a1c8d68 Release v1.2.92
  • fd94be0 Fix #748: Use consistent widths for clefs, so staves are aligned.
  • 36c228e More cleanup: rename note_data to noteStruct
  • 9ff3928 More cleanup: create validTypes map
  • 08c406d Rename durationToGlyph to getGlyphCodes
  • 059c545 Remove Vex.Merge from durationToGlyph.

See the full diff

greenkeeper bot added a commit that referenced this pull request Apr 3, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 3, 2020

  • The dependency vexflow was updated from 1.2.90 to 1.2.93.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 16, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 16, 2020

  • The dependency vexflow was updated from 1.2.90 to 3.0.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 16, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 16, 2020

  • The dependency vexflow was updated from 1.2.90 to 3.0.4.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 17, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 17, 2020

  • The dependency vexflow was updated from 1.2.90 to 3.0.5.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 17, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 17, 2020

  • The dependency vexflow was updated from 1.2.90 to 3.0.6.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 17, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 17, 2020

  • The dependency vexflow was updated from 1.2.90 to 3.0.7.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 19, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 19, 2020

  • The dependency vexflow was updated from 1.2.90 to 3.0.8.

Update to this version instead 🚀

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 21, 2020

  • The dependency vexflow was updated from 1.2.90 to 3.0.9.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 21, 2020
sschmidTU pushed a commit that referenced this pull request Apr 21, 2020
…apt vexflow import. #706

Vexflow changed the "main" property in the npm package,
requiring "esModuleInterop": true in tsconfig.json,
and a different import syntax for vexflow.

unfortunately, this configuration breaks OSMD console output piping to the generateImages script.
i couldn't find a way to show OSMD console.log (by loglevel log.info) in nodejs,
other than maybe inputting the whole script as HTML to jsdom, which would be ugly,
and may not support file system writing with fs.
@greenkeeper greenkeeper bot closed this Apr 21, 2020
@greenkeeper greenkeeper bot deleted the greenkeeper/vexflow-1.2.91 branch April 21, 2020 17:27
@sschmidTU
Copy link
Contributor

Vexflow 1.2.90 to 1.2.91:
some noteheads fixed (notehead position in relation to stem was off),
time signature slightly changed in y position

@sschmidTU
Copy link
Contributor

sschmidTU commented Apr 21, 2020

Vexflow 1.2.91 to 1.2.92:
formatting slightly changed: first measure takes slightly more space (before first notes),
first notes and modifiers of vertically parallel stafflines better x-synchronized
(sometimes the first note of the first measure on piano right hand wasn't on the same vertical imaginary line through the sheet as the one in the left hand)

some bounding boxes seem to be improved, sometimes a dynamic or lyric doesn't overlap notes anymore (Land der Berge, Schubert An die Musik)

sschmidTU pushed a commit that referenced this pull request Apr 21, 2020
@sschmidTU
Copy link
Contributor

sschmidTU commented Apr 21, 2020

Vexflow 1.9.2 to 1.2.93:
more notehead fixes

Vexflow 1.9.3 to 3.0.1:
(not merged yet)
layout much more condensed (uses less space), usually looking better, sometimes a bit cramped maybe
tremolo slashes now start from beginning of stem, not end of stem (not sure if that's better, but it leaves more space for more slashes)

some bugs:
half notes in a measure make measure extremely long (function test Notehead Shapes, Land der Berge measure 9),
rest notes wrong x-position, sometimes into next measure (function test Accidentals),
seems like bounding box of measure is wrong (function test Invisible Notes: lyrics overlap into next measure. we check for lyrics and measure length here and elongate measure when there's overlap given by the bounding boxes),
tuplet brackets overlap (function test all),
grace note overlaps with time signature in Debussy - Mandoline

@sschmidTU
Copy link
Contributor

Vexflow 3.0.1 to 3.0.3:
fixes most of the bugs in 3.0.1, except the tuplet bracket overlaps (not important or severe though)
layout is very tight now though, e.g. with function test Tabulature, fingerings are borderline overlapping, almost no spacing.
layout sometimes takes more space total again

sschmidTU pushed a commit that referenced this pull request Apr 21, 2020
@sschmidTU
Copy link
Contributor

sschmidTU commented Apr 21, 2020

Vexflow 3.0.3 to 3.0.4:
fixes some more bounding box issues and overlaps,
generally better layout, giving some elements more room and spacing,
but makes cramping even worse in function test Tabulature, overlap of fingering with dot of dotted notes (in visual regression test)
actually, in the local demo, it mostly looks fine, probably depends on format. bar 10 has a slighly condensed and weird layout (half note again), but it's not too bad.

@sschmidTU
Copy link
Contributor

sschmidTU commented Apr 21, 2020

merging 3.0.4, up to date with Vexflow again.
some changes may look slightly worse, but overall, the improvements far outweigh that.

(build passed on Travis Appveyor build fixed with update of nodejs to 12 like Travis and #723)

sschmidTU pushed a commit that referenced this pull request Apr 21, 2020
some changes from 1.2.90 to 3.0.4 may be slightly worse, e.g. function test tabulature,
but overall, the benefits far outweigh.
sschmidTU pushed a commit that referenced this pull request Apr 21, 2020
see #706, new esModuleInterop flag in tsconfig.json
sschmidTU pushed a commit that referenced this pull request Apr 21, 2020
related to such changes in #706
(vexflow update to 1.2.91 requiring these at different spots)
sschmidTU pushed a commit that referenced this pull request Apr 21, 2020
jszip 3.4.0 apparently has typescript definitions which may cause conflicts

related to discussion in #706
@sschmidTU
Copy link
Contributor

sschmidTU commented Apr 22, 2020

Vexflow 3.0.4 to 3.0.5:
layout changed again, sometimes more spacious, sometimes more constricted, short notes at the end of measure way too far to the left in Dichterliebe:
image
(black is 3.0.5)
more space in function test Tabulature, but note overlap in bar 15:
image

let's see if this is fixed again in the next versions

Vexflow 3.0.5 to 3.0.6:
layout often completely wrong, sequential notes vertically synced, notes going over measure
Ferne Geliebte:
image
Dichterliebe (measure 7):
image

Vexflow 3.0.6 to 3.0.7:
fixes the problems in 3.0.6, but adds some measure overlap again:
image
(Land der Berge measure 2-3)
also makes some measures with half notes too long again (An Chloe, measure 6):
image

Vexflow 3.0.7 to 3.0.8:
doesn't fix the problems of 3.0.7,
but gives the layout a bit more space:
image

it also syncs up first rest notes in measures, which is good in principle, but can give new conflicts with metronome marks, e.g. Debussy Mandoline:
image

Vexflow 3.0.8 to 3.0.9:
Introduces some measure overlap again, Bach Air measure 3-4:
image

diff:
image

as of now, probably better not to update OSMD past 3.0.4, as there are some unresolved issues.
Should open issue at Vexflow (check if there are some already).

sschmidTU pushed a commit that referenced this pull request Jun 9, 2020
there are still a few critical issues with the Vexflow 3x versions, see #706.
vexflow 1.2.93 has better measure layouting for measures with half notes.
also, there is no overlap of notes into the next measure.

tabs look better with 1.2.93 as well.
sschmidTU pushed a commit that referenced this pull request Jul 1, 2020
…e instead of bravura)

currently vexflow is still not updated to 3.0.9 though because the formatter still has issues.
(layout is cramped and/or overflowing the measure)

further input for the vexflow version comparisons in #706
@sschmidTU sschmidTU mentioned this pull request Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant