Skip to content

v0.7.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@kelko kelko released this 19 Oct 16:04
· 12 commits to main since this release
f7f9509

0.7.1 Features

  • Support CRLF Newline

    Additionally to simple space, tab and Unix new line (\n) also support Windows new line (\r\n) wherever whitespaces are supported

0.7 Features

  • Implement "Append" & "Prepend" instead of "Add" for element processing

    • The following commands have been removed:

      • ADD-ELEMENT
      • ADD-COMMENT
      • ADD-TEXT-CONTENT
    • Instead there are following, new commands:

      • APPEND-ELEMENT: same behaviour as previous ADD-ELEMENT
      • APPEND-COMMENT: same behaviour as previous ADD-COMMENT
      • APPEND-TEXT-CONTENT: same behaviour as previous ADD-TEXT-CONTENT
      • PREPEND-ELEMENT: similar to APPEND-ELEMENT, but new element is
        added as first child
      • PREPEND-COMMENT: similar to APPEND-COMMENT, but new comment is
        added as first child
      • PREPEND-TEXT-CONTENT: similar to APPEND-TEXT-CONTENT, but new text
        content is added as first child
  • Add support for DOCTYPE

    If a <!DOCTYPE > tag is present in the input it will be kept and
    written into the output, unless EXTRACT-ELEMENT is used to return only
    parts.

    ⚠️ KNOWN ISSUE ⚠️
    If present any DOCTYPE will be interpreted as HTML5. Originates in
    underlying lib.

  • Add support to read pipeline definition from file

    instead of passing the pipeline as parameter a file-named, prefixed by '@', can passed.
    The rest of the parameter will be interpreted as filename and opened to read the pipeline definition from there.

  • Allow for more whitespaces around pipe symbol

    multi-line pipeline definitions now possible

0.7 Bug Fixes

  • Fix bug with SET-TEXT-CONTENT: couldn't GET-TEXT-CONTENT while SET-TEXT-CONTENT on same element

Full Changelog: 0.6.0...0.7.1