diff --git a/ghc-jira-wiki-markup.changes b/ghc-jira-wiki-markup.changes index 0f638af..16ecec7 100644 --- a/ghc-jira-wiki-markup.changes +++ b/ghc-jira-wiki-markup.changes @@ -1,3 +1,72 @@ +------------------------------------------------------------------- +Wed Jul 8 14:05:19 UTC 2020 - psimons@suse.com + +- Update jira-wiki-markup to version 1.3.2. + + * Braces are now always escaped when printing; Jira treats braces + specially, regardless of context. + + * Added support for links to anchors. + + * Styled text may not wrap across multiple lines; linebreaks in + marked-up text are now forbidden. + + * Module Text.Jira.Parser.Core: new function `many1Till` which + behaves like `manyTill`, but requires at least on element to be + parsed. + + * Ensured the package works with GHC 8.10. + + * Support was added for additional syntax constructs: + + - citation markup (`??citation??`), + - links to attachments (`[title^attachment.ext]`), and + - user links (`[~username]`). + + * Changes to module `Text.Jira.Markup`: + + * A new data type `LinkType` is exported from the module. + + * Changes to type `Inline`: + + - a new constructor `Citation` has been added; + - the `Link` constructor now takes an additional + parameter of type `LinkType`. + + * Fixed rendering of image attributes: image attributes are + separated by commas instead of pipes; the latter are used in + block parameters. + + * Fixed parsing of blockquotes which are not preceeded by blank + lines. + + * Ensure parsing of single-line blockquotes is possible even if + there is no space between `bq.` marker and contents. + + * Fixed parsing of colors: parsing no longer fails for hexcolors + which contain non-decimal digits. + + * Changes to module `Text.Jira.Parser.Shared`: + + - New parsing function `colorName` which parses a color + descriptor, i.e. either a name or a hexcolor. + + * Added check that a closing markup char is not preceeded by a + whitespace character. Previously, plain text was still + incorrectly treated as markup. E.g., the dashes in `-> step ->` + used to be interpreted as delimiters marking deleted text. + + * Allows empty table cells; table parsing failed if one of the + cells did not contain any content. + + * Changes to module `Text.Jira.Parser.Core`: + + - A field `stateLastSpcPos` was added to data type + `ParserState` to keep track of spaces. + - Function `updateLastSpcPos` was added to update the + aforementioned field. + - Function `afterSpace` was added to test the field. + ------------------------------------------------------------------- Tue Jun 16 11:14:18 UTC 2020 - Peter Simons @@ -7,13 +76,37 @@ Tue Jun 16 11:14:18 UTC 2020 - Peter Simons Wed May 6 06:54:10 UTC 2020 - psimons@suse.com - Update jira-wiki-markup to version 1.1.4. - Upstream has edited the change log file since the last release in - a non-trivial way, i.e. they did more than just add a new entry - at the top. You can review the file at: - http://hackage.haskell.org/package/jira-wiki-markup-1.1.4/src/CHANGELOG.md + + * Fixed parsing of image parameters. Thumbnails and images with + parameters were previously not recognized as images. + + * Fixed table detection in endOfParagraph parser: Tables were + expected to have a space between the leading pipe(s) and the + cell content. Lines like `||Name|` were erroneously not + recognized as the beginning of a new block. + + * Don't escape colon/semicolon unless necessary: it is necessary + to escape colons or semicolons only if they could otherwise + become part of a smiley. + + * Colon `:` and semicolon `;` are now parsed as special + characters, since they can be the first characters of an emoji. + + * Fixed parsing of words which contain non-special symbol + characters: word boundaries were not set correctly if a word + contained a dot `.` or similar chars. + + * Fixed incorrect emphasis parsing: digits were erroneously allows + as the first characters after closing emphasis characters. + + * Lists are now allowed to be indented; i.e., lists are still + recognized if list markers are preceded by spaces. + + * Support for colored inlines has been added. + + * New constructor `ColorInline` for type `Inline` (API change). ------------------------------------------------------------------- Thu Dec 26 11:43:38 UTC 2019 - psimons@suse.com - Add jira-wiki-markup at version 1.0.0. - diff --git a/ghc-jira-wiki-markup.spec b/ghc-jira-wiki-markup.spec index 3b5f31c..230eb6f 100644 --- a/ghc-jira-wiki-markup.spec +++ b/ghc-jira-wiki-markup.spec @@ -19,7 +19,7 @@ %global pkg_name jira-wiki-markup %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.1.4 +Version: 1.3.2 Release: 0 Summary: Handle Jira wiki markup License: MIT diff --git a/jira-wiki-markup-1.1.4.tar.gz b/jira-wiki-markup-1.1.4.tar.gz deleted file mode 100644 index 2effbf2..0000000 --- a/jira-wiki-markup-1.1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fbfb725a761e59d307e95bacca4e0f5bee283b9d8fb49faf73aeee0da2893c66 -size 20144 diff --git a/jira-wiki-markup-1.3.2.tar.gz b/jira-wiki-markup-1.3.2.tar.gz new file mode 100644 index 0000000..0f3ed24 --- /dev/null +++ b/jira-wiki-markup-1.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c0fcc6098751dea0d929587c59eedc937113df9ca089a52de3f63635ff26c9b +size 23081