Skip to content

Releases: ARM-software/golang-utils

Release 1.60.0

01 Feb 10:05
Compare
Choose a tag to compare

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.60.0" (2024-02-01)

Features

  • [subprocess] Enable specifying additional environment variables for the subprocess to run with (#20240131182504)

Bugfixes

  • Dependency upgrade: upload-artifact-4.2.0 (#20240119112633, #20240119112639, #20240119112704, #20240119112707, #20240119112734, #20240119112735)
  • Dependency upgrade: upload-artifact-4.3.0 (#20240124111907, #20240124111909)
  • 🐛 subprocess Fix issue where subprocess.Output results in data race if the output prints to both stderr and stdout (#20240131145019)
  • 🐛 logs Fix mutex lock in multipleLoggers as it was using a read only lock in situation where loggers can actually be accessing the same underlying resource (#20240131151659)

"1.59.0" (2024-01-18)

Features

  • [filesystem] Add a way to convert filesystem.File to *os.File for legacy functions which have not moved to using fs.File (#20240118145043)

Bugfixes

  • Dependency upgrade: upload-artifact-4.1.0 (#20240115110713, #20240115110715)
  • Dependency upgrade: cache-4 (#20240118113611, #20240118113618, #20240118113643, #20240118113652, #20240118113722, #20240118113725, #20240118113752, #20240118113756, #20240118113825)

"1.58.1" (2024-01-09)

Bugfixes

  • Dependency upgrade: sync-0.6.0 (#20240105111531, #20240105111535, #20240105111601, #20240105111604)
  • Dependency upgrade: sys-0.16.0 (#20240105111543, #20240105111553, #20240105111617, #20240105111623, #20240105111644, #20240105111707, #20240105111723, #20240105111747, #20240105111752, #20240105111820, #20240105111823)
  • Dependency upgrade: circl-1.3.7 (#20240108164844, #20240108164847, #20240108164923)
  • Dependency upgrade: crypto-0.18.0 (#20240109110409, #20240109110411)
  • Dependency upgrade: oauth2-0.16.0 (#20240109110414, #20240109110424, #20240109110444, #20240109110523)

"1.58.0" (2024-01-04)

Features

  • [filesystem] Add validation rules to verify if a value is a valid path (#20240104152047)

"1.57.3" (2024-01-02)

Bugfixes

  • Dependency upgrade: viper-1.18.2 (#20231229155828)
  • Dependency upgrade: v3-3.23.12 (#20240101111525, #20240101111534, #20240101111552, #20240101111606, #20240101111654, #20240101111715, #20240101111732, #20240101111759, #20240101111826, #20240101111849, #20240101111912, #20240101111942, #20240101112010, #20240101112036, #20240101112050, #20240101112114, #20240101112141, #20240101112205, #20240101112229, #20240101112248, #20240101112314, #20240101112348, #20240101112404, #20240101112421, #20240101112452, #20240101112514, #20240101112545, #20240101112612, #20240101112641, #20240101112649, #20240101112721, #20240101112743, #20240101112804, #20240101112827, #20240101112847, #20240101112915, #20240101112941, #20240101113006, #20240101113029, #20240101113100, #20240101113130, #20240101113146, #20240101113208, #20240101113235, #20240101113300, #20240101113323, #20240101113345, #20240101113412, #20240101113424, #20240101113458, #20240101113512, #20240101113550, #20240101113551)
  • Dependency upgrade: logr-1.4.1 (#20240102110544)

"1.57.2" (2023-12-29)

Bugfixes

  • Dependency upgrade: crypto-0.17.0 (#20231219000550, #20231219000559, #20231219000638)
  • Dependency upgrade: logr-1.4.0 (#20231221111020, #20231221111026, #20231221111051, #20231221111055, #20231221111125, #20231221111128, #20231221111158, #20231221111210, #20231221111228, #20231221111241, #20231221111300, #20231221111312, #20231221111332, #20231221111346, #20231221111410, #20231221111414, #20231221111440, #20231221111444, #20231221111518)

"1.57.1" (2023-12-18)

Bugfixes

  • Dependency upgrade: upload-artifact-4.0.0 (#20231215112028, #20231215112029)
  • Dependency upgrade: viper-1.18.1 (#20231215113818, #20231215113821, #20231215113850)
  • Dependency upgrade: go-hclog-1.6.2 (#20231215113833, #20231215113839, #20231215113908, #20231215113913, #20231215113942, #20231215113956, #20231215114026, #20231215114044, #20231215114054, #20231215114112, #20231215114122, #20231215114144, #20231215114150, #20231215114218)

"1.57.0" (2023-12-14)

Features

  • ✨ [http] Add support for using a custom HTTP client as the base for the retryable HTTP client (#20231214113956)
  • ✨ [http] Add NewRetryableOauthClient for creating a retryable client with OAuth2 token headers (#20231214114035)

Bugfixes

  • Dependency upgrade: go-hclog-1.6.1 (#20231205115603, #20231205115604)
  • Dependency upgrade: viper-1.18.0 (#20231207114443)
  • Dependency upgrade: setup-go-5 (#20231207115845, #20231207115850, #20231207115920, #20231207115931, #20231207115948, #20231207120002, #20231207120018, #20231207120030, #20231207120048, #20231207120102, #20231207120120, #20231207120136, #20231207120153, #20231207120206, #20231207120220, #20231207120242, #20231207120251, #20231207120311, #20231207120323, #20231207120343, #20231207120352, #20231207120412, #20231207120421, #20231207120442, #20231207120455, #20231207120524, #20231207120529, #20231207120644)
  • Dependency upgrade: setup-python-5 (#20231207115854)
  • Dependency upgrade: v5-5.11.0 (#20231211114542, #20231211114544)
  • Dependency upgrade: codeql-action-3 (#20231214112333, #20231214112339, #20231214112408)

"1.56.1" (2023-12-04)

Bugfixes

  • Dependency upgrade: sys-0.15.0 (#20231128113135)
  • Dependency upgrade: crypto-0.16.0 (#20231128113154, #20231128113156)
  • Dependency upgrade: v5-5.10.1 (#20231128113208, #20231128113220, #20231128113303, #20231128113359, #20231128113430, #20231128113445, #20231128113510, #20231128113546, #20231128113623, #20231128113639, #20231128113707, #20231128113735, #20231128113803, #20231128113835, #20231128113908, #20231128113913, #20231128114002, #20231128114009, #20231128114055, #20231128114107, #20231128114145, #20231128114213, #20231128114240, #20231128114305, #20231128114331, #20231128114354, #20231128114424, #20231128114455, #20231128114513, #20231128114542, #20231128114609, #20231128114631, #20231128114657, #20231128114728, #20231128114756, #20231128114814, #20231128114846, #20231128114914, #20231128114942, #20231128115011, #20231128115030, #20231128115102, #20231128115132, #20231128115145, #20231128115213, #20231128115230, #20231128115320, #20231128115329, #20231128115405, #20231128115427, #20231128115533)
  • Dependency upgrade: v3-3.23.11 (#20231201111000, #20231201111004)
  • Dependency upgrade: net-0.19.0 (#20231204144621, #20231204144633, #20231204144705, #20231204144707)
  • Dependency upgrade: viper-1.17.0 (#20231204145320, #20231204145327, #20231204145349, #20231204145355, #20231204145443, #20231204145528, #20231204145636, #20231204145722, #20231204145752, #20231204145755)
  • Dependency upgrade: afero-1.11.0 (#20231204145333, #20231204145342, #20231204145408, #20231204145417, #20231204145552)

"1.56.0" (2023-11-13)

Features

  • ✨ [logs] Add a logr.Logger quiet logger to only log errors (#20231113111138)

"1.55.0" (2023-11-13)

Features

  • [logs] Allow logrusr options to be set in NewLogrusLogger (#20231112110816)

"1.54.1" (2023-11-10)

Bugfixes

  • Dependency upgrade: zapr-1.3.0 (#20231103112832)
  • Dependency upgrade: text-0.14.0 (#20231106112638, #20231106112656, #20231106112715, #20231106112751, #20231106112800, #20231106112959, #20231106113031, #20231106113129, #20231106113156, #20231106113316, #20231106113342, #20231106113457, #20231106113533, #20231106113625, #20231106113654, #20231106113716, #20231106113816, #20231106113855, #20231106113923, #20231106114017)
  • Dependency upgrade: v4-4.1.0 (#20231106112647, #20231106112651)
  • Dependency upgrade: sys-0.14.0 (#20231106112719, #20231106112822, #20231106112858, #20231106113036, #20231106113051, #20231106113205, #20231106113224, #20231106113352, #20231106113359, #20231106113530, #20231106113610, #20231106113641, #20231106113713, #20231106113737, #20231106113823, #20231106113925, #20231106114004, #20231106114022, #20231106114034, #20231106114105, #20231106114141, #20231106114225, #20231106114233, #20231106114307, #20231106114313, #20231106114336, #20231106114350, #20231106114416, #20231106114443, #20231106114503, #20231106114519, #20231106114542, #20231106114602, #20231106114624, #20231106114644, #20231106114707, #20231106114726, #20231106114746, #20231106114804, #20231106114829, #20231106114841, #20231106114916, #20231106114927, #20231106114946, #20231106115001, #20231106115016, #20231106115035, #20231106115048, #20231106115109, #20231106115124, #20231106115148, #20231106115211, #20231106115248)
  • Dependency upgrade: sync-0.5.0 (#20231106112721, #20231106112727, #20231106112915, #20231106112952, #20231106113103, #20231106113118, #20231106113238, #20231106113241, #20231106113437)
  • Dependency upgrade: net-0.18.0 (#20231109113028, #20231109113112)
  • Dependency upgrade: net-0.18.0, crypto-0.15.0 (#20231109113034)
  • Dependency upgrade: crypto-0.15.0 (#20231109113042, #20231109113107, #20231109113125, #20231109113142, #20231109113215, #20231109113235, #20231109113248, #20231109113337, #20231109113346, #20231109113411, #20231109113437, #20231109113500, #20231109113530)
  • Dependency upgrade: v5-5.10.0 (#20231110093334, #20231110093337)
  • Dependency upgrade: go-retryablehttp-0.7.5 (#20231110114042, #20231110114045, #20231110114117)

"1.54.0" (2023-11-02)
============...

Read more

Release 1.59.0

18 Jan 15:58
Compare
Choose a tag to compare

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.59.0" (2024-01-18)

Features

  • [filesystem] Add a way to convert filesystem.File to *os.File for legacy functions which have not moved to using fs.File (#20240118145043)

Bugfixes

  • Dependency upgrade: upload-artifact-4.1.0 (#20240115110713, #20240115110715)
  • Dependency upgrade: cache-4 (#20240118113611, #20240118113618, #20240118113643, #20240118113652, #20240118113722, #20240118113725, #20240118113752, #20240118113756, #20240118113825)

"1.58.1" (2024-01-09)

Bugfixes

  • Dependency upgrade: sync-0.6.0 (#20240105111531, #20240105111535, #20240105111601, #20240105111604)
  • Dependency upgrade: sys-0.16.0 (#20240105111543, #20240105111553, #20240105111617, #20240105111623, #20240105111644, #20240105111707, #20240105111723, #20240105111747, #20240105111752, #20240105111820, #20240105111823)
  • Dependency upgrade: circl-1.3.7 (#20240108164844, #20240108164847, #20240108164923)
  • Dependency upgrade: crypto-0.18.0 (#20240109110409, #20240109110411)
  • Dependency upgrade: oauth2-0.16.0 (#20240109110414, #20240109110424, #20240109110444, #20240109110523)

"1.58.0" (2024-01-04)

Features

  • [filesystem] Add validation rules to verify if a value is a valid path (#20240104152047)

"1.57.3" (2024-01-02)

Bugfixes

  • Dependency upgrade: viper-1.18.2 (#20231229155828)
  • Dependency upgrade: v3-3.23.12 (#20240101111525, #20240101111534, #20240101111552, #20240101111606, #20240101111654, #20240101111715, #20240101111732, #20240101111759, #20240101111826, #20240101111849, #20240101111912, #20240101111942, #20240101112010, #20240101112036, #20240101112050, #20240101112114, #20240101112141, #20240101112205, #20240101112229, #20240101112248, #20240101112314, #20240101112348, #20240101112404, #20240101112421, #20240101112452, #20240101112514, #20240101112545, #20240101112612, #20240101112641, #20240101112649, #20240101112721, #20240101112743, #20240101112804, #20240101112827, #20240101112847, #20240101112915, #20240101112941, #20240101113006, #20240101113029, #20240101113100, #20240101113130, #20240101113146, #20240101113208, #20240101113235, #20240101113300, #20240101113323, #20240101113345, #20240101113412, #20240101113424, #20240101113458, #20240101113512, #20240101113550, #20240101113551)
  • Dependency upgrade: logr-1.4.1 (#20240102110544)

"1.57.2" (2023-12-29)

Bugfixes

  • Dependency upgrade: crypto-0.17.0 (#20231219000550, #20231219000559, #20231219000638)
  • Dependency upgrade: logr-1.4.0 (#20231221111020, #20231221111026, #20231221111051, #20231221111055, #20231221111125, #20231221111128, #20231221111158, #20231221111210, #20231221111228, #20231221111241, #20231221111300, #20231221111312, #20231221111332, #20231221111346, #20231221111410, #20231221111414, #20231221111440, #20231221111444, #20231221111518)

"1.57.1" (2023-12-18)

Bugfixes

  • Dependency upgrade: upload-artifact-4.0.0 (#20231215112028, #20231215112029)
  • Dependency upgrade: viper-1.18.1 (#20231215113818, #20231215113821, #20231215113850)
  • Dependency upgrade: go-hclog-1.6.2 (#20231215113833, #20231215113839, #20231215113908, #20231215113913, #20231215113942, #20231215113956, #20231215114026, #20231215114044, #20231215114054, #20231215114112, #20231215114122, #20231215114144, #20231215114150, #20231215114218)

"1.57.0" (2023-12-14)

Features

  • ✨ [http] Add support for using a custom HTTP client as the base for the retryable HTTP client (#20231214113956)
  • ✨ [http] Add NewRetryableOauthClient for creating a retryable client with OAuth2 token headers (#20231214114035)

Bugfixes

  • Dependency upgrade: go-hclog-1.6.1 (#20231205115603, #20231205115604)
  • Dependency upgrade: viper-1.18.0 (#20231207114443)
  • Dependency upgrade: setup-go-5 (#20231207115845, #20231207115850, #20231207115920, #20231207115931, #20231207115948, #20231207120002, #20231207120018, #20231207120030, #20231207120048, #20231207120102, #20231207120120, #20231207120136, #20231207120153, #20231207120206, #20231207120220, #20231207120242, #20231207120251, #20231207120311, #20231207120323, #20231207120343, #20231207120352, #20231207120412, #20231207120421, #20231207120442, #20231207120455, #20231207120524, #20231207120529, #20231207120644)
  • Dependency upgrade: setup-python-5 (#20231207115854)
  • Dependency upgrade: v5-5.11.0 (#20231211114542, #20231211114544)
  • Dependency upgrade: codeql-action-3 (#20231214112333, #20231214112339, #20231214112408)

"1.56.1" (2023-12-04)

Bugfixes

  • Dependency upgrade: sys-0.15.0 (#20231128113135)
  • Dependency upgrade: crypto-0.16.0 (#20231128113154, #20231128113156)
  • Dependency upgrade: v5-5.10.1 (#20231128113208, #20231128113220, #20231128113303, #20231128113359, #20231128113430, #20231128113445, #20231128113510, #20231128113546, #20231128113623, #20231128113639, #20231128113707, #20231128113735, #20231128113803, #20231128113835, #20231128113908, #20231128113913, #20231128114002, #20231128114009, #20231128114055, #20231128114107, #20231128114145, #20231128114213, #20231128114240, #20231128114305, #20231128114331, #20231128114354, #20231128114424, #20231128114455, #20231128114513, #20231128114542, #20231128114609, #20231128114631, #20231128114657, #20231128114728, #20231128114756, #20231128114814, #20231128114846, #20231128114914, #20231128114942, #20231128115011, #20231128115030, #20231128115102, #20231128115132, #20231128115145, #20231128115213, #20231128115230, #20231128115320, #20231128115329, #20231128115405, #20231128115427, #20231128115533)
  • Dependency upgrade: v3-3.23.11 (#20231201111000, #20231201111004)
  • Dependency upgrade: net-0.19.0 (#20231204144621, #20231204144633, #20231204144705, #20231204144707)
  • Dependency upgrade: viper-1.17.0 (#20231204145320, #20231204145327, #20231204145349, #20231204145355, #20231204145443, #20231204145528, #20231204145636, #20231204145722, #20231204145752, #20231204145755)
  • Dependency upgrade: afero-1.11.0 (#20231204145333, #20231204145342, #20231204145408, #20231204145417, #20231204145552)

"1.56.0" (2023-11-13)

Features

  • ✨ [logs] Add a logr.Logger quiet logger to only log errors (#20231113111138)

"1.55.0" (2023-11-13)

Features

  • [logs] Allow logrusr options to be set in NewLogrusLogger (#20231112110816)

"1.54.1" (2023-11-10)

Bugfixes

  • Dependency upgrade: zapr-1.3.0 (#20231103112832)
  • Dependency upgrade: text-0.14.0 (#20231106112638, #20231106112656, #20231106112715, #20231106112751, #20231106112800, #20231106112959, #20231106113031, #20231106113129, #20231106113156, #20231106113316, #20231106113342, #20231106113457, #20231106113533, #20231106113625, #20231106113654, #20231106113716, #20231106113816, #20231106113855, #20231106113923, #20231106114017)
  • Dependency upgrade: v4-4.1.0 (#20231106112647, #20231106112651)
  • Dependency upgrade: sys-0.14.0 (#20231106112719, #20231106112822, #20231106112858, #20231106113036, #20231106113051, #20231106113205, #20231106113224, #20231106113352, #20231106113359, #20231106113530, #20231106113610, #20231106113641, #20231106113713, #20231106113737, #20231106113823, #20231106113925, #20231106114004, #20231106114022, #20231106114034, #20231106114105, #20231106114141, #20231106114225, #20231106114233, #20231106114307, #20231106114313, #20231106114336, #20231106114350, #20231106114416, #20231106114443, #20231106114503, #20231106114519, #20231106114542, #20231106114602, #20231106114624, #20231106114644, #20231106114707, #20231106114726, #20231106114746, #20231106114804, #20231106114829, #20231106114841, #20231106114916, #20231106114927, #20231106114946, #20231106115001, #20231106115016, #20231106115035, #20231106115048, #20231106115109, #20231106115124, #20231106115148, #20231106115211, #20231106115248)
  • Dependency upgrade: sync-0.5.0 (#20231106112721, #20231106112727, #20231106112915, #20231106112952, #20231106113103, #20231106113118, #20231106113238, #20231106113241, #20231106113437)
  • Dependency upgrade: net-0.18.0 (#20231109113028, #20231109113112)
  • Dependency upgrade: net-0.18.0, crypto-0.15.0 (#20231109113034)
  • Dependency upgrade: crypto-0.15.0 (#20231109113042, #20231109113107, #20231109113125, #20231109113142, #20231109113215, #20231109113235, #20231109113248, #20231109113337, #20231109113346, #20231109113411, #20231109113437, #20231109113500, #20231109113530)
  • Dependency upgrade: v5-5.10.0 (#20231110093334, #20231110093337)
  • Dependency upgrade: go-retryablehttp-0.7.5 (#20231110114042, #20231110114045, #20231110114117)

"1.54.0" (2023-11-02)

Features

  • ✨ [filesystem] Add recursive methods for changing mode and ownership (#20231101113816)
  • ✨ [filesystem] Add Touch function to create empty files (#20231101113838)
  • ✨ [filesystem] Add Glob function to search for items which names match a glob pattern (#20231101113928)

Bugfixes

  • Dependency upgrade: v3-3.23.10 (#20231101111226)

"1.53.0" (2023-10-30)

Features

  • [platform] Add parameter substitution utilities for all platform (#20231029203453)
  • [environment] Add utilities to manipulate environment variable collections (#20231029203455)
  • ✨ [platform] Add portable variable name validation (#20231030114112)
    ...
Read more

Release 1.58.1

09 Jan 11:50
Compare
Choose a tag to compare

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.58.1" (2024-01-09)

Bugfixes

  • Dependency upgrade: sync-0.6.0 (#20240105111531, #20240105111535, #20240105111601, #20240105111604)
  • Dependency upgrade: sys-0.16.0 (#20240105111543, #20240105111553, #20240105111617, #20240105111623, #20240105111644, #20240105111707, #20240105111723, #20240105111747, #20240105111752, #20240105111820, #20240105111823)
  • Dependency upgrade: circl-1.3.7 (#20240108164844, #20240108164847, #20240108164923)
  • Dependency upgrade: crypto-0.18.0 (#20240109110409, #20240109110411)
  • Dependency upgrade: oauth2-0.16.0 (#20240109110414, #20240109110424, #20240109110444, #20240109110523)

"1.58.0" (2024-01-04)

Features

  • [filesystem] Add validation rules to verify if a value is a valid path (#20240104152047)

"1.57.3" (2024-01-02)

Bugfixes

  • Dependency upgrade: viper-1.18.2 (#20231229155828)
  • Dependency upgrade: v3-3.23.12 (#20240101111525, #20240101111534, #20240101111552, #20240101111606, #20240101111654, #20240101111715, #20240101111732, #20240101111759, #20240101111826, #20240101111849, #20240101111912, #20240101111942, #20240101112010, #20240101112036, #20240101112050, #20240101112114, #20240101112141, #20240101112205, #20240101112229, #20240101112248, #20240101112314, #20240101112348, #20240101112404, #20240101112421, #20240101112452, #20240101112514, #20240101112545, #20240101112612, #20240101112641, #20240101112649, #20240101112721, #20240101112743, #20240101112804, #20240101112827, #20240101112847, #20240101112915, #20240101112941, #20240101113006, #20240101113029, #20240101113100, #20240101113130, #20240101113146, #20240101113208, #20240101113235, #20240101113300, #20240101113323, #20240101113345, #20240101113412, #20240101113424, #20240101113458, #20240101113512, #20240101113550, #20240101113551)
  • Dependency upgrade: logr-1.4.1 (#20240102110544)

"1.57.2" (2023-12-29)

Bugfixes

  • Dependency upgrade: crypto-0.17.0 (#20231219000550, #20231219000559, #20231219000638)
  • Dependency upgrade: logr-1.4.0 (#20231221111020, #20231221111026, #20231221111051, #20231221111055, #20231221111125, #20231221111128, #20231221111158, #20231221111210, #20231221111228, #20231221111241, #20231221111300, #20231221111312, #20231221111332, #20231221111346, #20231221111410, #20231221111414, #20231221111440, #20231221111444, #20231221111518)

"1.57.1" (2023-12-18)

Bugfixes

  • Dependency upgrade: upload-artifact-4.0.0 (#20231215112028, #20231215112029)
  • Dependency upgrade: viper-1.18.1 (#20231215113818, #20231215113821, #20231215113850)
  • Dependency upgrade: go-hclog-1.6.2 (#20231215113833, #20231215113839, #20231215113908, #20231215113913, #20231215113942, #20231215113956, #20231215114026, #20231215114044, #20231215114054, #20231215114112, #20231215114122, #20231215114144, #20231215114150, #20231215114218)

"1.57.0" (2023-12-14)

Features

  • ✨ [http] Add support for using a custom HTTP client as the base for the retryable HTTP client (#20231214113956)
  • ✨ [http] Add NewRetryableOauthClient for creating a retryable client with OAuth2 token headers (#20231214114035)

Bugfixes

  • Dependency upgrade: go-hclog-1.6.1 (#20231205115603, #20231205115604)
  • Dependency upgrade: viper-1.18.0 (#20231207114443)
  • Dependency upgrade: setup-go-5 (#20231207115845, #20231207115850, #20231207115920, #20231207115931, #20231207115948, #20231207120002, #20231207120018, #20231207120030, #20231207120048, #20231207120102, #20231207120120, #20231207120136, #20231207120153, #20231207120206, #20231207120220, #20231207120242, #20231207120251, #20231207120311, #20231207120323, #20231207120343, #20231207120352, #20231207120412, #20231207120421, #20231207120442, #20231207120455, #20231207120524, #20231207120529, #20231207120644)
  • Dependency upgrade: setup-python-5 (#20231207115854)
  • Dependency upgrade: v5-5.11.0 (#20231211114542, #20231211114544)
  • Dependency upgrade: codeql-action-3 (#20231214112333, #20231214112339, #20231214112408)

"1.56.1" (2023-12-04)

Bugfixes

  • Dependency upgrade: sys-0.15.0 (#20231128113135)
  • Dependency upgrade: crypto-0.16.0 (#20231128113154, #20231128113156)
  • Dependency upgrade: v5-5.10.1 (#20231128113208, #20231128113220, #20231128113303, #20231128113359, #20231128113430, #20231128113445, #20231128113510, #20231128113546, #20231128113623, #20231128113639, #20231128113707, #20231128113735, #20231128113803, #20231128113835, #20231128113908, #20231128113913, #20231128114002, #20231128114009, #20231128114055, #20231128114107, #20231128114145, #20231128114213, #20231128114240, #20231128114305, #20231128114331, #20231128114354, #20231128114424, #20231128114455, #20231128114513, #20231128114542, #20231128114609, #20231128114631, #20231128114657, #20231128114728, #20231128114756, #20231128114814, #20231128114846, #20231128114914, #20231128114942, #20231128115011, #20231128115030, #20231128115102, #20231128115132, #20231128115145, #20231128115213, #20231128115230, #20231128115320, #20231128115329, #20231128115405, #20231128115427, #20231128115533)
  • Dependency upgrade: v3-3.23.11 (#20231201111000, #20231201111004)
  • Dependency upgrade: net-0.19.0 (#20231204144621, #20231204144633, #20231204144705, #20231204144707)
  • Dependency upgrade: viper-1.17.0 (#20231204145320, #20231204145327, #20231204145349, #20231204145355, #20231204145443, #20231204145528, #20231204145636, #20231204145722, #20231204145752, #20231204145755)
  • Dependency upgrade: afero-1.11.0 (#20231204145333, #20231204145342, #20231204145408, #20231204145417, #20231204145552)

"1.56.0" (2023-11-13)

Features

  • ✨ [logs] Add a logr.Logger quiet logger to only log errors (#20231113111138)

"1.55.0" (2023-11-13)

Features

  • [logs] Allow logrusr options to be set in NewLogrusLogger (#20231112110816)

"1.54.1" (2023-11-10)

Bugfixes

  • Dependency upgrade: zapr-1.3.0 (#20231103112832)
  • Dependency upgrade: text-0.14.0 (#20231106112638, #20231106112656, #20231106112715, #20231106112751, #20231106112800, #20231106112959, #20231106113031, #20231106113129, #20231106113156, #20231106113316, #20231106113342, #20231106113457, #20231106113533, #20231106113625, #20231106113654, #20231106113716, #20231106113816, #20231106113855, #20231106113923, #20231106114017)
  • Dependency upgrade: v4-4.1.0 (#20231106112647, #20231106112651)
  • Dependency upgrade: sys-0.14.0 (#20231106112719, #20231106112822, #20231106112858, #20231106113036, #20231106113051, #20231106113205, #20231106113224, #20231106113352, #20231106113359, #20231106113530, #20231106113610, #20231106113641, #20231106113713, #20231106113737, #20231106113823, #20231106113925, #20231106114004, #20231106114022, #20231106114034, #20231106114105, #20231106114141, #20231106114225, #20231106114233, #20231106114307, #20231106114313, #20231106114336, #20231106114350, #20231106114416, #20231106114443, #20231106114503, #20231106114519, #20231106114542, #20231106114602, #20231106114624, #20231106114644, #20231106114707, #20231106114726, #20231106114746, #20231106114804, #20231106114829, #20231106114841, #20231106114916, #20231106114927, #20231106114946, #20231106115001, #20231106115016, #20231106115035, #20231106115048, #20231106115109, #20231106115124, #20231106115148, #20231106115211, #20231106115248)
  • Dependency upgrade: sync-0.5.0 (#20231106112721, #20231106112727, #20231106112915, #20231106112952, #20231106113103, #20231106113118, #20231106113238, #20231106113241, #20231106113437)
  • Dependency upgrade: net-0.18.0 (#20231109113028, #20231109113112)
  • Dependency upgrade: net-0.18.0, crypto-0.15.0 (#20231109113034)
  • Dependency upgrade: crypto-0.15.0 (#20231109113042, #20231109113107, #20231109113125, #20231109113142, #20231109113215, #20231109113235, #20231109113248, #20231109113337, #20231109113346, #20231109113411, #20231109113437, #20231109113500, #20231109113530)
  • Dependency upgrade: v5-5.10.0 (#20231110093334, #20231110093337)
  • Dependency upgrade: go-retryablehttp-0.7.5 (#20231110114042, #20231110114045, #20231110114117)

"1.54.0" (2023-11-02)

Features

  • ✨ [filesystem] Add recursive methods for changing mode and ownership (#20231101113816)
  • ✨ [filesystem] Add Touch function to create empty files (#20231101113838)
  • ✨ [filesystem] Add Glob function to search for items which names match a glob pattern (#20231101113928)

Bugfixes

  • Dependency upgrade: v3-3.23.10 (#20231101111226)

"1.53.0" (2023-10-30)

Features

  • [platform] Add parameter substitution utilities for all platform (#20231029203453)
  • [environment] Add utilities to manipulate environment variable collections (#20231029203455)
  • ✨ [platform] Add portable variable name validation (#20231030114112)

"1.52.0" (2023-10-27)

Features

  • [platform] Introduce GetHomeDirectory() and GetDefaultDirectory() (#20231026194444)
  • [logs] Add a quiet logger (#20231027081549)
  • ✨ [platform] portable variable expansion (#20231027143154)
  • ✨ [environment] Add utilities to expand environment variables (#20231027170436)

Bugfixes

  • Dependency upgrade: logr-1.3.0 (#20231027104239)

"1.51.0" (2023-10-26)
=====================...

Read more

Release 1.58.0

04 Jan 15:59
Compare
Choose a tag to compare

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.58.0" (2024-01-04)

Features

  • [filesystem] Add validation rules to verify if a value is a valid path (#20240104152047)

"1.57.3" (2024-01-02)

Bugfixes

  • Dependency upgrade: viper-1.18.2 (#20231229155828)
  • Dependency upgrade: v3-3.23.12 (#20240101111525, #20240101111534, #20240101111552, #20240101111606, #20240101111654, #20240101111715, #20240101111732, #20240101111759, #20240101111826, #20240101111849, #20240101111912, #20240101111942, #20240101112010, #20240101112036, #20240101112050, #20240101112114, #20240101112141, #20240101112205, #20240101112229, #20240101112248, #20240101112314, #20240101112348, #20240101112404, #20240101112421, #20240101112452, #20240101112514, #20240101112545, #20240101112612, #20240101112641, #20240101112649, #20240101112721, #20240101112743, #20240101112804, #20240101112827, #20240101112847, #20240101112915, #20240101112941, #20240101113006, #20240101113029, #20240101113100, #20240101113130, #20240101113146, #20240101113208, #20240101113235, #20240101113300, #20240101113323, #20240101113345, #20240101113412, #20240101113424, #20240101113458, #20240101113512, #20240101113550, #20240101113551)
  • Dependency upgrade: logr-1.4.1 (#20240102110544)

"1.57.2" (2023-12-29)

Bugfixes

  • Dependency upgrade: crypto-0.17.0 (#20231219000550, #20231219000559, #20231219000638)
  • Dependency upgrade: logr-1.4.0 (#20231221111020, #20231221111026, #20231221111051, #20231221111055, #20231221111125, #20231221111128, #20231221111158, #20231221111210, #20231221111228, #20231221111241, #20231221111300, #20231221111312, #20231221111332, #20231221111346, #20231221111410, #20231221111414, #20231221111440, #20231221111444, #20231221111518)

"1.57.1" (2023-12-18)

Bugfixes

  • Dependency upgrade: upload-artifact-4.0.0 (#20231215112028, #20231215112029)
  • Dependency upgrade: viper-1.18.1 (#20231215113818, #20231215113821, #20231215113850)
  • Dependency upgrade: go-hclog-1.6.2 (#20231215113833, #20231215113839, #20231215113908, #20231215113913, #20231215113942, #20231215113956, #20231215114026, #20231215114044, #20231215114054, #20231215114112, #20231215114122, #20231215114144, #20231215114150, #20231215114218)

"1.57.0" (2023-12-14)

Features

  • ✨ [http] Add support for using a custom HTTP client as the base for the retryable HTTP client (#20231214113956)
  • ✨ [http] Add NewRetryableOauthClient for creating a retryable client with OAuth2 token headers (#20231214114035)

Bugfixes

  • Dependency upgrade: go-hclog-1.6.1 (#20231205115603, #20231205115604)
  • Dependency upgrade: viper-1.18.0 (#20231207114443)
  • Dependency upgrade: setup-go-5 (#20231207115845, #20231207115850, #20231207115920, #20231207115931, #20231207115948, #20231207120002, #20231207120018, #20231207120030, #20231207120048, #20231207120102, #20231207120120, #20231207120136, #20231207120153, #20231207120206, #20231207120220, #20231207120242, #20231207120251, #20231207120311, #20231207120323, #20231207120343, #20231207120352, #20231207120412, #20231207120421, #20231207120442, #20231207120455, #20231207120524, #20231207120529, #20231207120644)
  • Dependency upgrade: setup-python-5 (#20231207115854)
  • Dependency upgrade: v5-5.11.0 (#20231211114542, #20231211114544)
  • Dependency upgrade: codeql-action-3 (#20231214112333, #20231214112339, #20231214112408)

"1.56.1" (2023-12-04)

Bugfixes

  • Dependency upgrade: sys-0.15.0 (#20231128113135)
  • Dependency upgrade: crypto-0.16.0 (#20231128113154, #20231128113156)
  • Dependency upgrade: v5-5.10.1 (#20231128113208, #20231128113220, #20231128113303, #20231128113359, #20231128113430, #20231128113445, #20231128113510, #20231128113546, #20231128113623, #20231128113639, #20231128113707, #20231128113735, #20231128113803, #20231128113835, #20231128113908, #20231128113913, #20231128114002, #20231128114009, #20231128114055, #20231128114107, #20231128114145, #20231128114213, #20231128114240, #20231128114305, #20231128114331, #20231128114354, #20231128114424, #20231128114455, #20231128114513, #20231128114542, #20231128114609, #20231128114631, #20231128114657, #20231128114728, #20231128114756, #20231128114814, #20231128114846, #20231128114914, #20231128114942, #20231128115011, #20231128115030, #20231128115102, #20231128115132, #20231128115145, #20231128115213, #20231128115230, #20231128115320, #20231128115329, #20231128115405, #20231128115427, #20231128115533)
  • Dependency upgrade: v3-3.23.11 (#20231201111000, #20231201111004)
  • Dependency upgrade: net-0.19.0 (#20231204144621, #20231204144633, #20231204144705, #20231204144707)
  • Dependency upgrade: viper-1.17.0 (#20231204145320, #20231204145327, #20231204145349, #20231204145355, #20231204145443, #20231204145528, #20231204145636, #20231204145722, #20231204145752, #20231204145755)
  • Dependency upgrade: afero-1.11.0 (#20231204145333, #20231204145342, #20231204145408, #20231204145417, #20231204145552)

"1.56.0" (2023-11-13)

Features

  • ✨ [logs] Add a logr.Logger quiet logger to only log errors (#20231113111138)

"1.55.0" (2023-11-13)

Features

  • [logs] Allow logrusr options to be set in NewLogrusLogger (#20231112110816)

"1.54.1" (2023-11-10)

Bugfixes

  • Dependency upgrade: zapr-1.3.0 (#20231103112832)
  • Dependency upgrade: text-0.14.0 (#20231106112638, #20231106112656, #20231106112715, #20231106112751, #20231106112800, #20231106112959, #20231106113031, #20231106113129, #20231106113156, #20231106113316, #20231106113342, #20231106113457, #20231106113533, #20231106113625, #20231106113654, #20231106113716, #20231106113816, #20231106113855, #20231106113923, #20231106114017)
  • Dependency upgrade: v4-4.1.0 (#20231106112647, #20231106112651)
  • Dependency upgrade: sys-0.14.0 (#20231106112719, #20231106112822, #20231106112858, #20231106113036, #20231106113051, #20231106113205, #20231106113224, #20231106113352, #20231106113359, #20231106113530, #20231106113610, #20231106113641, #20231106113713, #20231106113737, #20231106113823, #20231106113925, #20231106114004, #20231106114022, #20231106114034, #20231106114105, #20231106114141, #20231106114225, #20231106114233, #20231106114307, #20231106114313, #20231106114336, #20231106114350, #20231106114416, #20231106114443, #20231106114503, #20231106114519, #20231106114542, #20231106114602, #20231106114624, #20231106114644, #20231106114707, #20231106114726, #20231106114746, #20231106114804, #20231106114829, #20231106114841, #20231106114916, #20231106114927, #20231106114946, #20231106115001, #20231106115016, #20231106115035, #20231106115048, #20231106115109, #20231106115124, #20231106115148, #20231106115211, #20231106115248)
  • Dependency upgrade: sync-0.5.0 (#20231106112721, #20231106112727, #20231106112915, #20231106112952, #20231106113103, #20231106113118, #20231106113238, #20231106113241, #20231106113437)
  • Dependency upgrade: net-0.18.0 (#20231109113028, #20231109113112)
  • Dependency upgrade: net-0.18.0, crypto-0.15.0 (#20231109113034)
  • Dependency upgrade: crypto-0.15.0 (#20231109113042, #20231109113107, #20231109113125, #20231109113142, #20231109113215, #20231109113235, #20231109113248, #20231109113337, #20231109113346, #20231109113411, #20231109113437, #20231109113500, #20231109113530)
  • Dependency upgrade: v5-5.10.0 (#20231110093334, #20231110093337)
  • Dependency upgrade: go-retryablehttp-0.7.5 (#20231110114042, #20231110114045, #20231110114117)

"1.54.0" (2023-11-02)

Features

  • ✨ [filesystem] Add recursive methods for changing mode and ownership (#20231101113816)
  • ✨ [filesystem] Add Touch function to create empty files (#20231101113838)
  • ✨ [filesystem] Add Glob function to search for items which names match a glob pattern (#20231101113928)

Bugfixes

  • Dependency upgrade: v3-3.23.10 (#20231101111226)

"1.53.0" (2023-10-30)

Features

  • [platform] Add parameter substitution utilities for all platform (#20231029203453)
  • [environment] Add utilities to manipulate environment variable collections (#20231029203455)
  • ✨ [platform] Add portable variable name validation (#20231030114112)

"1.52.0" (2023-10-27)

Features

  • [platform] Introduce GetHomeDirectory() and GetDefaultDirectory() (#20231026194444)
  • [logs] Add a quiet logger (#20231027081549)
  • ✨ [platform] portable variable expansion (#20231027143154)
  • ✨ [environment] Add utilities to expand environment variables (#20231027170436)

Bugfixes

  • Dependency upgrade: logr-1.3.0 (#20231027104239)

"1.51.0" (2023-10-26)

Features

  • [platform] Add GetUser() and GetCurrentUser() (#20231026104543)

Bugfixes

  • Dependency upgrade: times-1.6.0 (#20231023102717, #20231023102723, #20231023102808)
  • Dependency upgrade: scorecard-action-2.3.1 (#20231024105414)
  • Dependency upgrade: goleak-1.3.0 (#20231025101547, #20231025101554, #20231025101625, #20231025101636, #20231025101711, #20231025101712)

"1.50.0" (2023-10-19)

Features

  • [environment] expose the validation rule for environment variable keys IsEnvironmentVariableKey (#20231017132731)
  • [platform] Add a way to rem...
Read more

Release 1.57.3

02 Jan 11:13
Compare
Choose a tag to compare

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.57.3" (2024-01-02)

Bugfixes

  • Dependency upgrade: viper-1.18.2 (#20231229155828)
  • Dependency upgrade: v3-3.23.12 (#20240101111525, #20240101111534, #20240101111552, #20240101111606, #20240101111654, #20240101111715, #20240101111732, #20240101111759, #20240101111826, #20240101111849, #20240101111912, #20240101111942, #20240101112010, #20240101112036, #20240101112050, #20240101112114, #20240101112141, #20240101112205, #20240101112229, #20240101112248, #20240101112314, #20240101112348, #20240101112404, #20240101112421, #20240101112452, #20240101112514, #20240101112545, #20240101112612, #20240101112641, #20240101112649, #20240101112721, #20240101112743, #20240101112804, #20240101112827, #20240101112847, #20240101112915, #20240101112941, #20240101113006, #20240101113029, #20240101113100, #20240101113130, #20240101113146, #20240101113208, #20240101113235, #20240101113300, #20240101113323, #20240101113345, #20240101113412, #20240101113424, #20240101113458, #20240101113512, #20240101113550, #20240101113551)
  • Dependency upgrade: logr-1.4.1 (#20240102110544)

"1.57.2" (2023-12-29)

Bugfixes

  • Dependency upgrade: crypto-0.17.0 (#20231219000550, #20231219000559, #20231219000638)
  • Dependency upgrade: logr-1.4.0 (#20231221111020, #20231221111026, #20231221111051, #20231221111055, #20231221111125, #20231221111128, #20231221111158, #20231221111210, #20231221111228, #20231221111241, #20231221111300, #20231221111312, #20231221111332, #20231221111346, #20231221111410, #20231221111414, #20231221111440, #20231221111444, #20231221111518)

"1.57.1" (2023-12-18)

Bugfixes

  • Dependency upgrade: upload-artifact-4.0.0 (#20231215112028, #20231215112029)
  • Dependency upgrade: viper-1.18.1 (#20231215113818, #20231215113821, #20231215113850)
  • Dependency upgrade: go-hclog-1.6.2 (#20231215113833, #20231215113839, #20231215113908, #20231215113913, #20231215113942, #20231215113956, #20231215114026, #20231215114044, #20231215114054, #20231215114112, #20231215114122, #20231215114144, #20231215114150, #20231215114218)

"1.57.0" (2023-12-14)

Features

  • ✨ [http] Add support for using a custom HTTP client as the base for the retryable HTTP client (#20231214113956)
  • ✨ [http] Add NewRetryableOauthClient for creating a retryable client with OAuth2 token headers (#20231214114035)

Bugfixes

  • Dependency upgrade: go-hclog-1.6.1 (#20231205115603, #20231205115604)
  • Dependency upgrade: viper-1.18.0 (#20231207114443)
  • Dependency upgrade: setup-go-5 (#20231207115845, #20231207115850, #20231207115920, #20231207115931, #20231207115948, #20231207120002, #20231207120018, #20231207120030, #20231207120048, #20231207120102, #20231207120120, #20231207120136, #20231207120153, #20231207120206, #20231207120220, #20231207120242, #20231207120251, #20231207120311, #20231207120323, #20231207120343, #20231207120352, #20231207120412, #20231207120421, #20231207120442, #20231207120455, #20231207120524, #20231207120529, #20231207120644)
  • Dependency upgrade: setup-python-5 (#20231207115854)
  • Dependency upgrade: v5-5.11.0 (#20231211114542, #20231211114544)
  • Dependency upgrade: codeql-action-3 (#20231214112333, #20231214112339, #20231214112408)

"1.56.1" (2023-12-04)

Bugfixes

  • Dependency upgrade: sys-0.15.0 (#20231128113135)
  • Dependency upgrade: crypto-0.16.0 (#20231128113154, #20231128113156)
  • Dependency upgrade: v5-5.10.1 (#20231128113208, #20231128113220, #20231128113303, #20231128113359, #20231128113430, #20231128113445, #20231128113510, #20231128113546, #20231128113623, #20231128113639, #20231128113707, #20231128113735, #20231128113803, #20231128113835, #20231128113908, #20231128113913, #20231128114002, #20231128114009, #20231128114055, #20231128114107, #20231128114145, #20231128114213, #20231128114240, #20231128114305, #20231128114331, #20231128114354, #20231128114424, #20231128114455, #20231128114513, #20231128114542, #20231128114609, #20231128114631, #20231128114657, #20231128114728, #20231128114756, #20231128114814, #20231128114846, #20231128114914, #20231128114942, #20231128115011, #20231128115030, #20231128115102, #20231128115132, #20231128115145, #20231128115213, #20231128115230, #20231128115320, #20231128115329, #20231128115405, #20231128115427, #20231128115533)
  • Dependency upgrade: v3-3.23.11 (#20231201111000, #20231201111004)
  • Dependency upgrade: net-0.19.0 (#20231204144621, #20231204144633, #20231204144705, #20231204144707)
  • Dependency upgrade: viper-1.17.0 (#20231204145320, #20231204145327, #20231204145349, #20231204145355, #20231204145443, #20231204145528, #20231204145636, #20231204145722, #20231204145752, #20231204145755)
  • Dependency upgrade: afero-1.11.0 (#20231204145333, #20231204145342, #20231204145408, #20231204145417, #20231204145552)

"1.56.0" (2023-11-13)

Features

  • ✨ [logs] Add a logr.Logger quiet logger to only log errors (#20231113111138)

"1.55.0" (2023-11-13)

Features

  • [logs] Allow logrusr options to be set in NewLogrusLogger (#20231112110816)

"1.54.1" (2023-11-10)

Bugfixes

  • Dependency upgrade: zapr-1.3.0 (#20231103112832)
  • Dependency upgrade: text-0.14.0 (#20231106112638, #20231106112656, #20231106112715, #20231106112751, #20231106112800, #20231106112959, #20231106113031, #20231106113129, #20231106113156, #20231106113316, #20231106113342, #20231106113457, #20231106113533, #20231106113625, #20231106113654, #20231106113716, #20231106113816, #20231106113855, #20231106113923, #20231106114017)
  • Dependency upgrade: v4-4.1.0 (#20231106112647, #20231106112651)
  • Dependency upgrade: sys-0.14.0 (#20231106112719, #20231106112822, #20231106112858, #20231106113036, #20231106113051, #20231106113205, #20231106113224, #20231106113352, #20231106113359, #20231106113530, #20231106113610, #20231106113641, #20231106113713, #20231106113737, #20231106113823, #20231106113925, #20231106114004, #20231106114022, #20231106114034, #20231106114105, #20231106114141, #20231106114225, #20231106114233, #20231106114307, #20231106114313, #20231106114336, #20231106114350, #20231106114416, #20231106114443, #20231106114503, #20231106114519, #20231106114542, #20231106114602, #20231106114624, #20231106114644, #20231106114707, #20231106114726, #20231106114746, #20231106114804, #20231106114829, #20231106114841, #20231106114916, #20231106114927, #20231106114946, #20231106115001, #20231106115016, #20231106115035, #20231106115048, #20231106115109, #20231106115124, #20231106115148, #20231106115211, #20231106115248)
  • Dependency upgrade: sync-0.5.0 (#20231106112721, #20231106112727, #20231106112915, #20231106112952, #20231106113103, #20231106113118, #20231106113238, #20231106113241, #20231106113437)
  • Dependency upgrade: net-0.18.0 (#20231109113028, #20231109113112)
  • Dependency upgrade: net-0.18.0, crypto-0.15.0 (#20231109113034)
  • Dependency upgrade: crypto-0.15.0 (#20231109113042, #20231109113107, #20231109113125, #20231109113142, #20231109113215, #20231109113235, #20231109113248, #20231109113337, #20231109113346, #20231109113411, #20231109113437, #20231109113500, #20231109113530)
  • Dependency upgrade: v5-5.10.0 (#20231110093334, #20231110093337)
  • Dependency upgrade: go-retryablehttp-0.7.5 (#20231110114042, #20231110114045, #20231110114117)

"1.54.0" (2023-11-02)

Features

  • ✨ [filesystem] Add recursive methods for changing mode and ownership (#20231101113816)
  • ✨ [filesystem] Add Touch function to create empty files (#20231101113838)
  • ✨ [filesystem] Add Glob function to search for items which names match a glob pattern (#20231101113928)

Bugfixes

  • Dependency upgrade: v3-3.23.10 (#20231101111226)

"1.53.0" (2023-10-30)

Features

  • [platform] Add parameter substitution utilities for all platform (#20231029203453)
  • [environment] Add utilities to manipulate environment variable collections (#20231029203455)
  • ✨ [platform] Add portable variable name validation (#20231030114112)

"1.52.0" (2023-10-27)

Features

  • [platform] Introduce GetHomeDirectory() and GetDefaultDirectory() (#20231026194444)
  • [logs] Add a quiet logger (#20231027081549)
  • ✨ [platform] portable variable expansion (#20231027143154)
  • ✨ [environment] Add utilities to expand environment variables (#20231027170436)

Bugfixes

  • Dependency upgrade: logr-1.3.0 (#20231027104239)

"1.51.0" (2023-10-26)

Features

  • [platform] Add GetUser() and GetCurrentUser() (#20231026104543)

Bugfixes

  • Dependency upgrade: times-1.6.0 (#20231023102717, #20231023102723, #20231023102808)
  • Dependency upgrade: scorecard-action-2.3.1 (#20231024105414)
  • Dependency upgrade: goleak-1.3.0 (#20231025101547, #20231025101554, #20231025101625, #20231025101636, #20231025101711, #20231025101712)

"1.50.0" (2023-10-19)

Features

  • [environment] expose the validation rule for environment variable keys IsEnvironmentVariableKey (#20231017132731)
  • [platform] Add a way to remove path with escalated privileges (#20231017202810)
  • [filesystem] Add a method to force remove path assuming the user is a superuser (#20231017202858)

"1...

Read more

Release 1.57.2

29 Dec 16:12
Compare
Choose a tag to compare

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.57.2" (2023-12-29)

Bugfixes

  • Dependency upgrade: crypto-0.17.0 (#20231219000550, #20231219000559, #20231219000638)
  • Dependency upgrade: logr-1.4.0 (#20231221111020, #20231221111026, #20231221111051, #20231221111055, #20231221111125, #20231221111128, #20231221111158, #20231221111210, #20231221111228, #20231221111241, #20231221111300, #20231221111312, #20231221111332, #20231221111346, #20231221111410, #20231221111414, #20231221111440, #20231221111444, #20231221111518)

"1.57.1" (2023-12-18)

Bugfixes

  • Dependency upgrade: upload-artifact-4.0.0 (#20231215112028, #20231215112029)
  • Dependency upgrade: viper-1.18.1 (#20231215113818, #20231215113821, #20231215113850)
  • Dependency upgrade: go-hclog-1.6.2 (#20231215113833, #20231215113839, #20231215113908, #20231215113913, #20231215113942, #20231215113956, #20231215114026, #20231215114044, #20231215114054, #20231215114112, #20231215114122, #20231215114144, #20231215114150, #20231215114218)

"1.57.0" (2023-12-14)

Features

  • ✨ [http] Add support for using a custom HTTP client as the base for the retryable HTTP client (#20231214113956)
  • ✨ [http] Add NewRetryableOauthClient for creating a retryable client with OAuth2 token headers (#20231214114035)

Bugfixes

  • Dependency upgrade: go-hclog-1.6.1 (#20231205115603, #20231205115604)
  • Dependency upgrade: viper-1.18.0 (#20231207114443)
  • Dependency upgrade: setup-go-5 (#20231207115845, #20231207115850, #20231207115920, #20231207115931, #20231207115948, #20231207120002, #20231207120018, #20231207120030, #20231207120048, #20231207120102, #20231207120120, #20231207120136, #20231207120153, #20231207120206, #20231207120220, #20231207120242, #20231207120251, #20231207120311, #20231207120323, #20231207120343, #20231207120352, #20231207120412, #20231207120421, #20231207120442, #20231207120455, #20231207120524, #20231207120529, #20231207120644)
  • Dependency upgrade: setup-python-5 (#20231207115854)
  • Dependency upgrade: v5-5.11.0 (#20231211114542, #20231211114544)
  • Dependency upgrade: codeql-action-3 (#20231214112333, #20231214112339, #20231214112408)

"1.56.1" (2023-12-04)

Bugfixes

  • Dependency upgrade: sys-0.15.0 (#20231128113135)
  • Dependency upgrade: crypto-0.16.0 (#20231128113154, #20231128113156)
  • Dependency upgrade: v5-5.10.1 (#20231128113208, #20231128113220, #20231128113303, #20231128113359, #20231128113430, #20231128113445, #20231128113510, #20231128113546, #20231128113623, #20231128113639, #20231128113707, #20231128113735, #20231128113803, #20231128113835, #20231128113908, #20231128113913, #20231128114002, #20231128114009, #20231128114055, #20231128114107, #20231128114145, #20231128114213, #20231128114240, #20231128114305, #20231128114331, #20231128114354, #20231128114424, #20231128114455, #20231128114513, #20231128114542, #20231128114609, #20231128114631, #20231128114657, #20231128114728, #20231128114756, #20231128114814, #20231128114846, #20231128114914, #20231128114942, #20231128115011, #20231128115030, #20231128115102, #20231128115132, #20231128115145, #20231128115213, #20231128115230, #20231128115320, #20231128115329, #20231128115405, #20231128115427, #20231128115533)
  • Dependency upgrade: v3-3.23.11 (#20231201111000, #20231201111004)
  • Dependency upgrade: net-0.19.0 (#20231204144621, #20231204144633, #20231204144705, #20231204144707)
  • Dependency upgrade: viper-1.17.0 (#20231204145320, #20231204145327, #20231204145349, #20231204145355, #20231204145443, #20231204145528, #20231204145636, #20231204145722, #20231204145752, #20231204145755)
  • Dependency upgrade: afero-1.11.0 (#20231204145333, #20231204145342, #20231204145408, #20231204145417, #20231204145552)

"1.56.0" (2023-11-13)

Features

  • ✨ [logs] Add a logr.Logger quiet logger to only log errors (#20231113111138)

"1.55.0" (2023-11-13)

Features

  • [logs] Allow logrusr options to be set in NewLogrusLogger (#20231112110816)

"1.54.1" (2023-11-10)

Bugfixes

  • Dependency upgrade: zapr-1.3.0 (#20231103112832)
  • Dependency upgrade: text-0.14.0 (#20231106112638, #20231106112656, #20231106112715, #20231106112751, #20231106112800, #20231106112959, #20231106113031, #20231106113129, #20231106113156, #20231106113316, #20231106113342, #20231106113457, #20231106113533, #20231106113625, #20231106113654, #20231106113716, #20231106113816, #20231106113855, #20231106113923, #20231106114017)
  • Dependency upgrade: v4-4.1.0 (#20231106112647, #20231106112651)
  • Dependency upgrade: sys-0.14.0 (#20231106112719, #20231106112822, #20231106112858, #20231106113036, #20231106113051, #20231106113205, #20231106113224, #20231106113352, #20231106113359, #20231106113530, #20231106113610, #20231106113641, #20231106113713, #20231106113737, #20231106113823, #20231106113925, #20231106114004, #20231106114022, #20231106114034, #20231106114105, #20231106114141, #20231106114225, #20231106114233, #20231106114307, #20231106114313, #20231106114336, #20231106114350, #20231106114416, #20231106114443, #20231106114503, #20231106114519, #20231106114542, #20231106114602, #20231106114624, #20231106114644, #20231106114707, #20231106114726, #20231106114746, #20231106114804, #20231106114829, #20231106114841, #20231106114916, #20231106114927, #20231106114946, #20231106115001, #20231106115016, #20231106115035, #20231106115048, #20231106115109, #20231106115124, #20231106115148, #20231106115211, #20231106115248)
  • Dependency upgrade: sync-0.5.0 (#20231106112721, #20231106112727, #20231106112915, #20231106112952, #20231106113103, #20231106113118, #20231106113238, #20231106113241, #20231106113437)
  • Dependency upgrade: net-0.18.0 (#20231109113028, #20231109113112)
  • Dependency upgrade: net-0.18.0, crypto-0.15.0 (#20231109113034)
  • Dependency upgrade: crypto-0.15.0 (#20231109113042, #20231109113107, #20231109113125, #20231109113142, #20231109113215, #20231109113235, #20231109113248, #20231109113337, #20231109113346, #20231109113411, #20231109113437, #20231109113500, #20231109113530)
  • Dependency upgrade: v5-5.10.0 (#20231110093334, #20231110093337)
  • Dependency upgrade: go-retryablehttp-0.7.5 (#20231110114042, #20231110114045, #20231110114117)

"1.54.0" (2023-11-02)

Features

  • ✨ [filesystem] Add recursive methods for changing mode and ownership (#20231101113816)
  • ✨ [filesystem] Add Touch function to create empty files (#20231101113838)
  • ✨ [filesystem] Add Glob function to search for items which names match a glob pattern (#20231101113928)

Bugfixes

  • Dependency upgrade: v3-3.23.10 (#20231101111226)

"1.53.0" (2023-10-30)

Features

  • [platform] Add parameter substitution utilities for all platform (#20231029203453)
  • [environment] Add utilities to manipulate environment variable collections (#20231029203455)
  • ✨ [platform] Add portable variable name validation (#20231030114112)

"1.52.0" (2023-10-27)

Features

  • [platform] Introduce GetHomeDirectory() and GetDefaultDirectory() (#20231026194444)
  • [logs] Add a quiet logger (#20231027081549)
  • ✨ [platform] portable variable expansion (#20231027143154)
  • ✨ [environment] Add utilities to expand environment variables (#20231027170436)

Bugfixes

  • Dependency upgrade: logr-1.3.0 (#20231027104239)

"1.51.0" (2023-10-26)

Features

  • [platform] Add GetUser() and GetCurrentUser() (#20231026104543)

Bugfixes

  • Dependency upgrade: times-1.6.0 (#20231023102717, #20231023102723, #20231023102808)
  • Dependency upgrade: scorecard-action-2.3.1 (#20231024105414)
  • Dependency upgrade: goleak-1.3.0 (#20231025101547, #20231025101554, #20231025101625, #20231025101636, #20231025101711, #20231025101712)

"1.50.0" (2023-10-19)

Features

  • [environment] expose the validation rule for environment variable keys IsEnvironmentVariableKey (#20231017132731)
  • [platform] Add a way to remove path with escalated privileges (#20231017202810)
  • [filesystem] Add a method to force remove path assuming the user is a superuser (#20231017202858)

"1.49.0" (2023-10-17)

Features

  • [environment] Expose utilities for parsing and finding environment variables (#20231013160208)
  • [collection] Added AllNotEmpty and AnyEmpty to check the content of string slices (#20231016164922)
  • [collection] Added FindInSlice to extend Find search capabilities (#20231016173631)
  • [platform] Added a way to determine if a user has admin rights (i.e. root or superuser on Linux and administrator on Windows) (#20231016175953)
  • [command] Added a way to prepend commands (using Prepend()) to command wrappers in order to chain command wrappers easily (#20231016204910)
  • [platform] Added WithPrivileges so that commands are elevated with privileges depending on the permissions of the current user (#20231016234712)

Bugfixes

  • 🐛 [environment] Fix environment variables parsing when an entry is incorrect (#20231013160247)

"1.48.0" (2023-10-13)

Features

  • [platform] Add way to run co...
Read more

Release 1.57.1

18 Dec 12:25
Compare
Choose a tag to compare

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.57.1" (2023-12-18)

Bugfixes

  • Dependency upgrade: upload-artifact-4.0.0 (#20231215112028, #20231215112029)
  • Dependency upgrade: viper-1.18.1 (#20231215113818, #20231215113821, #20231215113850)
  • Dependency upgrade: go-hclog-1.6.2 (#20231215113833, #20231215113839, #20231215113908, #20231215113913, #20231215113942, #20231215113956, #20231215114026, #20231215114044, #20231215114054, #20231215114112, #20231215114122, #20231215114144, #20231215114150, #20231215114218)

"1.57.0" (2023-12-14)

Features

  • ✨ [http] Add support for using a custom HTTP client as the base for the retryable HTTP client (#20231214113956)
  • ✨ [http] Add NewRetryableOauthClient for creating a retryable client with OAuth2 token headers (#20231214114035)

Bugfixes

  • Dependency upgrade: go-hclog-1.6.1 (#20231205115603, #20231205115604)
  • Dependency upgrade: viper-1.18.0 (#20231207114443)
  • Dependency upgrade: setup-go-5 (#20231207115845, #20231207115850, #20231207115920, #20231207115931, #20231207115948, #20231207120002, #20231207120018, #20231207120030, #20231207120048, #20231207120102, #20231207120120, #20231207120136, #20231207120153, #20231207120206, #20231207120220, #20231207120242, #20231207120251, #20231207120311, #20231207120323, #20231207120343, #20231207120352, #20231207120412, #20231207120421, #20231207120442, #20231207120455, #20231207120524, #20231207120529, #20231207120644)
  • Dependency upgrade: setup-python-5 (#20231207115854)
  • Dependency upgrade: v5-5.11.0 (#20231211114542, #20231211114544)
  • Dependency upgrade: codeql-action-3 (#20231214112333, #20231214112339, #20231214112408)

"1.56.1" (2023-12-04)

Bugfixes

  • Dependency upgrade: sys-0.15.0 (#20231128113135)
  • Dependency upgrade: crypto-0.16.0 (#20231128113154, #20231128113156)
  • Dependency upgrade: v5-5.10.1 (#20231128113208, #20231128113220, #20231128113303, #20231128113359, #20231128113430, #20231128113445, #20231128113510, #20231128113546, #20231128113623, #20231128113639, #20231128113707, #20231128113735, #20231128113803, #20231128113835, #20231128113908, #20231128113913, #20231128114002, #20231128114009, #20231128114055, #20231128114107, #20231128114145, #20231128114213, #20231128114240, #20231128114305, #20231128114331, #20231128114354, #20231128114424, #20231128114455, #20231128114513, #20231128114542, #20231128114609, #20231128114631, #20231128114657, #20231128114728, #20231128114756, #20231128114814, #20231128114846, #20231128114914, #20231128114942, #20231128115011, #20231128115030, #20231128115102, #20231128115132, #20231128115145, #20231128115213, #20231128115230, #20231128115320, #20231128115329, #20231128115405, #20231128115427, #20231128115533)
  • Dependency upgrade: v3-3.23.11 (#20231201111000, #20231201111004)
  • Dependency upgrade: net-0.19.0 (#20231204144621, #20231204144633, #20231204144705, #20231204144707)
  • Dependency upgrade: viper-1.17.0 (#20231204145320, #20231204145327, #20231204145349, #20231204145355, #20231204145443, #20231204145528, #20231204145636, #20231204145722, #20231204145752, #20231204145755)
  • Dependency upgrade: afero-1.11.0 (#20231204145333, #20231204145342, #20231204145408, #20231204145417, #20231204145552)

"1.56.0" (2023-11-13)

Features

  • ✨ [logs] Add a logr.Logger quiet logger to only log errors (#20231113111138)

"1.55.0" (2023-11-13)

Features

  • [logs] Allow logrusr options to be set in NewLogrusLogger (#20231112110816)

"1.54.1" (2023-11-10)

Bugfixes

  • Dependency upgrade: zapr-1.3.0 (#20231103112832)
  • Dependency upgrade: text-0.14.0 (#20231106112638, #20231106112656, #20231106112715, #20231106112751, #20231106112800, #20231106112959, #20231106113031, #20231106113129, #20231106113156, #20231106113316, #20231106113342, #20231106113457, #20231106113533, #20231106113625, #20231106113654, #20231106113716, #20231106113816, #20231106113855, #20231106113923, #20231106114017)
  • Dependency upgrade: v4-4.1.0 (#20231106112647, #20231106112651)
  • Dependency upgrade: sys-0.14.0 (#20231106112719, #20231106112822, #20231106112858, #20231106113036, #20231106113051, #20231106113205, #20231106113224, #20231106113352, #20231106113359, #20231106113530, #20231106113610, #20231106113641, #20231106113713, #20231106113737, #20231106113823, #20231106113925, #20231106114004, #20231106114022, #20231106114034, #20231106114105, #20231106114141, #20231106114225, #20231106114233, #20231106114307, #20231106114313, #20231106114336, #20231106114350, #20231106114416, #20231106114443, #20231106114503, #20231106114519, #20231106114542, #20231106114602, #20231106114624, #20231106114644, #20231106114707, #20231106114726, #20231106114746, #20231106114804, #20231106114829, #20231106114841, #20231106114916, #20231106114927, #20231106114946, #20231106115001, #20231106115016, #20231106115035, #20231106115048, #20231106115109, #20231106115124, #20231106115148, #20231106115211, #20231106115248)
  • Dependency upgrade: sync-0.5.0 (#20231106112721, #20231106112727, #20231106112915, #20231106112952, #20231106113103, #20231106113118, #20231106113238, #20231106113241, #20231106113437)
  • Dependency upgrade: net-0.18.0 (#20231109113028, #20231109113112)
  • Dependency upgrade: net-0.18.0, crypto-0.15.0 (#20231109113034)
  • Dependency upgrade: crypto-0.15.0 (#20231109113042, #20231109113107, #20231109113125, #20231109113142, #20231109113215, #20231109113235, #20231109113248, #20231109113337, #20231109113346, #20231109113411, #20231109113437, #20231109113500, #20231109113530)
  • Dependency upgrade: v5-5.10.0 (#20231110093334, #20231110093337)
  • Dependency upgrade: go-retryablehttp-0.7.5 (#20231110114042, #20231110114045, #20231110114117)

"1.54.0" (2023-11-02)

Features

  • ✨ [filesystem] Add recursive methods for changing mode and ownership (#20231101113816)
  • ✨ [filesystem] Add Touch function to create empty files (#20231101113838)
  • ✨ [filesystem] Add Glob function to search for items which names match a glob pattern (#20231101113928)

Bugfixes

  • Dependency upgrade: v3-3.23.10 (#20231101111226)

"1.53.0" (2023-10-30)

Features

  • [platform] Add parameter substitution utilities for all platform (#20231029203453)
  • [environment] Add utilities to manipulate environment variable collections (#20231029203455)
  • ✨ [platform] Add portable variable name validation (#20231030114112)

"1.52.0" (2023-10-27)

Features

  • [platform] Introduce GetHomeDirectory() and GetDefaultDirectory() (#20231026194444)
  • [logs] Add a quiet logger (#20231027081549)
  • ✨ [platform] portable variable expansion (#20231027143154)
  • ✨ [environment] Add utilities to expand environment variables (#20231027170436)

Bugfixes

  • Dependency upgrade: logr-1.3.0 (#20231027104239)

"1.51.0" (2023-10-26)

Features

  • [platform] Add GetUser() and GetCurrentUser() (#20231026104543)

Bugfixes

  • Dependency upgrade: times-1.6.0 (#20231023102717, #20231023102723, #20231023102808)
  • Dependency upgrade: scorecard-action-2.3.1 (#20231024105414)
  • Dependency upgrade: goleak-1.3.0 (#20231025101547, #20231025101554, #20231025101625, #20231025101636, #20231025101711, #20231025101712)

"1.50.0" (2023-10-19)

Features

  • [environment] expose the validation rule for environment variable keys IsEnvironmentVariableKey (#20231017132731)
  • [platform] Add a way to remove path with escalated privileges (#20231017202810)
  • [filesystem] Add a method to force remove path assuming the user is a superuser (#20231017202858)

"1.49.0" (2023-10-17)

Features

  • [environment] Expose utilities for parsing and finding environment variables (#20231013160208)
  • [collection] Added AllNotEmpty and AnyEmpty to check the content of string slices (#20231016164922)
  • [collection] Added FindInSlice to extend Find search capabilities (#20231016173631)
  • [platform] Added a way to determine if a user has admin rights (i.e. root or superuser on Linux and administrator on Windows) (#20231016175953)
  • [command] Added a way to prepend commands (using Prepend()) to command wrappers in order to chain command wrappers easily (#20231016204910)
  • [platform] Added WithPrivileges so that commands are elevated with privileges depending on the permissions of the current user (#20231016234712)

Bugfixes

  • 🐛 [environment] Fix environment variables parsing when an entry is incorrect (#20231013160247)

"1.48.0" (2023-10-13)

Features

  • [platform] Add way to run commands as a user with privileges on posix systems (#20231013112742)
  • [command] Add utilities to translate commands so that they are run as a separate user (#20231013122936)

Bugfixes

  • Dependency upgrade: net-0.17.0 (#20231011103958)

"1.47.0" (2023-10-11)

Features

  • [logs] Added a PlainStringLogger to store only logged messages without prefixes or flags (#20231010192716)
  • [logs] Added a CombinedLoggers to log into mu...
Read more

Release 1.57.0

14 Dec 18:41
Compare
Choose a tag to compare

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.57.0" (2023-12-14)

Features

  • ✨ [http] Add support for using a custom HTTP client as the base for the retryable HTTP client (#20231214113956)
  • ✨ [http] Add NewRetryableOauthClient for creating a retryable client with OAuth2 token headers (#20231214114035)

Bugfixes

  • Dependency upgrade: go-hclog-1.6.1 (#20231205115603, #20231205115604)
  • Dependency upgrade: viper-1.18.0 (#20231207114443)
  • Dependency upgrade: setup-go-5 (#20231207115845, #20231207115850, #20231207115920, #20231207115931, #20231207115948, #20231207120002, #20231207120018, #20231207120030, #20231207120048, #20231207120102, #20231207120120, #20231207120136, #20231207120153, #20231207120206, #20231207120220, #20231207120242, #20231207120251, #20231207120311, #20231207120323, #20231207120343, #20231207120352, #20231207120412, #20231207120421, #20231207120442, #20231207120455, #20231207120524, #20231207120529, #20231207120644)
  • Dependency upgrade: setup-python-5 (#20231207115854)
  • Dependency upgrade: v5-5.11.0 (#20231211114542, #20231211114544)
  • Dependency upgrade: codeql-action-3 (#20231214112333, #20231214112339, #20231214112408)

"1.56.1" (2023-12-04)

Bugfixes

  • Dependency upgrade: sys-0.15.0 (#20231128113135)
  • Dependency upgrade: crypto-0.16.0 (#20231128113154, #20231128113156)
  • Dependency upgrade: v5-5.10.1 (#20231128113208, #20231128113220, #20231128113303, #20231128113359, #20231128113430, #20231128113445, #20231128113510, #20231128113546, #20231128113623, #20231128113639, #20231128113707, #20231128113735, #20231128113803, #20231128113835, #20231128113908, #20231128113913, #20231128114002, #20231128114009, #20231128114055, #20231128114107, #20231128114145, #20231128114213, #20231128114240, #20231128114305, #20231128114331, #20231128114354, #20231128114424, #20231128114455, #20231128114513, #20231128114542, #20231128114609, #20231128114631, #20231128114657, #20231128114728, #20231128114756, #20231128114814, #20231128114846, #20231128114914, #20231128114942, #20231128115011, #20231128115030, #20231128115102, #20231128115132, #20231128115145, #20231128115213, #20231128115230, #20231128115320, #20231128115329, #20231128115405, #20231128115427, #20231128115533)
  • Dependency upgrade: v3-3.23.11 (#20231201111000, #20231201111004)
  • Dependency upgrade: net-0.19.0 (#20231204144621, #20231204144633, #20231204144705, #20231204144707)
  • Dependency upgrade: viper-1.17.0 (#20231204145320, #20231204145327, #20231204145349, #20231204145355, #20231204145443, #20231204145528, #20231204145636, #20231204145722, #20231204145752, #20231204145755)
  • Dependency upgrade: afero-1.11.0 (#20231204145333, #20231204145342, #20231204145408, #20231204145417, #20231204145552)

"1.56.0" (2023-11-13)

Features

  • ✨ [logs] Add a logr.Logger quiet logger to only log errors (#20231113111138)

"1.55.0" (2023-11-13)

Features

  • [logs] Allow logrusr options to be set in NewLogrusLogger (#20231112110816)

"1.54.1" (2023-11-10)

Bugfixes

  • Dependency upgrade: zapr-1.3.0 (#20231103112832)
  • Dependency upgrade: text-0.14.0 (#20231106112638, #20231106112656, #20231106112715, #20231106112751, #20231106112800, #20231106112959, #20231106113031, #20231106113129, #20231106113156, #20231106113316, #20231106113342, #20231106113457, #20231106113533, #20231106113625, #20231106113654, #20231106113716, #20231106113816, #20231106113855, #20231106113923, #20231106114017)
  • Dependency upgrade: v4-4.1.0 (#20231106112647, #20231106112651)
  • Dependency upgrade: sys-0.14.0 (#20231106112719, #20231106112822, #20231106112858, #20231106113036, #20231106113051, #20231106113205, #20231106113224, #20231106113352, #20231106113359, #20231106113530, #20231106113610, #20231106113641, #20231106113713, #20231106113737, #20231106113823, #20231106113925, #20231106114004, #20231106114022, #20231106114034, #20231106114105, #20231106114141, #20231106114225, #20231106114233, #20231106114307, #20231106114313, #20231106114336, #20231106114350, #20231106114416, #20231106114443, #20231106114503, #20231106114519, #20231106114542, #20231106114602, #20231106114624, #20231106114644, #20231106114707, #20231106114726, #20231106114746, #20231106114804, #20231106114829, #20231106114841, #20231106114916, #20231106114927, #20231106114946, #20231106115001, #20231106115016, #20231106115035, #20231106115048, #20231106115109, #20231106115124, #20231106115148, #20231106115211, #20231106115248)
  • Dependency upgrade: sync-0.5.0 (#20231106112721, #20231106112727, #20231106112915, #20231106112952, #20231106113103, #20231106113118, #20231106113238, #20231106113241, #20231106113437)
  • Dependency upgrade: net-0.18.0 (#20231109113028, #20231109113112)
  • Dependency upgrade: net-0.18.0, crypto-0.15.0 (#20231109113034)
  • Dependency upgrade: crypto-0.15.0 (#20231109113042, #20231109113107, #20231109113125, #20231109113142, #20231109113215, #20231109113235, #20231109113248, #20231109113337, #20231109113346, #20231109113411, #20231109113437, #20231109113500, #20231109113530)
  • Dependency upgrade: v5-5.10.0 (#20231110093334, #20231110093337)
  • Dependency upgrade: go-retryablehttp-0.7.5 (#20231110114042, #20231110114045, #20231110114117)

"1.54.0" (2023-11-02)

Features

  • ✨ [filesystem] Add recursive methods for changing mode and ownership (#20231101113816)
  • ✨ [filesystem] Add Touch function to create empty files (#20231101113838)
  • ✨ [filesystem] Add Glob function to search for items which names match a glob pattern (#20231101113928)

Bugfixes

  • Dependency upgrade: v3-3.23.10 (#20231101111226)

"1.53.0" (2023-10-30)

Features

  • [platform] Add parameter substitution utilities for all platform (#20231029203453)
  • [environment] Add utilities to manipulate environment variable collections (#20231029203455)
  • ✨ [platform] Add portable variable name validation (#20231030114112)

"1.52.0" (2023-10-27)

Features

  • [platform] Introduce GetHomeDirectory() and GetDefaultDirectory() (#20231026194444)
  • [logs] Add a quiet logger (#20231027081549)
  • ✨ [platform] portable variable expansion (#20231027143154)
  • ✨ [environment] Add utilities to expand environment variables (#20231027170436)

Bugfixes

  • Dependency upgrade: logr-1.3.0 (#20231027104239)

"1.51.0" (2023-10-26)

Features

  • [platform] Add GetUser() and GetCurrentUser() (#20231026104543)

Bugfixes

  • Dependency upgrade: times-1.6.0 (#20231023102717, #20231023102723, #20231023102808)
  • Dependency upgrade: scorecard-action-2.3.1 (#20231024105414)
  • Dependency upgrade: goleak-1.3.0 (#20231025101547, #20231025101554, #20231025101625, #20231025101636, #20231025101711, #20231025101712)

"1.50.0" (2023-10-19)

Features

  • [environment] expose the validation rule for environment variable keys IsEnvironmentVariableKey (#20231017132731)
  • [platform] Add a way to remove path with escalated privileges (#20231017202810)
  • [filesystem] Add a method to force remove path assuming the user is a superuser (#20231017202858)

"1.49.0" (2023-10-17)

Features

  • [environment] Expose utilities for parsing and finding environment variables (#20231013160208)
  • [collection] Added AllNotEmpty and AnyEmpty to check the content of string slices (#20231016164922)
  • [collection] Added FindInSlice to extend Find search capabilities (#20231016173631)
  • [platform] Added a way to determine if a user has admin rights (i.e. root or superuser on Linux and administrator on Windows) (#20231016175953)
  • [command] Added a way to prepend commands (using Prepend()) to command wrappers in order to chain command wrappers easily (#20231016204910)
  • [platform] Added WithPrivileges so that commands are elevated with privileges depending on the permissions of the current user (#20231016234712)

Bugfixes

  • 🐛 [environment] Fix environment variables parsing when an entry is incorrect (#20231013160247)

"1.48.0" (2023-10-13)

Features

  • [platform] Add way to run commands as a user with privileges on posix systems (#20231013112742)
  • [command] Add utilities to translate commands so that they are run as a separate user (#20231013122936)

Bugfixes

  • Dependency upgrade: net-0.17.0 (#20231011103958)

"1.47.0" (2023-10-11)

Features

  • [logs] Added a PlainStringLogger to store only logged messages without prefixes or flags (#20231010192716)
  • [logs] Added a CombinedLoggers to log into multiple loggers (#20231010195032)
  • [subprocess] Added Output to store the output of a process into a string (#20231010200309)

"1.46.0" (2023-10-10)

Features

  • ✨ [environment] Add GetEnvironmentVariable() to fetch a specific environment variable (#20231010151706)
  • ✨ [environment] Extend GetEnvironmentVariables() to accept optional ...dotEnvFiles so that .env files can be loaded into the cur...
Read more

Release 1.56.1

04 Dec 15:30
Compare
Choose a tag to compare

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.56.1" (2023-12-04)

Bugfixes

  • Dependency upgrade: sys-0.15.0 (#20231128113135)
  • Dependency upgrade: crypto-0.16.0 (#20231128113154, #20231128113156)
  • Dependency upgrade: v5-5.10.1 (#20231128113208, #20231128113220, #20231128113303, #20231128113359, #20231128113430, #20231128113445, #20231128113510, #20231128113546, #20231128113623, #20231128113639, #20231128113707, #20231128113735, #20231128113803, #20231128113835, #20231128113908, #20231128113913, #20231128114002, #20231128114009, #20231128114055, #20231128114107, #20231128114145, #20231128114213, #20231128114240, #20231128114305, #20231128114331, #20231128114354, #20231128114424, #20231128114455, #20231128114513, #20231128114542, #20231128114609, #20231128114631, #20231128114657, #20231128114728, #20231128114756, #20231128114814, #20231128114846, #20231128114914, #20231128114942, #20231128115011, #20231128115030, #20231128115102, #20231128115132, #20231128115145, #20231128115213, #20231128115230, #20231128115320, #20231128115329, #20231128115405, #20231128115427, #20231128115533)
  • Dependency upgrade: v3-3.23.11 (#20231201111000, #20231201111004)
  • Dependency upgrade: net-0.19.0 (#20231204144621, #20231204144633, #20231204144705, #20231204144707)
  • Dependency upgrade: viper-1.17.0 (#20231204145320, #20231204145327, #20231204145349, #20231204145355, #20231204145443, #20231204145528, #20231204145636, #20231204145722, #20231204145752, #20231204145755)
  • Dependency upgrade: afero-1.11.0 (#20231204145333, #20231204145342, #20231204145408, #20231204145417, #20231204145552)

"1.56.0" (2023-11-13)

Features

  • ✨ [logs] Add a logr.Logger quiet logger to only log errors (#20231113111138)

"1.55.0" (2023-11-13)

Features

  • [logs] Allow logrusr options to be set in NewLogrusLogger (#20231112110816)

"1.54.1" (2023-11-10)

Bugfixes

  • Dependency upgrade: zapr-1.3.0 (#20231103112832)
  • Dependency upgrade: text-0.14.0 (#20231106112638, #20231106112656, #20231106112715, #20231106112751, #20231106112800, #20231106112959, #20231106113031, #20231106113129, #20231106113156, #20231106113316, #20231106113342, #20231106113457, #20231106113533, #20231106113625, #20231106113654, #20231106113716, #20231106113816, #20231106113855, #20231106113923, #20231106114017)
  • Dependency upgrade: v4-4.1.0 (#20231106112647, #20231106112651)
  • Dependency upgrade: sys-0.14.0 (#20231106112719, #20231106112822, #20231106112858, #20231106113036, #20231106113051, #20231106113205, #20231106113224, #20231106113352, #20231106113359, #20231106113530, #20231106113610, #20231106113641, #20231106113713, #20231106113737, #20231106113823, #20231106113925, #20231106114004, #20231106114022, #20231106114034, #20231106114105, #20231106114141, #20231106114225, #20231106114233, #20231106114307, #20231106114313, #20231106114336, #20231106114350, #20231106114416, #20231106114443, #20231106114503, #20231106114519, #20231106114542, #20231106114602, #20231106114624, #20231106114644, #20231106114707, #20231106114726, #20231106114746, #20231106114804, #20231106114829, #20231106114841, #20231106114916, #20231106114927, #20231106114946, #20231106115001, #20231106115016, #20231106115035, #20231106115048, #20231106115109, #20231106115124, #20231106115148, #20231106115211, #20231106115248)
  • Dependency upgrade: sync-0.5.0 (#20231106112721, #20231106112727, #20231106112915, #20231106112952, #20231106113103, #20231106113118, #20231106113238, #20231106113241, #20231106113437)
  • Dependency upgrade: net-0.18.0 (#20231109113028, #20231109113112)
  • Dependency upgrade: net-0.18.0, crypto-0.15.0 (#20231109113034)
  • Dependency upgrade: crypto-0.15.0 (#20231109113042, #20231109113107, #20231109113125, #20231109113142, #20231109113215, #20231109113235, #20231109113248, #20231109113337, #20231109113346, #20231109113411, #20231109113437, #20231109113500, #20231109113530)
  • Dependency upgrade: v5-5.10.0 (#20231110093334, #20231110093337)
  • Dependency upgrade: go-retryablehttp-0.7.5 (#20231110114042, #20231110114045, #20231110114117)

"1.54.0" (2023-11-02)

Features

  • ✨ [filesystem] Add recursive methods for changing mode and ownership (#20231101113816)
  • ✨ [filesystem] Add Touch function to create empty files (#20231101113838)
  • ✨ [filesystem] Add Glob function to search for items which names match a glob pattern (#20231101113928)

Bugfixes

  • Dependency upgrade: v3-3.23.10 (#20231101111226)

"1.53.0" (2023-10-30)

Features

  • [platform] Add parameter substitution utilities for all platform (#20231029203453)
  • [environment] Add utilities to manipulate environment variable collections (#20231029203455)
  • ✨ [platform] Add portable variable name validation (#20231030114112)

"1.52.0" (2023-10-27)

Features

  • [platform] Introduce GetHomeDirectory() and GetDefaultDirectory() (#20231026194444)
  • [logs] Add a quiet logger (#20231027081549)
  • ✨ [platform] portable variable expansion (#20231027143154)
  • ✨ [environment] Add utilities to expand environment variables (#20231027170436)

Bugfixes

  • Dependency upgrade: logr-1.3.0 (#20231027104239)

"1.51.0" (2023-10-26)

Features

  • [platform] Add GetUser() and GetCurrentUser() (#20231026104543)

Bugfixes

  • Dependency upgrade: times-1.6.0 (#20231023102717, #20231023102723, #20231023102808)
  • Dependency upgrade: scorecard-action-2.3.1 (#20231024105414)
  • Dependency upgrade: goleak-1.3.0 (#20231025101547, #20231025101554, #20231025101625, #20231025101636, #20231025101711, #20231025101712)

"1.50.0" (2023-10-19)

Features

  • [environment] expose the validation rule for environment variable keys IsEnvironmentVariableKey (#20231017132731)
  • [platform] Add a way to remove path with escalated privileges (#20231017202810)
  • [filesystem] Add a method to force remove path assuming the user is a superuser (#20231017202858)

"1.49.0" (2023-10-17)

Features

  • [environment] Expose utilities for parsing and finding environment variables (#20231013160208)
  • [collection] Added AllNotEmpty and AnyEmpty to check the content of string slices (#20231016164922)
  • [collection] Added FindInSlice to extend Find search capabilities (#20231016173631)
  • [platform] Added a way to determine if a user has admin rights (i.e. root or superuser on Linux and administrator on Windows) (#20231016175953)
  • [command] Added a way to prepend commands (using Prepend()) to command wrappers in order to chain command wrappers easily (#20231016204910)
  • [platform] Added WithPrivileges so that commands are elevated with privileges depending on the permissions of the current user (#20231016234712)

Bugfixes

  • 🐛 [environment] Fix environment variables parsing when an entry is incorrect (#20231013160247)

"1.48.0" (2023-10-13)

Features

  • [platform] Add way to run commands as a user with privileges on posix systems (#20231013112742)
  • [command] Add utilities to translate commands so that they are run as a separate user (#20231013122936)

Bugfixes

  • Dependency upgrade: net-0.17.0 (#20231011103958)

"1.47.0" (2023-10-11)

Features

  • [logs] Added a PlainStringLogger to store only logged messages without prefixes or flags (#20231010192716)
  • [logs] Added a CombinedLoggers to log into multiple loggers (#20231010195032)
  • [subprocess] Added Output to store the output of a process into a string (#20231010200309)

"1.46.0" (2023-10-10)

Features

  • ✨ [environment] Add GetEnvironmentVariable() to fetch a specific environment variable (#20231010151706)
  • ✨ [environment] Extend GetEnvironmentVariables() to accept optional ...dotEnvFiles so that .env files can be loaded into the current environment (#20231010151811)

Bugfixes

  • Dependency upgrade: crypto-0.14.0 (#20231006105016, #20231006105033, #20231006105306, #20231006105316, #20231006105439, #20231006105456, #20231006105642, #20231006105715, #20231006105924, #20231006105947, #20231006110151, #20231006110201, #20231006110353)
  • Dependency upgrade: sync-0.4.0 (#20231006105057, #20231006105131, #20231006105331, #20231006105346, #20231006105518, #20231006105558, #20231006105801, #20231006105822, #20231006110000, #20231006110026, #20231006110230, #20231006110248, #20231006110406, #20231006110425, #20231006110540, #20231006110558, #20231006110655, #20231006110724, #20231006110759, #20231006110821, #20231006111005, #20231006111019, #20231006111051, #20231006111113, #20231006111143, #20231006111159, #20231006111222, #20231006111244, #20231006111304, #20231006111320, #20231006111350, #20231006111416, #20231006111431, #20231006111513, #20231006111521, #20231006111550, #20231006111558, #20231006111626, #20231006111659, #20231006111744, #20231006111805, #20231006111824, #20231006111840, #20231006111912, #20231006111918, #20231006111955, #20231006112034, #20231006112105, #20231006112121, #202...
Read more

Release 1.56.0

13 Nov 13:09
Compare
Choose a tag to compare

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.56.0" (2023-11-13)

Features

  • ✨ [logs] Add a logr.Logger quiet logger to only log errors (#20231113111138)

"1.55.0" (2023-11-13)

Features

  • [logs] Allow logrusr options to be set in NewLogrusLogger (#20231112110816)

"1.54.1" (2023-11-10)

Bugfixes

  • Dependency upgrade: zapr-1.3.0 (#20231103112832)
  • Dependency upgrade: text-0.14.0 (#20231106112638, #20231106112656, #20231106112715, #20231106112751, #20231106112800, #20231106112959, #20231106113031, #20231106113129, #20231106113156, #20231106113316, #20231106113342, #20231106113457, #20231106113533, #20231106113625, #20231106113654, #20231106113716, #20231106113816, #20231106113855, #20231106113923, #20231106114017)
  • Dependency upgrade: v4-4.1.0 (#20231106112647, #20231106112651)
  • Dependency upgrade: sys-0.14.0 (#20231106112719, #20231106112822, #20231106112858, #20231106113036, #20231106113051, #20231106113205, #20231106113224, #20231106113352, #20231106113359, #20231106113530, #20231106113610, #20231106113641, #20231106113713, #20231106113737, #20231106113823, #20231106113925, #20231106114004, #20231106114022, #20231106114034, #20231106114105, #20231106114141, #20231106114225, #20231106114233, #20231106114307, #20231106114313, #20231106114336, #20231106114350, #20231106114416, #20231106114443, #20231106114503, #20231106114519, #20231106114542, #20231106114602, #20231106114624, #20231106114644, #20231106114707, #20231106114726, #20231106114746, #20231106114804, #20231106114829, #20231106114841, #20231106114916, #20231106114927, #20231106114946, #20231106115001, #20231106115016, #20231106115035, #20231106115048, #20231106115109, #20231106115124, #20231106115148, #20231106115211, #20231106115248)
  • Dependency upgrade: sync-0.5.0 (#20231106112721, #20231106112727, #20231106112915, #20231106112952, #20231106113103, #20231106113118, #20231106113238, #20231106113241, #20231106113437)
  • Dependency upgrade: net-0.18.0 (#20231109113028, #20231109113112)
  • Dependency upgrade: net-0.18.0, crypto-0.15.0 (#20231109113034)
  • Dependency upgrade: crypto-0.15.0 (#20231109113042, #20231109113107, #20231109113125, #20231109113142, #20231109113215, #20231109113235, #20231109113248, #20231109113337, #20231109113346, #20231109113411, #20231109113437, #20231109113500, #20231109113530)
  • Dependency upgrade: v5-5.10.0 (#20231110093334, #20231110093337)
  • Dependency upgrade: go-retryablehttp-0.7.5 (#20231110114042, #20231110114045, #20231110114117)

"1.54.0" (2023-11-02)

Features

  • ✨ [filesystem] Add recursive methods for changing mode and ownership (#20231101113816)
  • ✨ [filesystem] Add Touch function to create empty files (#20231101113838)
  • ✨ [filesystem] Add Glob function to search for items which names match a glob pattern (#20231101113928)

Bugfixes

  • Dependency upgrade: v3-3.23.10 (#20231101111226)

"1.53.0" (2023-10-30)

Features

  • [platform] Add parameter substitution utilities for all platform (#20231029203453)
  • [environment] Add utilities to manipulate environment variable collections (#20231029203455)
  • ✨ [platform] Add portable variable name validation (#20231030114112)

"1.52.0" (2023-10-27)

Features

  • [platform] Introduce GetHomeDirectory() and GetDefaultDirectory() (#20231026194444)
  • [logs] Add a quiet logger (#20231027081549)
  • ✨ [platform] portable variable expansion (#20231027143154)
  • ✨ [environment] Add utilities to expand environment variables (#20231027170436)

Bugfixes

  • Dependency upgrade: logr-1.3.0 (#20231027104239)

"1.51.0" (2023-10-26)

Features

  • [platform] Add GetUser() and GetCurrentUser() (#20231026104543)

Bugfixes

  • Dependency upgrade: times-1.6.0 (#20231023102717, #20231023102723, #20231023102808)
  • Dependency upgrade: scorecard-action-2.3.1 (#20231024105414)
  • Dependency upgrade: goleak-1.3.0 (#20231025101547, #20231025101554, #20231025101625, #20231025101636, #20231025101711, #20231025101712)

"1.50.0" (2023-10-19)

Features

  • [environment] expose the validation rule for environment variable keys IsEnvironmentVariableKey (#20231017132731)
  • [platform] Add a way to remove path with escalated privileges (#20231017202810)
  • [filesystem] Add a method to force remove path assuming the user is a superuser (#20231017202858)

"1.49.0" (2023-10-17)

Features

  • [environment] Expose utilities for parsing and finding environment variables (#20231013160208)
  • [collection] Added AllNotEmpty and AnyEmpty to check the content of string slices (#20231016164922)
  • [collection] Added FindInSlice to extend Find search capabilities (#20231016173631)
  • [platform] Added a way to determine if a user has admin rights (i.e. root or superuser on Linux and administrator on Windows) (#20231016175953)
  • [command] Added a way to prepend commands (using Prepend()) to command wrappers in order to chain command wrappers easily (#20231016204910)
  • [platform] Added WithPrivileges so that commands are elevated with privileges depending on the permissions of the current user (#20231016234712)

Bugfixes

  • 🐛 [environment] Fix environment variables parsing when an entry is incorrect (#20231013160247)

"1.48.0" (2023-10-13)

Features

  • [platform] Add way to run commands as a user with privileges on posix systems (#20231013112742)
  • [command] Add utilities to translate commands so that they are run as a separate user (#20231013122936)

Bugfixes

  • Dependency upgrade: net-0.17.0 (#20231011103958)

"1.47.0" (2023-10-11)

Features

  • [logs] Added a PlainStringLogger to store only logged messages without prefixes or flags (#20231010192716)
  • [logs] Added a CombinedLoggers to log into multiple loggers (#20231010195032)
  • [subprocess] Added Output to store the output of a process into a string (#20231010200309)

"1.46.0" (2023-10-10)

Features

  • ✨ [environment] Add GetEnvironmentVariable() to fetch a specific environment variable (#20231010151706)
  • ✨ [environment] Extend GetEnvironmentVariables() to accept optional ...dotEnvFiles so that .env files can be loaded into the current environment (#20231010151811)

Bugfixes

  • Dependency upgrade: crypto-0.14.0 (#20231006105016, #20231006105033, #20231006105306, #20231006105316, #20231006105439, #20231006105456, #20231006105642, #20231006105715, #20231006105924, #20231006105947, #20231006110151, #20231006110201, #20231006110353)
  • Dependency upgrade: sync-0.4.0 (#20231006105057, #20231006105131, #20231006105331, #20231006105346, #20231006105518, #20231006105558, #20231006105801, #20231006105822, #20231006110000, #20231006110026, #20231006110230, #20231006110248, #20231006110406, #20231006110425, #20231006110540, #20231006110558, #20231006110655, #20231006110724, #20231006110759, #20231006110821, #20231006111005, #20231006111019, #20231006111051, #20231006111113, #20231006111143, #20231006111159, #20231006111222, #20231006111244, #20231006111304, #20231006111320, #20231006111350, #20231006111416, #20231006111431, #20231006111513, #20231006111521, #20231006111550, #20231006111558, #20231006111626, #20231006111659, #20231006111744, #20231006111805, #20231006111824, #20231006111840, #20231006111912, #20231006111918, #20231006111955, #20231006112034, #20231006112105, #20231006112121, #20231006112140, #20231006112214, #20231006112228, #20231006112304, #20231006112323, #20231006112340, #20231006112406, #20231006112413, #20231006112454, #20231006112518, #20231006112553, #20231006112605, #20231006112630, #20231006112652, #20231006112708, #20231006112728, #20231006112810, #20231006112828, #20231006112857, #20231006112908, #20231006112943, #20231006113019, #20231006113023, #20231006113056, #20231006113128, #20231006113152, #20231006113206, #20231006113227, #20231006113242, #20231006113315, #20231006113334, #20231006113412, #20231006113425, #20231006113457, #20231006113513, #20231006113533, #20231006113548, #20231006113615, #20231006113625, #20231006113652, #20231006113712, #20231006113755, #20231006113803, #20231006113843, #20231006113902, #20231006113933, #20231006113939, #20231006114015, #20231006114017, #20231006114050, #20231006114121, #20231006114138, #20231006114156, #20231006114221, #20231006114244, #20231006114256, #20231006114329, #20231006114354, #20231006114406, #20231006114433, #20231006114451, #20231006114509, #20231006114527, #20231006114559, #20231006114603, #20231006114643, #20231006114706, #20231006114732, #20231006114746, #20231006114810, #20231006114825, #20231006114858, #20231006114904, #20231006114935, #20231006114946, #20231006115015, #20231006115024, #20231006115059, #20231006115119, #20231006115143, #20231006115154, #20231006115218, #20231006115232, #20231006115259, #20231006115332, #20231006115345, #20231006115423, #20231006115444, #20231006115501, #20231006115540, #20231006115542)
  • Dependency upgrade: net-0.16.0 (#2023100...
Read more