Skip to content

v1.1.0

Compare
Choose a tag to compare
@arp242 arp242 released this 04 Apr 23:31
· 104 commits to master since this release
891d261

Just a few bugfixes:

  • Skip fields with toml:"-" even when they're unsupported types. Previously something like this would fail to encode due to func being an unsupported type:

    struct {
        Str  string `toml:"str"
        Func func() `toml:"-"`
    }
    
  • Multiline strings can't end with \. This is valid:

    # Valid
    key = """ foo \
    """
    
    # Invalid
    key = """ foo \ """
    
  • Don't quote values in TOMLMarshaler. Previously they would always include quoting (e.g. "value"), while the entire point of this interface is to bypass that.