Skip to content

Releases: martijnversluis/ChordSheetJS

v7.11.0

24 Nov 19:38
884a22a
Compare
Choose a tag to compare

v7.10.0

22 Nov 22:19
a4dc29f
Compare
Choose a tag to compare

Changes

  • Render labels for environment directives (#751)
    Labels for directives start_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

20 Nov 19:58
c64cf8f
Compare
Choose a tag to compare

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

19 Nov 12:30
a26053b
Compare
Choose a tag to compare

Changes

  • Transpose following Enharmonic Rules & Normalize Chord Suffix
  • Implement Song#setCapo and Song#setKey
    setCapo changes the song capo, both in metadata and the capo directive.
    setKey changes the song key in metadata and the key 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 to 2.8.0
  • Bump @parcel/transformer-typescript-types from 2.7.0 to 2.8.0

v7.7.0

24 Oct 08:05
Compare
Choose a tag to compare

Changes

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

04 Jul 18:38
Compare
Choose a tag to compare

Changes

  • Add ESM build (#587)
  • Include meta directives in song metadata (#602)

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

14 Jun 20:29
Compare
Choose a tag to compare
7.5.0

v7.4.0

13 Jun 20:36
Compare
Choose a tag to compare

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

12 Jun 18:55
Compare
Choose a tag to compare
7.3.1

v7.3.0

12 Jun 17:43
Compare
Choose a tag to compare

This release removes handlebars as a dependency, replacing it with template strings.