Release 1.40.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.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 withio/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 toembed.FS
for use of common utilities (#20230609154852) - ✨
[filesystem]
AddedReadFileContent
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]
AddedRetryOnError
togenerically retry a client call on error in a similar way to whatOnError
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 viaLoadFromEnvironment
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 retrievetime.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]
makecommonerrors.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 theCorrespondTo
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 functionsCopyToFile
andCopyToDirectory
to cover more copy usecases (#20230131184530)
Bugfixes
- 🐛
[filesystem]
Clarified the behaviour ofCopy
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)
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]
FixCopy
behaviour to matchcp -r
when destination does not exist (#20230126194148) - Dependency upgrade: zerolog-1.29.0 (#20230126195900, #20230126195917, #20230126195937, #20230126195956, #20230126200018, #20230126200036, #20230126200111)
- 🐛
[filesystem]
FixCopy
behaviour to matchcp <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 hardenio
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]
fixedunzip
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 insubDirectories
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
andGID
(#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
- [filesystem] Add
FilepathStem
function to package, emulating Python's Pathlib.Stem behaviour (#20220525)
"" "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 like7zip
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 incommonerrors
(#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