Releases: emancu/toml-rb
v3.0.1
v3.0.0
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
- Add Ruby 3.2 to CI pipeline by @igor-drozdov in #140
- Add ruby 3.3 to testing matrix by @timon in #145
- [147] Dump backslashed keys by @emancu in #146
New Contributors
- @igor-drozdov made their first contribution in #140
- @timon made their first contribution in #145
Full Changelog: v2.2.0...v3.0.0
Fix failure to parse arrays with newline before comma
Fix Dumper when there are #$ in array elements.
There are special treatments to #$ when dumping string values, but this does not work properly for arrays.
Thanks @shanyungyang
Fixing errors caused by frozen-strings
Thanks to @bastelfreak and @ekohl for fixing this.
Replace generic options hash with specific option.
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
Fix TomlRB::Dumper
Dumping '#$' produces invalid TOML as '#$'.inspect introduces a single backslash before #.
TOML 0.5 support
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
Thanks to @greysteil for fixing the comment parsing.