From ee2adf33a447d938b7a3d3ae707ba605d3f5e848 Mon Sep 17 00:00:00 2001 From: Tim Schwenke Date: Sun, 10 Mar 2024 12:16:05 +0100 Subject: [PATCH] docs: Add entry to changelog --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5df36cc..9372baa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0). ## Unreleased +### Changed + +- Relaxed type of `get_route_name` argument to `HTTPConnection`. This allows + developers to use the `get_route_name` function for getting the name of + websocket routes as well. Thanks to [@pajowu](https://github.com/pajowu) for + proposing and implementing this change in + [#276](https://github.com/trallnag/prometheus-fastapi-instrumentator/pull/276). + ### Removed - **BREAKING:** Dropped support for Python 3.7 which is has reached end-of-life.