- Fixed the compatibility with Marshmallow > 3.0.0b8
- Removed
ModelSchema
class
- Added
SchemaWrapper
, this is the best way to defined a generated
schema with the marshmallow_sqlalchemy library
- Fix required_field put allow_none to False
- Add JsonCollection field, Allow to add a check in function of an collection
stored in a AnyBlok.fields.Json
- Add Text field, to represent an
anyblok.column.Text
- Migration of the code and unit test to marshmallow 3.0.0
- Add Email matching for
anyblok.column.Email
- Add URL matching for
anyblok.column.URL
- Add PhoneNumber matching for
anyblok.column.PhoneNumber
- Add Country matching for
anyblok.column.Country
- Add required_fields option
- Add InstanceField
- Replace post_load_return_instance method by PostLoadSchema class
- In the case of the field Selection, the validator OneOf is
applied with the available values come from the AnyBlok columns
- Replace marshmallow_sqlalchemy.fields.Related by
anyblok_marshmallow.fields.Nested. The goal is to improve the consistent
between all field in the schema
- [ADD] unittest on some case
- [FIX] AnyBlok field.Function is return as MarshMallow fields.Raw
- [ADD] fields.File, type to encode and decode to/from base 64
- [REF] decrease complexity
- [IMP] Add
validates_schema
on ModelSchema to automaticly check
if the field exist on the model
- Add option put only the primary keys
- Fix the Front page
- REF model option, can be given by another way than Meta
- Put RegistryNotFound in exceptions
- Add Nested field, this field is not and have not to be cached
- Add marshmallow schema for AnyBlok for:
- Serialization
- Deserialization
- Validation