Skip to content

Releases: hackebrot/poyo

0.5.0

26 Jul 12:55
Compare
Choose a tag to compare

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

28 Sep 10:39
Compare
Choose a tag to compare

Bugfixes

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

0.4.1

21 Mar 14:32
Compare
Choose a tag to compare

Bugfix

0.4.0

26 May 19:11
Compare
Choose a tag to compare

Features

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

20 May 09:45
Compare
Choose a tag to compare

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

13 Apr 19:55
Compare
Choose a tag to compare

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

28 Dec 12:21
Compare
Choose a tag to compare

First release on PyPI. 😸

Features

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