Skip to content

Commit cca758f

Browse files
committed
Merge branch '5.0.15' into 'main'
release 5.0.15 See merge request denic-eg/datascience/nis-gdpr/openpaq!23
2 parents 3fb02a4 + e254fc3 commit cca758f

5 files changed

Lines changed: 87 additions & 27 deletions

File tree

docs/changelog/index.html

Lines changed: 78 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,30 @@
429429
</label>
430430
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
431431

432+
<li class="md-nav__item">
433+
<a href="#5015-2025-10-21" class="md-nav__link">
434+
<span class="md-ellipsis">
435+
[5.0.15] - 2025-10-21
436+
</span>
437+
</a>
438+
439+
<nav class="md-nav" aria-label="[5.0.15] - 2025-10-21">
440+
<ul class="md-nav__list">
441+
442+
<li class="md-nav__item">
443+
<a href="#fixed" class="md-nav__link">
444+
<span class="md-ellipsis">
445+
Fixed
446+
</span>
447+
</a>
448+
449+
</li>
450+
451+
</ul>
452+
</nav>
453+
454+
</li>
455+
432456
<li class="md-nav__item">
433457
<a href="#5014-2025-10-20" class="md-nav__link">
434458
<span class="md-ellipsis">
@@ -440,7 +464,7 @@
440464
<ul class="md-nav__list">
441465

442466
<li class="md-nav__item">
443-
<a href="#fixed" class="md-nav__link">
467+
<a href="#fixed_1" class="md-nav__link">
444468
<span class="md-ellipsis">
445469
Fixed
446470
</span>
@@ -464,7 +488,7 @@
464488
<ul class="md-nav__list">
465489

466490
<li class="md-nav__item">
467-
<a href="#fixed_1" class="md-nav__link">
491+
<a href="#fixed_2" class="md-nav__link">
468492
<span class="md-ellipsis">
469493
Fixed
470494
</span>
@@ -488,7 +512,7 @@
488512
<ul class="md-nav__list">
489513

490514
<li class="md-nav__item">
491-
<a href="#fixed_2" class="md-nav__link">
515+
<a href="#fixed_3" class="md-nav__link">
492516
<span class="md-ellipsis">
493517
Fixed
494518
</span>
@@ -584,7 +608,7 @@
584608
<ul class="md-nav__list">
585609

586610
<li class="md-nav__item">
587-
<a href="#fixed_3" class="md-nav__link">
611+
<a href="#fixed_4" class="md-nav__link">
588612
<span class="md-ellipsis">
589613
Fixed
590614
</span>
@@ -617,7 +641,7 @@
617641
</li>
618642

619643
<li class="md-nav__item">
620-
<a href="#fixed_4" class="md-nav__link">
644+
<a href="#fixed_5" class="md-nav__link">
621645
<span class="md-ellipsis">
622646
Fixed
623647
</span>
@@ -641,7 +665,7 @@
641665
<ul class="md-nav__list">
642666

643667
<li class="md-nav__item">
644-
<a href="#fixed_5" class="md-nav__link">
668+
<a href="#fixed_6" class="md-nav__link">
645669
<span class="md-ellipsis">
646670
Fixed
647671
</span>
@@ -665,7 +689,7 @@
665689
<ul class="md-nav__list">
666690

667691
<li class="md-nav__item">
668-
<a href="#fixed_6" class="md-nav__link">
692+
<a href="#fixed_7" class="md-nav__link">
669693
<span class="md-ellipsis">
670694
Fixed
671695
</span>
@@ -689,7 +713,7 @@
689713
<ul class="md-nav__list">
690714

691715
<li class="md-nav__item">
692-
<a href="#fixed_7" class="md-nav__link">
716+
<a href="#fixed_8" class="md-nav__link">
693717
<span class="md-ellipsis">
694718
Fixed
695719
</span>
@@ -837,6 +861,30 @@
837861
</label>
838862
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
839863

