Skip to content

Releases: marcusfrdk/tomlval

1.1.5

Choose a tag to compare

@marcusfrdk marcusfrdk released this 08 Jun 19:38
9d9bc90
  • Fixed missing logic for re.Pattern in the TOMLSchema.__str__ method
  • Updated type hinting issues in all project files.

1.1.4

Choose a tag to compare

@marcusfrdk marcusfrdk released this 08 Jun 19:21
df777ac
  • Improved Handler type hinting and fixed some issues with None values.

1.1.3

Choose a tag to compare

@marcusfrdk marcusfrdk released this 08 Jun 18:47
c9c7bfc
  • Support for re.Pattern objects as handlers.

1.1.2

Choose a tag to compare

@marcusfrdk marcusfrdk released this 12 Feb 14:47
4e55b01
  • Fixed issue #1 where the []-notation would be missing from missing keys
  • Updated the error message for on_type_mismatch

Full Changelog: 1.1.1...1.1.2

1.1.1

Choose a tag to compare

@marcusfrdk marcusfrdk released this 07 Feb 13:26
de1c71b

This update includes a fix where the on_type_mismatch callback function did not get the key argument passed.

Full Changelog: 1.1.0...1.1.1

1.1.0

Choose a tag to compare

@marcusfrdk marcusfrdk released this 07 Feb 13:12
2c0de38

This is the first minor update to tomlval. This update makes the validator TOML specification compliant, as in supporting all the data types and structure which are supported in TOML. This includes support for nested arrays, which was not included in the previous version.

  • Refactored TOMLSchema and TOMLValidator.
  • Updated flatten function to support nested arrays.
  • Better support for missing values and optional keys.
  • Better support for wildcard keys.
  • Updated documentation with more examples and more sectioned.

Full Changelog: 1.0.4...1.1.0

1.0.4

Choose a tag to compare

@marcusfrdk marcusfrdk released this 04 Feb 22:38
02eb548

Instead of passing data to the validator on initialization, it's instead used when calling the validate method which allows the validator to be reused.

Full Changelog: 1.0.3...1.0.4

1.0.3

Choose a tag to compare

@marcusfrdk marcusfrdk released this 04 Feb 21:31
4bc0d82

Fixed an issue when using the schema to validate built in types

Full Changelog: 1.0.2...1.0.3

1.0.2

Choose a tag to compare

@marcusfrdk marcusfrdk released this 04 Feb 21:18
a904349

Fixed package issues, readded errors as exports and added project links to pyproject.toml

Full Changelog: 1.0.1...1.0.2

1.0.1

Choose a tag to compare

@marcusfrdk marcusfrdk released this 04 Feb 21:10
be33616

Removed errors module from default exports.

Full Changelog: 1.0.0...1.0.1