You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.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)
❇️[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
[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)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Changelog
This document contains a history of significant changes which have been released for
golang-utils
. Please note thatbeta releases are not included in this history.
"1.43.0" (2023-09-08)
Features
[filesystem]
Add utilities to Fetch and Change file ownership usinguser.User
(#20230906170005)[environment]
added utilities to describe the current environment (e.g. user, environment variables) (#20230907192415)Bugfixes
"1.42.1" (2023-09-04)
Bugfixes
"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)[resource]
to define generic utilities regarding resource management (#20230731170709)[hashing]
Added support for blake2b hashing algorithm (#20230801110107)[encryption]
for simple cryptography utilities (#20230801144705)Bugfixes
[filesystem]
Useafero.ReadOnlyFS
rather than our own implementation when exposingembed.FS
(#20230724173259)"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
"1.39.0" (2023-07-14)
Features
[filesystem]
Add utilities to work withio/fs FS
(#20230705185305)Bugfixes
"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
"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
"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
"1.33.1" (2023-05-25)
Bugfixes
"1.33.0" (2023-05-24)
Features
Bugfixes
"1.32.0" (2023-05-02)
Features
[commonerrors]
Add Ignore so that errors can be ignored (#20230428172043)Bugfixes
"1.31.1" (2023-04-26)
Bugfixes
"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
"1.30.0" (2023-03-17)
Features
[field]
Extend utilities to set or retrievetime.Time
fields (#20230317105143)Bugfixes
[commonerrors]
makecommonerrors.CorrespondTo
case-insensitive (#20230317104522)"1.29.0" (2023-03-16)
Features
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
Misc
"" "1.28.0" (2023-02-22)
Features
[filesystem]
Make file hashing operation context aware (#20230222130436)Bugfixes
"" "1.27.0" (2023-02-16)
Features
[filesystem]
Expose WriteFile (#20230216115815)Bugfixes
Misc
"" "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
filesystem.Copy
(#20230130162704)"" "1.25.1" (2023-01-27)
filesystem.Copy
when destination does not exist may result in a breaking changeBugfixes
[filesystem]
FixCopy
behaviour to matchcp -r
when destination does not exist (#20230126194148)[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
[pagination]
Fix panic in contructor (#20230121234948)"" "1.24.0" (2023-01-09)
Features
[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
[pagination]
changed iterator definition to allow item casting (#20230105095148)[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)[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
"" "1.21.0" (2022-12-09)
Features
[pagination]
for iterating over collections (#20221208164041)Bugfixes
"" "1.20.2" (2022-11-30)
Bugfixes
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
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
"" "1.19.0" (2022-09-21)
Features
Bugfixes
"" "1.18.2" (2022-08-31)
Bugfixes
[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
"" "1.17.2" (2022-08-11)
Bugfixes
"" "1.17.1" (2022-08-11)
Bugfixes
"" "1.17.0" (2022-08-11)
Features
Bugfixes
"" "1.16.0" (2022-07-29)
Features
"" "1.15.2" (2022-07-27)
Bugfixes
Misc
"" "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
"" "1.14.0" (2022-07-12)
Features
Logger
from a logr.Logger (#202207111655)create...
are marked as deprecated (#202207120946)Bugfixes
"" "1.13.2" (2022-06-10)
Bugfixes
"" "1.13.1" (2022-06-09)
Bugfixes
"" "1.13.0" (2022-05-26)
Features
FilepathStem
function to package, emulating Python's Pathlib.Stem behaviour (#20220525)"" "1.12.0" (2022-05-12)
Features
"" "1.11.1" (2022-05-09)
Bugfixes
"" "1.11.0" (2022-04-25)
Features
"" "1.10.0" (2022-04-25)
Features
Bugfixes
"" "1.9.0" (2022-04-06)
Features
ParseListWithCleanup
is now available for parsing strings containing lists (#202204061624)Bugfixes
"" "1.8.0" (2022-03-01)
Features
ToStructPtr()
function (#202203011026)Bugfixes
"" "1.7.0" (2022-02-15)
Features
OPTIONS
requests using an http.IClient (#202202151234)"" "1.6.0" (2022-02-11)
Features
Retry-After
header in response or not) (#202202102046)Retry-After
header in response or not) (#202202102049)Improved Documentation
"" "1.5.0" (2022-02-03)
Features
filesystem.OpenFile
is now available as a module function and not just as a method. (#202202031230)Bugfixes
unzip
to behave like7zip
and handle non UTF-8 filenames by converting them after detection (#202202021956)Improved Documentation
"" "1.4.3" (2021-12-19)
Bugfixes
"" "1.4.2" (2021-12-16)
Bugfixes
Misc
"" "1.4.1" (2021-12-03)
Bugfixes
"" "1.4.0" (2021-11-09)
Features
"" "1.3.1" (2021-11-02)
Bugfixes
parallisation
which entailed a bug in file locking where the heartbeat was forced to stop after a timeout (#202111012244)Misc
"" "1.3.0" (2021-10-13)
Features
Bugfixes
"" "1.2.0" (2021-10-13)
Features
Bugfixes
gosec
reported error incommonerrors
(#202109131145)"" "1.1.0" (2021-09-10)
Features
ScheduleAfter
(#202109092134)Bugfixes
Schedule
race condition reported by golang race detector (#202109021504)Subprocess
race condition reported by golang race detector (#202109021553)lock file
race condition reported by golang race detector (#202109031636)Improved Documentation
Misc
"1.0.0" (2021-08-25)"1.0.0" (2021-08-25)
Major changes
ARM-software
organisation (#202108121238)Improved Documentation
Misc
This discussion was created from the release Release 1.43.0.
Beta Was this translation helpful? Give feedback.
All reactions