Skip to content

Latest commit

 

History

History
168 lines (111 loc) · 3.52 KB

CHANGES.md

File metadata and controls

168 lines (111 loc) · 3.52 KB

0.6.0

Improvements

  • Add a failing test for list objects, thanks to @lukaselmer (#19)

0.5.0

Features

  • Add support for multiline strings, thanks to @maebert (#22)

    longtext: >
        This is a multiline string.
        It can contain all manners of characters.
    
        Single line breaks are ignored,
        but blank linkes cause line breaks.

Bugfixes

  • Fix link to poyo on PyPI, thanks to @mrshu (#20)
  • Trim trailing whitespace in variable, thanks to @hackebrot (#25)

Improvements

  • Update project to use src directory, thanks to @hackebrot (#24)
  • Convert rst files to md, thanks to @Um9i (#28)
  • Reformat code base with black, thanks to @Um9i (#29)

0.4.2

Bugfixes

  • Resolve a bug with list items and comments, thanks to @ishanarora (#18)

0.4.1

Bugfixes

  • Update regex patterns to allow for no newline at the end of the given string, thanks to @mikeckennedy and @hackebrot (#13, #14)

0.4.0

Features

  • Add support for block comments in sections, thanks to @jakubka and @hackebrot (#7)

    default_context: # foobar
        greeting: こんにちは
        # comment
        # allthethings
        docs: true
    
        123: 456.789

Improvements

  • Set up poyo logger with NullHandler to log DEBUG messages when parsing, thanks to @hackebrot

    DEBUG:poyo.parser:parse_simple <-     123: 456.789
    DEBUG:poyo.parser:parse_int <- 123
    DEBUG:poyo.parser:parse_int -> 123
    DEBUG:poyo.parser:parse_float <- 456.789
    DEBUG:poyo.parser:parse_float -> 456.789
    DEBUG:poyo.parser:parse_simple -> <Simple name: 123, value: 456.789>
    

Bugfixes

  • Fix an issue around section names if the line contained more than one colon symbol, thanks to @gvalkov and @hackebrot (#9)
  • Fix an issue that caused partial matches to raise an error, thanks to @gvalkov and @hackebrot (#9)

0.3.0

Features

  • Add support for blank lines and comment lines in lists, thanks to @eykd and @hackebrot (#5)

    doc_tools:
        # docs or didn't happen
        -    mkdocs
        - 'sphinx'
    
        - null

Improvements

Bugfixes

  • Solve an issue with ~ character not being recognized as None

0.2.0

Features

  • Add support for list values

    doc_tools:
        - mkdocs
        - 'sphinx'
        - null
  • Expose PoyoException in API

    from poyo import PoyoException

Bugfixes

  • Ignore dashes in lines

    ---
    default_context:
        foo: "hallo #welt" #Inline comment :)
        docs: true

0.1.0

First release on PyPI.

Features

  • parse_string() to load a YAML string as a Python dict