Releases: ARM-software/golang-utils
Release 1.55.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.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
] AddTouch
function to create empty files (#20231101113838) - ✨ [
filesystem
] AddGlob
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]
IntroduceGetHomeDirectory()
andGetDefaultDirectory()
(#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]
AddGetUser()
andGetCurrentUser()
(#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 keysIsEnvironmentVariableKey
(#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]
AddedAllNotEmpty
andAnyEmpty
to check the content of string slices (#20231016164922) - ✨
[collection]
AddedFindInSlice
to extendFind
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 (usingPrepend()
) to command wrappers in order to chain command wrappers easily (#20231016204910) - ✨
[platform]
AddedWithPrivileges
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 aPlainStringLogger
to store only logged messages without prefixes or flags (#20231010192716) - ✨
[logs]
Added aCombinedLoggers
to log into multiple loggers (#20231010195032) - ✨
[subprocess]
AddedOutput
to store the output of a process into a string (#20231010200309)
"1.46.0" (2023-10-10)
Features
- ✨ [
environment
] AddGetEnvironmentVariable()
to fetch a specific environment variable (#20231010151706) - ✨ [
environment
] ExtendGetEnvironmentVariables()
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 (#20231006105212, #20231006105253, #20231006105358, #20231006105426, #20231006105603, #20231006105637, #20231006105835, #20231006105910, #20231006110049, #202310061101...
Release 1.54.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.54.0" (2023-11-02)
Features
- ✨ [
filesystem
] Add recursive methods for changing mode and ownership (#20231101113816) - ✨ [
filesystem
] AddTouch
function to create empty files (#20231101113838) - ✨ [
filesystem
] AddGlob
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]
IntroduceGetHomeDirectory()
andGetDefaultDirectory()
(#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]
AddGetUser()
andGetCurrentUser()
(#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 keysIsEnvironmentVariableKey
(#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]
AddedAllNotEmpty
andAnyEmpty
to check the content of string slices (#20231016164922) - ✨
[collection]
AddedFindInSlice
to extendFind
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 (usingPrepend()
) to command wrappers in order to chain command wrappers easily (#20231016204910) - ✨
[platform]
AddedWithPrivileges
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 aPlainStringLogger
to store only logged messages without prefixes or flags (#20231010192716) - ✨
[logs]
Added aCombinedLoggers
to log into multiple loggers (#20231010195032) - ✨
[subprocess]
AddedOutput
to store the output of a process into a string (#20231010200309)
"1.46.0" (2023-10-10)
Features
- ✨ [
environment
] AddGetEnvironmentVariable()
to fetch a specific environment variable (#20231010151706) - ✨ [
environment
] ExtendGetEnvironmentVariables()
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 (#20231006105212, #20231006105253, #20231006105358, #20231006105426, #20231006105603, #20231006105637, #20231006105835, #20231006105910, #20231006110049, #20231006110126, #20231006110313)
- Dependency upgrade: scorecard-action-2.3.0 (#20231009105418, #20231009105432, #20231009105500, #20231009105513, #20231009105545, #20231009105551, #20231009105633)
"1.45.1" (2023-10-04)
Bugfixes
- Dependency upgrade: zap-1.26.0 (#20230927155149)
- Dependency upgrade: v3-3.23.9 (#20231002110104)
"1.45.0" (2023-09-27)
Features
- ✨
[logs]
Added support for slog, the future standard library logger (#20230731185357) - ✨
[commonerrors]
Add a way to serialise and deserialise errors (#20230926155050) - ⬆️ Upgrade to
golang
1.20 (#20230927094030)
Bugfixes
- Dependency upgrade: zap-1.25.0 (#20230908093729, #20230908093730)
- Dependency upgrade: zerolog-1.31.0 (#20230925102412, #20230925102416, #20230925102454, #20230925102503, #20230925102530, #20230925102543, #20230925102610, #20230925102617, #20230925102647, #20230925102656, #20230925102728, #20230925102750, #20230925102803, #20230925102828, #20230925102905, #20230925102931, #20230925102941, #20230925103014, #20230925103026, #20230925103103, #20230925103116, #20230925103142, #20230925103207, #20230925103226, #20230925103243, #20230925103310, #20230925103340, #20230925103356, #20230925103423, #20230925103447, #20230925103505, #20230925103551)
"1.44.1" (2023-09-19)
Bugfixes
- 🐛
[platform]
differentiate between the different architectures running Windows asarm
is not fully supported (#20230919122752)
"1.44.0" (2023-09-18)
Features
- ✨
[platform]
Add portable user management utilities similar touseradd
,usermod
,userdel
(#20230915181452)
"1.43.0" (2023-09-08)
Features
- ✨
[filesystem]
Add utilities to Fetch and Change file ownership usinguser.User
(#20230906170005) - ✨
[environment]
added utilities to describe the current environment (e.g. user, environment variables) (#20230907192415)
Bugfixes
- Dependency upgrade: checkout-4 (#20230905110552, #20230905110557, #20230905110628, #20230905110638, #20230905110715)
- Dependency upgrade: net-0.15.0 (#20230906101059, #20230906101110, #20230906101135, #20230906101156, #20230906101221, #20230906101310, #20230906101328...
Release 1.53.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.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]
IntroduceGetHomeDirectory()
andGetDefaultDirectory()
(#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]
AddGetUser()
andGetCurrentUser()
(#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 keysIsEnvironmentVariableKey
(#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]
AddedAllNotEmpty
andAnyEmpty
to check the content of string slices (#20231016164922) - ✨
[collection]
AddedFindInSlice
to extendFind
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 (usingPrepend()
) to command wrappers in order to chain command wrappers easily (#20231016204910) - ✨
[platform]
AddedWithPrivileges
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 aPlainStringLogger
to store only logged messages without prefixes or flags (#20231010192716) - ✨
[logs]
Added aCombinedLoggers
to log into multiple loggers (#20231010195032) - ✨
[subprocess]
AddedOutput
to store the output of a process into a string (#20231010200309)
"1.46.0" (2023-10-10)
Features
- ✨ [
environment
] AddGetEnvironmentVariable()
to fetch a specific environment variable (#20231010151706) - ✨ [
environment
] ExtendGetEnvironmentVariables()
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 (#20231006105212, #20231006105253, #20231006105358, #20231006105426, #20231006105603, #20231006105637, #20231006105835, #20231006105910, #20231006110049, #20231006110126, #20231006110313)
- Dependency upgrade: scorecard-action-2.3.0 (#20231009105418, #20231009105432, #20231009105500, #20231009105513, #20231009105545, #20231009105551, #20231009105633)
"1.45.1" (2023-10-04)
Bugfixes
- Dependency upgrade: zap-1.26.0 (#20230927155149)
- Dependency upgrade: v3-3.23.9 (#20231002110104)
"1.45.0" (2023-09-27)
Features
- ✨
[logs]
Added support for slog, the future standard library logger (#20230731185357) - ✨
[commonerrors]
Add a way to serialise and deserialise errors (#20230926155050) - ⬆️ Upgrade to
golang
1.20 (#20230927094030)
Bugfixes
- Dependency upgrade: zap-1.25.0 (#20230908093729, #20230908093730)
- Dependency upgrade: zerolog-1.31.0 (#20230925102412, #20230925102416, #20230925102454, #20230925102503, #20230925102530, #20230925102543, #20230925102610, #20230925102617, #20230925102647, #20230925102656, #20230925102728, #20230925102750, #20230925102803, #20230925102828, #20230925102905, #20230925102931, #20230925102941, #20230925103014, #20230925103026, #20230925103103, #20230925103116, #20230925103142, #20230925103207, #20230925103226, #20230925103243, #20230925103310, #20230925103340, #20230925103356, #20230925103423, #20230925103447, #20230925103505, #20230925103551)
"1.44.1" (2023-09-19)
Bugfixes
- 🐛
[platform]
differentiate between the different architectures running Windows asarm
is not fully supported (#20230919122752)
"1.44.0" (2023-09-18)
Features
- ✨
[platform]
Add portable user management utilities similar touseradd
,usermod
,userdel
(#20230915181452)
"1.43.0" (2023-09-08)
Features
- ✨
[filesystem]
Add utilities to Fetch and Change file ownership usinguser.User
(#20230906170005) - ✨
[environment]
added utilities to describe the current environment (e.g. user, environment variables) (#20230907192415)
Bugfixes
- Dependency upgrade: checkout-4 (#20230905110552, #20230905110557, #20230905110628, #20230905110638, #20230905110715)
- Dependency upgrade: net-0.15.0 (#20230906101059, #20230906101110, #20230906101135, #20230906101156, #20230906101221, #20230906101310, #20230906101328, #20230906101404, #20230906101421, #20230906101457, #20230906101519, #20230906101538, #20230906101600, #20230906101616, #20230906101638, #20230906101654, #20230906101731)
- Dependency upgrade: crypto-0.13.0 (#20230906101108, #20230906101114, #20230906101155)
- Dependency upgrade: upload-artifact-3.1.3 (#20230907104137)
"1.42.1" (2023-09-04)
Bugfixes
- Dependency upgrade: net-0.13.0 (#20230802102327)
- Depen...
Release 1.52.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.52.0" (2023-10-27)
Features
- ✨
[platform]
IntroduceGetHomeDirectory()
andGetDefaultDirectory()
(#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]
AddGetUser()
andGetCurrentUser()
(#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 keysIsEnvironmentVariableKey
(#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]
AddedAllNotEmpty
andAnyEmpty
to check the content of string slices (#20231016164922) - ✨
[collection]
AddedFindInSlice
to extendFind
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 (usingPrepend()
) to command wrappers in order to chain command wrappers easily (#20231016204910) - ✨
[platform]
AddedWithPrivileges
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 aPlainStringLogger
to store only logged messages without prefixes or flags (#20231010192716) - ✨
[logs]
Added aCombinedLoggers
to log into multiple loggers (#20231010195032) - ✨
[subprocess]
AddedOutput
to store the output of a process into a string (#20231010200309)
"1.46.0" (2023-10-10)
Features
- ✨ [
environment
] AddGetEnvironmentVariable()
to fetch a specific environment variable (#20231010151706) - ✨ [
environment
] ExtendGetEnvironmentVariables()
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 (#20231006105212, #20231006105253, #20231006105358, #20231006105426, #20231006105603, #20231006105637, #20231006105835, #20231006105910, #20231006110049, #20231006110126, #20231006110313)
- Dependency upgrade: scorecard-action-2.3.0 (#20231009105418, #20231009105432, #20231009105500, #20231009105513, #20231009105545, #20231009105551, #20231009105633)
"1.45.1" (2023-10-04)
Bugfixes
- Dependency upgrade: zap-1.26.0 (#20230927155149)
- Dependency upgrade: v3-3.23.9 (#20231002110104)
"1.45.0" (2023-09-27)
Features
- ✨
[logs]
Added support for slog, the future standard library logger (#20230731185357) - ✨
[commonerrors]
Add a way to serialise and deserialise errors (#20230926155050) - ⬆️ Upgrade to
golang
1.20 (#20230927094030)
Bugfixes
- Dependency upgrade: zap-1.25.0 (#20230908093729, #20230908093730)
- Dependency upgrade: zerolog-1.31.0 (#20230925102412, #20230925102416, #20230925102454, #20230925102503, #20230925102530, #20230925102543, #20230925102610, #20230925102617, #20230925102647, #20230925102656, #20230925102728, #20230925102750, #20230925102803, #20230925102828, #20230925102905, #20230925102931, #20230925102941, #20230925103014, #20230925103026, #20230925103103, #20230925103116, #20230925103142, #20230925103207, #20230925103226, #20230925103243, #20230925103310, #20230925103340, #20230925103356, #20230925103423, #20230925103447, #20230925103505, #20230925103551)
"1.44.1" (2023-09-19)
Bugfixes
- 🐛
[platform]
differentiate between the different architectures running Windows asarm
is not fully supported (#20230919122752)
"1.44.0" (2023-09-18)
Features
- ✨
[platform]
Add portable user management utilities similar touseradd
,usermod
,userdel
(#20230915181452)
"1.43.0" (2023-09-08)
Features
- ✨
[filesystem]
Add utilities to Fetch and Change file ownership usinguser.User
(#20230906170005) - ✨
[environment]
added utilities to describe the current environment (e.g. user, environment variables) (#20230907192415)
Bugfixes
- Dependency upgrade: checkout-4 (#20230905110552, #20230905110557, #20230905110628, #20230905110638, #20230905110715)
- Dependency upgrade: net-0.15.0 (#20230906101059, #20230906101110, #20230906101135, #20230906101156, #20230906101221, #20230906101310, #20230906101328, #20230906101404, #20230906101421, #20230906101457, #20230906101519, #20230906101538, #20230906101600, #20230906101616, #20230906101638, #20230906101654, #20230906101731)
- Dependency upgrade: crypto-0.13.0 (#20230906101108, #20230906101114, #20230906101155)
- Dependency upgrade: upload-artifact-3.1.3 (#20230907104137)
"1.42.1" (2023-09-04)
Bugfixes
- Dependency upgrade: net-0.13.0 (#20230802102327)
- Dependency upgrade: text-0.12.0 (#20230807104810, #20230807104823, #20230807104846, #20230807105004, #20230807105028, #20230807105225, #20230807105247, #20230807105450, #20230807105459, #20230807105738, #20230807105803, #20230807105958, #20230807110031, #20230807110220, #20230807110243, #20230807110509, #20230807110544, #20230807110745, #20230807110806, #20...
Release 1.51.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.51.0" (2023-10-26)
Features
- ✨
[platform]
AddGetUser()
andGetCurrentUser()
(#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 keysIsEnvironmentVariableKey
(#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]
AddedAllNotEmpty
andAnyEmpty
to check the content of string slices (#20231016164922) - ✨
[collection]
AddedFindInSlice
to extendFind
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 (usingPrepend()
) to command wrappers in order to chain command wrappers easily (#20231016204910) - ✨
[platform]
AddedWithPrivileges
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 aPlainStringLogger
to store only logged messages without prefixes or flags (#20231010192716) - ✨
[logs]
Added aCombinedLoggers
to log into multiple loggers (#20231010195032) - ✨
[subprocess]
AddedOutput
to store the output of a process into a string (#20231010200309)
"1.46.0" (2023-10-10)
Features
- ✨ [
environment
] AddGetEnvironmentVariable()
to fetch a specific environment variable (#20231010151706) - ✨ [
environment
] ExtendGetEnvironmentVariables()
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 (#20231006105212, #20231006105253, #20231006105358, #20231006105426, #20231006105603, #20231006105637, #20231006105835, #20231006105910, #20231006110049, #20231006110126, #20231006110313)
- Dependency upgrade: scorecard-action-2.3.0 (#20231009105418, #20231009105432, #20231009105500, #20231009105513, #20231009105545, #20231009105551, #20231009105633)
"1.45.1" (2023-10-04)
Bugfixes
- Dependency upgrade: zap-1.26.0 (#20230927155149)
- Dependency upgrade: v3-3.23.9 (#20231002110104)
"1.45.0" (2023-09-27)
Features
- ✨
[logs]
Added support for slog, the future standard library logger (#20230731185357) - ✨
[commonerrors]
Add a way to serialise and deserialise errors (#20230926155050) - ⬆️ Upgrade to
golang
1.20 (#20230927094030)
Bugfixes
- Dependency upgrade: zap-1.25.0 (#20230908093729, #20230908093730)
- Dependency upgrade: zerolog-1.31.0 (#20230925102412, #20230925102416, #20230925102454, #20230925102503, #20230925102530, #20230925102543, #20230925102610, #20230925102617, #20230925102647, #20230925102656, #20230925102728, #20230925102750, #20230925102803, #20230925102828, #20230925102905, #20230925102931, #20230925102941, #20230925103014, #20230925103026, #20230925103103, #20230925103116, #20230925103142, #20230925103207, #20230925103226, #20230925103243, #20230925103310, #20230925103340, #20230925103356, #20230925103423, #20230925103447, #20230925103505, #20230925103551)
"1.44.1" (2023-09-19)
Bugfixes
- 🐛
[platform]
differentiate between the different architectures running Windows asarm
is not fully supported (#20230919122752)
"1.44.0" (2023-09-18)
Features
- ✨
[platform]
Add portable user management utilities similar touseradd
,usermod
,userdel
(#20230915181452)
"1.43.0" (2023-09-08)
Features
- ✨
[filesystem]
Add utilities to Fetch and Change file ownership usinguser.User
(#20230906170005) - ✨
[environment]
added utilities to describe the current environment (e.g. user, environment variables) (#20230907192415)
Bugfixes
- Dependency upgrade: checkout-4 (#20230905110552, #20230905110557, #20230905110628, #20230905110638, #20230905110715)
- Dependency upgrade: net-0.15.0 (#20230906101059, #20230906101110, #20230906101135, #20230906101156, #20230906101221, #20230906101310, #20230906101328, #20230906101404, #20230906101421, #20230906101457, #20230906101519, #20230906101538, #20230906101600, #20230906101616, #20230906101638, #20230906101654, #20230906101731)
- Dependency upgrade: crypto-0.13.0 (#20230906101108, #20230906101114, #20230906101155)
- Dependency upgrade: upload-artifact-3.1.3 (#20230907104137)
"1.42.1" (2023-09-04)
Bugfixes
- Dependency upgrade: net-0.13.0 (#20230802102327)
- Dependency upgrade: text-0.12.0 (#20230807104810, #20230807104823, #20230807104846, #20230807105004, #20230807105028, #20230807105225, #20230807105247, #20230807105450, #20230807105459, #20230807105738, #20230807105803, #20230807105958, #20230807110031, #20230807110220, #20230807110243, #20230807110509, #20230807110544, #20230807110745, #20230807110806, #20230807110951, #20230807111011, #20230807111217, #20230807111233, #20230807111427, #20230807111451, #20230807111631, #20230807111656, #20230807111844, #20230807111912, #20230807112049, #20230807112116, #20230807112315, #20230807112322, #20230807112528, #20230807112610, #20230807112733, #20230807112800, #20230807112949, #20230807113018, #20230807113144, #20230807113158, #20230807113308, #20230807113326, #20230807113438, #20230807113452, #20230807113546, #20230807...
Release 1.50.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.50.0" (2023-10-19)
Features
- ✨
[environment]
expose the validation rule for environment variable keysIsEnvironmentVariableKey
(#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]
AddedAllNotEmpty
andAnyEmpty
to check the content of string slices (#20231016164922) - ✨
[collection]
AddedFindInSlice
to extendFind
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 (usingPrepend()
) to command wrappers in order to chain command wrappers easily (#20231016204910) - ✨
[platform]
AddedWithPrivileges
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 aPlainStringLogger
to store only logged messages without prefixes or flags (#20231010192716) - ✨
[logs]
Added aCombinedLoggers
to log into multiple loggers (#20231010195032) - ✨
[subprocess]
AddedOutput
to store the output of a process into a string (#20231010200309)
"1.46.0" (2023-10-10)
Features
- ✨ [
environment
] AddGetEnvironmentVariable()
to fetch a specific environment variable (#20231010151706) - ✨ [
environment
] ExtendGetEnvironmentVariables()
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 (#20231006105212, #20231006105253, #20231006105358, #20231006105426, #20231006105603, #20231006105637, #20231006105835, #20231006105910, #20231006110049, #20231006110126, #20231006110313)
- Dependency upgrade: scorecard-action-2.3.0 (#20231009105418, #20231009105432, #20231009105500, #20231009105513, #20231009105545, #20231009105551, #20231009105633)
"1.45.1" (2023-10-04)
Bugfixes
- Dependency upgrade: zap-1.26.0 (#20230927155149)
- Dependency upgrade: v3-3.23.9 (#20231002110104)
"1.45.0" (2023-09-27)
Features
- ✨
[logs]
Added support for slog, the future standard library logger (#20230731185357) - ✨
[commonerrors]
Add a way to serialise and deserialise errors (#20230926155050) - ⬆️ Upgrade to
golang
1.20 (#20230927094030)
Bugfixes
- Dependency upgrade: zap-1.25.0 (#20230908093729, #20230908093730)
- Dependency upgrade: zerolog-1.31.0 (#20230925102412, #20230925102416, #20230925102454, #20230925102503, #20230925102530, #20230925102543, #20230925102610, #20230925102617, #20230925102647, #20230925102656, #20230925102728, #20230925102750, #20230925102803, #20230925102828, #20230925102905, #20230925102931, #20230925102941, #20230925103014, #20230925103026, #20230925103103, #20230925103116, #20230925103142, #20230925103207, #20230925103226, #20230925103243, #20230925103310, #20230925103340, #20230925103356, #20230925103423, #20230925103447, #20230925103505, #20230925103551)
"1.44.1" (2023-09-19)
Bugfixes
- 🐛
[platform]
differentiate between the different architectures running Windows asarm
is not fully supported (#20230919122752)
"1.44.0" (2023-09-18)
Features
- ✨
[platform]
Add portable user management utilities similar touseradd
,usermod
,userdel
(#20230915181452)
"1.43.0" (2023-09-08)
Features
- ✨
[filesystem]
Add utilities to Fetch and Change file ownership usinguser.User
(#20230906170005) - ✨
[environment]
added utilities to describe the current environment (e.g. user, environment variables) (#20230907192415)
Bugfixes
- Dependency upgrade: checkout-4 (#20230905110552, #20230905110557, #20230905110628, #20230905110638, #20230905110715)
- Dependency upgrade: net-0.15.0 (#20230906101059, #20230906101110, #20230906101135, #20230906101156, #20230906101221, #20230906101310, #20230906101328, #20230906101404, #20230906101421, #20230906101457, #20230906101519, #20230906101538, #20230906101600, #20230906101616, #20230906101638, #20230906101654, #20230906101731)
- Dependency upgrade: crypto-0.13.0 (#20230906101108, #20230906101114, #20230906101155)
- Dependency upgrade: upload-artifact-3.1.3 (#20230907104137)
"1.42.1" (2023-09-04)
Bugfixes
- Dependency upgrade: net-0.13.0 (#20230802102327)
- Dependency upgrade: text-0.12.0 (#20230807104810, #20230807104823, #20230807104846, #20230807105004, #20230807105028, #20230807105225, #20230807105247, #20230807105450, #20230807105459, #20230807105738, #20230807105803, #20230807105958, #20230807110031, #20230807110220, #20230807110243, #20230807110509, #20230807110544, #20230807110745, #20230807110806, #20230807110951, #20230807111011, #20230807111217, #20230807111233, #20230807111427, #20230807111451, #20230807111631, #20230807111656, #20230807111844, #20230807111912, #20230807112049, #20230807112116, #20230807112315, #20230807112322, #20230807112528, #20230807112610, #20230807112733, #20230807112800, #20230807112949, #20230807113018, #20230807113144, #20230807113158, #20230807113308, #20230807113326, #20230807113438, #20230807113452, #20230807113546, #20230807113606, #20230807113716, #20230807113727, #20230807113839, #20230807113900, #20230807113950, #20230807114008, #20230807114117, #20230807114123, #20230807114239, #20230807114254, #20230807114419, #20230807114428, #20230807114518, #20230807114536, #20230807114655, #20230807114725, #20230807114810, #20230807114851, #20230807114925, #20230807115021, #20230807115035, #20230807115126, #20230807115200, #20230807115232, #20230807115332, #20230807115426, #202308...
Release 1.49.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.49.0" (2023-10-17)
Features
- ✨
[environment]
Expose utilities for parsing and finding environment variables (#20231013160208) - ✨
[collection]
AddedAllNotEmpty
andAnyEmpty
to check the content of string slices (#20231016164922) - ✨
[collection]
AddedFindInSlice
to extendFind
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 (usingPrepend()
) to command wrappers in order to chain command wrappers easily (#20231016204910) - ✨
[platform]
AddedWithPrivileges
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 aPlainStringLogger
to store only logged messages without prefixes or flags (#20231010192716) - ✨
[logs]
Added aCombinedLoggers
to log into multiple loggers (#20231010195032) - ✨
[subprocess]
AddedOutput
to store the output of a process into a string (#20231010200309)
"1.46.0" (2023-10-10)
Features
- ✨ [
environment
] AddGetEnvironmentVariable()
to fetch a specific environment variable (#20231010151706) - ✨ [
environment
] ExtendGetEnvironmentVariables()
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 (#20231006105212, #20231006105253, #20231006105358, #20231006105426, #20231006105603, #20231006105637, #20231006105835, #20231006105910, #20231006110049, #20231006110126, #20231006110313)
- Dependency upgrade: scorecard-action-2.3.0 (#20231009105418, #20231009105432, #20231009105500, #20231009105513, #20231009105545, #20231009105551, #20231009105633)
"1.45.1" (2023-10-04)
Bugfixes
- Dependency upgrade: zap-1.26.0 (#20230927155149)
- Dependency upgrade: v3-3.23.9 (#20231002110104)
"1.45.0" (2023-09-27)
Features
- ✨
[logs]
Added support for slog, the future standard library logger (#20230731185357) - ✨
[commonerrors]
Add a way to serialise and deserialise errors (#20230926155050) - ⬆️ Upgrade to
golang
1.20 (#20230927094030)
Bugfixes
- Dependency upgrade: zap-1.25.0 (#20230908093729, #20230908093730)
- Dependency upgrade: zerolog-1.31.0 (#20230925102412, #20230925102416, #20230925102454, #20230925102503, #20230925102530, #20230925102543, #20230925102610, #20230925102617, #20230925102647, #20230925102656, #20230925102728, #20230925102750, #20230925102803, #20230925102828, #20230925102905, #20230925102931, #20230925102941, #20230925103014, #20230925103026, #20230925103103, #20230925103116, #20230925103142, #20230925103207, #20230925103226, #20230925103243, #20230925103310, #20230925103340, #20230925103356, #20230925103423, #20230925103447, #20230925103505, #20230925103551)
"1.44.1" (2023-09-19)
Bugfixes
- 🐛
[platform]
differentiate between the different architectures running Windows asarm
is not fully supported (#20230919122752)
"1.44.0" (2023-09-18)
Features
- ✨
[platform]
Add portable user management utilities similar touseradd
,usermod
,userdel
(#20230915181452)
"1.43.0" (2023-09-08)
Features
- ✨
[filesystem]
Add utilities to Fetch and Change file ownership usinguser.User
(#20230906170005) - ✨
[environment]
added utilities to describe the current environment (e.g. user, environment variables) (#20230907192415)
Bugfixes
- Dependency upgrade: checkout-4 (#20230905110552, #20230905110557, #20230905110628, #20230905110638, #20230905110715)
- Dependency upgrade: net-0.15.0 (#20230906101059, #20230906101110, #20230906101135, #20230906101156, #20230906101221, #20230906101310, #20230906101328, #20230906101404, #20230906101421, #20230906101457, #20230906101519, #20230906101538, #20230906101600, #20230906101616, #20230906101638, #20230906101654, #20230906101731)
- Dependency upgrade: crypto-0.13.0 (#20230906101108, #20230906101114, #20230906101155)
- Dependency upgrade: upload-artifact-3.1.3 (#20230907104137)
"1.42.1" (2023-09-04)
Bugfixes
- Dependency upgrade: net-0.13.0 (#20230802102327)
- Dependency upgrade: text-0.12.0 (#20230807104810, #20230807104823, #20230807104846, #20230807105004, #20230807105028, #20230807105225, #20230807105247, #20230807105450, #20230807105459, #20230807105738, #20230807105803, #20230807105958, #20230807110031, #20230807110220, #20230807110243, #20230807110509, #20230807110544, #20230807110745, #20230807110806, #20230807110951, #20230807111011, #20230807111217, #20230807111233, #20230807111427, #20230807111451, #20230807111631, #20230807111656, #20230807111844, #20230807111912, #20230807112049, #20230807112116, #20230807112315, #20230807112322, #20230807112528, #20230807112610, #20230807112733, #20230807112800, #20230807112949, #20230807113018, #20230807113144, #20230807113158, #20230807113308, #20230807113326, #20230807113438, #20230807113452, #20230807113546, #20230807113606, #20230807113716, #20230807113727, #20230807113839, #20230807113900, #20230807113950, #20230807114008, #20230807114117, #20230807114123, #20230807114239, #20230807114254, #20230807114419, #20230807114428, #20230807114518, #20230807114536, #20230807114655, #20230807114725, #20230807114810, #20230807114851, #20230807114925, #20230807115021, #20230807115035, #20230807115126, #20230807115200, #20230807115232, #20230807115332, #20230807115426, #20230807115453, #20230807115541, #20230807115612, #20230807115711, #20230807115746, #20230807115830, #20230807115910, #20230807120005, #20230807120102, #20230807120146, #20230807120223, #20230807120321, #20230807120353, #20230807120453, #20230807120539, #20230807120627, #20230807120731, #20230807120813, #20230807120849, #20230807120948, #20230807121026, #20230807121119, #20230807121152, #20230807121241, #202...
Release 1.48.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.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 aPlainStringLogger
to store only logged messages without prefixes or flags (#20231010192716) - ✨
[logs]
Added aCombinedLoggers
to log into multiple loggers (#20231010195032) - ✨
[subprocess]
AddedOutput
to store the output of a process into a string (#20231010200309)
"1.46.0" (2023-10-10)
Features
- ✨ [
environment
] AddGetEnvironmentVariable()
to fetch a specific environment variable (#20231010151706) - ✨ [
environment
] ExtendGetEnvironmentVariables()
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 (#20231006105212, #20231006105253, #20231006105358, #20231006105426, #20231006105603, #20231006105637, #20231006105835, #20231006105910, #20231006110049, #20231006110126, #20231006110313)
- Dependency upgrade: scorecard-action-2.3.0 (#20231009105418, #20231009105432, #20231009105500, #20231009105513, #20231009105545, #20231009105551, #20231009105633)
"1.45.1" (2023-10-04)
Bugfixes
- Dependency upgrade: zap-1.26.0 (#20230927155149)
- Dependency upgrade: v3-3.23.9 (#20231002110104)
"1.45.0" (2023-09-27)
Features
- ✨
[logs]
Added support for slog, the future standard library logger (#20230731185357) - ✨
[commonerrors]
Add a way to serialise and deserialise errors (#20230926155050) - ⬆️ Upgrade to
golang
1.20 (#20230927094030)
Bugfixes
- Dependency upgrade: zap-1.25.0 (#20230908093729, #20230908093730)
- Dependency upgrade: zerolog-1.31.0 (#20230925102412, #20230925102416, #20230925102454, #20230925102503, #20230925102530, #20230925102543, #20230925102610, #20230925102617, #20230925102647, #20230925102656, #20230925102728, #20230925102750, #20230925102803, #20230925102828, #20230925102905, #20230925102931, #20230925102941, #20230925103014, #20230925103026, #20230925103103, #20230925103116, #20230925103142, #20230925103207, #20230925103226, #20230925103243, #20230925103310, #20230925103340, #20230925103356, #20230925103423, #20230925103447, #20230925103505, #20230925103551)
"1.44.1" (2023-09-19)
Bugfixes
- 🐛
[platform]
differentiate between the different architectures running Windows asarm
is not fully supported (#20230919122752)
"1.44.0" (2023-09-18)
Features
- ✨
[platform]
Add portable user management utilities similar touseradd
,usermod
,userdel
(#20230915181452)
"1.43.0" (2023-09-08)
Features
- ✨
[filesystem]
Add utilities to Fetch and Change file ownership usinguser.User
(#20230906170005) - ✨
[environment]
added utilities to describe the current environment (e.g. user, environment variables) (#20230907192415)
Bugfixes
- Dependency upgrade: checkout-4 (#20230905110552, #20230905110557, #20230905110628, #20230905110638, #20230905110715)
- Dependency upgrade: net-0.15.0 (#20230906101059, #20230906101110, #20230906101135, #20230906101156, #20230906101221, #20230906101310, #20230906101328, #20230906101404, #20230906101421, #20230906101457, #20230906101519, #20230906101538, #20230906101600, #20230906101616, #20230906101638, #20230906101654, #20230906101731)
- Dependency upgrade: crypto-0.13.0 (#20230906101108, #20230906101114, #20230906101155)
- Dependency upgrade: upload-artifact-3.1.3 (#20230907104137)
"1.42.1" (2023-09-04)
Bugfixes
- Dependency upgrade: net-0.13.0 (#20230802102327)
- Dependency upgrade: text-0.12.0 (#20230807104810, #20230807104823, #20230807104846, #20230807105004, #20230807105028, #20230807105225, #20230807105247, #20230807105450, #20230807105459, #20230807105738, #20230807105803, #20230807105958, #20230807110031, #20230807110220, #20230807110243, #20230807110509, #20230807110544, #20230807110745, #20230807110806, #20230807110951, #20230807111011, #20230807111217, #20230807111233, #20230807111427, #20230807111451, #20230807111631, #20230807111656, #20230807111844, #20230807111912, #20230807112049, #20230807112116, #20230807112315, #20230807112322, #20230807112528, #20230807112610, #20230807112733, #20230807112800, #20230807112949, #20230807113018, #20230807113144, #20230807113158, #20230807113308, #20230807113326, #20230807113438, #20230807113452, #20230807113546, #20230807113606, #20230807113716, #20230807113727, #20230807113839, #20230807113900, #20230807113950, #20230807114008, #20230807114117, #20230807114123, #20230807114239, #20230807114254, #20230807114419, #20230807114428, #20230807114518, #20230807114536, #20230807114655, #20230807114725, #20230807114810, #20230807114851, #20230807114925, #20230807115021, #20230807115035, #20230807115126, #20230807115200, #20230807115232, #20230807115332, #20230807115426, #20230807115453, #20230807115541, #20230807115612, #20230807115711, #20230807115746, #20230807115830, #20230807115910, #20230807120005, #20230807120102, #20230807120146, #20230807120223, #20230807120321, #20230807120353, #20230807120453, #20230807120539, #20230807120627, #20230807120731, #20230807120813, #20230807120849, #20230807120948, #20230807121026, #20230807121119, #20230807121152, #20230807121241, #20230807121332, #20230807121403, #20230807121442, #20230807121537, #20230807121645, #20230807121717, #20230807121805, #20230807121906, #20230807121946, #20230807122027, #20230807122108, #20230807122147, #20230807122242, #20230807122321, #20230807122403, #20230807122516, #20230807122552, #20230807122642, #20230807122710, #20230807122758, #20230807122833, #20230807122908, #20230807122942, #20230807123020, #20230807123128, #20230807123145, #20230807123224, #20230807123252, #20230807123338, #20230807123437, #20230807123512, #20230807123545, #20230807123624, #20230807123649, #20230807123744, #20230807123800, #20230807123847, #20230807123908, #20230807124016, #20230807124043, #20230807124136, #20230807124156, #20230807124255, #20230807124304, #20230807124409, #20230807124421, #20230807124523, #20230807124536, #20230807124634, #20230807124654, #20230807124743, #20230807124817, #20230807124857, #20230807124936, #20230807125006, #20230807125032, #20230807125110, #20230807125215, #20230807125245, #...
Release 1.47.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.47.0" (2023-10-11)
Features
- ✨
[logs]
Added aPlainStringLogger
to store only logged messages without prefixes or flags (#20231010192716) - ✨
[logs]
Added aCombinedLoggers
to log into multiple loggers (#20231010195032) - ✨
[subprocess]
AddedOutput
to store the output of a process into a string (#20231010200309)
"1.46.0" (2023-10-10)
Features
- ✨ [
environment
] AddGetEnvironmentVariable()
to fetch a specific environment variable (#20231010151706) - ✨ [
environment
] ExtendGetEnvironmentVariables()
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 (#20231006105212, #20231006105253, #20231006105358, #20231006105426, #20231006105603, #20231006105637, #20231006105835, #20231006105910, #20231006110049, #20231006110126, #20231006110313)
- Dependency upgrade: scorecard-action-2.3.0 (#20231009105418, #20231009105432, #20231009105500, #20231009105513, #20231009105545, #20231009105551, #20231009105633)
"1.45.1" (2023-10-04)
Bugfixes
- Dependency upgrade: zap-1.26.0 (#20230927155149)
- Dependency upgrade: v3-3.23.9 (#20231002110104)
"1.45.0" (2023-09-27)
Features
- ✨
[logs]
Added support for slog, the future standard library logger (#20230731185357) - ✨
[commonerrors]
Add a way to serialise and deserialise errors (#20230926155050) - ⬆️ Upgrade to
golang
1.20 (#20230927094030)
Bugfixes
- Dependency upgrade: zap-1.25.0 (#20230908093729, #20230908093730)
- Dependency upgrade: zerolog-1.31.0 (#20230925102412, #20230925102416, #20230925102454, #20230925102503, #20230925102530, #20230925102543, #20230925102610, #20230925102617, #20230925102647, #20230925102656, #20230925102728, #20230925102750, #20230925102803, #20230925102828, #20230925102905, #20230925102931, #20230925102941, #20230925103014, #20230925103026, #20230925103103, #20230925103116, #20230925103142, #20230925103207, #20230925103226, #20230925103243, #20230925103310, #20230925103340, #20230925103356, #20230925103423, #20230925103447, #20230925103505, #20230925103551)
"1.44.1" (2023-09-19)
Bugfixes
- 🐛
[platform]
differentiate between the different architectures running Windows asarm
is not fully supported (#20230919122752)
"1.44.0" (2023-09-18)
Features
- ✨
[platform]
Add portable user management utilities similar touseradd
,usermod
,userdel
(#20230915181452)
"1.43.0" (2023-09-08)
Features
- ✨
[filesystem]
Add utilities to Fetch and Change file ownership usinguser.User
(#20230906170005) - ✨
[environment]
added utilities to describe the current environment (e.g. user, environment variables) (#20230907192415)
Bugfixes
- Dependency upgrade: checkout-4 (#20230905110552, #20230905110557, #20230905110628, #20230905110638, #20230905110715)
- Dependency upgrade: net-0.15.0 (#20230906101059, #20230906101110, #20230906101135, #20230906101156, #20230906101221, #20230906101310, #20230906101328, #20230906101404, #20230906101421, #20230906101457, #20230906101519, #20230906101538, #20230906101600, #20230906101616, #20230906101638, #20230906101654, #20230906101731)
- Dependency upgrade: crypto-0.13.0 (#20230906101108, #20230906101114, #20230906101155)
- Dependency upgrade: upload-artifact-3.1.3 (#20230907104137)
"1.42.1" (2023-09-04)
Bugfixes
- Dependency upgrade: net-0.13.0 (#20230802102327)
- Dependency upgrade: text-0.12.0 (#20230807104810, #20230807104823, #20230807104846, #20230807105004, #20230807105028, #20230807105225, #20230807105247, #20230807105450, #20230807105459, #20230807105738, #20230807105803, #20230807105958, #20230807110031, #20230807110220, #20230807110243, #20230807110509, #20230807110544, #20230807110745, #20230807110806, #20230807110951, #20230807111011, #20230807111217, #20230807111233, #20230807111427, #20230807111451, #20230807111631, #20230807111656, #20230807111844, #20230807111912, #20230807112049, #20230807112116, #20230807112315, #20230807112322, #20230807112528, #20230807112610, #20230807112733, #20230807112800, #20230807112949, #20230807113018, #20230807113144, #20230807113158, #20230807113308, #20230807113326, #20230807113438, #20230807113452, #20230807113546, #20230807113606, #20230807113716, #20230807113727, #20230807113839, #20230807113900, #20230807113950, #20230807114008, #20230807114117, #20230807114123, #20230807114239, #20230807114254, #20230807114419, #20230807114428, #20230807114518, #20230807114536, #20230807114655, #20230807114725, #20230807114810, #20230807114851, #20230807114925, #20230807115021, #20230807115035, #20230807115126, #20230807115200, #20230807115232, #20230807115332, #20230807115426, #20230807115453, #20230807115541, #20230807115612, #20230807115711, #20230807115746, #20230807115830, #20230807115910, #20230807120005, #20230807120102, #20230807120146, #20230807120223, #20230807120321, #20230807120353, #20230807120453, #20230807120539, #20230807120627, #20230807120731, #20230807120813, #20230807120849, #20230807120948, #20230807121026, #20230807121119, #20230807121152, #20230807121241, #20230807121332, #20230807121403, #20230807121442, #20230807121537, #20230807121645, #20230807121717, #20230807121805, #20230807121906, #20230807121946, #20230807122027, #20230807122108, #20230807122147, #20230807122242, #20230807122321, #20230807122403, #20230807122516, #20230807122552, #20230807122642, #20230807122710, #20230807122758, #20230807122833, #20230807122908, #20230807122942, #20230807123020, #20230807123128, #20230807123145, #20230807123224, #20230807123252, #20230807123338, #20230807123437, #20230807123512, #20230807123545, #20230807123624, #20230807123649, #20230807123744, #20230807123800, #20230807123847, #20230807123908, #20230807124016, #20230807124043, #20230807124136, #20230807124156, #20230807124255, #20230807124304, #20230807124409, #20230807124421, #20230807124523, #20230807124536, #20230807124634, #20230807124654, #20230807124743, #20230807124817, #20230807124857, #20230807124936, #20230807125006, #20230807125032, #20230807125110, #20230807125215, #20230807125245, #20230807125337, #20230807125403, #20230807125449, #20230807125542, #20230807125615, #20230807125637, #20230807125734, #20230807125757, #20230807125858, #20230807125916, #20230807130034)
- Dependency upgrade: crypto-0.12.0 (#20230807104811, #20230807104815, #20230807104856, #20230807104914, #20230807105129, #20230807105202, #20230807105345, #20230807105419, #20230807...
Release 1.46.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.46.0" (2023-10-10)
Features
- ✨ [
environment
] AddGetEnvironmentVariable()
to fetch a specific environment variable (#20231010151706) - ✨ [
environment
] ExtendGetEnvironmentVariables()
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 (#20231006105212, #20231006105253, #20231006105358, #20231006105426, #20231006105603, #20231006105637, #20231006105835, #20231006105910, #20231006110049, #20231006110126, #20231006110313)
- Dependency upgrade: scorecard-action-2.3.0 (#20231009105418, #20231009105432, #20231009105500, #20231009105513, #20231009105545, #20231009105551, #20231009105633)
"1.45.1" (2023-10-04)
Bugfixes
- Dependency upgrade: zap-1.26.0 (#20230927155149)
- Dependency upgrade: v3-3.23.9 (#20231002110104)
"1.45.0" (2023-09-27)
Features
- ✨
[logs]
Added support for slog, the future standard library logger (#20230731185357) - ✨
[commonerrors]
Add a way to serialise and deserialise errors (#20230926155050) - ⬆️ Upgrade to
golang
1.20 (#20230927094030)
Bugfixes
- Dependency upgrade: zap-1.25.0 (#20230908093729, #20230908093730)
- Dependency upgrade: zerolog-1.31.0 (#20230925102412, #20230925102416, #20230925102454, #20230925102503, #20230925102530, #20230925102543, #20230925102610, #20230925102617, #20230925102647, #20230925102656, #20230925102728, #20230925102750, #20230925102803, #20230925102828, #20230925102905, #20230925102931, #20230925102941, #20230925103014, #20230925103026, #20230925103103, #20230925103116, #20230925103142, #20230925103207, #20230925103226, #20230925103243, #20230925103310, #20230925103340, #20230925103356, #20230925103423, #20230925103447, #20230925103505, #20230925103551)
"1.44.1" (2023-09-19)
Bugfixes
- 🐛
[platform]
differentiate between the different architectures running Windows asarm
is not fully supported (#20230919122752)
"1.44.0" (2023-09-18)
Features
- ✨
[platform]
Add portable user management utilities similar touseradd
,usermod
,userdel
(#20230915181452)
"1.43.0" (2023-09-08)
Features
- ✨
[filesystem]
Add utilities to Fetch and Change file ownership usinguser.User
(#20230906170005) - ✨
[environment]
added utilities to describe the current environment (e.g. user, environment variables) (#20230907192415)
Bugfixes
- Dependency upgrade: checkout-4 (#20230905110552, #20230905110557, #20230905110628, #20230905110638, #20230905110715)
- Dependency upgrade: net-0.15.0 (#20230906101059, #20230906101110, #20230906101135, #20230906101156, #20230906101221, #20230906101310, #20230906101328, #20230906101404, #20230906101421, #20230906101457, #20230906101519, #20230906101538, #20230906101600, #20230906101616, #20230906101638, #20230906101654, #20230906101731)
- Dependency upgrade: crypto-0.13.0 (#20230906101108, #20230906101114, #20230906101155)
- Dependency upgrade: upload-artifact-3.1.3 (#20230907104137)
"1.42.1" (2023-09-04)
Bugfixes
- Dependency upgrade: net-0.13.0 (#20230802102327)
- Dependency upgrade: text-0.12.0 (#20230807104810, #20230807104823, #20230807104846, #20230807105004, #20230807105028, #20230807105225, #20230807105247, #20230807105450, #20230807105459, #20230807105738, #20230807105803, #20230807105958, #20230807110031, #20230807110220, #20230807110243, #20230807110509, #20230807110544, #20230807110745, #20230807110806, #20230807110951, #20230807111011, #20230807111217, #20230807111233, #20230807111427, #20230807111451, #20230807111631, #20230807111656, #20230807111844, #20230807111912, #20230807112049, #20230807112116, #20230807112315, #20230807112322, #20230807112528, #20230807112610, #20230807112733, #20230807112800, #20230807112949, #20230807113018, #20230807113144, #20230807113158, #20230807113308, #20230807113326, #20230807113438, #20230807113452, #20230807113546, #20230807113606, #20230807113716, #20230807113727, #20230807113839, #20230807113900, #20230807113950, #20230807114008, #20230807114117, #20230807114123, #20230807114239, #20230807114254, #20230807114419, #20230807114428, #20230807114518, #20230807114536, #20230807114655, #20230807114725, #20230807114810, #20230807114851, #20230807114925, #20230807115021, #20230807115035, #20230807115126, #20230807115200, #20230807115232, #20230807115332, #20230807115426, #20230807115453, #20230807115541, #20230807115612, #20230807115711, #20230807115746, #20230807115830, #20230807115910, #20230807120005, #20230807120102, #20230807120146, #20230807120223, #20230807120321, #20230807120353, #20230807120453, #20230807120539, #20230807120627, #20230807120731, #20230807120813, #20230807120849, #20230807120948, #20230807121026, #20230807121119, #20230807121152, #20230807121241, #20230807121332, #20230807121403, #20230807121442, #20230807121537, #20230807121645, #20230807121717, #20230807121805, #20230807121906, #20230807121946, #20230807122027, #20230807122108, #20230807122147, #20230807122242, #20230807122321, #20230807122403, #20230807122516, #20230807122552, #20230807122642, #20230807122710, #20230807122758, #20230807122833, #20230807122908, #20230807122942, #20230807123020, #20230807123128, #20230807123145, #20230807123224, #20230807123252, #20230807123338, #20230807123437, #20230807123512, #20230807123545, #20230807123624, #20230807123649, #20230807123744, #20230807123800, #20230807123847, #20230807123908, #20230807124016, #20230807124043, #20230807124136, #20230807124156, #20230807124255, #20230807124304, #20230807124409, #20230807124421, #20230807124523, #20230807124536, #20230807124634, #20230807124654, #20230807124743, #20230807124817, #20230807124857, #20230807124936, #20230807125006, #20230807125032, #20230807125110, #20230807125215, #20230807125245, #20230807125337, #20230807125403, #20230807125449, #20230807125542, #20230807125615, #20230807125637, #20230807125734, #20230807125757, #20230807125858, #20230807125916, #20230807130034)
- Dependency upgrade: crypto-0.12.0 (#20230807104811, #20230807104815, #20230807104856, #20230807104914, #20230807105129, #20230807105202, #20230807105345, #20230807105419, #20230807105549, #20230807105604, #20230807105833, #20230807105852, #20230807110109, #20230807110133, #20230807110324, #20230807110346, #20230807110618, #20230807110654, #20230807110843, #20230807110854, #20230807111106, #20230807111131, #20230807111311, #20230807111341, #20230807111529, #20230807111602, #20230807111735, #20230807111754, #20230807111945, #20230807112016, #20230807112203, #2023080711...