Skip to content

Releases: 23andMe/Yamale

2.2.0

26 Jun 17:14
Compare
Choose a tag to compare

Ability to specify schema and data without a filename #104

2.1.0

03 Jun 19:28
Compare
Choose a tag to compare

Removed the printing of stacktraces to the command line (#83)
Add support for a "key" constraint to the "map" validator (#95)
Make any() accept anything (#93)
Empty data file should fail if schema requires something (#81)
Add a check for an empty schema file (#70)

2.0.1

10 Sep 00:39
Compare
Choose a tag to compare

Fixed a bug when using a schema with a static list and trying to validate a list with a missing element. #66

2.0

20 Aug 04:20
Compare
Choose a tag to compare
2.0

This release brings strict mode to Yamale. With strict mode, elements defined in your YAML that aren't specified in the schema will cause a validation error. You can also validate dynamic keys and include validators.

We've bumped the version to 2.x due to an incompatibility. In the 1.x branch, if all the children of a node are optional, then the parent is optional as well. In the 2.x branch, the parent will no longer be optional in this case.

1.9.0

04 Mar 22:46
Compare
Choose a tag to compare

New regex validator! See README for details.

1.8.1

19 Feb 02:30
Compare
Choose a tag to compare

Added fixes for Python 3.8.

1.8.0

26 Nov 19:06
Compare
Choose a tag to compare

Added none kwarg to all validators. See documentation for usage.

1.7.1

06 Nov 00:40
Compare
Choose a tag to compare

Just updating setup.py so the README displays correctly in PyPI.

Day and Timestamp validation

16 Mar 07:47
Compare
Choose a tag to compare

Added the day and timestamp validators.
Added min and max to the list validator.
Bug fixes.

Allow custom validators

18 Feb 03:06
Compare
Choose a tag to compare

See README for details.