864+
<li class="md-nav__item">
865+
<a href="#5015-2025-10-21" class="md-nav__link">
866+
<span class="md-ellipsis">
867+
[5.0.15] - 2025-10-21
868+
</span>
869+
</a>
870+
871+
<nav class="md-nav" aria-label="[5.0.15] - 2025-10-21">
872+
<ul class="md-nav__list">
873+
874+
<li class="md-nav__item">
875+
<a href="#fixed" class="md-nav__link">
876+
<span class="md-ellipsis">
877+
Fixed
878+
</span>
879+
</a>
880+
881+
</li>
882+
883+
</ul>
884+
</nav>
885+
886+
</li>
887+
840888
<li class="md-nav__item">
841889
<a href="#5014-2025-10-20" class="md-nav__link">
842890
<span class="md-ellipsis">
@@ -848,7 +896,7 @@
848896
<ul class="md-nav__list">
849897

850898
<li class="md-nav__item">
851-
<a href="#fixed" class="md-nav__link">
899+
<a href="#fixed_1" class="md-nav__link">
852900
<span class="md-ellipsis">
853901
Fixed
854902
</span>
@@ -872,7 +920,7 @@
872920
<ul class="md-nav__list">
873921

874922
<li class="md-nav__item">
875-
<a href="#fixed_1" class="md-nav__link">
923+
<a href="#fixed_2" class="md-nav__link">
876924
<span class="md-ellipsis">
877925
Fixed
878926
</span>
@@ -896,7 +944,7 @@
896944
<ul class="md-nav__list">
897945

898946
<li class="md-nav__item">
899-
<a href="#fixed_2" class="md-nav__link">
947+
<a href="#fixed_3" class="md-nav__link">
900948
<span class="md-ellipsis">
901949
Fixed
902950
</span>
@@ -992,7 +1040,7 @@
9921040
<ul class="md-nav__list">
9931041

9941042
<li class="md-nav__item">
995-
<a href="#fixed_3" class="md-nav__link">
1043+
<a href="#fixed_4" class="md-nav__link">
9961044
<span class="md-ellipsis">
9971045
Fixed
9981046
</span>
@@ -1025,7 +1073,7 @@
10251073
</li>
10261074

10271075
<li class="md-nav__item">
1028-
<a href="#fixed_4" class="md-nav__link">
1076+
<a href="#fixed_5" class="md-nav__link">
10291077
<span class="md-ellipsis">
10301078
Fixed
10311079
</span>
@@ -1049,7 +1097,7 @@
10491097
<ul class="md-nav__list">
10501098

10511099
<li class="md-nav__item">
1052-
<a href="#fixed_5" class="md-nav__link">
1100+
<a href="#fixed_6" class="md-nav__link">
10531101
<span class="md-ellipsis">
10541102
Fixed
10551103
</span>
@@ -1073,7 +1121,7 @@
10731121
<ul class="md-nav__list">
10741122

10751123
<li class="md-nav__item">
1076-
<a href="#fixed_6" class="md-nav__link">
1124+
<a href="#fixed_7" class="md-nav__link">
10771125
<span class="md-ellipsis">
10781126
Fixed
10791127
</span>
@@ -1097,7 +1145,7 @@
10971145
<ul class="md-nav__list">
10981146

