Skip to content

Releases: intelektron/chordpro-php

1.1.1

Choose a tag to compare

@intelektron intelektron released this 29 Jan 19:30
f198a8a

This is a bugfix release.

🐛 Fixed broken notation parser.

1.1.0

Choose a tag to compare

@intelektron intelektron released this 29 Jan 19:30
a92b0cc

🐛 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 when there is only text in the line.
🚀 Removed text when there are only chords in the line.
🚀 Improved JSON and Metadata formatters.
🚀 More detailed unit tests (over 500 assertions).

1.0.0

Choose a tag to compare

@intelektron intelektron released this 29 Jan 19:28

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.