Releases: 20c/confu
Releases · 20c/confu
0.5.1
0.5.0
Added
File
attributeEmail
attributeUrl
attributeIpAddress
attributeSchema
attribute now has an optionalitem
argument that if set allows for validation of dicts with arbitrary keys.- Support for ConfigParser instances in validate
Changed
- schema moved to directory so it's easier to group and add new attributes going forward, imports remain unaffected.
validate
will now pass **kwargs on toSchema.validate
- Facsimile to Ctl
0.4.0
Added
ProxySchema
apply_defaults
to apply schema defaults to a config dict
Fixed
Schema.walk
now triggers the callback before entering subschemas
Changed
- Schema now extends Attribute and is now working on instances rather than classmethod based
- Attribute name is now optional when attribute is member of list
- renamed
ListAttribute
toList
- renamed
StringAttribute
toStr
- renamed
IntAttribute
toInt
- renamed
FloatAttribute
toFloat
- renamed
BooleanAttribute
toBool
- renamed
DirectoryAttribute
toDirectory
0.3.0
Added
- py2.7 support
- DirectoryAttribute
- generator.generate shortcut
Fixed
- validation: schema validation returning None value
- validation: warnings raised with the wrong exception type
- exceptions: can now have integers in config path (from list index for example)
Changed
- renamed
UnicodeAttribute
toStringAttribute
that is now looking for either string or unicode types during validation