Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
v0.4.0 - 2023-03-07
Added
DictSchema
by @natanfeitosa (#9)BaseSchema.parse(data)
by @natanfeitosaBaseSchema.add_mutation(mutation)
by @natanfeitosaBaseSchema.default(default_value)
by @natanfeitosaBaseSchema.optional()
by @natanfeitosaBaseSchema.required(error_message)
by @natanfeitosa
v0.3.0 - 2023-01-26
Added
BaseSchema.label(text)
by @natanfeitosa (#4)EnumSchema
by @natanfeitosa (#3)EnumSchema.one_of(opts)
by @natanfeitosa (#3)EnumSchema.not_one_of(opts)
by @natanfeitosa (#3)
Changed
- All validation methods, including the constructor, now accept a custom error message (#5)
v0.2.0 - 2023-01-19
Added
Number.nonpositive()
by @natanfeitosa (#1)Number.nonnegative()
by @natanfeitosa (#1)
v0.1.0 - 2023-01-13
initial release