All Versions
10
Latest Version
Avg Release Cycle
117 days
Latest Release
86 days ago

Changelog History

  • v1.6.0

    October 25, 2019

    What's new

    • 👍 TOML 0.5.0 support is complete!
    • 👌 Support marshaling arrays #310
    • 👍 Short date and local date, time, datetime support #298 #317 #318

    🛠 Fixed Bugs

    • 🛠 Fix key parsing in inline tables #311

    All changes: v1.5.0...v1.6.0

  • v1.5.0

    October 05, 2019

    What's new

    • jsontoml tool #296
    • 👍 Allow space to separate date and time #300

    🛠 Fixed Bugs

    • 🛠 Fix decoding of anonymous structs #279
    • 🛠 Fix original values being overwritten when unmarshalling #283
    • Quote non-bare keys when encoding #290
    • 🛠 Fix float64 truncation on marshalling #293
    • 🛠 Fix Tree.Marshal() returning empty bytes without errors #295

    All changes: v1.4.0...v1.5.0

  • v1.4.0

    May 02, 2019

    What's new

    • 🐳 Docker image for tools #269
    • 👍 Allow unmarshaling top level maps #273
    • Unmarshal handles custom key types convertible to string #276

    All changes: v1.3.0...v1.4.0

  • v1.3.0

    April 02, 2019

    What's new

    • 👍 Allow to change default tags for Decoder and Encoder #241
    • 👌 Support time.duration #248
    • Map camelCased keys to fields in structs #251
    • 👍 Allow to marshal pointer to struct and map #247
    • 👌 Support byte order mark #250
    • ➕ Add Delete* functions to Tree #256
    • 0️⃣ Provide "default" tag for unmarshal #259
    • 👍 Go 1.12 support #261
    • Provide Go mod #265
    • Option to keep fields ordered when marshaling struct #266

    🛠 Fixed Bugs

    • 🛠 Fix path not found message on Windows #227
    • 🛠 Fix panic when type mismatch between toml and struct #236
    • 🛠 Fix integer-only keys in inline tables #224

    All changes: v1.2.0...v1.3.0

  • v1.2.0

    June 05, 2018

    What's new

    • 👍 Go 1.10 support #223
    • 👉 Make multi-line arrays always use trailing commas #217
    • Multiline Marshal tag #221

    All changes: v1.1.0...v1.2.0

  • v1.1.0

    January 18, 2018

    What's new

    • Comment annotation for Marshal #185
    • 👌 Support single-quoted keys #193
    • ➕ Add Encoder / Decoder capabilities #192
    • Encode can encode arrays on multiple lines #203
    • 👌 Support for hexadecimal, octal, and binary literals #205
    • Unmarshal into custom number types and check for overflows #209
    • 👌 Support for special float values (inf and nan) #210

    🛠 Fixed Bugs

    • Unmarshal should report a type mismatch as an error #196
    • Actually show the error message from an Error token #208

    All changes: v1.0.1...v1.1.0

  • v1.0.1

    October 01, 2017

    What's new

    🛠 Fixed Bugs

    • 🛠 Fix float to string encoding. #172
    • 🛠 Fix example in the README. #187
    • 🛠 Fix Marshal examples. #178

    All changes: v1.0.0...v1.0.1

  • v1.0.0

    May 31, 2017

    💥 Breaking changes

    • 📇 Renamed TomlTree to Tree. #159
    • 📦 Query support moved to its own sub-package, with slight API changes. #152

    What's new

    • Reflection-based Marshaling / Unmarshaling. #149
    • 👉 Use String() method when available when constructing a Tree from a map. #142
    • 🐎 Several performance improvements.

    🛠 Fixed Bugs

    • 👌 Support lower-case unicode sequences. #140
    • 🛠 Fix error message for TestMissingFile on Windows. #148
    • 🛠 Fix incorrect slice type in TreeFromMap. #145
    • WriteTo and tomll now emit empty tables to match the TOML specification. #169

    All changes: v0.5.0...v1.0.0

  • v0.5.0

    March 08, 2017

    What's new

    • TomlTree.ToString() now returns an error instead of panicking. #117
    • Overhauled TOML encoding logic, more robust and stable. #133
    • 🆕 New TomlTree.WriteTo(io.Writer) (int64, error) method. It encodes a tree to TOML and writes it to the given Writer. #133
    • 👍 Go 1.8 support. #129

    🛠 Fixed Bugs

    • 🛠 Fix bug that produced an error when a comment is after a value. #122
    • 🛠 Fix syntax errors in the documentation. #126
    • 🛠 Fix compatibility with go-buffruneio v0.2.0. #131

    All changes: v0.4.0...v0.5.0

  • v0.4.0

    December 03, 2016

    What's new

    • 🆕 New tool: tomljson. It provides a CLI tool similar to tomll to read TOML files and output their JSON representation. #85
    • 👍 Queries now support \U notation. #88

    🛠 Fixed Bugs

    • 🛠 Fix ToMap conversion of arrays of tables. #83
    • Empty quoted keys "" are now valid. #97
    • 🛠 Fix conversion of all numeric types. #102
    • 🛠 Fix conversion of map[string][string] and map[interface{}]interface{}. #103
    • 🛠 Fix incorrect wrapping of []*TomlTree in a TomlValue. #110
    • 🛠 Fix output of ToString to allow re-parsing it. #111

    All changes: v0.3.5...v0.4.0