Create class for parsing Markdown changelog files
For &351 (closed) we need a class that can take a Markdown changelog file (using the format that we currently use for our own changelogs), and parse this into an array of version sections.
Each section consists of the version, date, and sub-sections. Each sub-section consists of a title, and a list of changes. Each change contains a summary, the author name, a merge request link, and a commit link. The links and author details are optional.
Version sections are to be returned in semver order, so version 1.0.0
comes before version 1.1.0
.
This class should be namespaced/named to take into account that one day we may have different input parsers.
Edited by Yorick Peterse