Features and Improvements
Minor Improvements
Bugfixes
Miscellaneous
Features and Improvements
- add :meth:`attrs_mate.mate.AttrsClass.ib_map_of_nested`
- add :meth:`attrs_mate.mate.AttrsClass.from_list`
- add :meth:`attrs_mate.mate.AttrsClass.from_mapper`
Bugfixes
- Fix a bug that the deprecate warning should be raised when user attempt to use it, not when the module is imported.
💥 Breaking Change
- Drop support for Python < 3.7 due to the attrs now only support 3.7+.
- The
LazyClass
will be removed in 1.2.X. Use cached_property instead.
Features and Improvements
- Add full support to attrs new style API.
Miscellaneous
- Requires
attrs>=21.3.0
.
Features and Improvements
- add :meth:`attrs_mate.mate.AttrsClass.ib_generic`
- add :meth:`attrs_mate.mate.AttrsClass.ib_list_of_generic`
- add :meth:`attrs_mate.mate.AttrsClass.ib_dict_of_generic`
Features and Improvements
- more typed field with validators.
Miscellaneous
- widely use the new API
@attr.define
andattr.field
to class definition.
Features and Improvements
- Use type hint
Minor Improvements
- More test case for nested object
Miscellaneous
- Drop support for Python2.7, only tested on Python3.6 +
- move CI from travis to GitHub CI
- add test on windows
Features and Improvements
- add
AttrClss.ib_str()
,AttrClss.ib_int()
,AttrClss.ib_nested()
,AttrClss.ib_list_of_nested()
Miscellaneous
- requires attrs >= 19.1.0 to make
attr.validators.deep_iterable
works
Features and Improvements
- remove reference to newly initiated object if the object is already in cache.
Features and Improvements
- add LazyClass, support cached instance, cached property
- use attrs >= 17.4.0
Minor Improvements
- improve document
Features and Improvements
- allow read complex object from dict data. good support for nesting.
Miscellaneous
- use readthedoc to host document.
- First release