Skip to content

Releases: intelektron/chordpro-php

1.1.1

20 Jan 10:48
f198a8a
Compare
Choose a tag to compare

This is a bugfix release.

🐛 Fixed broken notation parser.

1.1.0

17 Jan 16:23
a92b0cc
Compare
Choose a tag to compare

🐛 Fixed bug with preg_match breaking UTF strings.

➕ Introduced additional classes for metadata in the HTML formatter.
➕ Introduced metadata names in the HTMLFormatter, like Key: C instead of just C. This does not apply to common metadata like "title".
➕ Added support for inline chords (Song Lyrics ~ [Am] [F]).

🚀 Re-styled metadata in the example.css.
🚀 Removed chord <span> when there is only text in the line.
🚀 Removed text <span> when there are only chords in the line.
🚀 Improved JSON and Metadata formatters.
🚀 More detailed unit tests (over 500 assertions).

1.0.0

15 Jan 18:03
Compare
Choose a tag to compare

A complete refactor of https://github.com/nicolaswurtz/chordpro-php

New features

✔️ Chord notations, including German one.
✔️ Storing original chord in data-chord.
✔️ Supporting code comments starting with #.

Improvements

✔️ Compatibility with PHP 8.1.
✔️ Code quality pipelines - PHP Stan (level 9), PHP CS Fixer, PHP Compatibility.
✔️ Improved class schema,
✔️ Introduced unit tests.
✔️ Moved French notation to separate class.
✔️ Introduced Chord class to avoid extensive string operations.