2.2.3 (2023-06-22)
%xx
escaped names of school classes, users and workgroups are now unescaped.
- Support HEAD for
SchoolClass
,User
,WorkGroup
, andRole
.
- Use deepcopy in
to_dict
method to prevent values ofudm_properties
from being updated in objects which are copied.
- Support Http
Accept-Language
Header.
- Support HEAD for
School
.
- Use detailed upstream error message in
InvalidRequest
exception messages.
- API Change: The required argument
school
in theUser
constructor has now the default argumentNone
. The argumentname
is not required anymore. Optional values, which are set toNone
, are not passed to the Kelvin server anymore. This enables automatic value generation on the Kelvin REST API server. To make use of this, the attributes can be either set toNone
, the empty string""
or left out completely. Additionally, you have to create a schema for the corresponding attribute on the Kelvin REST API server. - Send a correlation ID with each request.
- Loosen dependency constraints.
- Support user
workgroups
attribute.
- Ignore unknown attributes in KelvinObject child classes.
- Add support for workgroup resource.
- Fixed: Logger does replace values of credentials with placeholders.
- Automatic tests now run with Python 3.7 - 3.10.
- Fixed: The timeout attribute from a session instance is now used for requests.
- Add attribute
expiration_date
to theUser
class. The attribute was added to the Kelvin REST API app in version1.5.1
.
- Add attribute
udm_properties
to classesSchool
andSchoolClass
. The attributes were added to the Kelvin REST API app in version1.5.0
.
- Add support for the creation of school (OU) objects.
- Add support for the
kelvin_password_hashes
attribute of theUser
class.
- fix JWT token validity calculation: timestamp uses UTC
- documentation fixes
- dependency updates
- tests also run on Python 3.9-dev
- move tox to test requirements
- fix user object creation with default parameters
- change
as_dict
to be a method instead of a property - fix flaky tests
- improve test coverage
- pass more env args to tox
- fix AttributeError with repr(role)
- add complete usage documentation
- First release.