Releases: nabbar/golib
Releases · nabbar/golib
v1.9.20
Fix :
- Package AWS : fix error with context while cloning
- Package Errors : fix error with slice of error not returning all parent
- Package Logger :
- fix log error slice
- following bump hclog : implement GetLevel + adjust SetLevel to report different between hc log debug & trace following EnableTrace in options
- Bump dependencies
v1.9.19
Package AWS :
- Bucket ADD CreateWithLock : create bucket with Object Lock enable
- Bucket ADD GetLock : retrieve object lock bucket configuration
- Bucket ADD SetLock : set object lock bucket configuration
- Object ADD GetLegalHold : retrieve object lock status for object/version
- Object ADD SetLegalHold : set object lock flag for object/version
- Interface ADD SetClientS3 : replace current client S3 with a new one given as parameters
- Interface ADD SetClientIam : replace current client IAM with a new one given as parameters
- Interface ADD HTTPCli : return the current setting of func to return a http.client
- Interface ADD mutex : lock any accessing struct properties to prevent race
Other :
- bump dependencies
v1.9.18
Package Config / Component :
- Change reloading component method : try to reload all component and store errors, report list of errors but don't break the reloading process
Package Logger :
- Fix bug with entry logger filtering
Package Viper:
- reword message log before reloading config file (watchFS)
- add message log after reloading config file (watchFS)
Package Status :
- Fix DATA Race with status/info
- Add component key into log error message for health
- Add component key into function to use it into info (name)
- Reword health message : no OK/KO (still into status info), add error message reporting
Package httpserver :
- status info : apply update status component, use key in name
- status info : optimize code
Package Request :
- Fix error in url path operation
- Status info : optimize code
- Status info : apply update component, add endpoint hostname with name
Package Static :
- apply status component update
Other:
- Bump dependencies
v1.9.17
v1.9.16
v1.9.15
Minors Fix & Enhancements
Package Status :
- optimize output writer block for Get function
- add query string params online to print all result as one line plain text format
Package logger :
- refactor closer function to specific interface
- refactor syslog linux to log message by severity instead of same severity for all message
Other :
- Bump dependencies
v1.9.14
Package Logger :
- Fix too many open file for logger file
- Fix invalid FD for log file
- Fix bug with field into entry
- Fix race detection on testing
Package Status :
- Add capability to send short into query to received a short output without any result of component
- Add Connection Header as Close to router status return of Get
- Fix race detection into health with concurrent read/write data
- Fix race detection with update of main router
Package HTTPServer :
- Add option to disable keepalive for server
- Fix config tag error
- Fix logger usage / close
Package Config :
- Fix component using logger to implement a close
- Fix logger initialization :
- use local var to setup new logger based on logger clone if loger still existing
- if error while configuring new logger, do not change logger
- closing old logger before replace it with new
Package Router :
- Fix missing ignore error return
- Fix golib logger not closed
Other :
- Bump dependencies
v1.9.13
v1.9.12
Package AWS :
- User : Add/update policy managment (list, walk, attach, detach)
- Group : Add/update policy managment (list, walk, attach, detach)
- Role : Add/update policy managment (list, walk, attach, detach)
- Policy : add capability to not list default verison policy
Package Archive:
- Security : clean destination pathfile before use it (prevent down under current output path)
- Fix : do not update link / symlink if the source / destination are same
- Fix : do not create link / symlink for windows OS (need a shortcut process by ole call)
Other
v1.9.11
Package IOUtils:
- Fix bug : apply file permission on directory
Package errors:
- Add function dedicated to recorved : add at least 5 frame trace into message
- Add function to retrieve at least 5 frame not in golib, vendor and runtime root package
- Fix error in frame extraction
Package Logger:
- Add mutex to fix race error
- Fix missing origin error while return error for open/create file
- Clean useless commented code
Package Router:
- Skip gin context abort if context still aborted
- refactory recovery error to liberr.NewErrorRecovered to include enought trace