7.0.0
Backwards-incompatible changes
- Remove
EventDuration
fromsafir.metrics
. Instead, use Python's built-intimedelta
as the type for any field that previously usedEventDuration
. It will be serialized the same way, as an Avrodouble
number of seconds.
Bug fixes
- Support multi-valued parameters as input to UWS
POST
routes when the values are specified by repeating the parameter. - Declare that the
safir.metrics
package is typed by adding apy.typed
file.
What's Changed
- DM-47011: Update pre-commit dependencies by @rra in #316
- DM-47027: Change ws_post_params_dependency to handle multiple occurrences of the same param by @stvoutsin in #317
- Fix
PydanticRedisStorage
documentation by @rra in #318 - DM-45522 metrics: native
timedelta
support by @fajpunk in #319 - DM-45522: Add py.typed to metrics package by @fajpunk in #320
- DM-45522: Prepare 7.0.0 release by @fajpunk in #321
New Contributors
- @stvoutsin made their first contribution in #317
Full Changelog: 6.5.1...7.0.0