Skip to content

Releases: ARM-software/golang-utils

Release 1.116.1

18 Aug 19:19
Compare
Choose a tag to compare

!--
Copyright (C) 2020-2025 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->

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.116.1" (2025-08-18)

Bugfixes

  • 🐛 subprocess Make sure that cancellation can't enter deadlock (#20250818160732)

"1.116.0" (2025-08-15)

Features

  • ✨ [collection] Add ConvertMapToLoggerValues function for logr.Logger compatibility (#20250815151015)

"1.115.0" (2025-08-14)

Features

  • [headers] Add method to get the value of a specific header (#20250814161616)

"1.114.1" (2025-08-14)

Bugfixes

  • 🐛 [parallelisation] Make sure options are not overridden for a close store (#20250814104556)

"1.114.0" (2025-08-13)

Features

  • ✨ [parallelisation] Add an option to collate all the errors found during a function store execution (#20250813180357)

"1.113.0" (2025-08-13)

Features

  • [parallelisation] Extend the cancel/close store to have various ways of functioning (e.g. parallel, sequential, reverse order, etc.) (#20250813063457)

"1.112.0" (2025-08-11)

Features

  • ✨ [parallelisation] Added a way to register cancel functions to a close store to ensure everything is cancelled on close (#20250808203905)
  • ✨ [commonerrors] Added a Join which is similar to errors.Join but following inline string convention (#20250808204006)
  • ✨ [keyring] Added a module to store configuration in system keyring service (#20250808204222)
  • [config] Added ability to read configuration from system keyring service (#20250808230944)

Bugfixes

  • Dependency upgrade: crypto-0.41.0 (#20250808104957)
  • Dependency upgrade: mod-0.27.0 (#20250808105012, #20250808105019, #20250808105226, #20250808105329, #20250808105434, #20250808105500, #20250808105507, #20250808105729, #20250808105745, #20250808105803, #20250808105932, #20250808105944, #20250808110029, #20250808110124, #20250808110139, #20250808110210, #20250808110239, #20250808110306, #20250808110327, #20250808110345, #20250808110406, #20250808110414, #20250808110443, #20250808110454, #20250808110509, #20250808110523, #20250808110538, #20250808110602, #20250808110604)
  • Dependency upgrade: text-0.28.0 (#20250808105016, #20250808105023, #20250808105223, #20250808105316, #20250808105318, #20250808105415, #20250808105506, #20250808105532, #20250808105701, #20250808105732, #20250808105833, #20250808105844, #20250808105907, #20250808110040, #20250808110104, #20250808110147, #20250808110149)
  • Dependency upgrade: sys-0.35.0 (#20250808164822, #20250808164824)
  • Dependency upgrade: net-0.43.0 (#20250808190051, #20250808190104, #20250808190117, #20250808190156)
  • 🐛 [maps] Expand the Flatten function to support pointers (#20250811090744)

"1.111.0" (2025-08-07)

Features

  • commonerrors Add ErrFailed to be used as a generic error where an error is an expected and valid state that should be distinguished from a system error (#20250807151301)

"1.110.1" (2025-08-07)

Bugfixes

  • Dependency upgrade: timberjack-1.3.4 (#20250805144229, #20250805144235, #20250805144302)
  • 🐛 proc Make sure that invalid PIDs are ignored when stopping processes (#20250807104110)

"1.110.0" (2025-08-04)

Features

  • ✨ Add support for gracefully killing child processes (#20250731140445)
  • [collection] added collection functional operations Map, Filter, Reject, Reduce (#20250804122854)
  • [parallelisation] added parallelised collection functional operations Map, Filter, Reject (#20250804122923)
  • [proc] added a function to find processes based on name (#20250804130842)

"1.109.1" (2025-08-01)

Bugfixes

  • Dependency upgrade: v4-4.25.7 (#20250801105313, #20250801105328, #20250801105343, #20250801105356, #20250801105410, #20250801105424, #20250801105438, #20250801105448, #20250801105504, #20250801105514)
  • 🐛 filesystem IsFile should return true for special unix files not just regular files (#20250801151058)

"1.109.0" (2025-08-01)

Features

  • commonerrors Add IgnoreCorrespondTo function (#20250801105019)

Bugfixes

  • 🐛 [platform] make sure command with privileges are run when passwords are not needed (#20250731182237)
  • 🐛 [filesystem] make sure to unlink files when removal is called so that sockets are correctly closed (#20250731182404)
  • 🐛 filsystem Unlink files before attempting to remove them in Remove (#20250801093542)

"1.108.2" (2025-07-30)

Bugfixes

  • 🐛 logs Fix missing writer close skip (#20250729175928)

"1.108.1" (2025-07-30)

Bugfixes

  • 🐛 proc In process find, ignore processes that have stopped between listing and matching (#20250730095330)

"1.108.0" (2025-07-30)

Features

  • ✨ Add support for finding processes by their name/the command that was started (#20250729164750)

"1.107.2" (2025-07-29)

Bugfixes

  • 🐛 Fix zerolog closing the writer passed to it (#20250729141206)

"1.107.1" (2025-07-29)

Bugfixes

  • 🐛 Make sure that an improperly initialised cancel store doesn't cause a panic (#20250729105643)

"1.107.0" (2025-07-24)

Features

  • ✨ [logs] Added a rolling file logger (#20250723185203)

Bugfixes

  • ♻️ [logs] update slog utilities to use standard library slog rather than golang extension's implementation (#20250723181707)
  • ♻️ [logs] Update ways to not close writers when loggers close (#20250723182149)

"1.106.1" (2025-07-18)

Bugfixes

  • Dependency upgrade: pflag-1.0.7 (#20250717103618)
  • 🐛 [subprocess] Improve the error reporting when a process is cancelled (#20250718123400)

"1.106.0" (2025-07-16)

Features

  • [parallelisation] Create a store for closing functions so they can be done concurrently (#20250715185008)

"1.105.0" (2025-07-15)

Features

  • [proc] Add utilities to kill processes gracefully (#20250715105927)

Bugfixes

  • Dependency upgrade: net-0.42.0 (#20250711105137, #20250711105141, #20250711105204, #20250711105242, #20250711105325, #20250711105330, #20250711105356, #20250711105427, #20250711105453, #20250711105508, #20250711105526, #20250711105536, #20250711105553, #20250711105620)
  • 🐛 [subprocess] make sure child processes are killed on context cancellation (#20250714171923)
  • Dependency upgrade: v2-2.4.0 (#20250715104631, #20250715104636, #20250715104700, #20250715104703, #20250715104728, #20250715104734, #20250715104757, #20250715104800, #20250715104828, #20250715104831, #20250715104855, #20250715104905, #20250715104926, #20250715104941, #20250715104955, #20250715105009)

"1.104.1" (2025-07-11)

Bugfixes

  • Dependency upgrade: sync-0.16.0 (#20250710102318, #20250710102320)
  • Dependency upgrade: mod-0.26.0 (#20250710102324, #20250710102330, #20250710102353, #20250710102420, #20250710102532, #20250710102541, #20250710102625, #20250710102648, #20250710102700, #20250710102735, #20250710102815, #20250710102851, #20250710102902, #20250710102935, #20250710103004, #20250710103051, #20250710103107, #20250710103139, #20250710103155, #20250710103221, #20250710103234, #20250710103253, #20250710103309, #20250710103335, #20250710103344, #20250710103405, #20250710103417, #20250710103431, #20250710103449, #20250710103459, #20250710103519, #20250710103533, #20250710103546, #20250710103606, #20250710103613, #20250710103636, #20250710103642, #20250710103708, #20250710103725, #20250710103739, #20250710103755, #20250710103808, #20250710103822, #20250710103838, #20250710103855)
  • Dependency upgrade: sys-0.34.0 (#20250710102325, #20250710102331, #20250710102404, #20250710102429, #20250710102505, #20250710102559, #20250710102622, #20250710102641, #20250710102701, #20250710102737, #20250710102824, #20250710102837, #20250710102914, #20250710102929, #20250710103022, #20250710103030, #20250710103115)
  • Dependency upgrade: text-0.27.0 (#20250710200421, #20250710200424, #20250710200447, #20250710200456, #20250710200520, #20250710200528, #20250710200557, #20250710200559)
  • 🐛 [parallelisation] Clean cancel function store after functions have been cancelled (#20250710210822)

"1.104.0" (2025-07-10)

Features

  • ✨ Added a [encoding] module to help encode/decode strings (#20250709190241)

"1.103.1" (2025-07-08)

Bugfixes

  • 🐛 validation Make sure to expose validation rule as a validation.Rule (#20250708131716)

"1.103.0" (2025-07-08)

Features

  • validation Add validation rules (IsPort) for non-string values (#20250708093742)

Bugfixes

  • Dependency upgrade: v4-4.25.6 (#20250701105844, #20250701105848)

"1.102.0" (2025-06-30)

Features

  • [filesystem] Add filepath utilities to work across file-systems no matter the underlying platform (#20250627145431)

Bugfixes

  • Dependency upgrade: v2-2.3.0 (#20250617102123, #20250617102125)
  • ...
Read more

Release 1.116.0

15 Aug 14:19
Compare
Choose a tag to compare

!--
Copyright (C) 2020-2025 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->

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.116.0" (2025-08-15)

Features

  • ✨ [collection] Add ConvertMapToLoggerValues function for logr.Logger compatibility (#20250815151015)

"1.115.0" (2025-08-14)

Features

  • [headers] Add method to get the value of a specific header (#20250814161616)

"1.114.1" (2025-08-14)

Bugfixes

  • 🐛 [parallelisation] Make sure options are not overridden for a close store (#20250814104556)

"1.114.0" (2025-08-13)

Features

  • ✨ [parallelisation] Add an option to collate all the errors found during a function store execution (#20250813180357)

"1.113.0" (2025-08-13)

Features

  • [parallelisation] Extend the cancel/close store to have various ways of functioning (e.g. parallel, sequential, reverse order, etc.) (#20250813063457)

"1.112.0" (2025-08-11)

Features

  • ✨ [parallelisation] Added a way to register cancel functions to a close store to ensure everything is cancelled on close (#20250808203905)
  • ✨ [commonerrors] Added a Join which is similar to errors.Join but following inline string convention (#20250808204006)
  • ✨ [keyring] Added a module to store configuration in system keyring service (#20250808204222)
  • [config] Added ability to read configuration from system keyring service (#20250808230944)

Bugfixes

  • Dependency upgrade: crypto-0.41.0 (#20250808104957)
  • Dependency upgrade: mod-0.27.0 (#20250808105012, #20250808105019, #20250808105226, #20250808105329, #20250808105434, #20250808105500, #20250808105507, #20250808105729, #20250808105745, #20250808105803, #20250808105932, #20250808105944, #20250808110029, #20250808110124, #20250808110139, #20250808110210, #20250808110239, #20250808110306, #20250808110327, #20250808110345, #20250808110406, #20250808110414, #20250808110443, #20250808110454, #20250808110509, #20250808110523, #20250808110538, #20250808110602, #20250808110604)
  • Dependency upgrade: text-0.28.0 (#20250808105016, #20250808105023, #20250808105223, #20250808105316, #20250808105318, #20250808105415, #20250808105506, #20250808105532, #20250808105701, #20250808105732, #20250808105833, #20250808105844, #20250808105907, #20250808110040, #20250808110104, #20250808110147, #20250808110149)
  • Dependency upgrade: sys-0.35.0 (#20250808164822, #20250808164824)
  • Dependency upgrade: net-0.43.0 (#20250808190051, #20250808190104, #20250808190117, #20250808190156)
  • 🐛 [maps] Expand the Flatten function to support pointers (#20250811090744)

"1.111.0" (2025-08-07)

Features

  • commonerrors Add ErrFailed to be used as a generic error where an error is an expected and valid state that should be distinguished from a system error (#20250807151301)

"1.110.1" (2025-08-07)

Bugfixes

  • Dependency upgrade: timberjack-1.3.4 (#20250805144229, #20250805144235, #20250805144302)
  • 🐛 proc Make sure that invalid PIDs are ignored when stopping processes (#20250807104110)

"1.110.0" (2025-08-04)

Features

  • ✨ Add support for gracefully killing child processes (#20250731140445)
  • [collection] added collection functional operations Map, Filter, Reject, Reduce (#20250804122854)
  • [parallelisation] added parallelised collection functional operations Map, Filter, Reject (#20250804122923)
  • [proc] added a function to find processes based on name (#20250804130842)

"1.109.1" (2025-08-01)

Bugfixes

  • Dependency upgrade: v4-4.25.7 (#20250801105313, #20250801105328, #20250801105343, #20250801105356, #20250801105410, #20250801105424, #20250801105438, #20250801105448, #20250801105504, #20250801105514)
  • 🐛 filesystem IsFile should return true for special unix files not just regular files (#20250801151058)

"1.109.0" (2025-08-01)

Features

  • commonerrors Add IgnoreCorrespondTo function (#20250801105019)

Bugfixes

  • 🐛 [platform] make sure command with privileges are run when passwords are not needed (#20250731182237)
  • 🐛 [filesystem] make sure to unlink files when removal is called so that sockets are correctly closed (#20250731182404)
  • 🐛 filsystem Unlink files before attempting to remove them in Remove (#20250801093542)

"1.108.2" (2025-07-30)

Bugfixes

  • 🐛 logs Fix missing writer close skip (#20250729175928)

"1.108.1" (2025-07-30)

Bugfixes

  • 🐛 proc In process find, ignore processes that have stopped between listing and matching (#20250730095330)

"1.108.0" (2025-07-30)

Features

  • ✨ Add support for finding processes by their name/the command that was started (#20250729164750)

"1.107.2" (2025-07-29)

Bugfixes

  • 🐛 Fix zerolog closing the writer passed to it (#20250729141206)

"1.107.1" (2025-07-29)

Bugfixes

  • 🐛 Make sure that an improperly initialised cancel store doesn't cause a panic (#20250729105643)

"1.107.0" (2025-07-24)

Features

  • ✨ [logs] Added a rolling file logger (#20250723185203)

Bugfixes

  • ♻️ [logs] update slog utilities to use standard library slog rather than golang extension's implementation (#20250723181707)
  • ♻️ [logs] Update ways to not close writers when loggers close (#20250723182149)

"1.106.1" (2025-07-18)

Bugfixes

  • Dependency upgrade: pflag-1.0.7 (#20250717103618)
  • 🐛 [subprocess] Improve the error reporting when a process is cancelled (#20250718123400)

"1.106.0" (2025-07-16)

Features

  • [parallelisation] Create a store for closing functions so they can be done concurrently (#20250715185008)

"1.105.0" (2025-07-15)

Features

  • [proc] Add utilities to kill processes gracefully (#20250715105927)

Bugfixes

  • Dependency upgrade: net-0.42.0 (#20250711105137, #20250711105141, #20250711105204, #20250711105242, #20250711105325, #20250711105330, #20250711105356, #20250711105427, #20250711105453, #20250711105508, #20250711105526, #20250711105536, #20250711105553, #20250711105620)
  • 🐛 [subprocess] make sure child processes are killed on context cancellation (#20250714171923)
  • Dependency upgrade: v2-2.4.0 (#20250715104631, #20250715104636, #20250715104700, #20250715104703, #20250715104728, #20250715104734, #20250715104757, #20250715104800, #20250715104828, #20250715104831, #20250715104855, #20250715104905, #20250715104926, #20250715104941, #20250715104955, #20250715105009)

"1.104.1" (2025-07-11)

Bugfixes

  • Dependency upgrade: sync-0.16.0 (#20250710102318, #20250710102320)
  • Dependency upgrade: mod-0.26.0 (#20250710102324, #20250710102330, #20250710102353, #20250710102420, #20250710102532, #20250710102541, #20250710102625, #20250710102648, #20250710102700, #20250710102735, #20250710102815, #20250710102851, #20250710102902, #20250710102935, #20250710103004, #20250710103051, #20250710103107, #20250710103139, #20250710103155, #20250710103221, #20250710103234, #20250710103253, #20250710103309, #20250710103335, #20250710103344, #20250710103405, #20250710103417, #20250710103431, #20250710103449, #20250710103459, #20250710103519, #20250710103533, #20250710103546, #20250710103606, #20250710103613, #20250710103636, #20250710103642, #20250710103708, #20250710103725, #20250710103739, #20250710103755, #20250710103808, #20250710103822, #20250710103838, #20250710103855)
  • Dependency upgrade: sys-0.34.0 (#20250710102325, #20250710102331, #20250710102404, #20250710102429, #20250710102505, #20250710102559, #20250710102622, #20250710102641, #20250710102701, #20250710102737, #20250710102824, #20250710102837, #20250710102914, #20250710102929, #20250710103022, #20250710103030, #20250710103115)
  • Dependency upgrade: text-0.27.0 (#20250710200421, #20250710200424, #20250710200447, #20250710200456, #20250710200520, #20250710200528, #20250710200557, #20250710200559)
  • 🐛 [parallelisation] Clean cancel function store after functions have been cancelled (#20250710210822)

"1.104.0" (2025-07-10)

Features

  • ✨ Added a [encoding] module to help encode/decode strings (#20250709190241)

"1.103.1" (2025-07-08)

Bugfixes

  • 🐛 validation Make sure to expose validation rule as a validation.Rule (#20250708131716)

"1.103.0" (2025-07-08)

Features

  • validation Add validation rules (IsPort) for non-string values (#20250708093742)

Bugfixes

  • Dependency upgrade: v4-4.25.6 (#20250701105844, #20250701105848)

"1.102.0" (2025-06-30)

Features

  • [filesystem] Add filepath utilities to work across file-systems no matter the underlying platform (#20250627145431)

Bugfixes

  • Dependency upgrade: v2-2.3.0 (#20250617102123, #20250617102125)
  • Dependency upgrade: go-retryablehttp-0.7.8 (#20250619103030, #20250619103033, #20250619103055, #20250619103104, #20250619103126, #20250619103135, #202506191...
Read more

Release 1.115.0

14 Aug 15:51
Compare
Choose a tag to compare

!--
Copyright (C) 2020-2025 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->

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.115.0" (2025-08-14)

Features

  • [headers] Add method to get the value of a specific header (#20250814161616)

"1.114.1" (2025-08-14)

Bugfixes

  • 🐛 [parallelisation] Make sure options are not overridden for a close store (#20250814104556)

"1.114.0" (2025-08-13)

Features

  • ✨ [parallelisation] Add an option to collate all the errors found during a function store execution (#20250813180357)

"1.113.0" (2025-08-13)

Features

  • [parallelisation] Extend the cancel/close store to have various ways of functioning (e.g. parallel, sequential, reverse order, etc.) (#20250813063457)

"1.112.0" (2025-08-11)

Features

  • ✨ [parallelisation] Added a way to register cancel functions to a close store to ensure everything is cancelled on close (#20250808203905)
  • ✨ [commonerrors] Added a Join which is similar to errors.Join but following inline string convention (#20250808204006)
  • ✨ [keyring] Added a module to store configuration in system keyring service (#20250808204222)
  • [config] Added ability to read configuration from system keyring service (#20250808230944)

Bugfixes

  • Dependency upgrade: crypto-0.41.0 (#20250808104957)
  • Dependency upgrade: mod-0.27.0 (#20250808105012, #20250808105019, #20250808105226, #20250808105329, #20250808105434, #20250808105500, #20250808105507, #20250808105729, #20250808105745, #20250808105803, #20250808105932, #20250808105944, #20250808110029, #20250808110124, #20250808110139, #20250808110210, #20250808110239, #20250808110306, #20250808110327, #20250808110345, #20250808110406, #20250808110414, #20250808110443, #20250808110454, #20250808110509, #20250808110523, #20250808110538, #20250808110602, #20250808110604)
  • Dependency upgrade: text-0.28.0 (#20250808105016, #20250808105023, #20250808105223, #20250808105316, #20250808105318, #20250808105415, #20250808105506, #20250808105532, #20250808105701, #20250808105732, #20250808105833, #20250808105844, #20250808105907, #20250808110040, #20250808110104, #20250808110147, #20250808110149)
  • Dependency upgrade: sys-0.35.0 (#20250808164822, #20250808164824)
  • Dependency upgrade: net-0.43.0 (#20250808190051, #20250808190104, #20250808190117, #20250808190156)
  • 🐛 [maps] Expand the Flatten function to support pointers (#20250811090744)

"1.111.0" (2025-08-07)

Features

  • commonerrors Add ErrFailed to be used as a generic error where an error is an expected and valid state that should be distinguished from a system error (#20250807151301)

"1.110.1" (2025-08-07)

Bugfixes

  • Dependency upgrade: timberjack-1.3.4 (#20250805144229, #20250805144235, #20250805144302)
  • 🐛 proc Make sure that invalid PIDs are ignored when stopping processes (#20250807104110)

"1.110.0" (2025-08-04)

Features

  • ✨ Add support for gracefully killing child processes (#20250731140445)
  • [collection] added collection functional operations Map, Filter, Reject, Reduce (#20250804122854)
  • [parallelisation] added parallelised collection functional operations Map, Filter, Reject (#20250804122923)
  • [proc] added a function to find processes based on name (#20250804130842)

"1.109.1" (2025-08-01)

Bugfixes

  • Dependency upgrade: v4-4.25.7 (#20250801105313, #20250801105328, #20250801105343, #20250801105356, #20250801105410, #20250801105424, #20250801105438, #20250801105448, #20250801105504, #20250801105514)
  • 🐛 filesystem IsFile should return true for special unix files not just regular files (#20250801151058)

"1.109.0" (2025-08-01)

Features

  • commonerrors Add IgnoreCorrespondTo function (#20250801105019)

Bugfixes

  • 🐛 [platform] make sure command with privileges are run when passwords are not needed (#20250731182237)
  • 🐛 [filesystem] make sure to unlink files when removal is called so that sockets are correctly closed (#20250731182404)
  • 🐛 filsystem Unlink files before attempting to remove them in Remove (#20250801093542)

"1.108.2" (2025-07-30)

Bugfixes

  • 🐛 logs Fix missing writer close skip (#20250729175928)

"1.108.1" (2025-07-30)

Bugfixes

  • 🐛 proc In process find, ignore processes that have stopped between listing and matching (#20250730095330)

"1.108.0" (2025-07-30)

Features

  • ✨ Add support for finding processes by their name/the command that was started (#20250729164750)

"1.107.2" (2025-07-29)

Bugfixes

  • 🐛 Fix zerolog closing the writer passed to it (#20250729141206)

"1.107.1" (2025-07-29)

Bugfixes

  • 🐛 Make sure that an improperly initialised cancel store doesn't cause a panic (#20250729105643)

"1.107.0" (2025-07-24)

Features

  • ✨ [logs] Added a rolling file logger (#20250723185203)

Bugfixes

  • ♻️ [logs] update slog utilities to use standard library slog rather than golang extension's implementation (#20250723181707)
  • ♻️ [logs] Update ways to not close writers when loggers close (#20250723182149)

"1.106.1" (2025-07-18)

Bugfixes

  • Dependency upgrade: pflag-1.0.7 (#20250717103618)
  • 🐛 [subprocess] Improve the error reporting when a process is cancelled (#20250718123400)

"1.106.0" (2025-07-16)

Features

  • [parallelisation] Create a store for closing functions so they can be done concurrently (#20250715185008)

"1.105.0" (2025-07-15)

Features

  • [proc] Add utilities to kill processes gracefully (#20250715105927)

Bugfixes

  • Dependency upgrade: net-0.42.0 (#20250711105137, #20250711105141, #20250711105204, #20250711105242, #20250711105325, #20250711105330, #20250711105356, #20250711105427, #20250711105453, #20250711105508, #20250711105526, #20250711105536, #20250711105553, #20250711105620)
  • 🐛 [subprocess] make sure child processes are killed on context cancellation (#20250714171923)
  • Dependency upgrade: v2-2.4.0 (#20250715104631, #20250715104636, #20250715104700, #20250715104703, #20250715104728, #20250715104734, #20250715104757, #20250715104800, #20250715104828, #20250715104831, #20250715104855, #20250715104905, #20250715104926, #20250715104941, #20250715104955, #20250715105009)

"1.104.1" (2025-07-11)

Bugfixes

  • Dependency upgrade: sync-0.16.0 (#20250710102318, #20250710102320)
  • Dependency upgrade: mod-0.26.0 (#20250710102324, #20250710102330, #20250710102353, #20250710102420, #20250710102532, #20250710102541, #20250710102625, #20250710102648, #20250710102700, #20250710102735, #20250710102815, #20250710102851, #20250710102902, #20250710102935, #20250710103004, #20250710103051, #20250710103107, #20250710103139, #20250710103155, #20250710103221, #20250710103234, #20250710103253, #20250710103309, #20250710103335, #20250710103344, #20250710103405, #20250710103417, #20250710103431, #20250710103449, #20250710103459, #20250710103519, #20250710103533, #20250710103546, #20250710103606, #20250710103613, #20250710103636, #20250710103642, #20250710103708, #20250710103725, #20250710103739, #20250710103755, #20250710103808, #20250710103822, #20250710103838, #20250710103855)
  • Dependency upgrade: sys-0.34.0 (#20250710102325, #20250710102331, #20250710102404, #20250710102429, #20250710102505, #20250710102559, #20250710102622, #20250710102641, #20250710102701, #20250710102737, #20250710102824, #20250710102837, #20250710102914, #20250710102929, #20250710103022, #20250710103030, #20250710103115)
  • Dependency upgrade: text-0.27.0 (#20250710200421, #20250710200424, #20250710200447, #20250710200456, #20250710200520, #20250710200528, #20250710200557, #20250710200559)
  • 🐛 [parallelisation] Clean cancel function store after functions have been cancelled (#20250710210822)

"1.104.0" (2025-07-10)

Features

  • ✨ Added a [encoding] module to help encode/decode strings (#20250709190241)

"1.103.1" (2025-07-08)

Bugfixes

  • 🐛 validation Make sure to expose validation rule as a validation.Rule (#20250708131716)

"1.103.0" (2025-07-08)

Features

  • validation Add validation rules (IsPort) for non-string values (#20250708093742)

Bugfixes

  • Dependency upgrade: v4-4.25.6 (#20250701105844, #20250701105848)

"1.102.0" (2025-06-30)

Features

  • [filesystem] Add filepath utilities to work across file-systems no matter the underlying platform (#20250627145431)

Bugfixes

  • Dependency upgrade: v2-2.3.0 (#20250617102123, #20250617102125)
  • Dependency upgrade: go-retryablehttp-0.7.8 (#20250619103030, #20250619103033, #20250619103055, #20250619103104, #20250619103126, #20250619103135, #20250619103153, #20250619103203, #20250619103221, #20250619103230, #20250619103248, #20250619103256, #20250619103318, #20250619103322, #20250619103346)
  • 🐛 [filesystem] fix [...
Read more

Release 1.114.1

14 Aug 09:59
Compare
Choose a tag to compare

!--
Copyright (C) 2020-2025 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->

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.114.1" (2025-08-14)

Bugfixes

  • 🐛 [parallelisation] Make sure options are not overridden for a close store (#20250814104556)

"1.114.0" (2025-08-13)

Features

  • ✨ [parallelisation] Add an option to collate all the errors found during a function store execution (#20250813180357)

"1.113.0" (2025-08-13)

Features

  • [parallelisation] Extend the cancel/close store to have various ways of functioning (e.g. parallel, sequential, reverse order, etc.) (#20250813063457)

"1.112.0" (2025-08-11)

Features

  • ✨ [parallelisation] Added a way to register cancel functions to a close store to ensure everything is cancelled on close (#20250808203905)
  • ✨ [commonerrors] Added a Join which is similar to errors.Join but following inline string convention (#20250808204006)
  • ✨ [keyring] Added a module to store configuration in system keyring service (#20250808204222)
  • [config] Added ability to read configuration from system keyring service (#20250808230944)

Bugfixes

  • Dependency upgrade: crypto-0.41.0 (#20250808104957)
  • Dependency upgrade: mod-0.27.0 (#20250808105012, #20250808105019, #20250808105226, #20250808105329, #20250808105434, #20250808105500, #20250808105507, #20250808105729, #20250808105745, #20250808105803, #20250808105932, #20250808105944, #20250808110029, #20250808110124, #20250808110139, #20250808110210, #20250808110239, #20250808110306, #20250808110327, #20250808110345, #20250808110406, #20250808110414, #20250808110443, #20250808110454, #20250808110509, #20250808110523, #20250808110538, #20250808110602, #20250808110604)
  • Dependency upgrade: text-0.28.0 (#20250808105016, #20250808105023, #20250808105223, #20250808105316, #20250808105318, #20250808105415, #20250808105506, #20250808105532, #20250808105701, #20250808105732, #20250808105833, #20250808105844, #20250808105907, #20250808110040, #20250808110104, #20250808110147, #20250808110149)
  • Dependency upgrade: sys-0.35.0 (#20250808164822, #20250808164824)
  • Dependency upgrade: net-0.43.0 (#20250808190051, #20250808190104, #20250808190117, #20250808190156)
  • 🐛 [maps] Expand the Flatten function to support pointers (#20250811090744)

"1.111.0" (2025-08-07)

Features

  • commonerrors Add ErrFailed to be used as a generic error where an error is an expected and valid state that should be distinguished from a system error (#20250807151301)

"1.110.1" (2025-08-07)

Bugfixes

  • Dependency upgrade: timberjack-1.3.4 (#20250805144229, #20250805144235, #20250805144302)
  • 🐛 proc Make sure that invalid PIDs are ignored when stopping processes (#20250807104110)

"1.110.0" (2025-08-04)

Features

  • ✨ Add support for gracefully killing child processes (#20250731140445)
  • [collection] added collection functional operations Map, Filter, Reject, Reduce (#20250804122854)
  • [parallelisation] added parallelised collection functional operations Map, Filter, Reject (#20250804122923)
  • [proc] added a function to find processes based on name (#20250804130842)

"1.109.1" (2025-08-01)

Bugfixes

  • Dependency upgrade: v4-4.25.7 (#20250801105313, #20250801105328, #20250801105343, #20250801105356, #20250801105410, #20250801105424, #20250801105438, #20250801105448, #20250801105504, #20250801105514)
  • 🐛 filesystem IsFile should return true for special unix files not just regular files (#20250801151058)

"1.109.0" (2025-08-01)

Features

  • commonerrors Add IgnoreCorrespondTo function (#20250801105019)

Bugfixes

  • 🐛 [platform] make sure command with privileges are run when passwords are not needed (#20250731182237)
  • 🐛 [filesystem] make sure to unlink files when removal is called so that sockets are correctly closed (#20250731182404)
  • 🐛 filsystem Unlink files before attempting to remove them in Remove (#20250801093542)

"1.108.2" (2025-07-30)

Bugfixes

  • 🐛 logs Fix missing writer close skip (#20250729175928)

"1.108.1" (2025-07-30)

Bugfixes

  • 🐛 proc In process find, ignore processes that have stopped between listing and matching (#20250730095330)

"1.108.0" (2025-07-30)

Features

  • ✨ Add support for finding processes by their name/the command that was started (#20250729164750)

"1.107.2" (2025-07-29)

Bugfixes

  • 🐛 Fix zerolog closing the writer passed to it (#20250729141206)

"1.107.1" (2025-07-29)

Bugfixes

  • 🐛 Make sure that an improperly initialised cancel store doesn't cause a panic (#20250729105643)

"1.107.0" (2025-07-24)

Features

  • ✨ [logs] Added a rolling file logger (#20250723185203)

Bugfixes

  • ♻️ [logs] update slog utilities to use standard library slog rather than golang extension's implementation (#20250723181707)
  • ♻️ [logs] Update ways to not close writers when loggers close (#20250723182149)

"1.106.1" (2025-07-18)

Bugfixes

  • Dependency upgrade: pflag-1.0.7 (#20250717103618)
  • 🐛 [subprocess] Improve the error reporting when a process is cancelled (#20250718123400)

"1.106.0" (2025-07-16)

Features

  • [parallelisation] Create a store for closing functions so they can be done concurrently (#20250715185008)

"1.105.0" (2025-07-15)

Features

  • [proc] Add utilities to kill processes gracefully (#20250715105927)

Bugfixes

  • Dependency upgrade: net-0.42.0 (#20250711105137, #20250711105141, #20250711105204, #20250711105242, #20250711105325, #20250711105330, #20250711105356, #20250711105427, #20250711105453, #20250711105508, #20250711105526, #20250711105536, #20250711105553, #20250711105620)
  • 🐛 [subprocess] make sure child processes are killed on context cancellation (#20250714171923)
  • Dependency upgrade: v2-2.4.0 (#20250715104631, #20250715104636, #20250715104700, #20250715104703, #20250715104728, #20250715104734, #20250715104757, #20250715104800, #20250715104828, #20250715104831, #20250715104855, #20250715104905, #20250715104926, #20250715104941, #20250715104955, #20250715105009)

"1.104.1" (2025-07-11)

Bugfixes

  • Dependency upgrade: sync-0.16.0 (#20250710102318, #20250710102320)
  • Dependency upgrade: mod-0.26.0 (#20250710102324, #20250710102330, #20250710102353, #20250710102420, #20250710102532, #20250710102541, #20250710102625, #20250710102648, #20250710102700, #20250710102735, #20250710102815, #20250710102851, #20250710102902, #20250710102935, #20250710103004, #20250710103051, #20250710103107, #20250710103139, #20250710103155, #20250710103221, #20250710103234, #20250710103253, #20250710103309, #20250710103335, #20250710103344, #20250710103405, #20250710103417, #20250710103431, #20250710103449, #20250710103459, #20250710103519, #20250710103533, #20250710103546, #20250710103606, #20250710103613, #20250710103636, #20250710103642, #20250710103708, #20250710103725, #20250710103739, #20250710103755, #20250710103808, #20250710103822, #20250710103838, #20250710103855)
  • Dependency upgrade: sys-0.34.0 (#20250710102325, #20250710102331, #20250710102404, #20250710102429, #20250710102505, #20250710102559, #20250710102622, #20250710102641, #20250710102701, #20250710102737, #20250710102824, #20250710102837, #20250710102914, #20250710102929, #20250710103022, #20250710103030, #20250710103115)
  • Dependency upgrade: text-0.27.0 (#20250710200421, #20250710200424, #20250710200447, #20250710200456, #20250710200520, #20250710200528, #20250710200557, #20250710200559)
  • 🐛 [parallelisation] Clean cancel function store after functions have been cancelled (#20250710210822)

"1.104.0" (2025-07-10)

Features

  • ✨ Added a [encoding] module to help encode/decode strings (#20250709190241)

"1.103.1" (2025-07-08)

Bugfixes

  • 🐛 validation Make sure to expose validation rule as a validation.Rule (#20250708131716)

"1.103.0" (2025-07-08)

Features

  • validation Add validation rules (IsPort) for non-string values (#20250708093742)

Bugfixes

  • Dependency upgrade: v4-4.25.6 (#20250701105844, #20250701105848)

"1.102.0" (2025-06-30)

Features

  • [filesystem] Add filepath utilities to work across file-systems no matter the underlying platform (#20250627145431)

Bugfixes

  • Dependency upgrade: v2-2.3.0 (#20250617102123, #20250617102125)
  • Dependency upgrade: go-retryablehttp-0.7.8 (#20250619103030, #20250619103033, #20250619103055, #20250619103104, #20250619103126, #20250619103135, #20250619103153, #20250619103203, #20250619103221, #20250619103230, #20250619103248, #20250619103256, #20250619103318, #20250619103322, #20250619103346)
  • 🐛 [filesystem] fix bug when zipping a package on Windows...
Read more

Release 1.114.0

13 Aug 17:28
Compare
Choose a tag to compare

!--
Copyright (C) 2020-2025 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->

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.114.0" (2025-08-13)

Features

  • ✨ [parallelisation] Add an option to collate all the errors found during a function store execution (#20250813180357)

"1.113.0" (2025-08-13)

Features

  • [parallelisation] Extend the cancel/close store to have various ways of functioning (e.g. parallel, sequential, reverse order, etc.) (#20250813063457)

"1.112.0" (2025-08-11)

Features

  • ✨ [parallelisation] Added a way to register cancel functions to a close store to ensure everything is cancelled on close (#20250808203905)
  • ✨ [commonerrors] Added a Join which is similar to errors.Join but following inline string convention (#20250808204006)
  • ✨ [keyring] Added a module to store configuration in system keyring service (#20250808204222)
  • [config] Added ability to read configuration from system keyring service (#20250808230944)

Bugfixes

  • Dependency upgrade: crypto-0.41.0 (#20250808104957)
  • Dependency upgrade: mod-0.27.0 (#20250808105012, #20250808105019, #20250808105226, #20250808105329, #20250808105434, #20250808105500, #20250808105507, #20250808105729, #20250808105745, #20250808105803, #20250808105932, #20250808105944, #20250808110029, #20250808110124, #20250808110139, #20250808110210, #20250808110239, #20250808110306, #20250808110327, #20250808110345, #20250808110406, #20250808110414, #20250808110443, #20250808110454, #20250808110509, #20250808110523, #20250808110538, #20250808110602, #20250808110604)
  • Dependency upgrade: text-0.28.0 (#20250808105016, #20250808105023, #20250808105223, #20250808105316, #20250808105318, #20250808105415, #20250808105506, #20250808105532, #20250808105701, #20250808105732, #20250808105833, #20250808105844, #20250808105907, #20250808110040, #20250808110104, #20250808110147, #20250808110149)
  • Dependency upgrade: sys-0.35.0 (#20250808164822, #20250808164824)
  • Dependency upgrade: net-0.43.0 (#20250808190051, #20250808190104, #20250808190117, #20250808190156)
  • 🐛 [maps] Expand the Flatten function to support pointers (#20250811090744)

"1.111.0" (2025-08-07)

Features

  • commonerrors Add ErrFailed to be used as a generic error where an error is an expected and valid state that should be distinguished from a system error (#20250807151301)

"1.110.1" (2025-08-07)

Bugfixes

  • Dependency upgrade: timberjack-1.3.4 (#20250805144229, #20250805144235, #20250805144302)
  • 🐛 proc Make sure that invalid PIDs are ignored when stopping processes (#20250807104110)

"1.110.0" (2025-08-04)

Features

  • ✨ Add support for gracefully killing child processes (#20250731140445)
  • [collection] added collection functional operations Map, Filter, Reject, Reduce (#20250804122854)
  • [parallelisation] added parallelised collection functional operations Map, Filter, Reject (#20250804122923)
  • [proc] added a function to find processes based on name (#20250804130842)

"1.109.1" (2025-08-01)

Bugfixes

  • Dependency upgrade: v4-4.25.7 (#20250801105313, #20250801105328, #20250801105343, #20250801105356, #20250801105410, #20250801105424, #20250801105438, #20250801105448, #20250801105504, #20250801105514)
  • 🐛 filesystem IsFile should return true for special unix files not just regular files (#20250801151058)

"1.109.0" (2025-08-01)

Features

  • commonerrors Add IgnoreCorrespondTo function (#20250801105019)

Bugfixes

  • 🐛 [platform] make sure command with privileges are run when passwords are not needed (#20250731182237)
  • 🐛 [filesystem] make sure to unlink files when removal is called so that sockets are correctly closed (#20250731182404)
  • 🐛 filsystem Unlink files before attempting to remove them in Remove (#20250801093542)

"1.108.2" (2025-07-30)

Bugfixes

  • 🐛 logs Fix missing writer close skip (#20250729175928)

"1.108.1" (2025-07-30)

Bugfixes

  • 🐛 proc In process find, ignore processes that have stopped between listing and matching (#20250730095330)

"1.108.0" (2025-07-30)

Features

  • ✨ Add support for finding processes by their name/the command that was started (#20250729164750)

"1.107.2" (2025-07-29)

Bugfixes

  • 🐛 Fix zerolog closing the writer passed to it (#20250729141206)

"1.107.1" (2025-07-29)

Bugfixes

  • 🐛 Make sure that an improperly initialised cancel store doesn't cause a panic (#20250729105643)

"1.107.0" (2025-07-24)

Features

  • ✨ [logs] Added a rolling file logger (#20250723185203)

Bugfixes

  • ♻️ [logs] update slog utilities to use standard library slog rather than golang extension's implementation (#20250723181707)
  • ♻️ [logs] Update ways to not close writers when loggers close (#20250723182149)

"1.106.1" (2025-07-18)

Bugfixes

  • Dependency upgrade: pflag-1.0.7 (#20250717103618)
  • 🐛 [subprocess] Improve the error reporting when a process is cancelled (#20250718123400)

"1.106.0" (2025-07-16)

Features

  • [parallelisation] Create a store for closing functions so they can be done concurrently (#20250715185008)

"1.105.0" (2025-07-15)

Features

  • [proc] Add utilities to kill processes gracefully (#20250715105927)

Bugfixes

  • Dependency upgrade: net-0.42.0 (#20250711105137, #20250711105141, #20250711105204, #20250711105242, #20250711105325, #20250711105330, #20250711105356, #20250711105427, #20250711105453, #20250711105508, #20250711105526, #20250711105536, #20250711105553, #20250711105620)
  • 🐛 [subprocess] make sure child processes are killed on context cancellation (#20250714171923)
  • Dependency upgrade: v2-2.4.0 (#20250715104631, #20250715104636, #20250715104700, #20250715104703, #20250715104728, #20250715104734, #20250715104757, #20250715104800, #20250715104828, #20250715104831, #20250715104855, #20250715104905, #20250715104926, #20250715104941, #20250715104955, #20250715105009)

"1.104.1" (2025-07-11)

Bugfixes

  • Dependency upgrade: sync-0.16.0 (#20250710102318, #20250710102320)
  • Dependency upgrade: mod-0.26.0 (#20250710102324, #20250710102330, #20250710102353, #20250710102420, #20250710102532, #20250710102541, #20250710102625, #20250710102648, #20250710102700, #20250710102735, #20250710102815, #20250710102851, #20250710102902, #20250710102935, #20250710103004, #20250710103051, #20250710103107, #20250710103139, #20250710103155, #20250710103221, #20250710103234, #20250710103253, #20250710103309, #20250710103335, #20250710103344, #20250710103405, #20250710103417, #20250710103431, #20250710103449, #20250710103459, #20250710103519, #20250710103533, #20250710103546, #20250710103606, #20250710103613, #20250710103636, #20250710103642, #20250710103708, #20250710103725, #20250710103739, #20250710103755, #20250710103808, #20250710103822, #20250710103838, #20250710103855)
  • Dependency upgrade: sys-0.34.0 (#20250710102325, #20250710102331, #20250710102404, #20250710102429, #20250710102505, #20250710102559, #20250710102622, #20250710102641, #20250710102701, #20250710102737, #20250710102824, #20250710102837, #20250710102914, #20250710102929, #20250710103022, #20250710103030, #20250710103115)
  • Dependency upgrade: text-0.27.0 (#20250710200421, #20250710200424, #20250710200447, #20250710200456, #20250710200520, #20250710200528, #20250710200557, #20250710200559)
  • 🐛 [parallelisation] Clean cancel function store after functions have been cancelled (#20250710210822)

"1.104.0" (2025-07-10)

Features

  • ✨ Added a [encoding] module to help encode/decode strings (#20250709190241)

"1.103.1" (2025-07-08)

Bugfixes

  • 🐛 validation Make sure to expose validation rule as a validation.Rule (#20250708131716)

"1.103.0" (2025-07-08)

Features

  • validation Add validation rules (IsPort) for non-string values (#20250708093742)

Bugfixes

  • Dependency upgrade: v4-4.25.6 (#20250701105844, #20250701105848)

"1.102.0" (2025-06-30)

Features

  • [filesystem] Add filepath utilities to work across file-systems no matter the underlying platform (#20250627145431)

Bugfixes

  • Dependency upgrade: v2-2.3.0 (#20250617102123, #20250617102125)
  • Dependency upgrade: go-retryablehttp-0.7.8 (#20250619103030, #20250619103033, #20250619103055, #20250619103104, #20250619103126, #20250619103135, #20250619103153, #20250619103203, #20250619103221, #20250619103230, #20250619103248, #20250619103256, #20250619103318, #20250619103322, #20250619103346)
  • 🐛 [filesystem] fix bug when zipping a package on Windows and unzipping it on a different platform such as Linux (#20250627161647)

Misc

  • #20250613163053

"1.101.0" (2025-06-09)

Features
----...

Read more

Release 1.113.0

13 Aug 10:19
Compare
Choose a tag to compare

!--
Copyright (C) 2020-2025 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->

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.113.0" (2025-08-13)

Features

  • [parallelisation] Extend the cancel/close store to have various ways of functioning (e.g. parallel, sequential, reverse order, etc.) (#20250813063457)

"1.112.0" (2025-08-11)

Features

  • ✨ [parallelisation] Added a way to register cancel functions to a close store to ensure everything is cancelled on close (#20250808203905)
  • ✨ [commonerrors] Added a Join which is similar to errors.Join but following inline string convention (#20250808204006)
  • ✨ [keyring] Added a module to store configuration in system keyring service (#20250808204222)
  • [config] Added ability to read configuration from system keyring service (#20250808230944)

Bugfixes

  • Dependency upgrade: crypto-0.41.0 (#20250808104957)
  • Dependency upgrade: mod-0.27.0 (#20250808105012, #20250808105019, #20250808105226, #20250808105329, #20250808105434, #20250808105500, #20250808105507, #20250808105729, #20250808105745, #20250808105803, #20250808105932, #20250808105944, #20250808110029, #20250808110124, #20250808110139, #20250808110210, #20250808110239, #20250808110306, #20250808110327, #20250808110345, #20250808110406, #20250808110414, #20250808110443, #20250808110454, #20250808110509, #20250808110523, #20250808110538, #20250808110602, #20250808110604)
  • Dependency upgrade: text-0.28.0 (#20250808105016, #20250808105023, #20250808105223, #20250808105316, #20250808105318, #20250808105415, #20250808105506, #20250808105532, #20250808105701, #20250808105732, #20250808105833, #20250808105844, #20250808105907, #20250808110040, #20250808110104, #20250808110147, #20250808110149)
  • Dependency upgrade: sys-0.35.0 (#20250808164822, #20250808164824)
  • Dependency upgrade: net-0.43.0 (#20250808190051, #20250808190104, #20250808190117, #20250808190156)
  • 🐛 [maps] Expand the Flatten function to support pointers (#20250811090744)

"1.111.0" (2025-08-07)

Features

  • commonerrors Add ErrFailed to be used as a generic error where an error is an expected and valid state that should be distinguished from a system error (#20250807151301)

"1.110.1" (2025-08-07)

Bugfixes

  • Dependency upgrade: timberjack-1.3.4 (#20250805144229, #20250805144235, #20250805144302)
  • 🐛 proc Make sure that invalid PIDs are ignored when stopping processes (#20250807104110)

"1.110.0" (2025-08-04)

Features

  • ✨ Add support for gracefully killing child processes (#20250731140445)
  • [collection] added collection functional operations Map, Filter, Reject, Reduce (#20250804122854)
  • [parallelisation] added parallelised collection functional operations Map, Filter, Reject (#20250804122923)
  • [proc] added a function to find processes based on name (#20250804130842)

"1.109.1" (2025-08-01)

Bugfixes

  • Dependency upgrade: v4-4.25.7 (#20250801105313, #20250801105328, #20250801105343, #20250801105356, #20250801105410, #20250801105424, #20250801105438, #20250801105448, #20250801105504, #20250801105514)
  • 🐛 filesystem IsFile should return true for special unix files not just regular files (#20250801151058)

"1.109.0" (2025-08-01)

Features

  • commonerrors Add IgnoreCorrespondTo function (#20250801105019)

Bugfixes

  • 🐛 [platform] make sure command with privileges are run when passwords are not needed (#20250731182237)
  • 🐛 [filesystem] make sure to unlink files when removal is called so that sockets are correctly closed (#20250731182404)
  • 🐛 filsystem Unlink files before attempting to remove them in Remove (#20250801093542)

"1.108.2" (2025-07-30)

Bugfixes

  • 🐛 logs Fix missing writer close skip (#20250729175928)

"1.108.1" (2025-07-30)

Bugfixes

  • 🐛 proc In process find, ignore processes that have stopped between listing and matching (#20250730095330)

"1.108.0" (2025-07-30)

Features

  • ✨ Add support for finding processes by their name/the command that was started (#20250729164750)

"1.107.2" (2025-07-29)

Bugfixes

  • 🐛 Fix zerolog closing the writer passed to it (#20250729141206)

"1.107.1" (2025-07-29)

Bugfixes

  • 🐛 Make sure that an improperly initialised cancel store doesn't cause a panic (#20250729105643)

"1.107.0" (2025-07-24)

Features

  • ✨ [logs] Added a rolling file logger (#20250723185203)

Bugfixes

  • ♻️ [logs] update slog utilities to use standard library slog rather than golang extension's implementation (#20250723181707)
  • ♻️ [logs] Update ways to not close writers when loggers close (#20250723182149)

"1.106.1" (2025-07-18)

Bugfixes

  • Dependency upgrade: pflag-1.0.7 (#20250717103618)
  • 🐛 [subprocess] Improve the error reporting when a process is cancelled (#20250718123400)

"1.106.0" (2025-07-16)

Features

  • [parallelisation] Create a store for closing functions so they can be done concurrently (#20250715185008)

"1.105.0" (2025-07-15)

Features

  • [proc] Add utilities to kill processes gracefully (#20250715105927)

Bugfixes

  • Dependency upgrade: net-0.42.0 (#20250711105137, #20250711105141, #20250711105204, #20250711105242, #20250711105325, #20250711105330, #20250711105356, #20250711105427, #20250711105453, #20250711105508, #20250711105526, #20250711105536, #20250711105553, #20250711105620)
  • 🐛 [subprocess] make sure child processes are killed on context cancellation (#20250714171923)
  • Dependency upgrade: v2-2.4.0 (#20250715104631, #20250715104636, #20250715104700, #20250715104703, #20250715104728, #20250715104734, #20250715104757, #20250715104800, #20250715104828, #20250715104831, #20250715104855, #20250715104905, #20250715104926, #20250715104941, #20250715104955, #20250715105009)

"1.104.1" (2025-07-11)

Bugfixes

  • Dependency upgrade: sync-0.16.0 (#20250710102318, #20250710102320)
  • Dependency upgrade: mod-0.26.0 (#20250710102324, #20250710102330, #20250710102353, #20250710102420, #20250710102532, #20250710102541, #20250710102625, #20250710102648, #20250710102700, #20250710102735, #20250710102815, #20250710102851, #20250710102902, #20250710102935, #20250710103004, #20250710103051, #20250710103107, #20250710103139, #20250710103155, #20250710103221, #20250710103234, #20250710103253, #20250710103309, #20250710103335, #20250710103344, #20250710103405, #20250710103417, #20250710103431, #20250710103449, #20250710103459, #20250710103519, #20250710103533, #20250710103546, #20250710103606, #20250710103613, #20250710103636, #20250710103642, #20250710103708, #20250710103725, #20250710103739, #20250710103755, #20250710103808, #20250710103822, #20250710103838, #20250710103855)
  • Dependency upgrade: sys-0.34.0 (#20250710102325, #20250710102331, #20250710102404, #20250710102429, #20250710102505, #20250710102559, #20250710102622, #20250710102641, #20250710102701, #20250710102737, #20250710102824, #20250710102837, #20250710102914, #20250710102929, #20250710103022, #20250710103030, #20250710103115)
  • Dependency upgrade: text-0.27.0 (#20250710200421, #20250710200424, #20250710200447, #20250710200456, #20250710200520, #20250710200528, #20250710200557, #20250710200559)
  • 🐛 [parallelisation] Clean cancel function store after functions have been cancelled (#20250710210822)

"1.104.0" (2025-07-10)

Features

  • ✨ Added a [encoding] module to help encode/decode strings (#20250709190241)

"1.103.1" (2025-07-08)

Bugfixes

  • 🐛 validation Make sure to expose validation rule as a validation.Rule (#20250708131716)

"1.103.0" (2025-07-08)

Features

  • validation Add validation rules (IsPort) for non-string values (#20250708093742)

Bugfixes

  • Dependency upgrade: v4-4.25.6 (#20250701105844, #20250701105848)

"1.102.0" (2025-06-30)

Features

  • [filesystem] Add filepath utilities to work across file-systems no matter the underlying platform (#20250627145431)

Bugfixes

  • Dependency upgrade: v2-2.3.0 (#20250617102123, #20250617102125)
  • Dependency upgrade: go-retryablehttp-0.7.8 (#20250619103030, #20250619103033, #20250619103055, #20250619103104, #20250619103126, #20250619103135, #20250619103153, #20250619103203, #20250619103221, #20250619103230, #20250619103248, #20250619103256, #20250619103318, #20250619103322, #20250619103346)
  • 🐛 [filesystem] fix bug when zipping a package on Windows and unzipping it on a different platform such as Linux (#20250627161647)

Misc

  • #20250613163053

"1.101.0" (2025-06-09)

Features

  • parallelisation Add wait with context function (#20250606172923)
  • subprocess Add interrupt with context and interrupt signal option (#20250606172951)

Bugfixes
-...

Read more

Release 1.112.0

11 Aug 08:28
Compare
Choose a tag to compare

!--
Copyright (C) 2020-2025 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->

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.112.0" (2025-08-11)

Features

  • ✨ [parallelisation] Added a way to register cancel functions to a close store to ensure everything is cancelled on close (#20250808203905)
  • ✨ [commonerrors] Added a Join which is similar to errors.Join but following inline string convention (#20250808204006)
  • ✨ [keyring] Added a module to store configuration in system keyring service (#20250808204222)
  • [config] Added ability to read configuration from system keyring service (#20250808230944)

Bugfixes

  • Dependency upgrade: crypto-0.41.0 (#20250808104957)
  • Dependency upgrade: mod-0.27.0 (#20250808105012, #20250808105019, #20250808105226, #20250808105329, #20250808105434, #20250808105500, #20250808105507, #20250808105729, #20250808105745, #20250808105803, #20250808105932, #20250808105944, #20250808110029, #20250808110124, #20250808110139, #20250808110210, #20250808110239, #20250808110306, #20250808110327, #20250808110345, #20250808110406, #20250808110414, #20250808110443, #20250808110454, #20250808110509, #20250808110523, #20250808110538, #20250808110602, #20250808110604)
  • Dependency upgrade: text-0.28.0 (#20250808105016, #20250808105023, #20250808105223, #20250808105316, #20250808105318, #20250808105415, #20250808105506, #20250808105532, #20250808105701, #20250808105732, #20250808105833, #20250808105844, #20250808105907, #20250808110040, #20250808110104, #20250808110147, #20250808110149)
  • Dependency upgrade: sys-0.35.0 (#20250808164822, #20250808164824)
  • Dependency upgrade: net-0.43.0 (#20250808190051, #20250808190104, #20250808190117, #20250808190156)
  • 🐛 [maps] Expand the Flatten function to support pointers (#20250811090744)

"1.111.0" (2025-08-07)

Features

  • commonerrors Add ErrFailed to be used as a generic error where an error is an expected and valid state that should be distinguished from a system error (#20250807151301)

"1.110.1" (2025-08-07)

Bugfixes

  • Dependency upgrade: timberjack-1.3.4 (#20250805144229, #20250805144235, #20250805144302)
  • 🐛 proc Make sure that invalid PIDs are ignored when stopping processes (#20250807104110)

"1.110.0" (2025-08-04)

Features

  • ✨ Add support for gracefully killing child processes (#20250731140445)
  • [collection] added collection functional operations Map, Filter, Reject, Reduce (#20250804122854)
  • [parallelisation] added parallelised collection functional operations Map, Filter, Reject (#20250804122923)
  • [proc] added a function to find processes based on name (#20250804130842)

"1.109.1" (2025-08-01)

Bugfixes

  • Dependency upgrade: v4-4.25.7 (#20250801105313, #20250801105328, #20250801105343, #20250801105356, #20250801105410, #20250801105424, #20250801105438, #20250801105448, #20250801105504, #20250801105514)
  • 🐛 filesystem IsFile should return true for special unix files not just regular files (#20250801151058)

"1.109.0" (2025-08-01)

Features

  • commonerrors Add IgnoreCorrespondTo function (#20250801105019)

Bugfixes

  • 🐛 [platform] make sure command with privileges are run when passwords are not needed (#20250731182237)
  • 🐛 [filesystem] make sure to unlink files when removal is called so that sockets are correctly closed (#20250731182404)
  • 🐛 filsystem Unlink files before attempting to remove them in Remove (#20250801093542)

"1.108.2" (2025-07-30)

Bugfixes

  • 🐛 logs Fix missing writer close skip (#20250729175928)

"1.108.1" (2025-07-30)

Bugfixes

  • 🐛 proc In process find, ignore processes that have stopped between listing and matching (#20250730095330)

"1.108.0" (2025-07-30)

Features

  • ✨ Add support for finding processes by their name/the command that was started (#20250729164750)

"1.107.2" (2025-07-29)

Bugfixes

  • 🐛 Fix zerolog closing the writer passed to it (#20250729141206)

"1.107.1" (2025-07-29)

Bugfixes

  • 🐛 Make sure that an improperly initialised cancel store doesn't cause a panic (#20250729105643)

"1.107.0" (2025-07-24)

Features

  • ✨ [logs] Added a rolling file logger (#20250723185203)

Bugfixes

  • ♻️ [logs] update slog utilities to use standard library slog rather than golang extension's implementation (#20250723181707)
  • ♻️ [logs] Update ways to not close writers when loggers close (#20250723182149)

"1.106.1" (2025-07-18)

Bugfixes

  • Dependency upgrade: pflag-1.0.7 (#20250717103618)
  • 🐛 [subprocess] Improve the error reporting when a process is cancelled (#20250718123400)

"1.106.0" (2025-07-16)

Features

  • [parallelisation] Create a store for closing functions so they can be done concurrently (#20250715185008)

"1.105.0" (2025-07-15)

Features

  • [proc] Add utilities to kill processes gracefully (#20250715105927)

Bugfixes

  • Dependency upgrade: net-0.42.0 (#20250711105137, #20250711105141, #20250711105204, #20250711105242, #20250711105325, #20250711105330, #20250711105356, #20250711105427, #20250711105453, #20250711105508, #20250711105526, #20250711105536, #20250711105553, #20250711105620)
  • 🐛 [subprocess] make sure child processes are killed on context cancellation (#20250714171923)
  • Dependency upgrade: v2-2.4.0 (#20250715104631, #20250715104636, #20250715104700, #20250715104703, #20250715104728, #20250715104734, #20250715104757, #20250715104800, #20250715104828, #20250715104831, #20250715104855, #20250715104905, #20250715104926, #20250715104941, #20250715104955, #20250715105009)

"1.104.1" (2025-07-11)

Bugfixes

  • Dependency upgrade: sync-0.16.0 (#20250710102318, #20250710102320)
  • Dependency upgrade: mod-0.26.0 (#20250710102324, #20250710102330, #20250710102353, #20250710102420, #20250710102532, #20250710102541, #20250710102625, #20250710102648, #20250710102700, #20250710102735, #20250710102815, #20250710102851, #20250710102902, #20250710102935, #20250710103004, #20250710103051, #20250710103107, #20250710103139, #20250710103155, #20250710103221, #20250710103234, #20250710103253, #20250710103309, #20250710103335, #20250710103344, #20250710103405, #20250710103417, #20250710103431, #20250710103449, #20250710103459, #20250710103519, #20250710103533, #20250710103546, #20250710103606, #20250710103613, #20250710103636, #20250710103642, #20250710103708, #20250710103725, #20250710103739, #20250710103755, #20250710103808, #20250710103822, #20250710103838, #20250710103855)
  • Dependency upgrade: sys-0.34.0 (#20250710102325, #20250710102331, #20250710102404, #20250710102429, #20250710102505, #20250710102559, #20250710102622, #20250710102641, #20250710102701, #20250710102737, #20250710102824, #20250710102837, #20250710102914, #20250710102929, #20250710103022, #20250710103030, #20250710103115)
  • Dependency upgrade: text-0.27.0 (#20250710200421, #20250710200424, #20250710200447, #20250710200456, #20250710200520, #20250710200528, #20250710200557, #20250710200559)
  • 🐛 [parallelisation] Clean cancel function store after functions have been cancelled (#20250710210822)

"1.104.0" (2025-07-10)

Features

  • ✨ Added a [encoding] module to help encode/decode strings (#20250709190241)

"1.103.1" (2025-07-08)

Bugfixes

  • 🐛 validation Make sure to expose validation rule as a validation.Rule (#20250708131716)

"1.103.0" (2025-07-08)

Features

  • validation Add validation rules (IsPort) for non-string values (#20250708093742)

Bugfixes

  • Dependency upgrade: v4-4.25.6 (#20250701105844, #20250701105848)

"1.102.0" (2025-06-30)

Features

  • [filesystem] Add filepath utilities to work across file-systems no matter the underlying platform (#20250627145431)

Bugfixes

  • Dependency upgrade: v2-2.3.0 (#20250617102123, #20250617102125)
  • Dependency upgrade: go-retryablehttp-0.7.8 (#20250619103030, #20250619103033, #20250619103055, #20250619103104, #20250619103126, #20250619103135, #20250619103153, #20250619103203, #20250619103221, #20250619103230, #20250619103248, #20250619103256, #20250619103318, #20250619103322, #20250619103346)
  • 🐛 [filesystem] fix bug when zipping a package on Windows and unzipping it on a different platform such as Linux (#20250627161647)

Misc

  • #20250613163053

"1.101.0" (2025-06-09)

Features

  • parallelisation Add wait with context function (#20250606172923)
  • subprocess Add interrupt with context and interrupt signal option (#20250606172951)

Bugfixes

  • Dependency upgrade: text-0.26.0 (#20250606100739)
  • Dependency upgrade: sync-0.15.0 (#20250606100752, #20250606100802, #20250606101530, #20250606101559, #20250606101945, #20250606102202, #20250606102228, #20250606102425, #2...
Read more

Release 1.111.0

07 Aug 18:08
Compare
Choose a tag to compare

!--
Copyright (C) 2020-2025 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->

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.111.0" (2025-08-07)

Features

  • commonerrors Add ErrFailed to be used as a generic error where an error is an expected and valid state that should be distinguished from a system error (#20250807151301)

"1.110.1" (2025-08-07)

Bugfixes

  • Dependency upgrade: timberjack-1.3.4 (#20250805144229, #20250805144235, #20250805144302)
  • 🐛 proc Make sure that invalid PIDs are ignored when stopping processes (#20250807104110)

"1.110.0" (2025-08-04)

Features

  • ✨ Add support for gracefully killing child processes (#20250731140445)
  • [collection] added collection functional operations Map, Filter, Reject, Reduce (#20250804122854)
  • [parallelisation] added parallelised collection functional operations Map, Filter, Reject (#20250804122923)
  • [proc] added a function to find processes based on name (#20250804130842)

"1.109.1" (2025-08-01)

Bugfixes

  • Dependency upgrade: v4-4.25.7 (#20250801105313, #20250801105328, #20250801105343, #20250801105356, #20250801105410, #20250801105424, #20250801105438, #20250801105448, #20250801105504, #20250801105514)
  • 🐛 filesystem IsFile should return true for special unix files not just regular files (#20250801151058)

"1.109.0" (2025-08-01)

Features

  • commonerrors Add IgnoreCorrespondTo function (#20250801105019)

Bugfixes

  • 🐛 [platform] make sure command with privileges are run when passwords are not needed (#20250731182237)
  • 🐛 [filesystem] make sure to unlink files when removal is called so that sockets are correctly closed (#20250731182404)
  • 🐛 filsystem Unlink files before attempting to remove them in Remove (#20250801093542)

"1.108.2" (2025-07-30)

Bugfixes

  • 🐛 logs Fix missing writer close skip (#20250729175928)

"1.108.1" (2025-07-30)

Bugfixes

  • 🐛 proc In process find, ignore processes that have stopped between listing and matching (#20250730095330)

"1.108.0" (2025-07-30)

Features

  • ✨ Add support for finding processes by their name/the command that was started (#20250729164750)

"1.107.2" (2025-07-29)

Bugfixes

  • 🐛 Fix zerolog closing the writer passed to it (#20250729141206)

"1.107.1" (2025-07-29)

Bugfixes

  • 🐛 Make sure that an improperly initialised cancel store doesn't cause a panic (#20250729105643)

"1.107.0" (2025-07-24)

Features

  • ✨ [logs] Added a rolling file logger (#20250723185203)

Bugfixes

  • ♻️ [logs] update slog utilities to use standard library slog rather than golang extension's implementation (#20250723181707)
  • ♻️ [logs] Update ways to not close writers when loggers close (#20250723182149)

"1.106.1" (2025-07-18)

Bugfixes

  • Dependency upgrade: pflag-1.0.7 (#20250717103618)
  • 🐛 [subprocess] Improve the error reporting when a process is cancelled (#20250718123400)

"1.106.0" (2025-07-16)

Features

  • [parallelisation] Create a store for closing functions so they can be done concurrently (#20250715185008)

"1.105.0" (2025-07-15)

Features

  • [proc] Add utilities to kill processes gracefully (#20250715105927)

Bugfixes

  • Dependency upgrade: net-0.42.0 (#20250711105137, #20250711105141, #20250711105204, #20250711105242, #20250711105325, #20250711105330, #20250711105356, #20250711105427, #20250711105453, #20250711105508, #20250711105526, #20250711105536, #20250711105553, #20250711105620)
  • 🐛 [subprocess] make sure child processes are killed on context cancellation (#20250714171923)
  • Dependency upgrade: v2-2.4.0 (#20250715104631, #20250715104636, #20250715104700, #20250715104703, #20250715104728, #20250715104734, #20250715104757, #20250715104800, #20250715104828, #20250715104831, #20250715104855, #20250715104905, #20250715104926, #20250715104941, #20250715104955, #20250715105009)

"1.104.1" (2025-07-11)

Bugfixes

  • Dependency upgrade: sync-0.16.0 (#20250710102318, #20250710102320)
  • Dependency upgrade: mod-0.26.0 (#20250710102324, #20250710102330, #20250710102353, #20250710102420, #20250710102532, #20250710102541, #20250710102625, #20250710102648, #20250710102700, #20250710102735, #20250710102815, #20250710102851, #20250710102902, #20250710102935, #20250710103004, #20250710103051, #20250710103107, #20250710103139, #20250710103155, #20250710103221, #20250710103234, #20250710103253, #20250710103309, #20250710103335, #20250710103344, #20250710103405, #20250710103417, #20250710103431, #20250710103449, #20250710103459, #20250710103519, #20250710103533, #20250710103546, #20250710103606, #20250710103613, #20250710103636, #20250710103642, #20250710103708, #20250710103725, #20250710103739, #20250710103755, #20250710103808, #20250710103822, #20250710103838, #20250710103855)
  • Dependency upgrade: sys-0.34.0 (#20250710102325, #20250710102331, #20250710102404, #20250710102429, #20250710102505, #20250710102559, #20250710102622, #20250710102641, #20250710102701, #20250710102737, #20250710102824, #20250710102837, #20250710102914, #20250710102929, #20250710103022, #20250710103030, #20250710103115)
  • Dependency upgrade: text-0.27.0 (#20250710200421, #20250710200424, #20250710200447, #20250710200456, #20250710200520, #20250710200528, #20250710200557, #20250710200559)
  • 🐛 [parallelisation] Clean cancel function store after functions have been cancelled (#20250710210822)

"1.104.0" (2025-07-10)

Features

  • ✨ Added a [encoding] module to help encode/decode strings (#20250709190241)

"1.103.1" (2025-07-08)

Bugfixes

  • 🐛 validation Make sure to expose validation rule as a validation.Rule (#20250708131716)

"1.103.0" (2025-07-08)

Features

  • validation Add validation rules (IsPort) for non-string values (#20250708093742)

Bugfixes

  • Dependency upgrade: v4-4.25.6 (#20250701105844, #20250701105848)

"1.102.0" (2025-06-30)

Features

  • [filesystem] Add filepath utilities to work across file-systems no matter the underlying platform (#20250627145431)

Bugfixes

  • Dependency upgrade: v2-2.3.0 (#20250617102123, #20250617102125)
  • Dependency upgrade: go-retryablehttp-0.7.8 (#20250619103030, #20250619103033, #20250619103055, #20250619103104, #20250619103126, #20250619103135, #20250619103153, #20250619103203, #20250619103221, #20250619103230, #20250619103248, #20250619103256, #20250619103318, #20250619103322, #20250619103346)
  • 🐛 [filesystem] fix bug when zipping a package on Windows and unzipping it on a different platform such as Linux (#20250627161647)

Misc

  • #20250613163053

"1.101.0" (2025-06-09)

Features

  • parallelisation Add wait with context function (#20250606172923)
  • subprocess Add interrupt with context and interrupt signal option (#20250606172951)

Bugfixes

  • Dependency upgrade: text-0.26.0 (#20250606100739)
  • Dependency upgrade: sync-0.15.0 (#20250606100752, #20250606100802, #20250606101530, #20250606101559, #20250606101945, #20250606102202, #20250606102228, #20250606102425, #20250606102710, #20250606103308, #20250606103450, #20250606103647, #20250606103826, #20250606104205, #20250606104534, #20250606104902, #20250606105224, #20250606105309, #20250606105739, #20250606110111, #20250606110332, #20250606110705, #20250606111043, #20250606111502, #20250606111722, #20250606111941, #20250606112339, #20250606112503, #20250606112652, #20250606113229, #20250606113421, #20250606113902, #20250606114048, #20250606114931, #20250606114958, #20250606115241, #20250606115600, #20250606120355, #20250606120450, #20250606120612, #20250606120720, #20250606120859, #20250606121614, #20250606121649, #20250606121708, #20250606121807, #20250606121815, #20250606121920, #20250606122001, #20250606122015, #20250606122046, #20250606122112, #20250606122147, #20250606122233, #20250606122747, #20250606122807, #20250606123021, #20250606123041, #20250606123048, #20250606123115, #20250606123141, #20250606123207, #20250606123218, #20250606123245, #20250606123317, #20250606123326, #20250606123349, #20250606123414, #20250606123433, #20250606123459, #20250606123524, #20250606123717, #20250606123744, #20250606123816, #20250606124014, #20250606124123, #20250606124254, #20250606124340, #20250606124412, #20250606124435, #20250606124523, #20250606124537, #20250606124637, #20250606124639)
  • Dependency upgrade: net-0.41.0 (#20250609114030, #20250609114033, #20250609114100, #20250609114106, #20250609114129, #20250609114134, #20250609114155, #20250609114204, #20250609114234)
  • Dependency upgrade: v5-5.16.2 (#20250609143427, #20250609143431, #20250609143452, #20250609143500, #20250609143522, #20250609143528, #20250609143553, #20250609143556, #20250609143628)

"1.100.0" (2025-06-06)

Features

  • subprocess Add support for terminat...
Read more

Release 1.110.1

07 Aug 10:01
Compare
Choose a tag to compare

!--
Copyright (C) 2020-2025 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->

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.110.1" (2025-08-07)

Bugfixes

  • Dependency upgrade: timberjack-1.3.4 (#20250805144229, #20250805144235, #20250805144302)
  • 🐛 proc Make sure that invalid PIDs are ignored when stopping processes (#20250807104110)

"1.110.0" (2025-08-04)

Features

  • ✨ Add support for gracefully killing child processes (#20250731140445)
  • [collection] added collection functional operations Map, Filter, Reject, Reduce (#20250804122854)
  • [parallelisation] added parallelised collection functional operations Map, Filter, Reject (#20250804122923)
  • [proc] added a function to find processes based on name (#20250804130842)

"1.109.1" (2025-08-01)

Bugfixes

  • Dependency upgrade: v4-4.25.7 (#20250801105313, #20250801105328, #20250801105343, #20250801105356, #20250801105410, #20250801105424, #20250801105438, #20250801105448, #20250801105504, #20250801105514)
  • 🐛 filesystem IsFile should return true for special unix files not just regular files (#20250801151058)

"1.109.0" (2025-08-01)

Features

  • commonerrors Add IgnoreCorrespondTo function (#20250801105019)

Bugfixes

  • 🐛 [platform] make sure command with privileges are run when passwords are not needed (#20250731182237)
  • 🐛 [filesystem] make sure to unlink files when removal is called so that sockets are correctly closed (#20250731182404)
  • 🐛 filsystem Unlink files before attempting to remove them in Remove (#20250801093542)

"1.108.2" (2025-07-30)

Bugfixes

  • 🐛 logs Fix missing writer close skip (#20250729175928)

"1.108.1" (2025-07-30)

Bugfixes

  • 🐛 proc In process find, ignore processes that have stopped between listing and matching (#20250730095330)

"1.108.0" (2025-07-30)

Features

  • ✨ Add support for finding processes by their name/the command that was started (#20250729164750)

"1.107.2" (2025-07-29)

Bugfixes

  • 🐛 Fix zerolog closing the writer passed to it (#20250729141206)

"1.107.1" (2025-07-29)

Bugfixes

  • 🐛 Make sure that an improperly initialised cancel store doesn't cause a panic (#20250729105643)

"1.107.0" (2025-07-24)

Features

  • ✨ [logs] Added a rolling file logger (#20250723185203)

Bugfixes

  • ♻️ [logs] update slog utilities to use standard library slog rather than golang extension's implementation (#20250723181707)
  • ♻️ [logs] Update ways to not close writers when loggers close (#20250723182149)

"1.106.1" (2025-07-18)

Bugfixes

  • Dependency upgrade: pflag-1.0.7 (#20250717103618)
  • 🐛 [subprocess] Improve the error reporting when a process is cancelled (#20250718123400)

"1.106.0" (2025-07-16)

Features

  • [parallelisation] Create a store for closing functions so they can be done concurrently (#20250715185008)

"1.105.0" (2025-07-15)

Features

  • [proc] Add utilities to kill processes gracefully (#20250715105927)

Bugfixes

  • Dependency upgrade: net-0.42.0 (#20250711105137, #20250711105141, #20250711105204, #20250711105242, #20250711105325, #20250711105330, #20250711105356, #20250711105427, #20250711105453, #20250711105508, #20250711105526, #20250711105536, #20250711105553, #20250711105620)
  • 🐛 [subprocess] make sure child processes are killed on context cancellation (#20250714171923)
  • Dependency upgrade: v2-2.4.0 (#20250715104631, #20250715104636, #20250715104700, #20250715104703, #20250715104728, #20250715104734, #20250715104757, #20250715104800, #20250715104828, #20250715104831, #20250715104855, #20250715104905, #20250715104926, #20250715104941, #20250715104955, #20250715105009)

"1.104.1" (2025-07-11)

Bugfixes

  • Dependency upgrade: sync-0.16.0 (#20250710102318, #20250710102320)
  • Dependency upgrade: mod-0.26.0 (#20250710102324, #20250710102330, #20250710102353, #20250710102420, #20250710102532, #20250710102541, #20250710102625, #20250710102648, #20250710102700, #20250710102735, #20250710102815, #20250710102851, #20250710102902, #20250710102935, #20250710103004, #20250710103051, #20250710103107, #20250710103139, #20250710103155, #20250710103221, #20250710103234, #20250710103253, #20250710103309, #20250710103335, #20250710103344, #20250710103405, #20250710103417, #20250710103431, #20250710103449, #20250710103459, #20250710103519, #20250710103533, #20250710103546, #20250710103606, #20250710103613, #20250710103636, #20250710103642, #20250710103708, #20250710103725, #20250710103739, #20250710103755, #20250710103808, #20250710103822, #20250710103838, #20250710103855)
  • Dependency upgrade: sys-0.34.0 (#20250710102325, #20250710102331, #20250710102404, #20250710102429, #20250710102505, #20250710102559, #20250710102622, #20250710102641, #20250710102701, #20250710102737, #20250710102824, #20250710102837, #20250710102914, #20250710102929, #20250710103022, #20250710103030, #20250710103115)
  • Dependency upgrade: text-0.27.0 (#20250710200421, #20250710200424, #20250710200447, #20250710200456, #20250710200520, #20250710200528, #20250710200557, #20250710200559)
  • 🐛 [parallelisation] Clean cancel function store after functions have been cancelled (#20250710210822)

"1.104.0" (2025-07-10)

Features

  • ✨ Added a [encoding] module to help encode/decode strings (#20250709190241)

"1.103.1" (2025-07-08)

Bugfixes

  • 🐛 validation Make sure to expose validation rule as a validation.Rule (#20250708131716)

"1.103.0" (2025-07-08)

Features

  • validation Add validation rules (IsPort) for non-string values (#20250708093742)

Bugfixes

  • Dependency upgrade: v4-4.25.6 (#20250701105844, #20250701105848)

"1.102.0" (2025-06-30)

Features

  • [filesystem] Add filepath utilities to work across file-systems no matter the underlying platform (#20250627145431)

Bugfixes

  • Dependency upgrade: v2-2.3.0 (#20250617102123, #20250617102125)
  • Dependency upgrade: go-retryablehttp-0.7.8 (#20250619103030, #20250619103033, #20250619103055, #20250619103104, #20250619103126, #20250619103135, #20250619103153, #20250619103203, #20250619103221, #20250619103230, #20250619103248, #20250619103256, #20250619103318, #20250619103322, #20250619103346)
  • 🐛 [filesystem] fix bug when zipping a package on Windows and unzipping it on a different platform such as Linux (#20250627161647)

Misc

  • #20250613163053

"1.101.0" (2025-06-09)

Features

  • parallelisation Add wait with context function (#20250606172923)
  • subprocess Add interrupt with context and interrupt signal option (#20250606172951)

Bugfixes

  • Dependency upgrade: text-0.26.0 (#20250606100739)
  • Dependency upgrade: sync-0.15.0 (#20250606100752, #20250606100802, #20250606101530, #20250606101559, #20250606101945, #20250606102202, #20250606102228, #20250606102425, #20250606102710, #20250606103308, #20250606103450, #20250606103647, #20250606103826, #20250606104205, #20250606104534, #20250606104902, #20250606105224, #20250606105309, #20250606105739, #20250606110111, #20250606110332, #20250606110705, #20250606111043, #20250606111502, #20250606111722, #20250606111941, #20250606112339, #20250606112503, #20250606112652, #20250606113229, #20250606113421, #20250606113902, #20250606114048, #20250606114931, #20250606114958, #20250606115241, #20250606115600, #20250606120355, #20250606120450, #20250606120612, #20250606120720, #20250606120859, #20250606121614, #20250606121649, #20250606121708, #20250606121807, #20250606121815, #20250606121920, #20250606122001, #20250606122015, #20250606122046, #20250606122112, #20250606122147, #20250606122233, #20250606122747, #20250606122807, #20250606123021, #20250606123041, #20250606123048, #20250606123115, #20250606123141, #20250606123207, #20250606123218, #20250606123245, #20250606123317, #20250606123326, #20250606123349, #20250606123414, #20250606123433, #20250606123459, #20250606123524, #20250606123717, #20250606123744, #20250606123816, #20250606124014, #20250606124123, #20250606124254, #20250606124340, #20250606124412, #20250606124435, #20250606124523, #20250606124537, #20250606124637, #20250606124639)
  • Dependency upgrade: net-0.41.0 (#20250609114030, #20250609114033, #20250609114100, #20250609114106, #20250609114129, #20250609114134, #20250609114155, #20250609114204, #20250609114234)
  • Dependency upgrade: v5-5.16.2 (#20250609143427, #20250609143431, #20250609143452, #20250609143500, #20250609143522, #20250609143528, #20250609143553, #20250609143556, #20250609143628)

"1.100.0" (2025-06-06)

Features

  • subprocess Add support for terminating processes instead of killing them (#20250530171020)
  • ✨ Introducing [diodes] module which is a copy of cloud foundary's library. (#20250604202816)
  • [parallelisation] Added a `WaitUn...
Read more

Release 1.110.0

04 Aug 13:27
Compare
Choose a tag to compare

!--
Copyright (C) 2020-2025 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->

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.110.0" (2025-08-04)

Features

  • ✨ Add support for gracefully killing child processes (#20250731140445)
  • [collection] added collection functional operations Map, Filter, Reject, Reduce (#20250804122854)
  • [parallelisation] added parallelised collection functional operations Map, Filter, Reject (#20250804122923)
  • [proc] added a function to find processes based on name (#20250804130842)

"1.109.1" (2025-08-01)

Bugfixes

  • Dependency upgrade: v4-4.25.7 (#20250801105313, #20250801105328, #20250801105343, #20250801105356, #20250801105410, #20250801105424, #20250801105438, #20250801105448, #20250801105504, #20250801105514)
  • 🐛 filesystem IsFile should return true for special unix files not just regular files (#20250801151058)

"1.109.0" (2025-08-01)

Features

  • commonerrors Add IgnoreCorrespondTo function (#20250801105019)

Bugfixes

  • 🐛 [platform] make sure command with privileges are run when passwords are not needed (#20250731182237)
  • 🐛 [filesystem] make sure to unlink files when removal is called so that sockets are correctly closed (#20250731182404)
  • 🐛 filsystem Unlink files before attempting to remove them in Remove (#20250801093542)

"1.108.2" (2025-07-30)

Bugfixes

  • 🐛 logs Fix missing writer close skip (#20250729175928)

"1.108.1" (2025-07-30)

Bugfixes

  • 🐛 proc In process find, ignore processes that have stopped between listing and matching (#20250730095330)

"1.108.0" (2025-07-30)

Features

  • ✨ Add support for finding processes by their name/the command that was started (#20250729164750)

"1.107.2" (2025-07-29)

Bugfixes

  • 🐛 Fix zerolog closing the writer passed to it (#20250729141206)

"1.107.1" (2025-07-29)

Bugfixes

  • 🐛 Make sure that an improperly initialised cancel store doesn't cause a panic (#20250729105643)

"1.107.0" (2025-07-24)

Features

  • ✨ [logs] Added a rolling file logger (#20250723185203)

Bugfixes

  • ♻️ [logs] update slog utilities to use standard library slog rather than golang extension's implementation (#20250723181707)
  • ♻️ [logs] Update ways to not close writers when loggers close (#20250723182149)

"1.106.1" (2025-07-18)

Bugfixes

  • Dependency upgrade: pflag-1.0.7 (#20250717103618)
  • 🐛 [subprocess] Improve the error reporting when a process is cancelled (#20250718123400)

"1.106.0" (2025-07-16)

Features

  • [parallelisation] Create a store for closing functions so they can be done concurrently (#20250715185008)

"1.105.0" (2025-07-15)

Features

  • [proc] Add utilities to kill processes gracefully (#20250715105927)

Bugfixes

  • Dependency upgrade: net-0.42.0 (#20250711105137, #20250711105141, #20250711105204, #20250711105242, #20250711105325, #20250711105330, #20250711105356, #20250711105427, #20250711105453, #20250711105508, #20250711105526, #20250711105536, #20250711105553, #20250711105620)
  • 🐛 [subprocess] make sure child processes are killed on context cancellation (#20250714171923)
  • Dependency upgrade: v2-2.4.0 (#20250715104631, #20250715104636, #20250715104700, #20250715104703, #20250715104728, #20250715104734, #20250715104757, #20250715104800, #20250715104828, #20250715104831, #20250715104855, #20250715104905, #20250715104926, #20250715104941, #20250715104955, #20250715105009)

"1.104.1" (2025-07-11)

Bugfixes

  • Dependency upgrade: sync-0.16.0 (#20250710102318, #20250710102320)
  • Dependency upgrade: mod-0.26.0 (#20250710102324, #20250710102330, #20250710102353, #20250710102420, #20250710102532, #20250710102541, #20250710102625, #20250710102648, #20250710102700, #20250710102735, #20250710102815, #20250710102851, #20250710102902, #20250710102935, #20250710103004, #20250710103051, #20250710103107, #20250710103139, #20250710103155, #20250710103221, #20250710103234, #20250710103253, #20250710103309, #20250710103335, #20250710103344, #20250710103405, #20250710103417, #20250710103431, #20250710103449, #20250710103459, #20250710103519, #20250710103533, #20250710103546, #20250710103606, #20250710103613, #20250710103636, #20250710103642, #20250710103708, #20250710103725, #20250710103739, #20250710103755, #20250710103808, #20250710103822, #20250710103838, #20250710103855)
  • Dependency upgrade: sys-0.34.0 (#20250710102325, #20250710102331, #20250710102404, #20250710102429, #20250710102505, #20250710102559, #20250710102622, #20250710102641, #20250710102701, #20250710102737, #20250710102824, #20250710102837, #20250710102914, #20250710102929, #20250710103022, #20250710103030, #20250710103115)
  • Dependency upgrade: text-0.27.0 (#20250710200421, #20250710200424, #20250710200447, #20250710200456, #20250710200520, #20250710200528, #20250710200557, #20250710200559)
  • 🐛 [parallelisation] Clean cancel function store after functions have been cancelled (#20250710210822)

"1.104.0" (2025-07-10)

Features

  • ✨ Added a [encoding] module to help encode/decode strings (#20250709190241)

"1.103.1" (2025-07-08)

Bugfixes

  • 🐛 validation Make sure to expose validation rule as a validation.Rule (#20250708131716)

"1.103.0" (2025-07-08)

Features

  • validation Add validation rules (IsPort) for non-string values (#20250708093742)

Bugfixes

  • Dependency upgrade: v4-4.25.6 (#20250701105844, #20250701105848)

"1.102.0" (2025-06-30)

Features

  • [filesystem] Add filepath utilities to work across file-systems no matter the underlying platform (#20250627145431)

Bugfixes

  • Dependency upgrade: v2-2.3.0 (#20250617102123, #20250617102125)
  • Dependency upgrade: go-retryablehttp-0.7.8 (#20250619103030, #20250619103033, #20250619103055, #20250619103104, #20250619103126, #20250619103135, #20250619103153, #20250619103203, #20250619103221, #20250619103230, #20250619103248, #20250619103256, #20250619103318, #20250619103322, #20250619103346)
  • 🐛 [filesystem] fix bug when zipping a package on Windows and unzipping it on a different platform such as Linux (#20250627161647)

Misc

  • #20250613163053

"1.101.0" (2025-06-09)

Features

  • parallelisation Add wait with context function (#20250606172923)
  • subprocess Add interrupt with context and interrupt signal option (#20250606172951)

Bugfixes

  • Dependency upgrade: text-0.26.0 (#20250606100739)
  • Dependency upgrade: sync-0.15.0 (#20250606100752, #20250606100802, #20250606101530, #20250606101559, #20250606101945, #20250606102202, #20250606102228, #20250606102425, #20250606102710, #20250606103308, #20250606103450, #20250606103647, #20250606103826, #20250606104205, #20250606104534, #20250606104902, #20250606105224, #20250606105309, #20250606105739, #20250606110111, #20250606110332, #20250606110705, #20250606111043, #20250606111502, #20250606111722, #20250606111941, #20250606112339, #20250606112503, #20250606112652, #20250606113229, #20250606113421, #20250606113902, #20250606114048, #20250606114931, #20250606114958, #20250606115241, #20250606115600, #20250606120355, #20250606120450, #20250606120612, #20250606120720, #20250606120859, #20250606121614, #20250606121649, #20250606121708, #20250606121807, #20250606121815, #20250606121920, #20250606122001, #20250606122015, #20250606122046, #20250606122112, #20250606122147, #20250606122233, #20250606122747, #20250606122807, #20250606123021, #20250606123041, #20250606123048, #20250606123115, #20250606123141, #20250606123207, #20250606123218, #20250606123245, #20250606123317, #20250606123326, #20250606123349, #20250606123414, #20250606123433, #20250606123459, #20250606123524, #20250606123717, #20250606123744, #20250606123816, #20250606124014, #20250606124123, #20250606124254, #20250606124340, #20250606124412, #20250606124435, #20250606124523, #20250606124537, #20250606124637, #20250606124639)
  • Dependency upgrade: net-0.41.0 (#20250609114030, #20250609114033, #20250609114100, #20250609114106, #20250609114129, #20250609114134, #20250609114155, #20250609114204, #20250609114234)
  • Dependency upgrade: v5-5.16.2 (#20250609143427, #20250609143431, #20250609143452, #20250609143500, #20250609143522, #20250609143528, #20250609143553, #20250609143556, #20250609143628)

"1.100.0" (2025-06-06)

Features

  • subprocess Add support for terminating processes instead of killing them (#20250530171020)
  • ✨ Introducing [diodes] module which is a copy of cloud foundary's library. (#20250604202816)
  • [parallelisation] Added a WaitUntil utility (#20250606090227)

"1.99.0" (2025-06-05)

Features

  • logs Add support for reading line by line in FIFO reader (#20250530105438)
  • ✨ [hashing] adding some utilities to incorporate context p...
Read more