Tomlrb v2.0.0 Release Notes
Release Date: 2020-11-26 // over 4 years ago-
- Conform to TOML v1.0.0-rc3
Breanking Changes
TOML v0.5.0 introduced new value types: Local Date-Time, Local Date and Local Time which represent time without time zone information. Tomlrb also introduced corresponding classes starting from v2.0.0. By this change, some table values such as
2020-11-24T20:32:18
,2020-11-24
or20:32:18
are not treated as strings but as new the classesTomlrb::LocalDateTime
,Tomlrb::LocalDate
andTomlrb::LocalTime
respectively. You can get the string values by calling#to_s
method on any of those classes. Additionally, You can also getTime
objects with the#to_time
method. See API documentation for the methods' details.
Previous changes from v1.3.0
-
- 🛠 Fix error with falsy table values