Releases: martijnversluis/ChordSheetJS
Releases · martijnversluis/ChordSheetJS
v7.12.0
Changes
- Update directive support table
- Add badges for CI and Release
- Use correct JSdoc for Line properties
- Correct example syntax for Font.toCssString()
- Normalize chords against capoed key (#759)
- Allow passing rendering key to formatters (#763)
Dependency updates
v7.11.0
v7.10.0
Changes
- Render labels for environment directives (#751)
Labels for directivesstart_of_bridge
,start_of_chorus
,start_of_tab
,start_of_verse
should be rendered when a label (directive value) is included.
Dependency updates
- Bump eslint from 8.27.0 to 8.28.0
- Bump @typescript-eslint/eslint-plugin from 5.43.0 to 5.44.0
- Bump @typescript-eslint/parser from 5.43.0 to 5.44.0
v7.9.0
Changes
- Allow whitespace for Chord.parse()
Chord.parse()
allows any kind of leading or trailing whitespace. - Deprecate chord sheet parser
ChordsOverWordsParser aims to support any kind of chord, whereas ChordSheetParser lacks support for many variations. Besides that, some chordpro feature have been ported back to ChordsOverWordsParser, which adds some interesting functionality. - NodeJS 18 and 19 have been added to the CI matrix
v7.8.0
Changes
- Transpose following Enharmonic Rules & Normalize Chord Suffix
- Implement
Song#setCapo
andSong#setKey
setCapo
changes the song capo, both inmetadata
and thecapo
directive.
setKey
changes the song key inmetadata
and thekey
directive, and transposes all chords according to the distance between the current key and the new key. - Implement getCapos() and getKeys()
getCapos(key)
returns available capos for a certain key.getKeys(key)
returns available keys to transpose to. - Add
Metadata.merge()
function
It returns a new Metadata object where metadata is merged with the supplied metadata. - Support all types of line endings
Development changes
- added a huge amount of type annotations to the sources
- added a strict ESlint rule set
Dependency updates
- Bump @parcel/packager-ts from
2.7.0
to2.8.0
- Bump @parcel/transformer-typescript-types from
2.7.0
to2.8.0
v7.7.0
Changes
- Bugfix: bass notes cannot be minor
- Bugfix: without key, Song.transpose only transposes last chord on each line
- Document Key::distance()
Development dependency updates
- Bump ts-pegjs from 2.0.1 to 2.0.2
- Bump @types/node from 18.0.1 to 18.11.2
- Bump @typescript-eslint/eslint-plugin from 5.30.5 to 5.40.1
- Bump @typescript-eslint/parser from 5.30.5 to 5.40.1
- Bump ts-node from 10.8.2 to 10.9.1
- Bump eslint from 8.19.0 to 8.25.0
- Bump @babel/plugin-proposal-object-rest-spread from 7.18.6 to 7.18.9
- Bump @babel/core from 7.18.6 to 7.19.6
- Bump @babel/preset-env from 7.18.6 to 7.19.4
- Bump terser from 5.12.1 to 5.14.2
- Bump @babel/cli from 7.18.6 to 7.19.3
- Bump parcel from 2.6.2 to 2.7.0
- Bump typescript from 4.7.4 to 4.8.4
v7.6.0
Changes
Development dependency updates
- Bump @types/node from 17.0.42 to 18.0.1
- Bump typescript from 4.7.3 to 4.7.4
- Bump eslint from 8.17.0 to 8.19.0
- Bump @typescript-eslint/parser from 5.28.0 to 5.30.5
- Bump @typescript-eslint/eslint-plugin from 5.28.0 to 5.30.5
- Bump parcel from 2.6.0 to 2.6.2
- Bump @parcel/packager-ts from 2.6.0 to 2.6.2
- Bump @parcel/transformer-typescript-types from 2.6.0 to 2.6.2
- Bump @babel/cli from 7.17.10 to 7.18.6
- Bump @babel/preset-typescript from 7.17.12 to 7.18.6
- Bump @babel/preset-env from 7.18.2 to 7.18.6
- Bump ts-node from 10.8.1 to 10.8.2
- Bump @babel/core from 7.18.5 to 7.18.6
- Bump peggy from 1.2.0 to 2.0.1
- Bump ts-pegjs from 1.2.2 to 2.0.1
v7.5.0
7.5.0
v7.4.0
Make chord suffix normalization on song transpose optional
song.transpose(), song.transposeDown() and song.transposeUp() will only normalize chord suffixes when explicitly enabled: song.transposeUp({ normalizeChordSuffix: true })
v7.3.1
7.3.1