Skip to content

Releases

Release 1.175.0

Choose a tag to compare

@monty-bot monty-bot released this 01 Dec 15:18

Changelog

This document contains a history of significant changes which have been released for golang-utils. Please note that
beta releases are not included in this history.

1.175.0 (2026-12-01)

Features

  • ✨ [filesystem] Add NewOsBasePathFs, a safe os.Root-backed filesystem for constraining writable filesystem access to a base path. (#202611261347)

Misc

  • #20261126143244337448828

1.174.0 (2026-11-26)

Features

  • ✨ git Add ResolveReference and LocalRevision to read locally available commit revisions without fetching, checking out, or changing worktree state. (#202611240001)
  • ✨ [filesystem] Add WalkUp, WalkUpWithExclusionPatterns, and FindUp helpers for upward filesystem traversal. (#202611251443)
  • ✨ [collection] Add FirstByWithError and LastByWithError helpers for error-returning predicates. (#202611251449)

Bugfixes

  • Dependency upgrade: crypto-0.59.0 (#20261116112516354434522)
  • Dependency upgrade: sync-0.25.0 (#20261116112548917575284)
  • Dependency upgrade: codeql-action-4.39.4 (#20261123112152277981110)
  • Dependency upgrade: scorecard-action-2.6.0 (#20261123112207177087507)
  • Dependency upgrade: net-0.63.0 (#20261123112553948710713)

Misc

  • #202611251314, #20261125114507429405395

1.173.0 (2026-11-19)

Features

  • ✨ serialisation Add frontmatter document extraction that returns metadata and body together (#202611120001)
  • ✨ [validation] Add validation.SequenceItems for validating each item yielded by iterator-backed sequences. (#202611191502)

Bugfixes

  • Dependency upgrade: spdx-0.3.6 (#20261106155912533229571)
  • Dependency upgrade: v4-4.5.0 (#20261106155948389147431, #20261106155957736963266, #20261106155959185005560)
  • Dependency upgrade: codeql-action-4.39.3 (#20261109112026903220115)
  • Dependency upgrade: sync-0.25.0 (#20261110111533407113796, #20261110111606052088031, #20261116112537246475119, #20261116112546128476489)
  • Dependency upgrade: sys-0.50.0 (#20261110111603307038574, #20261110111630389663261, #20261116112600902435656)
  • Dependency upgrade: oauth2-0.38.0 (#20261110111613713768698)
  • Dependency upgrade: timberjack-1.4.10 (#20261112111630569217024)
  • Dependency upgrade: text-0.44.0 (#20261113111551547339294, #20261113111606797953691)
  • Dependency upgrade: mod-0.43.0 (#20261113111642325809144)
  • Dependency upgrade: crypto-0.59.0 (#20261116112513515913564)

Misc

  • #20261112154919510875147

1.172.0 (2026-11-06)

Features

  • ✨ subprocess Add ExecuteInteractiveWithDir to the shared Subprocess executor for interactive commands with inherited terminal controls (#20261104150420)
  • ✨ [platform] Added cross-platform privilege helpers, including IsCurrentWithRootPrivileges, and consolidated admin and elevated-command helpers behind platform-specific implementations. (#20261104164100)
  • ✨ [proc] Added the cross-platform SleepCommand helper and improved process wait coverage so process-control tests behave consistently across Windows and Unix-like platforms. (#20261104164200)

Bugfixes

  • 🐛 Roll back filesystem lock acquisition when the lock context is cancelled immediately after creating the lock directory. (#202611051930)
  • 🐛 [safecast] Fixed 32-bit overflow handling so safe casts compile and clamp correctly on GOARCH=386 instead of failing on integer boundary checks such as math.MaxUint32, math.MinInt64, and math.MaxInt64. (#20261104164000)
  • 🐛 [proc] Fix graceful termination helpers so they stop waiting for the full grace period once the target process has already exited. (#20261106122000)
  • 🐛 [proc] Convert signal: interrupt process wait errors into ErrInterrupted instead of leaving them as ignored raw process errors. (#20261106150000)
  • Dependency upgrade: mod-0.42.0 (#20261028111705204149516)
  • Dependency upgrade: v4-4.5.0 (#20261102112324722755826, #20261102112329702376984, #20261102112337004176613, #20261102112342927064607, #20261102112351652841019, #20261102112406917798895, #20261105111625231021988, #20261105111637767963107, #20261105111646379027602, #20261105111657509415028, #20261105111659898259717, #20261105111703230319929)
  • Dependency upgrade: net-0.62.0 (#20261102112509657391564, #20261102112510899659245)
  • Dependency upgrade: v4-4.26.9 (#20261104192602335424898)
  • Dependency upgrade: spdx-0.3.4 (#20261105111631859123118)
  • Dependency upgrade: v4-4.26.10 (#20261105111647366995125, #20261105111647374346630)
  • Dependency upgrade: codeql-action-4.39.2 (#20261106111315530199948)
  • Dependency upgrade: pflag-1.1.0 (#20261106111546028792101)

Misc

  • #20261104162753171671350, #20261104165412808358949

1.171.2 (2026-10-27)

Bugfixes

  • Dependency upgrade: v5-5.19.3 (#20261027175141428358884)
  • Dependency upgrade: spdx-0.3.3 (#20261027175159598934607)
  • Dependency upgrade: timberjack-1.4.9 (#20261027175208639643150)
  • Dependency upgrade: oauth2-0.37.0 (#20261027175250232464677)
  • Dependency upgrade: v4-4.26.9 (#20261027175305973430533, #20261027175827514394215)

Misc

  • #202610271735

1.171.1 (2026-10-27)

Bugfixes

  • Dependency upgrade: mongo-driver-1.17.7 (#20261027140527843259182)
  • Dependency upgrade: v4-4.4.1 (#20261027142148622768483)
  • Dependency upgrade: codeql-action-4.39.1 (#20261027142231746971671)
  • Dependency upgrade: v5-5.19.2 (#20261027143621639979363)

Improved Documentation

  • 📖 [docs] Configure the published documentation site URL explicitly so CDS generates robots.txt, sitemap.xml, and llms*.txt consistently during releases. (#202610271715)

1.171.0 (2026-10-27)

Features

  • :recyle: Split golang-utils into CDS-managed Go submodules with repository-wide workspace, per-module CI coverage, and full Dependabot coverage. (#202610231530)
  • :recyle: Add British-spelled serialisation modules, retaining the existing serialization import paths for compatibility. (#202610261300)
  • :recyle: Publish a combined project-wide JUnit XML report alongside per-module Go test reports in CI. (#202610261415)
  • :recyle: Reuse a standalone Go workspace sync action across CI, CodeQL, and release workflows. (#202610261430)
  • ✨ Define reusable Go actions for projects following the golang-utils multimodule convention, including workspace synchronisation, module discovery, generation, linting, testing, and combined reports. (#202610261500)
  • ✨ Publish dedicated Go modules for units, subprocess helpers, casing, JSON/YAML frontmatter, logging helpers, HTTP helpers, and AES/RSA encryption while preserving their import paths. (#202610261700)
  • ♻️ Forward legacy serialization helpers and types to serialisation, preserving existing import paths without maintaining duplicate implementations. (#202610261915)
  • ✨ [actions] Simplify multimodule Go test reporting by publishing per-module JUnit results with publish-unit-test-result-action, storing its combined JSON report in uploaded artifacts, and keeping the bespoke coverage combination flow. (#202610261955)

Bugfixes

  • 🐛 [serialization] Make XML and frontmatter parsing tolerate prepended copyright header comments in serialised test fixtures. (#202610261646)
  • Dependency upgrade: v4-4.4.1 (#20261027131905474189580)
  • Dependency upgrade: v4-4.12.0 (#20261027131906426558447, #20261027131920332788338, #20261027131925488671416, #20261027131930221142662, #20261027131933957634673, #20261027131934706830307, #20261027131944751763408)
  • Dependency upgrade: atomic-1.12.0 (#20261027131923131348657)
  • Dependency upgrade: upload-artifact-7.0.2 (#20261027132018160488327)
  • Dependency upgrade: create-pull-request-8 (#20261027132031548689296)
  • Dependency upgrade: scorecard-action-2.5.0 (#20261027132032131117656)
  • Dependency upgrade: mongo-driver-1.17.7 (#20261027132220751070468, #20261027132222753804511)
  • Dependency upgrade: compress-1.18.7 (#20261027132221541873361, #20261027132224249760926)

Misc

  • #202610231531, #20261026155253423794900, #20261026155508003842115

1.170.7 (2026-10-02)

Bugfixes

  • Dependency upgrade: atomic-1.12.0 (#20260929101312891857534)
  • Dependency upgrade: timberjack-1.4.8 (#20260929101326111645236)

Misc

  • #202610011200, #202610021136

"1.170.6" (2026-09-28)

Bugfixes

  • 🔒 [proc/find] Reject PIDs outside int32 before lookup; previously oversized values were clamped to MaxInt32, potentially returning the wrong process or an incorrect not-found result (code-scanning alert 126). (#998)

"1.170.5" (2026-09-28)

Bugfixes

  • Dependency upgrade: testify-1.12.1 (#20260820101329)
  • Dependency upgrade: codeql-action-4.37.8 (#20260824101403)
  • Dependency upgrade: timberjack-1.4.7 (#20260827101353)
  • Dependency upgrade: v4-4.26.8 (#20260901101724)
  • Dependency upgrade: logrus-1.10.1 (#20260928133442)
  • Dependency upgrade: v4-4.2.0 (#20260928133543)

"1.170.4" (2026-08-19)

Bugfixes

  • Dependency upgrade: codeql-action-4.37.6 (#20260818152436)

"1.170.3" (2026-08-18)

Bugfixes

  • Dependency upgrade: text-0.41.0 (#20260817101501)
  • Dependency upgrade: net-0.58.0 (#20260817101511)
  • Dependency upgrade: spdx-0.3.1 (#20260817101518)
  • Dependency upgrade: testify-1.12.0 (#20260817101526)
  • 💥 Restore local required validation rules for remaining HTTP and file cache config fields after the ozzo-validation behaviour change. (#20260817103000)
  • Dependency upgrade: stringcase-1.0.0 (#20260818090655)
  • Dependency upgrade: logrus-1.10.0 (#20260818101350)

"1.170...

Read more

Release 1.173.0

Choose a tag to compare

@monty-bot monty-bot released this 19 Nov 16:27

Changelog

This document contains a history of significant changes which have been released for golang-utils. Please note that
beta releases are not included in this history.

1.173.0 (2026-11-19)

Features

  • ✨ serialisation Add frontmatter document extraction that returns metadata and body together (#202611120001)
  • ✨ [validation] Add validation.SequenceItems for validating each item yielded by iterator-backed sequences. (#202611191502)

Bugfixes

  • Dependency upgrade: spdx-0.3.6 (#20261106155912533229571)
  • Dependency upgrade: v4-4.5.0 (#20261106155948389147431, #20261106155957736963266, #20261106155959185005560)
  • Dependency upgrade: codeql-action-4.39.3 (#20261109112026903220115)
  • Dependency upgrade: sync-0.25.0 (#20261110111533407113796, #20261110111606052088031, #20261116112537246475119, #20261116112546128476489)
  • Dependency upgrade: sys-0.50.0 (#20261110111603307038574, #20261110111630389663261, #20261116112600902435656)
  • Dependency upgrade: oauth2-0.38.0 (#20261110111613713768698)
  • Dependency upgrade: timberjack-1.4.10 (#20261112111630569217024)
  • Dependency upgrade: text-0.44.0 (#20261113111551547339294, #20261113111606797953691)
  • Dependency upgrade: mod-0.43.0 (#20261113111642325809144)
  • Dependency upgrade: crypto-0.59.0 (#20261116112513515913564)

Misc

  • #20261112154919510875147

1.172.0 (2026-11-06)

Features

  • ✨ subprocess Add ExecuteInteractiveWithDir to the shared Subprocess executor for interactive commands with inherited terminal controls (#20261104150420)
  • ✨ [platform] Added cross-platform privilege helpers, including IsCurrentWithRootPrivileges, and consolidated admin and elevated-command helpers behind platform-specific implementations. (#20261104164100)
  • ✨ [proc] Added the cross-platform SleepCommand helper and improved process wait coverage so process-control tests behave consistently across Windows and Unix-like platforms. (#20261104164200)

Bugfixes

  • 🐛 Roll back filesystem lock acquisition when the lock context is cancelled immediately after creating the lock directory. (#202611051930)
  • 🐛 [safecast] Fixed 32-bit overflow handling so safe casts compile and clamp correctly on GOARCH=386 instead of failing on integer boundary checks such as math.MaxUint32, math.MinInt64, and math.MaxInt64. (#20261104164000)
  • 🐛 [proc] Fix graceful termination helpers so they stop waiting for the full grace period once the target process has already exited. (#20261106122000)
  • 🐛 [proc] Convert signal: interrupt process wait errors into ErrInterrupted instead of leaving them as ignored raw process errors. (#20261106150000)
  • Dependency upgrade: mod-0.42.0 (#20261028111705204149516)
  • Dependency upgrade: v4-4.5.0 (#20261102112324722755826, #20261102112329702376984, #20261102112337004176613, #20261102112342927064607, #20261102112351652841019, #20261102112406917798895, #20261105111625231021988, #20261105111637767963107, #20261105111646379027602, #20261105111657509415028, #20261105111659898259717, #20261105111703230319929)
  • Dependency upgrade: net-0.62.0 (#20261102112509657391564, #20261102112510899659245)
  • Dependency upgrade: v4-4.26.9 (#20261104192602335424898)
  • Dependency upgrade: spdx-0.3.4 (#20261105111631859123118)
  • Dependency upgrade: v4-4.26.10 (#20261105111647366995125, #20261105111647374346630)
  • Dependency upgrade: codeql-action-4.39.2 (#20261106111315530199948)
  • Dependency upgrade: pflag-1.1.0 (#20261106111546028792101)

Misc

  • #20261104162753171671350, #20261104165412808358949

1.171.2 (2026-10-27)

Bugfixes

  • Dependency upgrade: v5-5.19.3 (#20261027175141428358884)
  • Dependency upgrade: spdx-0.3.3 (#20261027175159598934607)
  • Dependency upgrade: timberjack-1.4.9 (#20261027175208639643150)
  • Dependency upgrade: oauth2-0.37.0 (#20261027175250232464677)
  • Dependency upgrade: v4-4.26.9 (#20261027175305973430533, #20261027175827514394215)

Misc

  • #202610271735

1.171.1 (2026-10-27)

Bugfixes

  • Dependency upgrade: mongo-driver-1.17.7 (#20261027140527843259182)
  • Dependency upgrade: v4-4.4.1 (#20261027142148622768483)
  • Dependency upgrade: codeql-action-4.39.1 (#20261027142231746971671)
  • Dependency upgrade: v5-5.19.2 (#20261027143621639979363)

Improved Documentation

  • 📖 [docs] Configure the published documentation site URL explicitly so CDS generates robots.txt, sitemap.xml, and llms*.txt consistently during releases. (#202610271715)

1.171.0 (2026-10-27)

Features

  • :recyle: Split golang-utils into CDS-managed Go submodules with repository-wide workspace, per-module CI coverage, and full Dependabot coverage. (#202610231530)
  • :recyle: Add British-spelled serialisation modules, retaining the existing serialization import paths for compatibility. (#202610261300)
  • :recyle: Publish a combined project-wide JUnit XML report alongside per-module Go test reports in CI. (#202610261415)
  • :recyle: Reuse a standalone Go workspace sync action across CI, CodeQL, and release workflows. (#202610261430)
  • ✨ Define reusable Go actions for projects following the golang-utils multimodule convention, including workspace synchronisation, module discovery, generation, linting, testing, and combined reports. (#202610261500)
  • ✨ Publish dedicated Go modules for units, subprocess helpers, casing, JSON/YAML frontmatter, logging helpers, HTTP helpers, and AES/RSA encryption while preserving their import paths. (#202610261700)
  • ♻️ Forward legacy serialization helpers and types to serialisation, preserving existing import paths without maintaining duplicate implementations. (#202610261915)
  • ✨ [actions] Simplify multimodule Go test reporting by publishing per-module JUnit results with publish-unit-test-result-action, storing its combined JSON report in uploaded artifacts, and keeping the bespoke coverage combination flow. (#202610261955)

Bugfixes

  • 🐛 [serialization] Make XML and frontmatter parsing tolerate prepended copyright header comments in serialised test fixtures. (#202610261646)
  • Dependency upgrade: v4-4.4.1 (#20261027131905474189580)
  • Dependency upgrade: v4-4.12.0 (#20261027131906426558447, #20261027131920332788338, #20261027131925488671416, #20261027131930221142662, #20261027131933957634673, #20261027131934706830307, #20261027131944751763408)
  • Dependency upgrade: atomic-1.12.0 (#20261027131923131348657)
  • Dependency upgrade: upload-artifact-7.0.2 (#20261027132018160488327)
  • Dependency upgrade: create-pull-request-8 (#20261027132031548689296)
  • Dependency upgrade: scorecard-action-2.5.0 (#20261027132032131117656)
  • Dependency upgrade: mongo-driver-1.17.7 (#20261027132220751070468, #20261027132222753804511)
  • Dependency upgrade: compress-1.18.7 (#20261027132221541873361, #20261027132224249760926)

Misc

  • #202610231531, #20261026155253423794900, #20261026155508003842115

1.170.7 (2026-10-02)

Bugfixes

  • Dependency upgrade: atomic-1.12.0 (#20260929101312891857534)
  • Dependency upgrade: timberjack-1.4.8 (#20260929101326111645236)

Misc

  • #202610011200, #202610021136

"1.170.6" (2026-09-28)

Bugfixes

  • 🔒 [proc/find] Reject PIDs outside int32 before lookup; previously oversized values were clamped to MaxInt32, potentially returning the wrong process or an incorrect not-found result (code-scanning alert 126). (#998)

"1.170.5" (2026-09-28)

Bugfixes

  • Dependency upgrade: testify-1.12.1 (#20260820101329)
  • Dependency upgrade: codeql-action-4.37.8 (#20260824101403)
  • Dependency upgrade: timberjack-1.4.7 (#20260827101353)
  • Dependency upgrade: v4-4.26.8 (#20260901101724)
  • Dependency upgrade: logrus-1.10.1 (#20260928133442)
  • Dependency upgrade: v4-4.2.0 (#20260928133543)

"1.170.4" (2026-08-19)

Bugfixes

  • Dependency upgrade: codeql-action-4.37.6 (#20260818152436)

"1.170.3" (2026-08-18)

Bugfixes

  • Dependency upgrade: text-0.41.0 (#20260817101501)
  • Dependency upgrade: net-0.58.0 (#20260817101511)
  • Dependency upgrade: spdx-0.3.1 (#20260817101518)
  • Dependency upgrade: testify-1.12.0 (#20260817101526)
  • 💥 Restore local required validation rules for remaining HTTP and file cache config fields after the ozzo-validation behaviour change. (#20260817103000)
  • Dependency upgrade: stringcase-1.0.0 (#20260818090655)
  • Dependency upgrade: logrus-1.10.0 (#20260818101350)

"1.170.2" (2026-08-13)

Bugfixes

  • 🐛 annotations Ensure that annotation behavior aligns with what the CI platforms expect with annotations prefixing the entire log line (#20260813115747)

"1.170.1" (2026-08-12)

Bugfixes

  • ♻️ [value] Fix a regression introduced by switching flatten-map string conversion to StringConverter by restoring flatten-map scalar formatting, keeping fmt.Stringer and encoding.TextMarshaler precedence, wrapping text-marshalling failures as commonerrors.ErrMarshalling, and documenting pointer and struct fallback output. (#202608121215)
  • Dependency upgrade: upload-sarif-c16c0f3f2812ec4bb3750a5ed64873fe2ce0fbef (#20260812101700)

"1.170.0" (2026-08-11)

Features

  • ✨ [value] Added context-aware value converters, including IdentityConverter and StringConverter with fmt.Stringer, encoding.TextMarshaler, and fallback string formatting support. (#202608111300)
  • ✨ [reflection] Added NewValueTypeConverter to adapt reflection-based con...
Read more

Release 1.172.0

Choose a tag to compare

@monty-bot monty-bot released this 06 Nov 16:01

Changelog

This document contains a history of significant changes which have been released for golang-utils. Please note that
beta releases are not included in this history.

1.172.0 (2026-11-06)

Features

  • ✨ subprocess Add ExecuteInteractiveWithDir to the shared Subprocess executor for interactive commands with inherited terminal controls (#20261104150420)
  • ✨ [platform] Added cross-platform privilege helpers, including IsCurrentWithRootPrivileges, and consolidated admin and elevated-command helpers behind platform-specific implementations. (#20261104164100)
  • ✨ [proc] Added the cross-platform SleepCommand helper and improved process wait coverage so process-control tests behave consistently across Windows and Unix-like platforms. (#20261104164200)

Bugfixes

  • 🐛 Roll back filesystem lock acquisition when the lock context is cancelled immediately after creating the lock directory. (#202611051930)
  • 🐛 [safecast] Fixed 32-bit overflow handling so safe casts compile and clamp correctly on GOARCH=386 instead of failing on integer boundary checks such as math.MaxUint32, math.MinInt64, and math.MaxInt64. (#20261104164000)
  • 🐛 [proc] Fix graceful termination helpers so they stop waiting for the full grace period once the target process has already exited. (#20261106122000)
  • 🐛 [proc] Convert signal: interrupt process wait errors into ErrInterrupted instead of leaving them as ignored raw process errors. (#20261106150000)
  • Dependency upgrade: mod-0.42.0 (#20261028111705204149516)
  • Dependency upgrade: v4-4.5.0 (#20261102112324722755826, #20261102112329702376984, #20261102112337004176613, #20261102112342927064607, #20261102112351652841019, #20261102112406917798895, #20261105111625231021988, #20261105111637767963107, #20261105111646379027602, #20261105111657509415028, #20261105111659898259717, #20261105111703230319929)
  • Dependency upgrade: net-0.62.0 (#20261102112509657391564, #20261102112510899659245)
  • Dependency upgrade: v4-4.26.9 (#20261104192602335424898)
  • Dependency upgrade: spdx-0.3.4 (#20261105111631859123118)
  • Dependency upgrade: v4-4.26.10 (#20261105111647366995125, #20261105111647374346630)
  • Dependency upgrade: codeql-action-4.39.2 (#20261106111315530199948)
  • Dependency upgrade: pflag-1.1.0 (#20261106111546028792101)

Misc

  • #20261104162753171671350, #20261104165412808358949

1.171.2 (2026-10-27)

Bugfixes

  • Dependency upgrade: v5-5.19.3 (#20261027175141428358884)
  • Dependency upgrade: spdx-0.3.3 (#20261027175159598934607)
  • Dependency upgrade: timberjack-1.4.9 (#20261027175208639643150)
  • Dependency upgrade: oauth2-0.37.0 (#20261027175250232464677)
  • Dependency upgrade: v4-4.26.9 (#20261027175305973430533, #20261027175827514394215)

Misc

  • #202610271735

1.171.1 (2026-10-27)

Bugfixes

  • Dependency upgrade: mongo-driver-1.17.7 (#20261027140527843259182)
  • Dependency upgrade: v4-4.4.1 (#20261027142148622768483)
  • Dependency upgrade: codeql-action-4.39.1 (#20261027142231746971671)
  • Dependency upgrade: v5-5.19.2 (#20261027143621639979363)

Improved Documentation

  • 📖 [docs] Configure the published documentation site URL explicitly so CDS generates robots.txt, sitemap.xml, and llms*.txt consistently during releases. (#202610271715)

1.171.0 (2026-10-27)

Features

  • :recyle: Split golang-utils into CDS-managed Go submodules with repository-wide workspace, per-module CI coverage, and full Dependabot coverage. (#202610231530)
  • :recyle: Add British-spelled serialisation modules, retaining the existing serialization import paths for compatibility. (#202610261300)
  • :recyle: Publish a combined project-wide JUnit XML report alongside per-module Go test reports in CI. (#202610261415)
  • :recyle: Reuse a standalone Go workspace sync action across CI, CodeQL, and release workflows. (#202610261430)
  • ✨ Define reusable Go actions for projects following the golang-utils multimodule convention, including workspace synchronisation, module discovery, generation, linting, testing, and combined reports. (#202610261500)
  • ✨ Publish dedicated Go modules for units, subprocess helpers, casing, JSON/YAML frontmatter, logging helpers, HTTP helpers, and AES/RSA encryption while preserving their import paths. (#202610261700)
  • ♻️ Forward legacy serialization helpers and types to serialisation, preserving existing import paths without maintaining duplicate implementations. (#202610261915)
  • ✨ [actions] Simplify multimodule Go test reporting by publishing per-module JUnit results with publish-unit-test-result-action, storing its combined JSON report in uploaded artifacts, and keeping the bespoke coverage combination flow. (#202610261955)

Bugfixes

  • 🐛 [serialization] Make XML and frontmatter parsing tolerate prepended copyright header comments in serialised test fixtures. (#202610261646)
  • Dependency upgrade: v4-4.4.1 (#20261027131905474189580)
  • Dependency upgrade: v4-4.12.0 (#20261027131906426558447, #20261027131920332788338, #20261027131925488671416, #20261027131930221142662, #20261027131933957634673, #20261027131934706830307, #20261027131944751763408)
  • Dependency upgrade: atomic-1.12.0 (#20261027131923131348657)
  • Dependency upgrade: upload-artifact-7.0.2 (#20261027132018160488327)
  • Dependency upgrade: create-pull-request-8 (#20261027132031548689296)
  • Dependency upgrade: scorecard-action-2.5.0 (#20261027132032131117656)
  • Dependency upgrade: mongo-driver-1.17.7 (#20261027132220751070468, #20261027132222753804511)
  • Dependency upgrade: compress-1.18.7 (#20261027132221541873361, #20261027132224249760926)

Misc

  • #202610231531, #20261026155253423794900, #20261026155508003842115

1.170.7 (2026-10-02)

Bugfixes

  • Dependency upgrade: atomic-1.12.0 (#20260929101312891857534)
  • Dependency upgrade: timberjack-1.4.8 (#20260929101326111645236)

Misc

  • #202610011200, #202610021136

"1.170.6" (2026-09-28)

Bugfixes

  • 🔒 [proc/find] Reject PIDs outside int32 before lookup; previously oversized values were clamped to MaxInt32, potentially returning the wrong process or an incorrect not-found result (code-scanning alert 126). (#998)

"1.170.5" (2026-09-28)

Bugfixes

  • Dependency upgrade: testify-1.12.1 (#20260820101329)
  • Dependency upgrade: codeql-action-4.37.8 (#20260824101403)
  • Dependency upgrade: timberjack-1.4.7 (#20260827101353)
  • Dependency upgrade: v4-4.26.8 (#20260901101724)
  • Dependency upgrade: logrus-1.10.1 (#20260928133442)
  • Dependency upgrade: v4-4.2.0 (#20260928133543)

"1.170.4" (2026-08-19)

Bugfixes

  • Dependency upgrade: codeql-action-4.37.6 (#20260818152436)

"1.170.3" (2026-08-18)

Bugfixes

  • Dependency upgrade: text-0.41.0 (#20260817101501)
  • Dependency upgrade: net-0.58.0 (#20260817101511)
  • Dependency upgrade: spdx-0.3.1 (#20260817101518)
  • Dependency upgrade: testify-1.12.0 (#20260817101526)
  • 💥 Restore local required validation rules for remaining HTTP and file cache config fields after the ozzo-validation behaviour change. (#20260817103000)
  • Dependency upgrade: stringcase-1.0.0 (#20260818090655)
  • Dependency upgrade: logrus-1.10.0 (#20260818101350)

"1.170.2" (2026-08-13)

Bugfixes

  • 🐛 annotations Ensure that annotation behavior aligns with what the CI platforms expect with annotations prefixing the entire log line (#20260813115747)

"1.170.1" (2026-08-12)

Bugfixes

  • ♻️ [value] Fix a regression introduced by switching flatten-map string conversion to StringConverter by restoring flatten-map scalar formatting, keeping fmt.Stringer and encoding.TextMarshaler precedence, wrapping text-marshalling failures as commonerrors.ErrMarshalling, and documenting pointer and struct fallback output. (#202608121215)
  • Dependency upgrade: upload-sarif-c16c0f3f2812ec4bb3750a5ed64873fe2ce0fbef (#20260812101700)

"1.170.0" (2026-08-11)

Features

  • ✨ [value] Added context-aware value converters, including IdentityConverter and StringConverter with fmt.Stringer, encoding.TextMarshaler, and fallback string formatting support. (#202608111300)
  • ✨ [reflection] Added NewValueTypeConverter to adapt reflection-based converters into the shared value-converter interface. (#202608111301)
  • ✨ [config] Added context-aware default-value converters for environment variable generation, including SecretConverter for masking sensitive values. (#202608111302)
  • ✨ [reflection] Added helpers to detect field tag values on structs, struct pointers, and collection values containing tagged struct items. (#202608111345)
  • 🔒 [config] Added tag-aware configuration masking converters that can automatically obfuscate sensitive values based on common field tags such as mask, sensitive, secret, password, censored, redact, pii, and sens. (#202608111430)

Bugfixes

  • Dependency upgrade: upload-sarif-7d9249f5a57288b8a472ddd9cc3ece1921f7dc38 (#20260807125603)

Misc

  • #202608111330

"1.169.0" (2026-08-07)

Features

  • ✨ [validation] Added when-rule helpers for not-equals, empty, and not-empty checks across property- and field-based validation. (#202608062230)
  • ✨ [validation] Added non-recursive value-oriented helpers such as WhenFieldEqualsValue, RequiredFieldsBy, FieldDependencyBy, `M...
Read more

Release 1.171.2

Choose a tag to compare

@monty-bot monty-bot released this 27 Oct 18:57

Changelog

This document contains a history of significant changes which have been released for golang-utils. Please note that
beta releases are not included in this history.

1.171.2 (2026-10-27)

Bugfixes

  • Dependency upgrade: v5-5.19.3 (#20261027175141428358884)
  • Dependency upgrade: spdx-0.3.3 (#20261027175159598934607)
  • Dependency upgrade: timberjack-1.4.9 (#20261027175208639643150)
  • Dependency upgrade: oauth2-0.37.0 (#20261027175250232464677)
  • Dependency upgrade: v4-4.26.9 (#20261027175305973430533, #20261027175827514394215)

Misc

  • #202610271735

1.171.1 (2026-10-27)

Bugfixes

  • Dependency upgrade: mongo-driver-1.17.7 (#20261027140527843259182)
  • Dependency upgrade: v4-4.4.1 (#20261027142148622768483)
  • Dependency upgrade: codeql-action-4.39.1 (#20261027142231746971671)
  • Dependency upgrade: v5-5.19.2 (#20261027143621639979363)

Improved Documentation

  • 📖 [docs] Configure the published documentation site URL explicitly so CDS generates robots.txt, sitemap.xml, and llms*.txt consistently during releases. (#202610271715)

1.171.0 (2026-10-27)

Features

  • :recyle: Split golang-utils into CDS-managed Go submodules with repository-wide workspace, per-module CI coverage, and full Dependabot coverage. (#202610231530)
  • :recyle: Add British-spelled serialisation modules, retaining the existing serialization import paths for compatibility. (#202610261300)
  • :recyle: Publish a combined project-wide JUnit XML report alongside per-module Go test reports in CI. (#202610261415)
  • :recyle: Reuse a standalone Go workspace sync action across CI, CodeQL, and release workflows. (#202610261430)
  • ✨ Define reusable Go actions for projects following the golang-utils multimodule convention, including workspace synchronisation, module discovery, generation, linting, testing, and combined reports. (#202610261500)
  • ✨ Publish dedicated Go modules for units, subprocess helpers, casing, JSON/YAML frontmatter, logging helpers, HTTP helpers, and AES/RSA encryption while preserving their import paths. (#202610261700)
  • ♻️ Forward legacy serialization helpers and types to serialisation, preserving existing import paths without maintaining duplicate implementations. (#202610261915)
  • ✨ [actions] Simplify multimodule Go test reporting by publishing per-module JUnit results with publish-unit-test-result-action, storing its combined JSON report in uploaded artifacts, and keeping the bespoke coverage combination flow. (#202610261955)

Bugfixes

  • 🐛 [serialization] Make XML and frontmatter parsing tolerate prepended copyright header comments in serialised test fixtures. (#202610261646)
  • Dependency upgrade: v4-4.4.1 (#20261027131905474189580)
  • Dependency upgrade: v4-4.12.0 (#20261027131906426558447, #20261027131920332788338, #20261027131925488671416, #20261027131930221142662, #20261027131933957634673, #20261027131934706830307, #20261027131944751763408)
  • Dependency upgrade: atomic-1.12.0 (#20261027131923131348657)
  • Dependency upgrade: upload-artifact-7.0.2 (#20261027132018160488327)
  • Dependency upgrade: create-pull-request-8 (#20261027132031548689296)
  • Dependency upgrade: scorecard-action-2.5.0 (#20261027132032131117656)
  • Dependency upgrade: mongo-driver-1.17.7 (#20261027132220751070468, #20261027132222753804511)
  • Dependency upgrade: compress-1.18.7 (#20261027132221541873361, #20261027132224249760926)

Misc

  • #202610231531, #20261026155253423794900, #20261026155508003842115

1.170.7 (2026-10-02)

Bugfixes

  • Dependency upgrade: atomic-1.12.0 (#20260929101312891857534)
  • Dependency upgrade: timberjack-1.4.8 (#20260929101326111645236)

Misc

  • #202610011200, #202610021136

"1.170.6" (2026-09-28)

Bugfixes

  • 🔒 [proc/find] Reject PIDs outside int32 before lookup; previously oversized values were clamped to MaxInt32, potentially returning the wrong process or an incorrect not-found result (code-scanning alert 126). (#998)

"1.170.5" (2026-09-28)

Bugfixes

  • Dependency upgrade: testify-1.12.1 (#20260820101329)
  • Dependency upgrade: codeql-action-4.37.8 (#20260824101403)
  • Dependency upgrade: timberjack-1.4.7 (#20260827101353)
  • Dependency upgrade: v4-4.26.8 (#20260901101724)
  • Dependency upgrade: logrus-1.10.1 (#20260928133442)
  • Dependency upgrade: v4-4.2.0 (#20260928133543)

"1.170.4" (2026-08-19)

Bugfixes

  • Dependency upgrade: codeql-action-4.37.6 (#20260818152436)

"1.170.3" (2026-08-18)

Bugfixes

  • Dependency upgrade: text-0.41.0 (#20260817101501)
  • Dependency upgrade: net-0.58.0 (#20260817101511)
  • Dependency upgrade: spdx-0.3.1 (#20260817101518)
  • Dependency upgrade: testify-1.12.0 (#20260817101526)
  • 💥 Restore local required validation rules for remaining HTTP and file cache config fields after the ozzo-validation behaviour change. (#20260817103000)
  • Dependency upgrade: stringcase-1.0.0 (#20260818090655)
  • Dependency upgrade: logrus-1.10.0 (#20260818101350)

"1.170.2" (2026-08-13)

Bugfixes

  • 🐛 annotations Ensure that annotation behavior aligns with what the CI platforms expect with annotations prefixing the entire log line (#20260813115747)

"1.170.1" (2026-08-12)

Bugfixes

  • ♻️ [value] Fix a regression introduced by switching flatten-map string conversion to StringConverter by restoring flatten-map scalar formatting, keeping fmt.Stringer and encoding.TextMarshaler precedence, wrapping text-marshalling failures as commonerrors.ErrMarshalling, and documenting pointer and struct fallback output. (#202608121215)
  • Dependency upgrade: upload-sarif-c16c0f3f2812ec4bb3750a5ed64873fe2ce0fbef (#20260812101700)

"1.170.0" (2026-08-11)

Features

  • ✨ [value] Added context-aware value converters, including IdentityConverter and StringConverter with fmt.Stringer, encoding.TextMarshaler, and fallback string formatting support. (#202608111300)
  • ✨ [reflection] Added NewValueTypeConverter to adapt reflection-based converters into the shared value-converter interface. (#202608111301)
  • ✨ [config] Added context-aware default-value converters for environment variable generation, including SecretConverter for masking sensitive values. (#202608111302)
  • ✨ [reflection] Added helpers to detect field tag values on structs, struct pointers, and collection values containing tagged struct items. (#202608111345)
  • 🔒 [config] Added tag-aware configuration masking converters that can automatically obfuscate sensitive values based on common field tags such as mask, sensitive, secret, password, censored, redact, pii, and sens. (#202608111430)

Bugfixes

  • Dependency upgrade: upload-sarif-7d9249f5a57288b8a472ddd9cc3ece1921f7dc38 (#20260807125603)

Misc

  • #202608111330

"1.169.0" (2026-08-07)

Features

  • ✨ [validation] Added when-rule helpers for not-equals, empty, and not-empty checks across property- and field-based validation. (#202608062230)
  • ✨ [validation] Added non-recursive value-oriented helpers such as WhenFieldEqualsValue, RequiredFieldsBy, FieldDependencyBy, MutuallyExclusiveFieldsBy, and ForbiddenFieldsBy for clearer cross-field validation. (#202608070910)
  • ✨ [validation] Added value-oriented field helpers because property-oriented rules are clearer for maps than structs, and struct Validate() implementations needed readable cross-field validation without recursive helper composition traps. (#202608071000)
  • ✨ [validation] Add state-oriented validation rules for zero, emptiness, nil, and legacy required semantics, including a struct-friendly IsRequired that preserves pre-v4.4 ozzo behaviour. (#202608071215)
  • 🐛 [validation] Replace safe library uses of raw ozzo validation.Required with the shared state-oriented utils/validation.Required, while keeping intentional non-empty or non-zero cases on ozzo or legacy semantics so zero-valued but present fields are validated consistently. (#202608071730)

Bugfixes

  • 🐛 [jsonschema] Default schema options now keep filesystem.NoLimits() while schema validation only requires non-nil limits, so no-limit schemas no longer fail with missing Limits. (#202608062145)
  • 🐛 [validation] Added regression coverage pinning the current validation.Required behaviour for zero-valued structs so future ozzo upgrades do not silently change repository validation semantics. (#202608071140)
  • 🐛 [validation] Added a state-style Required rule to avoid OpenAPI validation issues where valid zero values such as false and numeric zero were incorrectly excluded, while still rejecting nil values, empty strings, and zero time.Time{}. See utils/validation/state_rules.go for the Required definition. (#202608071235)
  • Dependency upgrade: upload-sarif-c1e7c7a0de342c642bc11d2219ba7a3cb2281f19 (#20260707160538)
  • Dependency upgrade: timberjack-1.4.6 (#20260804101310)
  • Dependency upgrade: v4-4.26.7 (#20260804101341)
  • Dependency upgrade: upload-sarif-6a90bf1f5426d0c367cad0b2000f3b721bab3122 (#20260805101538)
  • Dependency upgrade: v6-6.0.3 (#20260806101347)
  • Dependency upgrade: codeql-action-4.37.5 (#20260806101652)
  • Dependency upgrade: v5-5.5.1 (#20260807101334)
  • Dependency upgrade: spdx-0.3.0 (#20260807101355)

"1.168.1" (2026-08-04)

Bugfixe...

Read more

Release 1.171.1

Choose a tag to compare

@monty-bot monty-bot released this 27 Oct 17:50

Changelog

This document contains a history of significant changes which have been released for golang-utils. Please note that
beta releases are not included in this history.

1.171.1 (2026-10-27)

Bugfixes

  • Dependency upgrade: mongo-driver-1.17.7 (#20261027140527843259182)
  • Dependency upgrade: v4-4.4.1 (#20261027142148622768483)
  • Dependency upgrade: codeql-action-4.39.1 (#20261027142231746971671)
  • Dependency upgrade: v5-5.19.2 (#20261027143621639979363)

Improved Documentation

  • 📖 [docs] Configure the published documentation site URL explicitly so CDS generates robots.txt, sitemap.xml, and llms*.txt consistently during releases. (#202610271715)

1.171.0 (2026-10-27)

Features

  • :recyle: Split golang-utils into CDS-managed Go submodules with repository-wide workspace, per-module CI coverage, and full Dependabot coverage. (#202610231530)
  • :recyle: Add British-spelled serialisation modules, retaining the existing serialization import paths for compatibility. (#202610261300)
  • :recyle: Publish a combined project-wide JUnit XML report alongside per-module Go test reports in CI. (#202610261415)
  • :recyle: Reuse a standalone Go workspace sync action across CI, CodeQL, and release workflows. (#202610261430)
  • ✨ Define reusable Go actions for projects following the golang-utils multimodule convention, including workspace synchronisation, module discovery, generation, linting, testing, and combined reports. (#202610261500)
  • ✨ Publish dedicated Go modules for units, subprocess helpers, casing, JSON/YAML frontmatter, logging helpers, HTTP helpers, and AES/RSA encryption while preserving their import paths. (#202610261700)
  • ♻️ Forward legacy serialization helpers and types to serialisation, preserving existing import paths without maintaining duplicate implementations. (#202610261915)
  • ✨ [actions] Simplify multimodule Go test reporting by publishing per-module JUnit results with publish-unit-test-result-action, storing its combined JSON report in uploaded artifacts, and keeping the bespoke coverage combination flow. (#202610261955)

Bugfixes

  • 🐛 [serialization] Make XML and frontmatter parsing tolerate prepended copyright header comments in serialised test fixtures. (#202610261646)
  • Dependency upgrade: v4-4.4.1 (#20261027131905474189580)
  • Dependency upgrade: v4-4.12.0 (#20261027131906426558447, #20261027131920332788338, #20261027131925488671416, #20261027131930221142662, #20261027131933957634673, #20261027131934706830307, #20261027131944751763408)
  • Dependency upgrade: atomic-1.12.0 (#20261027131923131348657)
  • Dependency upgrade: upload-artifact-7.0.2 (#20261027132018160488327)
  • Dependency upgrade: create-pull-request-8 (#20261027132031548689296)
  • Dependency upgrade: scorecard-action-2.5.0 (#20261027132032131117656)
  • Dependency upgrade: mongo-driver-1.17.7 (#20261027132220751070468, #20261027132222753804511)
  • Dependency upgrade: compress-1.18.7 (#20261027132221541873361, #20261027132224249760926)

Misc

  • #202610231531, #20261026155253423794900, #20261026155508003842115

1.170.7 (2026-10-02)

Bugfixes

  • Dependency upgrade: atomic-1.12.0 (#20260929101312891857534)
  • Dependency upgrade: timberjack-1.4.8 (#20260929101326111645236)

Misc

  • #202610011200, #202610021136

"1.170.6" (2026-09-28)

Bugfixes

  • 🔒 [proc/find] Reject PIDs outside int32 before lookup; previously oversized values were clamped to MaxInt32, potentially returning the wrong process or an incorrect not-found result (code-scanning alert 126). (#998)

"1.170.5" (2026-09-28)

Bugfixes

  • Dependency upgrade: testify-1.12.1 (#20260820101329)
  • Dependency upgrade: codeql-action-4.37.8 (#20260824101403)
  • Dependency upgrade: timberjack-1.4.7 (#20260827101353)
  • Dependency upgrade: v4-4.26.8 (#20260901101724)
  • Dependency upgrade: logrus-1.10.1 (#20260928133442)
  • Dependency upgrade: v4-4.2.0 (#20260928133543)

"1.170.4" (2026-08-19)

Bugfixes

  • Dependency upgrade: codeql-action-4.37.6 (#20260818152436)

"1.170.3" (2026-08-18)

Bugfixes

  • Dependency upgrade: text-0.41.0 (#20260817101501)
  • Dependency upgrade: net-0.58.0 (#20260817101511)
  • Dependency upgrade: spdx-0.3.1 (#20260817101518)
  • Dependency upgrade: testify-1.12.0 (#20260817101526)
  • 💥 Restore local required validation rules for remaining HTTP and file cache config fields after the ozzo-validation behaviour change. (#20260817103000)
  • Dependency upgrade: stringcase-1.0.0 (#20260818090655)
  • Dependency upgrade: logrus-1.10.0 (#20260818101350)

"1.170.2" (2026-08-13)

Bugfixes

  • 🐛 annotations Ensure that annotation behavior aligns with what the CI platforms expect with annotations prefixing the entire log line (#20260813115747)

"1.170.1" (2026-08-12)

Bugfixes

  • ♻️ [value] Fix a regression introduced by switching flatten-map string conversion to StringConverter by restoring flatten-map scalar formatting, keeping fmt.Stringer and encoding.TextMarshaler precedence, wrapping text-marshalling failures as commonerrors.ErrMarshalling, and documenting pointer and struct fallback output. (#202608121215)
  • Dependency upgrade: upload-sarif-c16c0f3f2812ec4bb3750a5ed64873fe2ce0fbef (#20260812101700)

"1.170.0" (2026-08-11)

Features

  • ✨ [value] Added context-aware value converters, including IdentityConverter and StringConverter with fmt.Stringer, encoding.TextMarshaler, and fallback string formatting support. (#202608111300)
  • ✨ [reflection] Added NewValueTypeConverter to adapt reflection-based converters into the shared value-converter interface. (#202608111301)
  • ✨ [config] Added context-aware default-value converters for environment variable generation, including SecretConverter for masking sensitive values. (#202608111302)
  • ✨ [reflection] Added helpers to detect field tag values on structs, struct pointers, and collection values containing tagged struct items. (#202608111345)
  • 🔒 [config] Added tag-aware configuration masking converters that can automatically obfuscate sensitive values based on common field tags such as mask, sensitive, secret, password, censored, redact, pii, and sens. (#202608111430)

Bugfixes

  • Dependency upgrade: upload-sarif-7d9249f5a57288b8a472ddd9cc3ece1921f7dc38 (#20260807125603)

Misc

  • #202608111330

"1.169.0" (2026-08-07)

Features

  • ✨ [validation] Added when-rule helpers for not-equals, empty, and not-empty checks across property- and field-based validation. (#202608062230)
  • ✨ [validation] Added non-recursive value-oriented helpers such as WhenFieldEqualsValue, RequiredFieldsBy, FieldDependencyBy, MutuallyExclusiveFieldsBy, and ForbiddenFieldsBy for clearer cross-field validation. (#202608070910)
  • ✨ [validation] Added value-oriented field helpers because property-oriented rules are clearer for maps than structs, and struct Validate() implementations needed readable cross-field validation without recursive helper composition traps. (#202608071000)
  • ✨ [validation] Add state-oriented validation rules for zero, emptiness, nil, and legacy required semantics, including a struct-friendly IsRequired that preserves pre-v4.4 ozzo behaviour. (#202608071215)
  • 🐛 [validation] Replace safe library uses of raw ozzo validation.Required with the shared state-oriented utils/validation.Required, while keeping intentional non-empty or non-zero cases on ozzo or legacy semantics so zero-valued but present fields are validated consistently. (#202608071730)

Bugfixes

  • 🐛 [jsonschema] Default schema options now keep filesystem.NoLimits() while schema validation only requires non-nil limits, so no-limit schemas no longer fail with missing Limits. (#202608062145)
  • 🐛 [validation] Added regression coverage pinning the current validation.Required behaviour for zero-valued structs so future ozzo upgrades do not silently change repository validation semantics. (#202608071140)
  • 🐛 [validation] Added a state-style Required rule to avoid OpenAPI validation issues where valid zero values such as false and numeric zero were incorrectly excluded, while still rejecting nil values, empty strings, and zero time.Time{}. See utils/validation/state_rules.go for the Required definition. (#202608071235)
  • Dependency upgrade: upload-sarif-c1e7c7a0de342c642bc11d2219ba7a3cb2281f19 (#20260707160538)
  • Dependency upgrade: timberjack-1.4.6 (#20260804101310)
  • Dependency upgrade: v4-4.26.7 (#20260804101341)
  • Dependency upgrade: upload-sarif-6a90bf1f5426d0c367cad0b2000f3b721bab3122 (#20260805101538)
  • Dependency upgrade: v6-6.0.3 (#20260806101347)
  • Dependency upgrade: codeql-action-4.37.5 (#20260806101652)
  • Dependency upgrade: v5-5.5.1 (#20260807101334)
  • Dependency upgrade: spdx-0.3.0 (#20260807101355)

"1.168.1" (2026-08-04)

Bugfixes

  • ♻️ [validation] Time validation now supports optional time.Duration and time.Time pointers consistently, accepts RFC3339 timestamp strings and optional string pointers, and adds a NilTimestampOrNotEmpty helper for optional timestamp fields. (#202607251610)
  • Dependency upgrade: codeql-action-4.37.4 (#20260730101302)
  • Dependency upgrade: v5-5.5.0 (#20260730101326)
  • ...
Read more

Release 1.171.0

Choose a tag to compare

@monty-bot monty-bot released this 27 Oct 14:32

Changelog

This document contains a history of significant changes which have been released for golang-utils. Please note that
beta releases are not included in this history.

1.171.0 (2026-10-27)

Features

  • :recyle: Split golang-utils into CDS-managed Go submodules with repository-wide workspace, per-module CI coverage, and full Dependabot coverage. (#202610231530)
  • :recyle: Add British-spelled serialisation modules, retaining the existing serialization import paths for compatibility. (#202610261300)
  • :recyle: Publish a combined project-wide JUnit XML report alongside per-module Go test reports in CI. (#202610261415)
  • :recyle: Reuse a standalone Go workspace sync action across CI, CodeQL, and release workflows. (#202610261430)
  • ✨ Define reusable Go actions for projects following the golang-utils multimodule convention, including workspace synchronisation, module discovery, generation, linting, testing, and combined reports. (#202610261500)
  • ✨ Publish dedicated Go modules for units, subprocess helpers, casing, JSON/YAML frontmatter, logging helpers, HTTP helpers, and AES/RSA encryption while preserving their import paths. (#202610261700)
  • ♻️ Forward legacy serialization helpers and types to serialisation, preserving existing import paths without maintaining duplicate implementations. (#202610261915)
  • ✨ [actions] Simplify multimodule Go test reporting by publishing per-module JUnit results with publish-unit-test-result-action, storing its combined JSON report in uploaded artifacts, and keeping the bespoke coverage combination flow. (#202610261955)

Bugfixes

  • 🐛 [serialization] Make XML and frontmatter parsing tolerate prepended copyright header comments in serialised test fixtures. (#202610261646)
  • Dependency upgrade: v4-4.4.1 (#20261027131905474189580)
  • Dependency upgrade: v4-4.12.0 (#20261027131906426558447, #20261027131920332788338, #20261027131925488671416, #20261027131930221142662, #20261027131933957634673, #20261027131934706830307, #20261027131944751763408)
  • Dependency upgrade: atomic-1.12.0 (#20261027131923131348657)
  • Dependency upgrade: upload-artifact-7.0.2 (#20261027132018160488327)
  • Dependency upgrade: create-pull-request-8 (#20261027132031548689296)
  • Dependency upgrade: scorecard-action-2.5.0 (#20261027132032131117656)
  • Dependency upgrade: mongo-driver-1.17.7 (#20261027132220751070468, #20261027132222753804511)
  • Dependency upgrade: compress-1.18.7 (#20261027132221541873361, #20261027132224249760926)

Misc

  • #202610231531, #20261026155253423794900, #20261026155508003842115

1.170.7 (2026-10-02)

Bugfixes

  • Dependency upgrade: atomic-1.12.0 (#20260929101312891857534)
  • Dependency upgrade: timberjack-1.4.8 (#20260929101326111645236)

Misc

  • #202610011200, #202610021136

"1.170.6" (2026-09-28)

Bugfixes

  • 🔒 [proc/find] Reject PIDs outside int32 before lookup; previously oversized values were clamped to MaxInt32, potentially returning the wrong process or an incorrect not-found result (code-scanning alert 126). (#998)

"1.170.5" (2026-09-28)

Bugfixes

  • Dependency upgrade: testify-1.12.1 (#20260820101329)
  • Dependency upgrade: codeql-action-4.37.8 (#20260824101403)
  • Dependency upgrade: timberjack-1.4.7 (#20260827101353)
  • Dependency upgrade: v4-4.26.8 (#20260901101724)
  • Dependency upgrade: logrus-1.10.1 (#20260928133442)
  • Dependency upgrade: v4-4.2.0 (#20260928133543)

"1.170.4" (2026-08-19)

Bugfixes

  • Dependency upgrade: codeql-action-4.37.6 (#20260818152436)

"1.170.3" (2026-08-18)

Bugfixes

  • Dependency upgrade: text-0.41.0 (#20260817101501)
  • Dependency upgrade: net-0.58.0 (#20260817101511)
  • Dependency upgrade: spdx-0.3.1 (#20260817101518)
  • Dependency upgrade: testify-1.12.0 (#20260817101526)
  • 💥 Restore local required validation rules for remaining HTTP and file cache config fields after the ozzo-validation behaviour change. (#20260817103000)
  • Dependency upgrade: stringcase-1.0.0 (#20260818090655)
  • Dependency upgrade: logrus-1.10.0 (#20260818101350)

"1.170.2" (2026-08-13)

Bugfixes

  • 🐛 annotations Ensure that annotation behavior aligns with what the CI platforms expect with annotations prefixing the entire log line (#20260813115747)

"1.170.1" (2026-08-12)

Bugfixes

  • ♻️ [value] Fix a regression introduced by switching flatten-map string conversion to StringConverter by restoring flatten-map scalar formatting, keeping fmt.Stringer and encoding.TextMarshaler precedence, wrapping text-marshalling failures as commonerrors.ErrMarshalling, and documenting pointer and struct fallback output. (#202608121215)
  • Dependency upgrade: upload-sarif-c16c0f3f2812ec4bb3750a5ed64873fe2ce0fbef (#20260812101700)

"1.170.0" (2026-08-11)

Features

  • ✨ [value] Added context-aware value converters, including IdentityConverter and StringConverter with fmt.Stringer, encoding.TextMarshaler, and fallback string formatting support. (#202608111300)
  • ✨ [reflection] Added NewValueTypeConverter to adapt reflection-based converters into the shared value-converter interface. (#202608111301)
  • ✨ [config] Added context-aware default-value converters for environment variable generation, including SecretConverter for masking sensitive values. (#202608111302)
  • ✨ [reflection] Added helpers to detect field tag values on structs, struct pointers, and collection values containing tagged struct items. (#202608111345)
  • 🔒 [config] Added tag-aware configuration masking converters that can automatically obfuscate sensitive values based on common field tags such as mask, sensitive, secret, password, censored, redact, pii, and sens. (#202608111430)

Bugfixes

  • Dependency upgrade: upload-sarif-7d9249f5a57288b8a472ddd9cc3ece1921f7dc38 (#20260807125603)

Misc

  • #202608111330

"1.169.0" (2026-08-07)

Features

  • ✨ [validation] Added when-rule helpers for not-equals, empty, and not-empty checks across property- and field-based validation. (#202608062230)
  • ✨ [validation] Added non-recursive value-oriented helpers such as WhenFieldEqualsValue, RequiredFieldsBy, FieldDependencyBy, MutuallyExclusiveFieldsBy, and ForbiddenFieldsBy for clearer cross-field validation. (#202608070910)
  • ✨ [validation] Added value-oriented field helpers because property-oriented rules are clearer for maps than structs, and struct Validate() implementations needed readable cross-field validation without recursive helper composition traps. (#202608071000)
  • ✨ [validation] Add state-oriented validation rules for zero, emptiness, nil, and legacy required semantics, including a struct-friendly IsRequired that preserves pre-v4.4 ozzo behaviour. (#202608071215)
  • 🐛 [validation] Replace safe library uses of raw ozzo validation.Required with the shared state-oriented utils/validation.Required, while keeping intentional non-empty or non-zero cases on ozzo or legacy semantics so zero-valued but present fields are validated consistently. (#202608071730)

Bugfixes

  • 🐛 [jsonschema] Default schema options now keep filesystem.NoLimits() while schema validation only requires non-nil limits, so no-limit schemas no longer fail with missing Limits. (#202608062145)
  • 🐛 [validation] Added regression coverage pinning the current validation.Required behaviour for zero-valued structs so future ozzo upgrades do not silently change repository validation semantics. (#202608071140)
  • 🐛 [validation] Added a state-style Required rule to avoid OpenAPI validation issues where valid zero values such as false and numeric zero were incorrectly excluded, while still rejecting nil values, empty strings, and zero time.Time{}. See utils/validation/state_rules.go for the Required definition. (#202608071235)
  • Dependency upgrade: upload-sarif-c1e7c7a0de342c642bc11d2219ba7a3cb2281f19 (#20260707160538)
  • Dependency upgrade: timberjack-1.4.6 (#20260804101310)
  • Dependency upgrade: v4-4.26.7 (#20260804101341)
  • Dependency upgrade: upload-sarif-6a90bf1f5426d0c367cad0b2000f3b721bab3122 (#20260805101538)
  • Dependency upgrade: v6-6.0.3 (#20260806101347)
  • Dependency upgrade: codeql-action-4.37.5 (#20260806101652)
  • Dependency upgrade: v5-5.5.1 (#20260807101334)
  • Dependency upgrade: spdx-0.3.0 (#20260807101355)

"1.168.1" (2026-08-04)

Bugfixes

  • ♻️ [validation] Time validation now supports optional time.Duration and time.Time pointers consistently, accepts RFC3339 timestamp strings and optional string pointers, and adds a NilTimestampOrNotEmpty helper for optional timestamp fields. (#202607251610)
  • Dependency upgrade: codeql-action-4.37.4 (#20260730101302)
  • Dependency upgrade: v5-5.5.0 (#20260730101326)
  • Dependency upgrade: spdx-0.2.0 (#20260803101237)

"1.168.0" (2026-07-24)

Features

  • ✨ [Logs/annotations] add structured CI annotation loggers for GitHub, Azure DevOps, and TeamCity, with adapters for logs.Loggers. (#202607161700)

Bugfixes

  • Dependency upgrade: scorecard-action-2.4.4 (#20260724101455)

"1.167.0" (2026-07-23)

Features

  • ✨ [Logs/summary] add in-memory and file-backed summary loggers, in...
Read more

Release 1.170.7

Choose a tag to compare

@monty-bot monty-bot released this 02 Oct 15:15

Changelog

This document contains a history of significant changes which have been released for golang-utils. Please note that
beta releases are not included in this history.

1.170.7 (2026-10-02)

Bugfixes

  • Dependency upgrade: atomic-1.12.0 (#20260929101312891857534)
  • Dependency upgrade: timberjack-1.4.8 (#20260929101326111645236)

Misc

  • #202610011200, #202610021136

"1.170.6" (2026-09-28)

Bugfixes

  • 🔒 [proc/find] Reject PIDs outside int32 before lookup; previously oversized values were clamped to MaxInt32, potentially returning the wrong process or an incorrect not-found result (code-scanning alert 126). (#998)

"1.170.5" (2026-09-28)

Bugfixes

  • Dependency upgrade: testify-1.12.1 (#20260820101329)
  • Dependency upgrade: codeql-action-4.37.8 (#20260824101403)
  • Dependency upgrade: timberjack-1.4.7 (#20260827101353)
  • Dependency upgrade: v4-4.26.8 (#20260901101724)
  • Dependency upgrade: logrus-1.10.1 (#20260928133442)
  • Dependency upgrade: v4-4.2.0 (#20260928133543)

"1.170.4" (2026-08-19)

Bugfixes

  • Dependency upgrade: codeql-action-4.37.6 (#20260818152436)

"1.170.3" (2026-08-18)

Bugfixes

  • Dependency upgrade: text-0.41.0 (#20260817101501)
  • Dependency upgrade: net-0.58.0 (#20260817101511)
  • Dependency upgrade: spdx-0.3.1 (#20260817101518)
  • Dependency upgrade: testify-1.12.0 (#20260817101526)
  • 💥 Restore local required validation rules for remaining HTTP and file cache config fields after the ozzo-validation behaviour change. (#20260817103000)
  • Dependency upgrade: stringcase-1.0.0 (#20260818090655)
  • Dependency upgrade: logrus-1.10.0 (#20260818101350)

"1.170.2" (2026-08-13)

Bugfixes

  • 🐛 annotations Ensure that annotation behavior aligns with what the CI platforms expect with annotations prefixing the entire log line (#20260813115747)

"1.170.1" (2026-08-12)

Bugfixes

  • ♻️ [value] Fix a regression introduced by switching flatten-map string conversion to StringConverter by restoring flatten-map scalar formatting, keeping fmt.Stringer and encoding.TextMarshaler precedence, wrapping text-marshalling failures as commonerrors.ErrMarshalling, and documenting pointer and struct fallback output. (#202608121215)
  • Dependency upgrade: upload-sarif-c16c0f3f2812ec4bb3750a5ed64873fe2ce0fbef (#20260812101700)

"1.170.0" (2026-08-11)

Features

  • ✨ [value] Added context-aware value converters, including IdentityConverter and StringConverter with fmt.Stringer, encoding.TextMarshaler, and fallback string formatting support. (#202608111300)
  • ✨ [reflection] Added NewValueTypeConverter to adapt reflection-based converters into the shared value-converter interface. (#202608111301)
  • ✨ [config] Added context-aware default-value converters for environment variable generation, including SecretConverter for masking sensitive values. (#202608111302)
  • ✨ [reflection] Added helpers to detect field tag values on structs, struct pointers, and collection values containing tagged struct items. (#202608111345)
  • 🔒 [config] Added tag-aware configuration masking converters that can automatically obfuscate sensitive values based on common field tags such as mask, sensitive, secret, password, censored, redact, pii, and sens. (#202608111430)

Bugfixes

  • Dependency upgrade: upload-sarif-7d9249f5a57288b8a472ddd9cc3ece1921f7dc38 (#20260807125603)

Misc

  • #202608111330

"1.169.0" (2026-08-07)

Features

  • ✨ [validation] Added when-rule helpers for not-equals, empty, and not-empty checks across property- and field-based validation. (#202608062230)
  • ✨ [validation] Added non-recursive value-oriented helpers such as WhenFieldEqualsValue, RequiredFieldsBy, FieldDependencyBy, MutuallyExclusiveFieldsBy, and ForbiddenFieldsBy for clearer cross-field validation. (#202608070910)
  • ✨ [validation] Added value-oriented field helpers because property-oriented rules are clearer for maps than structs, and struct Validate() implementations needed readable cross-field validation without recursive helper composition traps. (#202608071000)
  • ✨ [validation] Add state-oriented validation rules for zero, emptiness, nil, and legacy required semantics, including a struct-friendly IsRequired that preserves pre-v4.4 ozzo behaviour. (#202608071215)
  • 🐛 [validation] Replace safe library uses of raw ozzo validation.Required with the shared state-oriented utils/validation.Required, while keeping intentional non-empty or non-zero cases on ozzo or legacy semantics so zero-valued but present fields are validated consistently. (#202608071730)

Bugfixes

  • 🐛 [jsonschema] Default schema options now keep filesystem.NoLimits() while schema validation only requires non-nil limits, so no-limit schemas no longer fail with missing Limits. (#202608062145)
  • 🐛 [validation] Added regression coverage pinning the current validation.Required behaviour for zero-valued structs so future ozzo upgrades do not silently change repository validation semantics. (#202608071140)
  • 🐛 [validation] Added a state-style Required rule to avoid OpenAPI validation issues where valid zero values such as false and numeric zero were incorrectly excluded, while still rejecting nil values, empty strings, and zero time.Time{}. See utils/validation/state_rules.go for the Required definition. (#202608071235)
  • Dependency upgrade: upload-sarif-c1e7c7a0de342c642bc11d2219ba7a3cb2281f19 (#20260707160538)
  • Dependency upgrade: timberjack-1.4.6 (#20260804101310)
  • Dependency upgrade: v4-4.26.7 (#20260804101341)
  • Dependency upgrade: upload-sarif-6a90bf1f5426d0c367cad0b2000f3b721bab3122 (#20260805101538)
  • Dependency upgrade: v6-6.0.3 (#20260806101347)
  • Dependency upgrade: codeql-action-4.37.5 (#20260806101652)
  • Dependency upgrade: v5-5.5.1 (#20260807101334)
  • Dependency upgrade: spdx-0.3.0 (#20260807101355)

"1.168.1" (2026-08-04)

Bugfixes

  • ♻️ [validation] Time validation now supports optional time.Duration and time.Time pointers consistently, accepts RFC3339 timestamp strings and optional string pointers, and adds a NilTimestampOrNotEmpty helper for optional timestamp fields. (#202607251610)
  • Dependency upgrade: codeql-action-4.37.4 (#20260730101302)
  • Dependency upgrade: v5-5.5.0 (#20260730101326)
  • Dependency upgrade: spdx-0.2.0 (#20260803101237)

"1.168.0" (2026-07-24)

Features

  • ✨ [Logs/annotations] add structured CI annotation loggers for GitHub, Azure DevOps, and TeamCity, with adapters for logs.Loggers. (#202607161700)

Bugfixes

  • Dependency upgrade: scorecard-action-2.4.4 (#20260724101455)

"1.167.0" (2026-07-23)

Features

  • ✨ [Logs/summary] add in-memory and file-backed summary loggers, including GitHub summary support. (#202607161620)
  • ✨ [reflection] add helpers for safe reflected property lookup across structs and maps, including JSON-tag-aware field resolution. (#202607161731)
  • ✨ [validation] Added JSON-Schema-oriented validation helpers for numbers, strings, arrays, objects, combinators, and property relationships. See https://json-schema.org/understanding-json-schema/. (#20260608114500)
  • ✨ [parallelisation] add MapConcurrent, MapConcurrentRef, and MapConcurrentSequence helpers. (#20260707123000)
  • Logs: add the logs/summary package with summary loggers and GitHub Actions job summary support. (#20260707143000)

Bugfixes

  • 🐛 [validation] Fixed NewNoneRule so it now correctly fails when any nested rule succeeds. (#20260608114600)
  • Dependency upgrade: setup-go-7 (#20260716124746)
  • Dependency upgrade: codeql-action-4.37.1 (#20260717101309)
  • Dependency upgrade: setup-python-7 (#20260720101212)
  • Dependency upgrade: logr-1.4.4 (#20260721101310)
  • Dependency upgrade: codeql-action-4.37.3 (#20260722101436)

"1.166.1" (2026-07-16)

Bugfixes

  • 🐛 [casing] fix regression in acronym-aware casing so normal PascalCase names like NoKeyring do not become NOKeyring (#20260716125731)

"1.166.0" (2026-07-16)

Features

  • ✨ [URL] add configurable URL canonicalisation and comparison helpers for normalised matching. (#202607161530)

"1.165.2" (2026-07-15)

Bugfixes

  • 🐛 Strings/casing: recognise the codebase's I... interface naming convention when handling acronym-prefixed identifiers such as IHTTP. (#20260707151500)
  • 🐛 Strings/casing: improve plural initialism handling so identifiers such as Urls can be normalised to URLs where appropriate. (#20260707151600)
  • Dependency upgrade: text-0.40.0 (#20260709101319)
  • Dependency upgrade: codeql-action-4.37.0 (#20260709101326)
  • Dependency upgrade: net-0.57.0 (#20260709101336)
  • Dependency upgrade: crypto-0.54.0 (#20260709101342)
  • Dependency upgrade: sync-0.22.0 (#20260709101404)
  • Dependency upgrade: sys-0.47.0 (#20260714172504)

"1.165.1" (2026-07-08)

Bugfixes

  • 🐛 [casing] fix toPascalCase regression (#20260708165859)

"1.165.0" (2026-07-08)

Features

  • ✨ [Retry] add composable retry options with jitter, retry budget, etc. to ease...
Read more

Release 1.170.6

Choose a tag to compare

@monty-bot monty-bot released this 28 Sep 15:32

Changelog

This document contains a history of significant changes which have been released for golang-utils. Please note that
beta releases are not included in this history.

"1.170.6" (2026-09-28)

Bugfixes

  • 🔒 [proc/find] Reject PIDs outside int32 before lookup; previously oversized values were clamped to MaxInt32, potentially returning the wrong process or an incorrect not-found result (code-scanning alert 126). (#998)

"1.170.5" (2026-09-28)

Bugfixes

  • Dependency upgrade: testify-1.12.1 (#20260820101329)
  • Dependency upgrade: codeql-action-4.37.8 (#20260824101403)
  • Dependency upgrade: timberjack-1.4.7 (#20260827101353)
  • Dependency upgrade: v4-4.26.8 (#20260901101724)
  • Dependency upgrade: logrus-1.10.1 (#20260928133442)
  • Dependency upgrade: v4-4.2.0 (#20260928133543)

"1.170.4" (2026-08-19)

Bugfixes

  • Dependency upgrade: codeql-action-4.37.6 (#20260818152436)

"1.170.3" (2026-08-18)

Bugfixes

  • Dependency upgrade: text-0.41.0 (#20260817101501)
  • Dependency upgrade: net-0.58.0 (#20260817101511)
  • Dependency upgrade: spdx-0.3.1 (#20260817101518)
  • Dependency upgrade: testify-1.12.0 (#20260817101526)
  • 💥 Restore local required validation rules for remaining HTTP and file cache config fields after the ozzo-validation behaviour change. (#20260817103000)
  • Dependency upgrade: stringcase-1.0.0 (#20260818090655)
  • Dependency upgrade: logrus-1.10.0 (#20260818101350)

"1.170.2" (2026-08-13)

Bugfixes

  • 🐛 annotations Ensure that annotation behavior aligns with what the CI platforms expect with annotations prefixing the entire log line (#20260813115747)

"1.170.1" (2026-08-12)

Bugfixes

  • ♻️ [value] Fix a regression introduced by switching flatten-map string conversion to StringConverter by restoring flatten-map scalar formatting, keeping fmt.Stringer and encoding.TextMarshaler precedence, wrapping text-marshalling failures as commonerrors.ErrMarshalling, and documenting pointer and struct fallback output. (#202608121215)
  • Dependency upgrade: upload-sarif-c16c0f3f2812ec4bb3750a5ed64873fe2ce0fbef (#20260812101700)

"1.170.0" (2026-08-11)

Features

  • ✨ [value] Added context-aware value converters, including IdentityConverter and StringConverter with fmt.Stringer, encoding.TextMarshaler, and fallback string formatting support. (#202608111300)
  • ✨ [reflection] Added NewValueTypeConverter to adapt reflection-based converters into the shared value-converter interface. (#202608111301)
  • ✨ [config] Added context-aware default-value converters for environment variable generation, including SecretConverter for masking sensitive values. (#202608111302)
  • ✨ [reflection] Added helpers to detect field tag values on structs, struct pointers, and collection values containing tagged struct items. (#202608111345)
  • 🔒 [config] Added tag-aware configuration masking converters that can automatically obfuscate sensitive values based on common field tags such as mask, sensitive, secret, password, censored, redact, pii, and sens. (#202608111430)

Bugfixes

  • Dependency upgrade: upload-sarif-7d9249f5a57288b8a472ddd9cc3ece1921f7dc38 (#20260807125603)

Misc

  • #202608111330

"1.169.0" (2026-08-07)

Features

  • ✨ [validation] Added when-rule helpers for not-equals, empty, and not-empty checks across property- and field-based validation. (#202608062230)
  • ✨ [validation] Added non-recursive value-oriented helpers such as WhenFieldEqualsValue, RequiredFieldsBy, FieldDependencyBy, MutuallyExclusiveFieldsBy, and ForbiddenFieldsBy for clearer cross-field validation. (#202608070910)
  • ✨ [validation] Added value-oriented field helpers because property-oriented rules are clearer for maps than structs, and struct Validate() implementations needed readable cross-field validation without recursive helper composition traps. (#202608071000)
  • ✨ [validation] Add state-oriented validation rules for zero, emptiness, nil, and legacy required semantics, including a struct-friendly IsRequired that preserves pre-v4.4 ozzo behaviour. (#202608071215)
  • 🐛 [validation] Replace safe library uses of raw ozzo validation.Required with the shared state-oriented utils/validation.Required, while keeping intentional non-empty or non-zero cases on ozzo or legacy semantics so zero-valued but present fields are validated consistently. (#202608071730)

Bugfixes

  • 🐛 [jsonschema] Default schema options now keep filesystem.NoLimits() while schema validation only requires non-nil limits, so no-limit schemas no longer fail with missing Limits. (#202608062145)
  • 🐛 [validation] Added regression coverage pinning the current validation.Required behaviour for zero-valued structs so future ozzo upgrades do not silently change repository validation semantics. (#202608071140)
  • 🐛 [validation] Added a state-style Required rule to avoid OpenAPI validation issues where valid zero values such as false and numeric zero were incorrectly excluded, while still rejecting nil values, empty strings, and zero time.Time{}. See utils/validation/state_rules.go for the Required definition. (#202608071235)
  • Dependency upgrade: upload-sarif-c1e7c7a0de342c642bc11d2219ba7a3cb2281f19 (#20260707160538)
  • Dependency upgrade: timberjack-1.4.6 (#20260804101310)
  • Dependency upgrade: v4-4.26.7 (#20260804101341)
  • Dependency upgrade: upload-sarif-6a90bf1f5426d0c367cad0b2000f3b721bab3122 (#20260805101538)
  • Dependency upgrade: v6-6.0.3 (#20260806101347)
  • Dependency upgrade: codeql-action-4.37.5 (#20260806101652)
  • Dependency upgrade: v5-5.5.1 (#20260807101334)
  • Dependency upgrade: spdx-0.3.0 (#20260807101355)

"1.168.1" (2026-08-04)

Bugfixes

  • ♻️ [validation] Time validation now supports optional time.Duration and time.Time pointers consistently, accepts RFC3339 timestamp strings and optional string pointers, and adds a NilTimestampOrNotEmpty helper for optional timestamp fields. (#202607251610)
  • Dependency upgrade: codeql-action-4.37.4 (#20260730101302)
  • Dependency upgrade: v5-5.5.0 (#20260730101326)
  • Dependency upgrade: spdx-0.2.0 (#20260803101237)

"1.168.0" (2026-07-24)

Features

  • ✨ [Logs/annotations] add structured CI annotation loggers for GitHub, Azure DevOps, and TeamCity, with adapters for logs.Loggers. (#202607161700)

Bugfixes

  • Dependency upgrade: scorecard-action-2.4.4 (#20260724101455)

"1.167.0" (2026-07-23)

Features

  • ✨ [Logs/summary] add in-memory and file-backed summary loggers, including GitHub summary support. (#202607161620)
  • ✨ [reflection] add helpers for safe reflected property lookup across structs and maps, including JSON-tag-aware field resolution. (#202607161731)
  • ✨ [validation] Added JSON-Schema-oriented validation helpers for numbers, strings, arrays, objects, combinators, and property relationships. See https://json-schema.org/understanding-json-schema/. (#20260608114500)
  • ✨ [parallelisation] add MapConcurrent, MapConcurrentRef, and MapConcurrentSequence helpers. (#20260707123000)
  • Logs: add the logs/summary package with summary loggers and GitHub Actions job summary support. (#20260707143000)

Bugfixes

  • 🐛 [validation] Fixed NewNoneRule so it now correctly fails when any nested rule succeeds. (#20260608114600)
  • Dependency upgrade: setup-go-7 (#20260716124746)
  • Dependency upgrade: codeql-action-4.37.1 (#20260717101309)
  • Dependency upgrade: setup-python-7 (#20260720101212)
  • Dependency upgrade: logr-1.4.4 (#20260721101310)
  • Dependency upgrade: codeql-action-4.37.3 (#20260722101436)

"1.166.1" (2026-07-16)

Bugfixes

  • 🐛 [casing] fix regression in acronym-aware casing so normal PascalCase names like NoKeyring do not become NOKeyring (#20260716125731)

"1.166.0" (2026-07-16)

Features

  • ✨ [URL] add configurable URL canonicalisation and comparison helpers for normalised matching. (#202607161530)

"1.165.2" (2026-07-15)

Bugfixes

  • 🐛 Strings/casing: recognise the codebase's I... interface naming convention when handling acronym-prefixed identifiers such as IHTTP. (#20260707151500)
  • 🐛 Strings/casing: improve plural initialism handling so identifiers such as Urls can be normalised to URLs where appropriate. (#20260707151600)
  • Dependency upgrade: text-0.40.0 (#20260709101319)
  • Dependency upgrade: codeql-action-4.37.0 (#20260709101326)
  • Dependency upgrade: net-0.57.0 (#20260709101336)
  • Dependency upgrade: crypto-0.54.0 (#20260709101342)
  • Dependency upgrade: sync-0.22.0 (#20260709101404)
  • Dependency upgrade: sys-0.47.0 (#20260714172504)

"1.165.1" (2026-07-08)

Bugfixes

  • 🐛 [casing] fix toPascalCase regression (#20260708165859)

"1.165.0" (2026-07-08)

Features

  • ✨ [Retry] add composable retry options with jitter, retry budget, etc. to ease the definition of retry strategies. (#20260707125500)

Bugfixes

  • Dependency upgrade: codeql-action-4.36.3 (#20260702101311)
  • Dependency upgrade: text-0.39.0 (#20260707101311)
  • 🐛 `[casing...
Read more

Release 1.170.5

Choose a tag to compare

@monty-bot monty-bot released this 28 Sep 13:54

Changelog

This document contains a history of significant changes which have been released for golang-utils. Please note that
beta releases are not included in this history.

"1.170.5" (2026-09-28)

Bugfixes

  • Dependency upgrade: testify-1.12.1 (#20260820101329)
  • Dependency upgrade: codeql-action-4.37.8 (#20260824101403)
  • Dependency upgrade: timberjack-1.4.7 (#20260827101353)
  • Dependency upgrade: v4-4.26.8 (#20260901101724)
  • Dependency upgrade: logrus-1.10.1 (#20260928133442)
  • Dependency upgrade: v4-4.2.0 (#20260928133543)

"1.170.4" (2026-08-19)

Bugfixes

  • Dependency upgrade: codeql-action-4.37.6 (#20260818152436)

"1.170.3" (2026-08-18)

Bugfixes

  • Dependency upgrade: text-0.41.0 (#20260817101501)
  • Dependency upgrade: net-0.58.0 (#20260817101511)
  • Dependency upgrade: spdx-0.3.1 (#20260817101518)
  • Dependency upgrade: testify-1.12.0 (#20260817101526)
  • 💥 Restore local required validation rules for remaining HTTP and file cache config fields after the ozzo-validation behaviour change. (#20260817103000)
  • Dependency upgrade: stringcase-1.0.0 (#20260818090655)
  • Dependency upgrade: logrus-1.10.0 (#20260818101350)

"1.170.2" (2026-08-13)

Bugfixes

  • 🐛 annotations Ensure that annotation behavior aligns with what the CI platforms expect with annotations prefixing the entire log line (#20260813115747)

"1.170.1" (2026-08-12)

Bugfixes

  • ♻️ [value] Fix a regression introduced by switching flatten-map string conversion to StringConverter by restoring flatten-map scalar formatting, keeping fmt.Stringer and encoding.TextMarshaler precedence, wrapping text-marshalling failures as commonerrors.ErrMarshalling, and documenting pointer and struct fallback output. (#202608121215)
  • Dependency upgrade: upload-sarif-c16c0f3f2812ec4bb3750a5ed64873fe2ce0fbef (#20260812101700)

"1.170.0" (2026-08-11)

Features

  • ✨ [value] Added context-aware value converters, including IdentityConverter and StringConverter with fmt.Stringer, encoding.TextMarshaler, and fallback string formatting support. (#202608111300)
  • ✨ [reflection] Added NewValueTypeConverter to adapt reflection-based converters into the shared value-converter interface. (#202608111301)
  • ✨ [config] Added context-aware default-value converters for environment variable generation, including SecretConverter for masking sensitive values. (#202608111302)
  • ✨ [reflection] Added helpers to detect field tag values on structs, struct pointers, and collection values containing tagged struct items. (#202608111345)
  • 🔒 [config] Added tag-aware configuration masking converters that can automatically obfuscate sensitive values based on common field tags such as mask, sensitive, secret, password, censored, redact, pii, and sens. (#202608111430)

Bugfixes

  • Dependency upgrade: upload-sarif-7d9249f5a57288b8a472ddd9cc3ece1921f7dc38 (#20260807125603)

Misc

  • #202608111330

"1.169.0" (2026-08-07)

Features

  • ✨ [validation] Added when-rule helpers for not-equals, empty, and not-empty checks across property- and field-based validation. (#202608062230)
  • ✨ [validation] Added non-recursive value-oriented helpers such as WhenFieldEqualsValue, RequiredFieldsBy, FieldDependencyBy, MutuallyExclusiveFieldsBy, and ForbiddenFieldsBy for clearer cross-field validation. (#202608070910)
  • ✨ [validation] Added value-oriented field helpers because property-oriented rules are clearer for maps than structs, and struct Validate() implementations needed readable cross-field validation without recursive helper composition traps. (#202608071000)
  • ✨ [validation] Add state-oriented validation rules for zero, emptiness, nil, and legacy required semantics, including a struct-friendly IsRequired that preserves pre-v4.4 ozzo behaviour. (#202608071215)
  • 🐛 [validation] Replace safe library uses of raw ozzo validation.Required with the shared state-oriented utils/validation.Required, while keeping intentional non-empty or non-zero cases on ozzo or legacy semantics so zero-valued but present fields are validated consistently. (#202608071730)

Bugfixes

  • 🐛 [jsonschema] Default schema options now keep filesystem.NoLimits() while schema validation only requires non-nil limits, so no-limit schemas no longer fail with missing Limits. (#202608062145)
  • 🐛 [validation] Added regression coverage pinning the current validation.Required behaviour for zero-valued structs so future ozzo upgrades do not silently change repository validation semantics. (#202608071140)
  • 🐛 [validation] Added a state-style Required rule to avoid OpenAPI validation issues where valid zero values such as false and numeric zero were incorrectly excluded, while still rejecting nil values, empty strings, and zero time.Time{}. See utils/validation/state_rules.go for the Required definition. (#202608071235)
  • Dependency upgrade: upload-sarif-c1e7c7a0de342c642bc11d2219ba7a3cb2281f19 (#20260707160538)
  • Dependency upgrade: timberjack-1.4.6 (#20260804101310)
  • Dependency upgrade: v4-4.26.7 (#20260804101341)
  • Dependency upgrade: upload-sarif-6a90bf1f5426d0c367cad0b2000f3b721bab3122 (#20260805101538)
  • Dependency upgrade: v6-6.0.3 (#20260806101347)
  • Dependency upgrade: codeql-action-4.37.5 (#20260806101652)
  • Dependency upgrade: v5-5.5.1 (#20260807101334)
  • Dependency upgrade: spdx-0.3.0 (#20260807101355)

"1.168.1" (2026-08-04)

Bugfixes

  • ♻️ [validation] Time validation now supports optional time.Duration and time.Time pointers consistently, accepts RFC3339 timestamp strings and optional string pointers, and adds a NilTimestampOrNotEmpty helper for optional timestamp fields. (#202607251610)
  • Dependency upgrade: codeql-action-4.37.4 (#20260730101302)
  • Dependency upgrade: v5-5.5.0 (#20260730101326)
  • Dependency upgrade: spdx-0.2.0 (#20260803101237)

"1.168.0" (2026-07-24)

Features

  • ✨ [Logs/annotations] add structured CI annotation loggers for GitHub, Azure DevOps, and TeamCity, with adapters for logs.Loggers. (#202607161700)

Bugfixes

  • Dependency upgrade: scorecard-action-2.4.4 (#20260724101455)

"1.167.0" (2026-07-23)

Features

  • ✨ [Logs/summary] add in-memory and file-backed summary loggers, including GitHub summary support. (#202607161620)
  • ✨ [reflection] add helpers for safe reflected property lookup across structs and maps, including JSON-tag-aware field resolution. (#202607161731)
  • ✨ [validation] Added JSON-Schema-oriented validation helpers for numbers, strings, arrays, objects, combinators, and property relationships. See https://json-schema.org/understanding-json-schema/. (#20260608114500)
  • ✨ [parallelisation] add MapConcurrent, MapConcurrentRef, and MapConcurrentSequence helpers. (#20260707123000)
  • Logs: add the logs/summary package with summary loggers and GitHub Actions job summary support. (#20260707143000)

Bugfixes

  • 🐛 [validation] Fixed NewNoneRule so it now correctly fails when any nested rule succeeds. (#20260608114600)
  • Dependency upgrade: setup-go-7 (#20260716124746)
  • Dependency upgrade: codeql-action-4.37.1 (#20260717101309)
  • Dependency upgrade: setup-python-7 (#20260720101212)
  • Dependency upgrade: logr-1.4.4 (#20260721101310)
  • Dependency upgrade: codeql-action-4.37.3 (#20260722101436)

"1.166.1" (2026-07-16)

Bugfixes

  • 🐛 [casing] fix regression in acronym-aware casing so normal PascalCase names like NoKeyring do not become NOKeyring (#20260716125731)

"1.166.0" (2026-07-16)

Features

  • ✨ [URL] add configurable URL canonicalisation and comparison helpers for normalised matching. (#202607161530)

"1.165.2" (2026-07-15)

Bugfixes

  • 🐛 Strings/casing: recognise the codebase's I... interface naming convention when handling acronym-prefixed identifiers such as IHTTP. (#20260707151500)
  • 🐛 Strings/casing: improve plural initialism handling so identifiers such as Urls can be normalised to URLs where appropriate. (#20260707151600)
  • Dependency upgrade: text-0.40.0 (#20260709101319)
  • Dependency upgrade: codeql-action-4.37.0 (#20260709101326)
  • Dependency upgrade: net-0.57.0 (#20260709101336)
  • Dependency upgrade: crypto-0.54.0 (#20260709101342)
  • Dependency upgrade: sync-0.22.0 (#20260709101404)
  • Dependency upgrade: sys-0.47.0 (#20260714172504)

"1.165.1" (2026-07-08)

Bugfixes

  • 🐛 [casing] fix toPascalCase regression (#20260708165859)

"1.165.0" (2026-07-08)

Features

  • ✨ [Retry] add composable retry options with jitter, retry budget, etc. to ease the definition of retry strategies. (#20260707125500)

Bugfixes

  • Dependency upgrade: codeql-action-4.36.3 (#20260702101311)
  • Dependency upgrade: text-0.39.0 (#20260707101311)
  • 🐛 [casing] fix casing helpers so adjacent acronym runs like AESRSA are preserved in existing camelCase and PascalCase identifiers instead of collapsing to Aesrsa. (#20260708153417)

"1.164.1" (2026-07-01)

Bugfixes

  • 🐛 [jsonschema] Added support for ignoring YAML alias and anchor helper fields during schema validation when explicitly ...
Read more

Release 1.170.4

Choose a tag to compare

@monty-bot monty-bot released this 19 Aug 21:18

Changelog

This document contains a history of significant changes which have been released for golang-utils. Please note that
beta releases are not included in this history.

"1.170.4" (2026-08-19)

Bugfixes

  • Dependency upgrade: codeql-action-4.37.6 (#20260818152436)

"1.170.3" (2026-08-18)

Bugfixes

  • Dependency upgrade: text-0.41.0 (#20260817101501)
  • Dependency upgrade: net-0.58.0 (#20260817101511)
  • Dependency upgrade: spdx-0.3.1 (#20260817101518)
  • Dependency upgrade: testify-1.12.0 (#20260817101526)
  • 💥 Restore local required validation rules for remaining HTTP and file cache config fields after the ozzo-validation behaviour change. (#20260817103000)
  • Dependency upgrade: stringcase-1.0.0 (#20260818090655)
  • Dependency upgrade: logrus-1.10.0 (#20260818101350)

"1.170.2" (2026-08-13)

Bugfixes

  • 🐛 annotations Ensure that annotation behavior aligns with what the CI platforms expect with annotations prefixing the entire log line (#20260813115747)

"1.170.1" (2026-08-12)

Bugfixes

  • ♻️ [value] Fix a regression introduced by switching flatten-map string conversion to StringConverter by restoring flatten-map scalar formatting, keeping fmt.Stringer and encoding.TextMarshaler precedence, wrapping text-marshalling failures as commonerrors.ErrMarshalling, and documenting pointer and struct fallback output. (#202608121215)
  • Dependency upgrade: upload-sarif-c16c0f3f2812ec4bb3750a5ed64873fe2ce0fbef (#20260812101700)

"1.170.0" (2026-08-11)

Features

  • ✨ [value] Added context-aware value converters, including IdentityConverter and StringConverter with fmt.Stringer, encoding.TextMarshaler, and fallback string formatting support. (#202608111300)
  • ✨ [reflection] Added NewValueTypeConverter to adapt reflection-based converters into the shared value-converter interface. (#202608111301)
  • ✨ [config] Added context-aware default-value converters for environment variable generation, including SecretConverter for masking sensitive values. (#202608111302)
  • ✨ [reflection] Added helpers to detect field tag values on structs, struct pointers, and collection values containing tagged struct items. (#202608111345)
  • 🔒 [config] Added tag-aware configuration masking converters that can automatically obfuscate sensitive values based on common field tags such as mask, sensitive, secret, password, censored, redact, pii, and sens. (#202608111430)

Bugfixes

  • Dependency upgrade: upload-sarif-7d9249f5a57288b8a472ddd9cc3ece1921f7dc38 (#20260807125603)

Misc

  • #202608111330

"1.169.0" (2026-08-07)

Features

  • ✨ [validation] Added when-rule helpers for not-equals, empty, and not-empty checks across property- and field-based validation. (#202608062230)
  • ✨ [validation] Added non-recursive value-oriented helpers such as WhenFieldEqualsValue, RequiredFieldsBy, FieldDependencyBy, MutuallyExclusiveFieldsBy, and ForbiddenFieldsBy for clearer cross-field validation. (#202608070910)
  • ✨ [validation] Added value-oriented field helpers because property-oriented rules are clearer for maps than structs, and struct Validate() implementations needed readable cross-field validation without recursive helper composition traps. (#202608071000)
  • ✨ [validation] Add state-oriented validation rules for zero, emptiness, nil, and legacy required semantics, including a struct-friendly IsRequired that preserves pre-v4.4 ozzo behaviour. (#202608071215)
  • 🐛 [validation] Replace safe library uses of raw ozzo validation.Required with the shared state-oriented utils/validation.Required, while keeping intentional non-empty or non-zero cases on ozzo or legacy semantics so zero-valued but present fields are validated consistently. (#202608071730)

Bugfixes

  • 🐛 [jsonschema] Default schema options now keep filesystem.NoLimits() while schema validation only requires non-nil limits, so no-limit schemas no longer fail with missing Limits. (#202608062145)
  • 🐛 [validation] Added regression coverage pinning the current validation.Required behaviour for zero-valued structs so future ozzo upgrades do not silently change repository validation semantics. (#202608071140)
  • 🐛 [validation] Added a state-style Required rule to avoid OpenAPI validation issues where valid zero values such as false and numeric zero were incorrectly excluded, while still rejecting nil values, empty strings, and zero time.Time{}. See utils/validation/state_rules.go for the Required definition. (#202608071235)
  • Dependency upgrade: upload-sarif-c1e7c7a0de342c642bc11d2219ba7a3cb2281f19 (#20260707160538)
  • Dependency upgrade: timberjack-1.4.6 (#20260804101310)
  • Dependency upgrade: v4-4.26.7 (#20260804101341)
  • Dependency upgrade: upload-sarif-6a90bf1f5426d0c367cad0b2000f3b721bab3122 (#20260805101538)
  • Dependency upgrade: v6-6.0.3 (#20260806101347)
  • Dependency upgrade: codeql-action-4.37.5 (#20260806101652)
  • Dependency upgrade: v5-5.5.1 (#20260807101334)
  • Dependency upgrade: spdx-0.3.0 (#20260807101355)

"1.168.1" (2026-08-04)

Bugfixes

  • ♻️ [validation] Time validation now supports optional time.Duration and time.Time pointers consistently, accepts RFC3339 timestamp strings and optional string pointers, and adds a NilTimestampOrNotEmpty helper for optional timestamp fields. (#202607251610)
  • Dependency upgrade: codeql-action-4.37.4 (#20260730101302)
  • Dependency upgrade: v5-5.5.0 (#20260730101326)
  • Dependency upgrade: spdx-0.2.0 (#20260803101237)

"1.168.0" (2026-07-24)

Features

  • ✨ [Logs/annotations] add structured CI annotation loggers for GitHub, Azure DevOps, and TeamCity, with adapters for logs.Loggers. (#202607161700)

Bugfixes

  • Dependency upgrade: scorecard-action-2.4.4 (#20260724101455)

"1.167.0" (2026-07-23)

Features

  • ✨ [Logs/summary] add in-memory and file-backed summary loggers, including GitHub summary support. (#202607161620)
  • ✨ [reflection] add helpers for safe reflected property lookup across structs and maps, including JSON-tag-aware field resolution. (#202607161731)
  • ✨ [validation] Added JSON-Schema-oriented validation helpers for numbers, strings, arrays, objects, combinators, and property relationships. See https://json-schema.org/understanding-json-schema/. (#20260608114500)
  • ✨ [parallelisation] add MapConcurrent, MapConcurrentRef, and MapConcurrentSequence helpers. (#20260707123000)
  • Logs: add the logs/summary package with summary loggers and GitHub Actions job summary support. (#20260707143000)

Bugfixes

  • 🐛 [validation] Fixed NewNoneRule so it now correctly fails when any nested rule succeeds. (#20260608114600)
  • Dependency upgrade: setup-go-7 (#20260716124746)
  • Dependency upgrade: codeql-action-4.37.1 (#20260717101309)
  • Dependency upgrade: setup-python-7 (#20260720101212)
  • Dependency upgrade: logr-1.4.4 (#20260721101310)
  • Dependency upgrade: codeql-action-4.37.3 (#20260722101436)

"1.166.1" (2026-07-16)

Bugfixes

  • 🐛 [casing] fix regression in acronym-aware casing so normal PascalCase names like NoKeyring do not become NOKeyring (#20260716125731)

"1.166.0" (2026-07-16)

Features

  • ✨ [URL] add configurable URL canonicalisation and comparison helpers for normalised matching. (#202607161530)

"1.165.2" (2026-07-15)

Bugfixes

  • 🐛 Strings/casing: recognise the codebase's I... interface naming convention when handling acronym-prefixed identifiers such as IHTTP. (#20260707151500)
  • 🐛 Strings/casing: improve plural initialism handling so identifiers such as Urls can be normalised to URLs where appropriate. (#20260707151600)
  • Dependency upgrade: text-0.40.0 (#20260709101319)
  • Dependency upgrade: codeql-action-4.37.0 (#20260709101326)
  • Dependency upgrade: net-0.57.0 (#20260709101336)
  • Dependency upgrade: crypto-0.54.0 (#20260709101342)
  • Dependency upgrade: sync-0.22.0 (#20260709101404)
  • Dependency upgrade: sys-0.47.0 (#20260714172504)

"1.165.1" (2026-07-08)

Bugfixes

  • 🐛 [casing] fix toPascalCase regression (#20260708165859)

"1.165.0" (2026-07-08)

Features

  • ✨ [Retry] add composable retry options with jitter, retry budget, etc. to ease the definition of retry strategies. (#20260707125500)

Bugfixes

  • Dependency upgrade: codeql-action-4.36.3 (#20260702101311)
  • Dependency upgrade: text-0.39.0 (#20260707101311)
  • 🐛 [casing] fix casing helpers so adjacent acronym runs like AESRSA are preserved in existing camelCase and PascalCase identifiers instead of collapsing to Aesrsa. (#20260708153417)

"1.164.1" (2026-07-01)

Bugfixes

  • 🐛 [jsonschema] Added support for ignoring YAML alias and anchor helper fields during schema validation when explicitly requested. (#20260608112000)
  • Dependency upgrade: crypto-0.53.0 (#20260609101342)
  • Dependency upgrade: checkout-7 (#20260619101252)
  • Dependency upgrade: cache-6 (#20260624101305)
  • Dependency upgrade: upload-sarif-9cea5827c668a1fe7165dbce6e80c3f9cf3f83ac (#20260626101420)
  • Dependency upgrade: v4-4.9.0 (#20260629101306)
  • Dependency upgrade: v4-4.26.6 (#20260701101231)
  • Dependency upgrad...
Read more