Skip to content

Releases: emancu/toml-rb

v3.0.1

31 Jan 18:08
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.0...v3.0.1

v3.0.0

21 Jan 12:47
Compare
Choose a tag to compare

The reason for releasing a major version is the fix on #146; even if it's an error, it breaks the previous behaviour that worked for a really long time and I don't want to cause unexpected issues to existing users.

What's Changed

New Contributors

Full Changelog: v2.2.0...v3.0.0

Fix failure to parse arrays with newline before comma

15 Jul 09:01
Compare
Choose a tag to compare

Fix Dumper when there are #$ in array elements.

27 Jan 10:14
Compare
Choose a tag to compare

There are special treatments to #$ when dumping string values, but this does not work properly for arrays.
Thanks @shanyungyang

#136

Fixing errors caused by frozen-strings

19 Jan 18:03
Compare
Choose a tag to compare

Replace generic options hash with specific option.

01 Nov 10:42
Compare
Choose a tag to compare

In the past, we were supporting Ruby versions without named parameters and
we didn't know how many options will use for loading/parsing TOML.
Years have passed, and the interface is stable, so we are simplifying it.

This change will be useful for the adoption of Steep or defining types in Ruby 3 🎉

It shouldn't break to most users, but just in case it does, I released a patch version (v2.0.2) with the fix for trailing spaces, so anyone can use the fix without dealing with the incompatibility of this version may introduce.

Fix trailing whitespace at the end of the document

01 Nov 10:35
Compare
Choose a tag to compare

Fix TomlRB::Dumper

18 Nov 09:47
Compare
Choose a tag to compare

Dumping '#$' produces invalid TOML as '#$'.inspect introduces a single backslash before #.

#124

TOML 0.5 support

25 Oct 15:18
Compare
Choose a tag to compare

I'm increasing the Major version number because it contains a breaking change explained here

Big news are we fully support TOML 0.5 + some fixes on different data types.

At the same time, we are adding support for ruby 2.6 and dropping support for ruby 2.2.

Fix comment parsing

16 Aug 10:39
Compare
Choose a tag to compare

Thanks to @greysteil for fixing the comment parsing.