Announcement
Default API version will change to v2.0 in the next major release. It is now considered stable and v1.7 suffers from various bugs (e.g. wastebasket endpoints not working correctly), and EasyVerein sadly will not invest fixing those anymore.
Breaking Changes
💥 Minimum supported Python version is now 3.11
Features
✨ Add support for nested MemberGroup models in MemberMemberGroup by @cod3monk - This change now allows to query memberGroups of members and correctly parse the group attributes.
✨Add exclude_none argument to CRUD update function to be able to unset attributes on easyverein endpoints by @cod3monk - This change allows to exclude None
valued attributes to clear values from the API
Bugfixes
✏️ add type date for MemberMemberGroup start and end attributes by @cod3monk
✏️ fix: allow str for additional field directly, while still allowing lists which are then dumped. by @waza-ari - This fixes an issue when creating custom fields, as the EV API returns the option as dumped JSON string instead of returning JSON directly.
✏️ Member.paymentIntervallMonths does not support null/None, but also -1 by @cod3monk - This change allows setting the paymentIntervallMonths to "once", which is indicated by setting the value to -1
.
✏️ refactor: remove references to HEXA version by @waza-ari
✏️ test: switch tests to v2.0 as v1.7 is not consistent with the documentation by @waza-ari
✏️ tests: use auto_retry feature for tests as we're hitting the API rate limit during tests by @waza-ari
Full Changelog: v1.0.1...v1.1.0