From 0233f3e7c600b730426628f2cf9c829d404a181f Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Tue, 9 Dec 2025 03:44:03 -0800 Subject: [PATCH] Add deprecation notice for geoip plugin's behavior of 0 (#7740) This PR add a deprecation noticed for geoip plugin's upcoming behavior change of 0. Please see PR #7732 for details. Signed-off-by: Yong Tang --- notes/coredns-1.13.2.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/notes/coredns-1.13.2.md b/notes/coredns-1.13.2.md index 59e6924b2..876dc0439 100644 --- a/notes/coredns-1.13.2.md +++ b/notes/coredns-1.13.2.md @@ -13,6 +13,12 @@ initialization. Plugin updates improve forwarder reliability, extend GeoIP schem and fix issues in secondary, nomad, and kubernetes. Cache and file plugins also receive targeted performance tuning. +Deprecations: The GeoIP plugin currently returns 0 for missing latitude/longitude, even though +0,0 is a real location. In the next release, this behavior will change: missing coordinates +will return an empty string instead. This avoids conflating “missing” with a real coordinate. +Users relying on 0 as a sentinel value should update their logic before this change takes effect. +See PR #7732 for reference. + ## Brought to You By Alicia Y