10991147
<li class="md-nav__item">
1100-
<a href="#fixed_7" class="md-nav__link">
1148+
<a href="#fixed_8" class="md-nav__link">
11011149
<span class="md-ellipsis">
11021150
Fixed
11031151
</span>
@@ -1196,20 +1244,26 @@ <h1 id="changelog">Changelog</h1>
11961244
With any major version update, breaking changes may occur that can affect the behavior, structure, or integration of OpenPAQ in your environment. It is strongly recommended to review the changelog and migration guide before upgrading to a new major version to ensure compatibility with your existing implementation.
11971245
<br><br></p>
11981246
<hr />
1199-
<h2 id="5014-2025-10-20">[5.0.14] - 2025-10-20</h2>
1247+
<h2 id="5015-2025-10-21">[5.0.15] - 2025-10-21</h2>
12001248
<h3 id="fixed">Fixed</h3>
12011249
<ul>
1250+
<li>Metrics have been published with wrong label</li>
1251+
</ul>
1252+
<hr />
1253+
<h2 id="5014-2025-10-20">[5.0.14] - 2025-10-20</h2>
1254+
<h3 id="fixed_1">Fixed</h3>
1255+
<ul>
12021256
<li>Error handling: unreachable Nominatim no longer returns HTTP 200 with false result values</li>
12031257
</ul>
12041258
<hr />
12051259
<h2 id="5013-2025-09-17">[5.0.13] - 2025-09-17</h2>
1206-
<h3 id="fixed_1">Fixed</h3>
1260+
<h3 id="fixed_2">Fixed</h3>
12071261
<ul>
12081262
<li>Significant reduction in queries to Nominatim</li>
12091263
</ul>
12101264
<hr />
12111265
<h2 id="5012-2025-09-01">[5.0.12] - 2025-09-01</h2>
1212-
<h3 id="fixed_2">Fixed</h3>
1266+
<h3 id="fixed_3">Fixed</h3>
12131267
<ul>
12141268
<li>Build Container Release for GitHub</li>
12151269
<li>User Agent for Nominatim Request</li>
@@ -1234,7 +1288,7 @@ <h3 id="added">Added</h3>
12341288
</ul>
12351289
<hr />
12361290
<h2 id="507-2025-06-18">[5.0.7] - 2025-06-18</h2>
1237-
<h3 id="fixed_3">Fixed</h3>
1291+
<h3 id="fixed_4">Fixed</h3>
12381292
<ul>
12391293
<li>Fixed documentation list visualisation </li>
12401294
</ul>
@@ -1244,25 +1298,25 @@ <h3 id="added_1">Added</h3>
12441298
<ul>
12451299
<li>Added more context for documentation</li>
12461300
</ul>
1247-
<h3 id="fixed_4">Fixed</h3>
1301+
<h3 id="fixed_5">Fixed</h3>
12481302
<ul>
12491303
<li>Typos in documentation</li>
12501304
</ul>
12511305
<hr />
12521306
<h2 id="504-2025-06-04">[5.0.4] - 2025-06-04</h2>
1253-
<h3 id="fixed_5">Fixed</h3>
1307+
<h3 id="fixed_6">Fixed</h3>
12541308
<ul>
12551309
<li>Fixed umlauts for Austrian (at) streets (ü,ä,ö and ß)</li>
12561310
</ul>
12571311
<hr />
12581312
<h2 id="503-2025-05-16">[5.0.3] - 2025-05-16</h2>
1259-
<h3 id="fixed_6">Fixed</h3>
1313+
<h3 id="fixed_7">Fixed</h3>
12601314
<ul>
12611315
<li>References for docker image fixed</li>
12621316
</ul>
12631317
<hr />
12641318
<h2 id="502-2025-05-16">[5.0.2] - 2025-05-16</h2>
1265-
<h3 id="fixed_7">Fixed</h3>
1319+
<h3 id="fixed_8">Fixed</h3>
12661320
<ul>
12671321
<li>CSS fixes for documentation</li>
12681322
</ul>

docs/search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/sitemap.xml.gz

0 Bytes
Binary file not shown.

docs/src/docs/changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ With any major version update, breaking changes may occur that can affect the be
1616

1717
---
1818

19+
## [5.0.15] - 2025-10-21
20+
### Fixed
21+
- Metrics have been published with wrong label
22+
23+
---
24+
1925
## [5.0.14] - 2025-10-20
2026
### Fixed
2127
- Error handling: unreachable Nominatim no longer returns HTTP 200 with false result values

internal/types/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ func (i Input) Normalize() NormalizeInput {
4545
newCity, err := i.Normalizer.City(i.City)
4646
res.City = strings.ToLower(newCity)
4747
if err != nil || len(res.City) == 0 {
48-
InputNormalizerErrorCounter.WithLabelValues("city", res.City).Inc()
48+
InputNormalizerErrorCounter.WithLabelValues("city", res.CountryCode).Inc()
4949
}
5050

5151
streetLower := strings.ToLower(i.Street)
5252
res.Streets, err = i.Normalizer.Street(streetLower)
5353
if err != nil || len(res.Streets) == 0 {
54-
InputNormalizerErrorCounter.WithLabelValues("street", i.Street).Inc()
54+
InputNormalizerErrorCounter.WithLabelValues("street", res.CountryCode).Inc()
5555
}
5656

5757
return res

0 commit comments

Comments
 (0)