Skip to content

Release 1.57.0

Compare
Choose a tag to compare
@monty-bot monty-bot released this 14 Dec 18:41
· 160 commits to master since this release

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 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 as arm is not fully supported (#20230919122752)

"1.44.0" (2023-09-18)

Features

  • [platform] Add portable user management utilities similar to useradd, usermod, userdel (#20230915181452)

"1.43.0" (2023-09-08)

Features

  • [filesystem] Add utilities to Fetch and Change file ownership using user.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, #20230807112210, #20230807112406, #20230807112427, #20230807112644, #20230807112648, #20230807112857)
  • Dependency upgrade: net-0.14.0 (#20230807141918, #20230807141932, #20230807142002, #20230807142029, #20230807142048, #20230807142119, #20230807142130, #20230807142205, #20230807142210, #20230807142245, #20230807142304, #20230807142327, #20230807142342, #20230807142405, #20230807142433, #20230807142452, #20230807142511, #20230807142538, #20230807142555, #20230807142615, #20230807142635, #20230807142659, #20230807142712, #20230807142744, #20230807142751, #20230807142833, #20230807142846, #20230807142916, #20230807142927, #20230807142954, #20230807143010, #20230807143042, #20230807143051, #20230807143141, #20230807143148, #20230807143221, #20230807143228, #20230807143306, #20230807143316, #20230807143352)
  • Dependency upgrade: v3-3.23.8 (#20230901101043, #20230901101056, #20230901101131, #20230901101141, #20230901101210, #20230901101220, #20230901101250, #20230901101303, #20230901101326, #20230901101338, #20230901101413, #20230901101449, #20230901101503, #20230901101527, #20230901101602, #20230901101612, #20230901101639, #20230901101712, #20230901101731, #20230901101755, #20230901101816, #20230901101838, #20230901101851, #20230901101917, #20230901101927, #20230901101958, #20230901102023, #20230901102040, #20230901102057, #20230901102124, #20230901102158, #20230901102204, #20230901102239, #20230901102249, #20230901102324, #20230901102331, #20230901102403, #20230901102408, #20230901102447, #20230901102514, #20230901102527, #20230901102602, #20230901102608, #20230901102637, #20230901102643, #20230901102717, #20230901102730, #20230901102755, #20230901102807, #20230901102844, #20230901102848, #20230901102927, #20230901102935, #20230901103013, #20230901103014)
  • Dependency upgrade: text-0.13.0 (#20230904085015, #20230904085017, #20230904085055, #20230904085102, #20230904085141)

"1.42.0" (2023-08-02)

Features

  • [errortest] Added utilities to check the error description (#20230724173139)
  • [filesystem] Added zipFS to enable filesystem utilities on zip files (#20230728174153)
  • ✨ Added module [resource] to define generic utilities regarding resource management (#20230731170709)
  • [hashing] Added support for blake2b hashing algorithm (#20230801110107)
  • ✨ Added module [encryption] for simple cryptography utilities (#20230801144705)

Bugfixes

  • ♻️ [filesystem] Use afero.ReadOnlyFS rather than our own implementation when exposing embed.FS (#20230724173259)
  • Dependency upgrade: zerolog-1.30.0 (#20230731100532, #20230731100536)
  • Dependency upgrade: v3-3.23.7 (#20230801101535)

"1.41.0" (2023-07-24)

Features

  • [logrimp] Defines some typical logr.Logger implementations for ease of initialisation and use (#20230724144906)

"1.40.0" (2023-07-18)

Features

  • 🔒 [parallelisation] Added utilities to control long running actions with context (#20230718134812)

Misc

  • #20230718134854

"1.39.0" (2023-07-14)

Features

  • [filesystem] Add utilities to work with io/fs FS (#20230705185305)

Bugfixes

  • Dependency upgrade: text-0.10.0 (#20230613105950, #20230613105952, #20230613110027, #20230613110030)
  • Dependency upgrade: net-0.11.0 (#20230614110421, #20230614110502, #20230614111226, #20230614111528, #20230614111608, #20230614111917, #20230614112031, #20230614112443, #20230614112519, #20230614112749, #20230614112827, #20230614112948, #20230614113043, #20230614113223, #20230614113258, #20230614113520, #20230614113558, #20230614113650, #20230614113817, #20230614113854, #20230614113926, #20230614114041, #20230614114113, #20230614114148, #20230614114303, #20230614114345, #20230614114425, #20230614114602, #20230614114613, #20230614114646, #20230614114750, #20230614114848, #20230614114946, #20230614115014, #20230614115114, #20230614115133, #20230614115232, #20230614115325, #20230614115335, #20230614115420, #20230614115442, #20230614115527, #20230614115627, #20230614115648, #20230614115724, #20230614115807, #20230614115821, #20230614115936, #20230614120000, #20230614120044, #20230614120116, #20230614120138, #20230614120215, #20230614120255, #20230614120332, #20230614120356, #20230614120506, #20230614120545, #20230614120604, #20230614120639, #20230614120713, #20230614120823)
  • Dependency upgrade: sync-0.3.0 (#20230615105942, #20230615105949, #20230615110029, #20230615110037, #20230615110110, #20230615110118, #20230615110200, #20230615110205, #20230615110304, #20230615110343, #20230615110414, #20230615110455, #20230615110516, #20230615110544, #20230615110559, #20230615110629, #20230615110702, #20230615110759, #20230615110824, #20230615110859, #20230615110909, #20230615110940, #20230615110954, #20230615111030, #20230615111109, #20230615111142, #20230615111211, #20230615111247, #20230615111258, #20230615111339, #20230615111356, #20230615111441, #20230615111513, #20230615111541, #20230615111614, #20230615111652, #20230615111726, #20230615111758, #20230615111837, #20230615111915, #20230615111938, #20230615111956, #20230615112031, #20230615112055, #20230615112125, #20230615112202, #20230615112225, #20230615112306, #20230615112349, #20230615112405, #20230615112434, #20230615112500, #20230615112543, #20230615112611, #20230615112639, #20230615112721, #20230615112806, #20230615112828, #20230615112849, #20230615112920, #20230615112949, #20230615113018, #20230615113108, #20230615113122, #20230615113149, #20230615113220, #20230615113256, #20230615113335, #20230615113417, #20230615113441, #20230615113455, #20230615113526, #20230615113556, #20230615113634)
  • Dependency upgrade: scorecard-action-2.2.0 (#20230626110643, #20230626110651, #20230626110721, #20230626110727, #20230626110815)
  • Dependency upgrade: fetch-metadata-1.6.0 (#20230628110404, #20230628110406)
  • Dependency upgrade: v3-3.23.6 (#20230703104744, #20230703104749, #20230703104824, #20230703104828, #20230703104859, #20230703104903, #20230703104938, #20230703104939)
  • Dependency upgrade: text-0.11.0 (#20230705104813, #20230705104819, #20230705104851, #20230705104901, #20230705104936, #20230705104943, #20230705105019, #20230705105031, #20230705105056, #20230705105110, #20230705105139, #20230705105202, #20230705105222, #20230705105244, #20230705105314, #20230705105328, #20230705105407, #20230705105431, #20230705105445, #20230705105513, #20230705105523, #20230705105554, #20230705105605, #20230705105633, #20230705105645, #20230705105716, #20230705105742, #20230705105805, #20230705105825, #20230705105843, #20230705105912, #20230705105921, #20230705105947, #20230705110004, #20230705110035, #20230705110048, #20230705110124, #20230705110203, #20230705110221, #20230705110240, #20230705110302, #20230705110320, #20230705110356, #20230705110400)
  • Dependency upgrade: codeclimate-action-5.0.0 (#20230706103749, #20230706103751)
  • Dependency upgrade: net-0.12.0 (#20230706111852, #20230706111906, #20230706111929, #20230706111948, #20230706112007, #20230706112033, #20230706112054, #20230706112119, #20230706112141, #20230706112203, #20230706112225, #20230706112305, #20230706112330, #20230706112347, #20230706112412, #20230706112430, #20230706112502, #20230706112512, #20230706112559, #20230706112633, #20230706112649, #20230706112719, #20230706112732, #20230706112757, #20230706112834, #20230706112843, #20230706112911, #20230706112935, #20230706112952, #20230706113011, #20230706113038, #20230706113125, #20230706113151, #20230706113203, #20230706113237)

"1.38.0" (2023-06-12)

Features

  • [filesystem] Created Adapter to embed.FS for use of common utilities (#20230609154852)
  • [filesystem] Added ReadFileContent in order to read from a File object (#20230609154935)

"1.37.0" (2023-06-07)

Features

  • logs Add GetLogrLoggerFromContext to fetch a logr.logger from a context (#20230607112032)

Bugfixes

  • Dependency upgrade: hclogr-0.2.0 (#20230607105950, #20230607105955, #20230607110027, #20230607110030)
  • Dependency upgrade: go-retryablehttp-0.7.4 (#20230607105951, #20230607110006, #20230607110036, #20230607110048, #20230607110125, #20230607110133, #20230607110218, #20230607110306, #20230607110338, #20230607110354, #20230607110429, #20230607110439, #20230607110521)

"1.36.0" (2023-06-06)

Features

  • [logs] created a hclog's wrapper over logs.Loggers (#20230606144452)

"1.35.0" (2023-06-06)

Features

  • [logs] Defined a logger for using hclog (#20230606113952)

Bugfixes

  • Dependency upgrade: logrus-1.9.3 (#20230605110100, #20230605110112, #20230605110141, #20230605110146, #20230605110221, #20230605110225, #20230605110256, #20230605110303, #20230605110333, #20230605110401, #20230605110413, #20230605110457, #20230605110540, #20230605110552, #20230605110617, #20230605110636, #20230605110701, #20230605110719, #20230605110739, #20230605110757, #20230605110825, #20230605110839, #20230605110903, #20230605110924, #20230605110941, #20230605111001, #20230605111021, #20230605111103)

"1.34.0" (2023-06-01)

Features

  • [http] Added RetryOnError togenerically retry a client call on error in a similar way to what OnError does in kubernetes (#20230531171611)

Bugfixes

  • Dependency upgrade: fetch-metadata-1.5.1 (#20230525110456, #20230525110501, #20230525110539, #20230525110547, #20230525110613, #20230525110630, #20230525110650, #20230525110710, #20230525110728, #20230525110753, #20230525110815, #20230525110844, #20230525110906, #20230525110930, #20230525110941, #20230525111006, #20230525111021, #20230525111057)
  • Dependency upgrade: testify-1.8.4 (#20230530105958, #20230530110006, #20230530110035, #20230530110043, #20230530110116, #20230530110141, #20230530110331, #20230530110403, #20230530110438, #20230530110512, #20230530110617, #20230530110642, #20230530110736, #20230530110754, #20230530110908, #20230530110949, #20230530111048, #20230530111056, #20230530111144, #20230530111221, #20230530111321, #20230530111350, #20230530111438, #20230530111501, #20230530111605, #20230530111650, #20230530111744, #20230530111759, #20230530111906, #20230530111939, #20230530112109, #20230530112140, #20230530112228, #20230530112341, #20230530112511, #20230530112515, #20230530112714, #20230530112747, #20230530112922, #20230530112954, #20230530113124, #20230530113134, #20230530113253, #20230530113308, #20230530113430, #20230530113459, #20230530113558, #20230530113614, #20230530113727)
  • Dependency upgrade: v3-3.23.5 (#20230601110052, #20230601110101, #20230601110134, #20230601110137)

"1.33.1" (2023-05-25)

Bugfixes

  • Dependency upgrade: logr to v1.2.4 and its dependencies: logrus, logrusr, zap, zapr, etc (#202305251052)

"1.33.0" (2023-05-24)

Features

  • ✨ Added testing utilities with regards to error assertions (#202305241743)

Bugfixes

  • Dependency upgrade: atomic-1.11.0 (#20230504105933, #20230504105938)
  • Dependency upgrade: sync-0.2.0 (#20230505105854, #20230505105905, #20230505105929, #20230505105939, #20230505110007, #20230505110015, #20230505110044, #20230505110052, #20230505110131)
  • Dependency upgrade: net-0.10.0 (#20230509105949, #20230509110001, #20230509110029, #20230509110125)
  • Dependency upgrade: circl-1.3.3 (#20230511204214, #20230511204216)
  • Dependency upgrade: logrus-1.9.1 (#20230517110012, #20230517110016, #20230517110050, #20230517110053, #20230517110132, #20230517110138, #20230517110215)
  • Dependency upgrade: testify-1.8.3 (#20230519110010, #20230519110023, #20230519110052, #20230519110058, #20230519110129, #20230519110135, #20230519110211)
  • Dependency upgrade: fetch-metadata-1.5.0 (#20230523110343, #20230523110348, #20230523110420, #20230523110428, #20230523110455, #20230523110506, #20230523110531, #20230523110655, #20230523110733, #20230523110756, #20230523110829)

"1.32.0" (2023-05-02)

Features

  • [commonerrors] Add Ignore so that errors can be ignored (#20230428172043)

Bugfixes

  • Dependency upgrade: v3-3.23.4 (#20230501110143, #20230501110146, #20230501110226)

"1.31.1" (2023-04-26)

Bugfixes

  • Dependency upgrade: text-0.9.0 (#20230406105920)
  • Dependency upgrade: net-0.9.0 (#20230407105947, #20230407105956, #20230407110023, #20230407110037, #20230407110058, #20230407110117, #20230407110137, #20230407110157, #20230407110214, #20230407110237, #20230407110311, #20230407110339, #20230407110405, #20230407110437, #20230407110454, #20230407110512, #20230407110535, #20230407110601, #20230407110635, #20230407110637)
  • Dependency upgrade: zerolog-1.29.1 (#20230414105905, #20230414105920, #20230414105952, #20230414105956, #20230414110030)
  • Dependency upgrade: fetch-metadata-1.4.0 (#20230418110627, #20230418110629)
  • Dependency upgrade: contextio-1.0.0 (#20230424110104, #20230424110107)
  • Dependency upgrade: codeclimate-action-4.0.0 (#20230424111009, #20230424111015, #20230424111052, #20230424111055, #20230424111139)

"1.31.0" (2023-04-04)

Features

  • [config] Add a way via LoadFromEnvironment to read configuration from a file as long as the format is supported by Viper (#20230404144534)

Bugfixes

  • Dependency upgrade: scorecard-action-2.1.3 (#20230330110538, #20230330110540, #20230330110620)
  • Dependency upgrade: v3-3.23.3 (#20230403110100, #20230403110109, #20230403110141, #20230403110148, #20230403110226)

"1.30.0" (2023-03-17)

Features

  • [field] Extend utilities to set or retrieve time.Time fields (#20230317105143)

Bugfixes

  • Dependency upgrade: v5-5.6.0 (#20230301151839)
  • Dependency upgrade: zap-1.24.0 (#20230316161820, #20230316161822)
  • Dependency upgrade: v5-5.6.1 (#20230316165500, #20230316165503, #20230316165619, #20230316165625, #20230316165719, #20230316165806, #20230316165905, #20230316165944, #20230316170056, #20230316170118, #20230316170232, #20230316170303, #20230316170423, #20230316170442, #20230316170545, #20230316170614, #20230316170740, #20230316170800, #20230316170857, #20230316170917, #20230316171033, #20230316171040, #20230316171226, #20230316171243, #20230316171337, #20230316171401, #20230316171508, #20230316171530, #20230316171650, #20230316171712, #20230316171805, #20230316171819, #20230316172018, #20230316172035, #20230316172139, #20230316172208, #20230316172305, #20230316172346, #20230316172458, #20230316172510, #20230316172609, #20230316172642, #20230316172801, #20230316172815, #20230316172938, #20230316172958, #20230316173110, #20230316173140, #20230316173249, #20230316173313, #20230316173434, #20230316173506, #20230316173621, #20230316173656, #20230316173808, #20230316173832, #20230316173954, #20230316174030, #20230316174128, #20230316174209, #20230316174310, #20230316174350, #20230316174431, #20230316174530, #20230316174638, #20230316174721, #20230316174742, #20230316174810, #20230316174915, #20230316175009, #20230316175048, #20230316175118, #20230316175159, #20230316175259, #20230316175342, #20230316175441, #20230316175511, #20230316175604, #20230316175623, #20230316175735, #20230316175804, #20230316175934, #20230316175956, #20230316180047, #20230316180115, #20230316180316, #20230316180327, #20230316180421, #20230316180450, #20230316180614, #20230316180624, #20230316180728, #20230316180747, #20230316180849, #20230316180935, #20230316181031, #20230316181057, #20230316181217, #20230316181230, #20230316181327, #20230316181356, #20230316181513, #20230316181523, #20230316181623, #20230316181700, #20230316181802, #20230316181828, #20230316181926, #20230316181944, #20230316182112, #20230316182121, #20230316182257, #20230316182313, #20230316182421, #20230316182450, #20230316182537, #20230316182603, #20230316182716, #20230316182729, #20230316182848, #20230316182906, #20230316183025, #20230316183037, #20230316183150, #20230316183221, #20230316183319, #20230316183349, #20230316183452, #20230316183514, #20230316183618, #20230316183700, #20230316183748, #20230316183808, #20230316183920, #20230316183945, #20230316184103, #20230316184123, #20230316184236, #20230316184243, #20230316184415, #20230316184430, #20230316184616, #20230316184631, #20230316184817, #20230316184828, #20230316185002, #20230316185015, #20230316185119, #20230316185200, #20230316185330, #20230316185407, #20230316185456, #20230316185539, #20230316185654, #20230316185734, #20230316185838, #20230316185853, #20230316190049, #20230316190107, #20230316190225, #20230316190309, #20230316190432, #20230316190456, #20230316190624, #20230316190654, #20230316190817, #20230316190844, #20230316190951, #20230316191023, #20230316191045, #20230316191106, #20230316191128, #20230316191145, #20230316191235, #20230316191258, #20230316191322, #20230316191426, #20230316191449, #20230316191526, #20230316191533, #20230316191606, #20230316191645, #20230316191710, #20230316191752, #20230316191833, #20230316191907, #20230316191915, #20230316191946, #20230316192006, #20230316192048, #20230316192107, #20230316192148, #20230316192206, #20230316192254, #20230316192315, #20230316192344, #20230316192409, #20230316192429, #20230316192451, #20230316192516, #20230316192622, #20230316192631, #20230316192700, #20230316192740, #20230316192754, #20230316192837, #20230316192847, #20230316192919, #20230316193011)
  • [commonerrors] make commonerrors.CorrespondTo case-insensitive (#20230317104522)

"1.29.0" (2023-03-16)

Features

  • ❇️ Added utilities to deal with structure fields (especially optional fields) (#202303161208)
  • ⬆️ Upgrading the go version required to run golang-utils. (#202303161302)
  • [error] Added the CorrespondTo function to determine if an error corresponds to a specific description (#202303161517)
  • [logs] Introducing the zap logger since logrus is being deprecated (#20230227175001)

Bugfixes

  • Dependency upgrade: testify-1.8.2 (#20230227120328, #20230227120336, #20230227120409, #20230227120424, #20230227120447, #20230227120503, #20230227120523, #20230227120553, #20230227120633, #20230227120719, #20230227120756, #20230227120809, #20230227120845, #20230227120902, #20230227120933, #20230227121007, #20230227121014, #20230227121056, #20230227121107, #20230227121152, #20230227121231, #20230227121249, #20230227121314, #20230227121350, #20230227121408, #20230227121430, #20230227121510, #20230227121520, #20230227121607, #20230227121627, #20230227121655, #20230227121737, #20230227121750, #20230227121821, #20230227121906)
  • Dependency upgrade: v3-3.23.2 (#20230301120237, #20230301120304, #20230301120618, #20230301120629, #20230301120929, #20230301121000, #20230301121220, #20230301121316, #20230301121524, #20230301121607, #20230301121800, #20230301121833, #20230301122027, #20230301122058, #20230301122229, #20230301122315, #20230301122444, #20230301122518, #20230301122651, #20230301122712, #20230301122854, #20230301122933, #20230301123104, #20230301123147, #20230301123315, #20230301123344, #20230301123503, #20230301123546, #20230301123726, #20230301123748, #20230301123918, #20230301123928, #20230301124128, #20230301124137, #20230301124246, #20230301124317, #20230301124446, #20230301124520, #20230301124638, #20230301124731, #20230301124823, #20230301124904, #20230301125052, #20230301125120, #20230301125227, #20230301125246, #20230301125424, #20230301125452, #20230301125603, #20230301125627, #20230301125808, #20230301125833, #20230301125934, #20230301130020, #20230301130107, #20230301130221, #20230301130300, #20230301130412, #20230301130524, #20230301130618, #20230301130708, #20230301130812, #20230301130906, #20230301130932, #20230301131026, #20230301131143, #20230301131226, #20230301131303, #20230301131346, #20230301131425, #20230301131537, #20230301131642, #20230301131716, #20230301131811, #20230301131823, #20230301131941, #20230301132002, #20230301132129, #20230301132146, #20230301132244, #20230301132319, #20230301132354, #20230301132438, #20230301132601, #20230301132632, #20230301132732, #20230301132808, #20230301132858, #20230301132959, #20230301133059, #20230301133135, #20230301133214, #20230301133248, #20230301133335, #20230301133442, #20230301133518, #20230301133643)
  • Dependency upgrade: net-0.8.0 (#20230306120332, #20230306120340, #20230306120415, #20230306120423, #20230306120453, #20230306120503, #20230306120533, #20230306120547, #20230306120636, #20230306120709, #20230306120740, #20230306120752, #20230306120820, #20230306120839, #20230306120856, #20230306120916, #20230306120940, #20230306121006, #20230306121049)
  • Dependency upgrade: text-0.8.0 (#20230306120346, #20230306120349)
  • Dependency upgrade: setup-go-4 (#20230316120732, #20230316120739, #20230316120818, #20230316120825, #20230316120856, #20230316120912, #20230316120936, #20230316120959, #20230316121026, #20230316121052, #20230316121132, #20230316121145, #20230316121214, #20230316121239, #20230316121316, #20230316121347, #20230316121407, #20230316121427, #20230316121449, #20230316121512, #20230316121543, #20230316121557, #20230316121623, #20230316121655, #20230316121724, #20230316121746, #20230316121918)

Misc

  • #202303011441

"" "1.28.0" (2023-02-22)

Features

  • [filesystem] Make file hashing operation context aware (#20230222130436)

Bugfixes

  • Dependency upgrade: net-0.6.0 (#20230209110501, #20230209110509, #20230209110545, #20230209110548)
  • Dependency upgrade: net-0.7.0 (#20230216144313)

"" "1.27.0" (2023-02-16)

Features

  • [filesystem] Expose WriteFile (#20230216115815)

Bugfixes

  • Dependency upgrade: v3-3.23.1 (#20230201110710)
  • Dependency upgrade: godotenv-1.5.1 (#20230206111213, #20230206111216)
  • Dependency upgrade: text-0.7.0 (#20230209110456, #20230209110623)
  • Dependency upgrade: goleak-1.2.1 (#20230214115944, #20230214115947, #20230214120038)

Misc

  • #20230216115653

"" "1.26.0" (2023-01-31)

Features

  • ❇️[filesystem] Added more copy functions CopyToFile and CopyToDirectory to cover more copy usecases (#20230131184530)

Bugfixes

  • 🐛[filesystem] Clarified the behaviour of Copy for files so that there is no wrong assumptions about the type of the destination if not existing (#20230130162624)

Improved Documentation

  • Clarified the documentation with regards to filesystem.Copy (#20230130162704)

"" "1.25.1" (2023-01-27)

⚠️ the change of bevahiour of filesystem.Copy when destination does not exist may result in a breaking change

Bugfixes

  • Dependency upgrade: fetch-metadata-1.3.6 (#20230124111318, #20230124111321)
  • Dependency upgrade: uuid-4.4.0incompatible (#20230126110437, #20230126110454, #20230126110522, #20230126110538, #20230126110604, #20230126110651)
  • 🐛[filesystem] Fix Copy behaviour to match cp -r when destination does not exist (#20230126194148)
  • Dependency upgrade: zerolog-1.29.0 (#20230126195900, #20230126195917, #20230126195937, #20230126195956, #20230126200018, #20230126200036, #20230126200111)
  • 🐛[filesystem] Fix Copy behaviour to match cp <file> when destination has a file name (#20230127113013)

"" "1.25.0" (2023-01-22)

Features

  • [safeio] Add utilities to convert readers/writers into context aware actors (#20230111140925)

Bugfixes

  • Dependency upgrade: upload-artifact-3.1.2 (#20230109112003, #20230109112009, #20230109112051)
  • Dependency upgrade: viper-1.15.0 (#20230120110409, #20230120110413, #20230120110457)
  • 🐛[pagination] Fix panic in contructor (#20230121234948)

"" "1.24.0" (2023-01-09)

Features

  • ✨ Add [units] to ease limit/size setting (#202212061433)
  • [filesystem] allow unzip to be recursive for ease of use (#202212151320)
  • [filesystem] Extended potentially long running actions such as writing or reading files to be controlled by a context (#20230105170818)
  • [safeio] created new utilities to harden io actions (#20230106191918)
  • [filesystem] expanded filepath utilities (#20230106192012)
  • [filesystem] Added a way to control the recursivity and depth of filesystem action (#20230106192158)
  • [filesystem] Added a way to detect zip archive files (#20230108123045)

Bugfixes

  • Dependency upgrade: v3-3.22.12 (#20230102110852, #20230102110855)
  • Dependency upgrade: go-retryablehttp-0.7.2 (#20230104110511, #20230104110515, #20230104110601)
  • Dependency upgrade: text-0.6.0 (#20230104163113, #20230104163124)
  • Dependency upgrade: net-0.5.0 (#20230104163125, #20230104163131, #20230104163213)
  • 🐛 [pagination] changed iterator definition to allow item casting (#20230105095148)
  • Dependency upgrade: v5-5.5.2 (#20230106092118, #20230106092122, #20230106092158, #20230106092204, #20230106092240, #20230106092250, #20230106092318, #20230106092333, #20230106092409, #20230106092420, #20230106092450, #20230106092503, #20230106092530, #20230106092546, #20230106092606, #20230106092624, #20230106092650, #20230106092703, #20230106092736, #20230106092755)
  • [filesystem] fixed unzip to mitigate against the risk of zip bombs (#20230107200833)

"" "1.23.0" (2022-12-28)

Features

  • [pagination] extended paginators to deal with static pages which cannot iterate over themselves (#20221228210153)

Bugfixes

  • [filesystem] change move file to copy file not folder (#202212131259)
  • Dependency upgrade: scorecard-action-2.1.0 (#20221216111458, #20221216111505, #20221216111537, #20221216111544, #20221216111620, #20221216111629, #20221216111705, #20221216111714, #20221216111857)
  • Dependency upgrade: scorecard-action-2.1.1 (#20221220111609, #20221220111611)
  • Dependency upgrade: scorecard-action-2.1.2 (#20221226111538, #20221226111553, #20221226111611, #20221226111630, #20221226111650, #20221226111718, #20221226111731, #20221226111759, #20221226111811, #20221226111843, #20221226111859, #20221226111918, #20221226111932, #20221226111959, #20221226112012, #20221226112041, #20221226112100, #20221226112126, #20221226112138, #20221226112205, #20221226112218, #20221226112243, #20221226112251, #20221226112323, #20221226112328, #20221226112359, #20221226112410, #20221226112442, #20221226112451, #20221226112521, #20221226112527, #20221226112556, #20221226112617, #20221226112638, #20221226112653, #20221226112715, #20221226112727, #20221226112759, #20221226112810, #20221226112837, #20221226112845, #20221226112911, #20221226112931, #20221226112949, #20221226113009, #20221226113028, #20221226113046, #20221226113111, #20221226113122, #20221226113151, #20221226113202, #20221226113232, #20221226113258, #20221226113308, #20221226113332, #20221226113345, #20221226113408, #20221226113427, #20221226113443, #20221226113516, #20221226113522, #20221226113558, #20221226113605, #20221226113640, #20221226113646, #20221226113714, #20221226113731, #20221226113809, #20221226113818, #20221226113852, #20221226113858, #20221226113933, #20221226113936)
  • 🐛 [pagination] fixed bug about page iteration (#20221228210503)

"" "1.22.0" (2022-12-12)

Features

  • [logs] Added a way to manage multiple loggers transparently in the same way as a single logger (#20221212133537)

Bugfixes

  • Dependency upgrade: v5-5.5.1 (#20221212110922, #20221212110927, #20221212111004, #20221212111008, #20221212111042, #20221212111045, #20221212111127)

"" "1.21.0" (2022-12-09)

Features

  • ✨ Added a new module [pagination] for iterating over collections (#20221208164041)

Bugfixes

  • Dependency upgrade: v3-3.22.11 (#202212011106)
  • Dependency upgrade: upload-artifact-3.1.1 (#202212011116, #202212011117, #20221201111701, #20221201111702)
  • Dependency upgrade: v5-5.5.0 (#20221202110456, #20221202110500, #20221202110542, #20221202110549, #20221202110620, #20221202110626, #20221202110656, #20221202110704, #20221202110735, #20221202110741, #20221202110815, #20221202110844, #20221202110902, #20221202110938, #20221202110947, #20221202111015, #20221202111029, #20221202111056, #20221202111113, #20221202111134, #20221202111150, #20221202111215, #20221202111225, #20221202111253, #20221202111304, #20221202111330, #20221202111349, #20221202111417, #20221202111427, #20221202111507)
  • Dependency upgrade: text-0.5.0 (#20221205110716, #20221205110733, #20221205110759, #20221205110812, #20221205110845, #20221205110853, #20221205110926, #20221205110936, #20221205111004, #20221205111020, #20221205111051, #20221205111100, #20221205111127, #20221205111138, #20221205111208, #20221205111217, #20221205111249, #20221205111253, #20221205111332)
  • Dependency upgrade: net-0.4.0 (#20221207101219, #20221207101224, #20221207101259, #20221207101314, #20221207101350, #20221207101353)
  • Dependency upgrade: v3-3.8.1 (#20221208152839, #20221208152842, #20221208152924, #20221208152927, #20221208153005, #20221208153009, #20221208153104, #20221208153116, #20221208153157, #20221208153210, #20221208153242, #20221208153316, #20221208153342, #20221208153416, #20221208153423, #20221208153512, #20221208153540, #20221208153620)

"" "1.20.2" (2022-11-30)

Bugfixes

  • Dependency upgrade: atomic-1.10.0 (#202210031545, #202210031550, #202210031603, #202210031613, #202210031618, #202210031641, #202210031642, #202210031653, #202210031725, #202210031732, #202210031747, #202210031755, #202210031807, #202210031816, #202210031822, #202210031829, #202210031837, #202210031849, #202210031855, #202210031903, #202210031912, #202210031919, #202210031923, #202210031929, #202210031936, #202210031941, #202210031947, #202210032000, #202210032014, #202210032027, #202210032038, #202210032041, #202210032046, #202210032054, #202210032100, #202210032101, #202210032106, #202210032110, #202210032119, #202210032123, #202210032124, #202210032145, #202210032146, #202210032201, #202210032206, #202210032220, #202210032226, #202210032234, #202210032235, #202210032236, #202210032238, #202210032240, #202210032241, #202210032242, #202210032243, #202210032245, #202210032246, #202210032247, #202210032248, #202210032249, #202210032250, #202210032251, #202210032252, #202210032253, #202210032254, #202210032255, #202210032256, #202210032257, #202210032258, #202210032259, #202210032300, #202210032301, #202210032302, #202210032303, #202210032304, #202210032305, #202210032306, #202210032307, #202210032308, #202210032309, #202210032310, #202210032311, #202210032312, #202210032313, #202210032314, #202210032315, #202210032316, #202210032317, #202210032318, #202210032319, #202210032320, #202210032321, #202210032322, #202210032323, #202210032324, #202210032325, #202210032326, #202210032327, #202210032328, #202210032329, #202210032330, #202210032331, #202210032332, #202210032333, #202210032334, #202210032335, #202210032336, #202210032337, #202210032338, #202210032339, #202210032340, #202210032341, #202210032342, #202210032343, #202210032344, #202210032345, #202210032346, #202210032347, #202210032348, #202210032349, #20221003223801, #20221003224001, #20221003224101, #20221003224601, #20221003224701, #20221003224901, #20221003225101, #20221003225301, #20221003225601, #20221003225801, #20221003225802, #20221003225901, #20221003230001, #20221003230301, #20221003230302, #20221003230401, #20221003230701, #20221003230801, #20221003230901, #20221003231001, #20221003231101, #20221003231201, #20221003231301, #20221003231501, #20221003231601, #20221003231801, #20221003231901, #20221003232001, #20221003232201, #20221003232202, #20221003232301, #20221003232401, #20221003232501, #20221003232701, #20221003232702, #20221003232901, #20221003232902, #20221003233001, #20221003233101, #20221003233102, #20221003233201, #20221003233301, #20221003233302, #20221003233401, #20221003233501, #20221003233601, #20221003233602, #20221003233701, #20221003233801, #20221003233802, #20221003233901, #20221003234001, #20221003234101, #20221003234301, #20221003234302, #20221003234401, #20221003234501, #20221003234601, #20221003234602, #20221003234801, #20221003234802, #20221003234803)
  • Dependency upgrade: testify-1.8.1 (#202210241021)
  • Dependency upgrade: uuid-4.3.1incompatible (#202211011128, #20221101112801)
  • Dependency upgrade: viper-1.14.0 (#202211081108)
  • Dependency upgrade: afero-1.9.3 (#202211151103, #202211151104, #202211151107, #20221115110401, #20221115110402)
  • Dependency upgrade: v3-3.22.10 (#202211301252, #202211301253, #202211301254, #202211301255, #202211301256, #202211301257, #202211301258, #202211301259, #20221130125201, #20221130125202, #20221130125301, #20221130125302, #20221130125401, #20221130125501, #20221130125601, #20221130125701, #20221130125801)
  • Dependency upgrade: checkout-3 (#202211301327)
  • Dependency upgrade: codeclimate-action-3.2.0 (#202211301328)
  • Dependency upgrade: setup-python-4 (#202211301329)
  • Dependency upgrade: setup-go-3 (#202211301340)
  • Dependency upgrade: codeql-action-2 (#2022113013282)
  • Dependency upgrade: upload-artifact-3.1.1 (#2022113013283)
  • Dependency upgrade: fetch-metadata-1.3.5 (#2022113013295)
  • Dependency upgrade: cache-3 (#2022113013296)

Improved Documentation

  • [git] Improved API documentation (#202211301058)

"" "1.20.1" (2022-10-05)

Bugfixes

  • [filesystem]: Fix the exclusion regex used in subDirectories to filter "hidden" folders (#202210051012)

"" "1.20.0" (2022-10-04)

Features

  • git: Add checks for true repository size, not just the virtual size (#202210031606)
  • Upgrade the library to golang 1.17 so that dependencies can work on all plaftorms (#202210031638)
  • [filesystem] Expanded most recursive filesystem APIs so that exclusion patterns can be used to ignore some paths during the processing (#202210040057)

Bugfixes

  • [git] added new test cases to mitigate git bombing, with a large number of files (#202209211609)
  • Dependency upgrade: v3-3.22.9 (#202210031026)

"" "1.19.0" (2022-09-21)

Features

  • [Filesystem] Added a file number limit when unzipping to protect against attacks with zip files (#20220913)

Bugfixes

  • Dependency upgrade: v3-3.22.8 (#202209011025, #202209011026, #20220901102601)
  • Dependency upgrade: viper-1.13.0 (#202209071022)
  • Dependency upgrade: goleak-1.2.0 (#202209081025)
  • Dependency upgrade: uuid-4.3.0incompatible (#202209121025, #202209121026, #202209121027, #202209121028, #202209121029, #202209121030, #202209121031, #20220912102501, #20220912102601, #20220912102701, #20220912102801, #20220912102901, #20220912103001)

"" "1.18.2" (2022-08-31)

Bugfixes

  • Dependency upgrade: zerolog-1.28.0 (#202208291023, #202208291024, #20220829102301)
  • [logs] Fixed the error message logged by a slow writer (#202208311750)

"" "1.18.1" (2022-08-25)

Bugfixes

  • [filesystem] Fixed the platform dependent code on Linux (#202208251445)

"" "1.18.0" (2022-08-24)

Features

  • [filesystem] Add utility to retrieve file ownership information i.e. UID and GID (#202208131936)
  • [shared cache] Added a new module to create and manage shared cache between processes (#202208231010)

Deprecations and Removals

  • Reverted a dependency upgrade as not supported on MacOs (#202208241429)

"" "1.17.2" (2022-08-11)

Bugfixes

  • [git] Return HEAD if reference not provided (#202208111622)

"" "1.17.1" (2022-08-11)

Bugfixes

  • [git] modified interface to handle more generic references (tag, commit hash or branch name) (#202208111416)

"" "1.17.0" (2022-08-11)

Features

  • Add git utility to prevent cloning git bombs (#202208081656)

Bugfixes

  • Dependency upgrade: v3-3.22.7 (#202208011032)
  • Remove TryLock as it isn't available in go1.16 (#202208111140)

"" "1.16.0" (2022-07-29)

Features

  • Add utility for generating a list of the environment variables based on a struct that uses mapstructure (#202207290929)

"" "1.15.2" (2022-07-27)

Bugfixes

  • Dependency upgrade: afero-1.9.1 (#202207191022, #20220719102201)
  • Dependency upgrade: logrus-1.9.0 (#202207191615, #202207191616, #20220719161501)
  • Dependency upgrade: afero-1.9.2 (#202207201737)

Misc

  • #202207201838

"" "1.15.1" (2022-07-18)

Bugfixes

  • [filesystem] Updated limit structure to have tags specified (#202207181519)
  • [httptest] Fixed security issue (G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)) (#202207181802)

"" "1.15.0" (2022-07-18)

Features

  • [filesystem] Added ability to better control long running file system actions such as zipping, walking, etc. with context (#202207151751)

Bugfixes

  • Dependency upgrade: afero-1.9.0 (#202207151021, #202207151022, #202207151023, #20220715102101, #20220715102201)

"" "1.14.0" (2022-07-12)

Features

  • [logs] New utility to create a Logger from a logr.Logger (#202207111655)
  • [logs] Changed constructors to follow naming convention (:warning; May mean breaking changes) (#202207111821)
  • [logs] constructors using old naming convention i.e. create... are marked as deprecated (#202207120946)

Bugfixes

  • Dependency upgrade: testify-1.7.3 (#202206201048, #202206201049, #202206201050, #202206201051, #202206201052, #202206201053, #202206201054, #20220620104801, #20220620104901, #20220620104902, #20220620105001, #20220620105101, #20220620105201, #20220620105301, #20220620105302)
  • Dependency upgrade: testify-1.8.0 (#202207011611)
  • Dependency upgrade: v3-3.22.6 (#202207011616, #202207011617, #20220701161601, #20220701161701)

"" "1.13.2" (2022-06-10)

Bugfixes

  • [file lock] Ensure retries stop when context is asked to terminate (#202206101540)

"" "1.13.1" (2022-06-09)

Bugfixes

  • Dependency upgrade: viper-1.12.0 (#202205271019)
  • Dependency upgrade: v3-3.22.5 (#202206071413, #202206071415, #20220607141301)
  • Dependency upgrade: zerolog-1.27.0 (#202206081224)
  • Dependency upgrade: testify-1.7.2 (#202206081225)

"" "1.13.0" (2022-05-26)

Features

"" "1.12.0" (2022-05-12)

Features

  • Add option to run parseListWithCleanup to keep empty lines (#202205121612)

"" "1.11.1" (2022-05-09)

Bugfixes

  • Dependency upgrade: v3-3.22.4 (#202205021019, #202205021020, #20220502101901)

"" "1.11.0" (2022-04-25)

Features

  • [errors] Added a common error (#202204252100)

"" "1.10.0" (2022-04-25)

Features

  • [errors] Added common errors (#202204251958)

Bugfixes

  • Dependency upgrade: viper-1.11.0 (#202204151015)
  • Dependency upgrade: mapstructure-1.5.0 (#202204211024)
  • Dependency upgrade: go-retryablehttp-0.7.1 (#202204251901)

"" "1.9.0" (2022-04-06)

Features

  • [collection] ParseListWithCleanup is now available for parsing strings containing lists (#202204061624)

Bugfixes

  • Dependency upgrade: v3-3.8.0 (#202203101118)
  • Dependency upgrade: afero-1.8.2 (#202203111118)
  • Dependency upgrade: testify-1.7.1 (#202203161120)
  • Dependency upgrade: v3-3.22.3 (#202204011026, #202204011027, #202204011028, #20220401102601, #20220401102701)

"" "1.8.0" (2022-03-01)

Features

  • [reflection] Possibility to get hold of a pointer (e.g. interface) to any value: ToStructPtr() function (#202203011026)

Bugfixes

  • Dependency upgrade: v3-3.22.2 (#202203011118)

"" "1.7.0" (2022-02-15)

Features

  • Possibility to use standard library http.DefaultClient as a http.IClient (#202202151232)
  • Possibility to create OPTIONS requests using an http.IClient (#202202151234)
  • Added missing mocks (#202202151235)

"" "1.6.0" (2022-02-11)

Features

  • Possibility to define the HTTP client retry policy from configuration (#202202102044)
  • Possibility to use an HTTP client with basic retry policy (policy can take into account the Retry-After header in response or not) (#202202102046)
  • Possibility to use an HTTP client with linear back-off (policy can take into account the Retry-After header in response or not) (#202202102049)

Improved Documentation

  • Documented the different HTTP client implementations and their configuration (#202202102042)

"" "1.5.0" (2022-02-03)

Features

  • Ability to detect the charset of a string using a similar algorithm to ICU (#202202020938)
  • Ability to convert strings from one charset to another in a similar way to iconv or uconv (#202202020941)
  • filesystem.OpenFile is now available as a module function and not just as a method. (#202202031230)

Bugfixes

  • Dependency upgrade: v3-3.7.0 (#202112291129)
  • Dependency upgrade: v3-3.21.12 (#202201031132)
  • Dependency upgrade: afero-1.8.0 (#202201280944)
  • Dependency upgrade: v3-3.22.1 (#202202021122)
  • Modified unzip to behave like 7zip and handle non UTF-8 filenames by converting them after detection (#202202021956)

Improved Documentation

  • Updated file copyright (#202202021119)

"" "1.4.3" (2021-12-19)

Bugfixes

  • Fix how configuration is loaded from flags and environment and clarifies how default values are chosen. (#202112191650)

"" "1.4.2" (2021-12-16)

Bugfixes

  • Dependency upgrade: viper-1.10.0 (#202112131127)
  • Dependency upgrade: viper-1.10.1 (#202112161134)
  • Dependency upgrade: zerolog-1.26.1 (#202112161135)
  • Fixes the CLI to environment variable binding which did not work well with default values provided as part of the CLI flag definition (#202112161725)

Misc

  • #202112161834

"" "1.4.1" (2021-12-03)

Bugfixes

  • Dependency upgrade: uuid-4.1.0incompatible (#202111241131)
  • Dependency upgrade: mapstructure-1.4.3 (#202112021129)
  • Dependency upgrade: uuid 4.2.0+incompatible (#202112031155)
  • Fixed the binding between CLI pflags and environment variables when it comes to nested configuration structures (#202112031255)

"" "1.4.0" (2021-11-09)

Features

  • Added collection utilities for removing elements from slices (#202111091652)

"" "1.3.1" (2021-11-02)

Bugfixes

  • Bumped go version required (#202110151126)
  • Fixed bug in parallisation which entailed a bug in file locking where the heartbeat was forced to stop after a timeout (#202111012244)
  • Dependency upgrade: zerolog-1.26.0 (#202111021125)
  • Dependency upgrade: v3-3.21.10 (#202111021326)

Misc

  • #202110201138

"" "1.3.0" (2021-10-13)

Features

  • Added mocks (#202110131847)

Bugfixes

  • Dependency upgrade: viper-1.9.0 (#202110131703)

"" "1.2.0" (2021-10-13)

Features

  • Made IClient implementations easily configurable (#202110131646)

Bugfixes

  • Dependency upgrade: goleak-1.1.11 (#202109131112)
  • Improved testing and fixed gosec reported error in commonerrors (#202109131145)
  • Dependency upgrade: mapstructure-1.4.2 (#202109161324)
  • Dependency upgrade: godotenv-1.4.0 (#202110041008)
  • Dependency upgrade: goleak-1.1.12 (#202110110900)
  • Dependency upgrade: v3-3.21.9 (#202110131642)

"" "1.1.0" (2021-09-10)

Features

  • Added a way to perform an action after some time: ScheduleAfter (#202109092134)

Bugfixes

  • Dependency upgrade: gopsutil v3-3.21.8 (#202109021259)
  • Dependency upgrade: zerolog-1.24.0 (#202109021331)
  • Fixed Schedule race condition reported by golang race detector (#202109021504)
  • Fixed Subprocess race condition reported by golang race detector (#202109021553)
  • Fixed lock file race condition reported by golang race detector (#202109031636)
  • Introduced deadlock detector where shared resources are used (#202109092209)

Improved Documentation

  • Improved DEVELOPER guide (#202108251951)

Misc

  • #202108260927, #202109021444, #202109031754

"1.0.0" (2021-08-25)"1.0.0" (2021-08-25)

Major changes

  • Initial Release (#202108121209)
  • Changed imports to ARM-software organisation (#202108121238)

Improved Documentation

  • Added guides (#202108121209)
  • Added Licence headers (#202108121730)

Misc

  • #202108131530, #202108231725