From 43a403b45d9644e634c2c560d16331305d83a4b0 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Mon, 5 Oct 2026 22:21:26 +0200 Subject: pathrouter: remove type Context from public interface --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index d0536a2..c576b6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,16 @@ SPDX-FileCopyrightText: 2026 Stefan Majewsky SPDX-License-Identifier: Apache-2.0 --> +# v1.18.0 (TBD) + +Changes: + +- pathrouter: Remove `type Context` argument from `HandlerFunc` signature. + When first using pathrouter in a real-world application, the extra argument proved cumbersome, + so I settled on clever shenanigans within the library in order to make application code more readable. + I really hate that I'm breaking compatiblity yet again, but in the end, user experience matters most. + My takeaway is that new packages should go through a period of declared instability until the first major users are done. + # v1.17.0 (2026-10-02) Changes: -- cgit v1.3.1