Skip to content

Releases: g-s-k/matlab-toml

Improvement to map_to_struct utility

21 Jan 00:50
Compare
Choose a tag to compare

map_to_struct now properly handles cell arrays of Maps (e.g. TOML arrayed tables).

Add utility function - map_to_struct

20 Dec 22:44
Compare
Choose a tag to compare

As requested in #20 - a library function to convert containers.Map instances into nested structs.

Support TOML 1.0

16 Dec 21:37
7662f12
Compare
Choose a tag to compare

Breaking changes:

  • Tables are now output as container.Map instances instead of struct
  • Keys are not modified, any string is a valid key

v0.3

27 Jun 20:28
Compare
Choose a tag to compare

Breaking changes to the API:

  • toml.parse is now toml.decode
  • toml.load is now toml.read

New features:

  • toml.encode serializes MATLAB data as TOML and returns a char.
  • toml.write places this serialized output directly in a file.

Incremental updates:

  • Increased (near-complete) test coverage
  • More robust handling of complex TOML data

v0.2

26 Jun 18:31
Compare
Choose a tag to compare
v0.2 Pre-release
Pre-release

Supports all data types in the spec, and implements error cases for invalid input.

v0.1

26 Jun 13:40
Compare
Choose a tag to compare
v0.1 Pre-release
Pre-release

Each of the datatypes in the TOML spec can be parsed, and have tests to ensure no regressions occur.

Not all errors for invalid data have been implemented yet.