Package Errors:
- add function to check & cast error interface into golib Error interface
- update CodeError type to simplify management & error creation
- add function to simplify call of Error function from a generic error interface
- remove some useless function from Error interface
All Other Packages:
- apply change of package Errors into all other packages
- rework MultipartUpload process & helper
- update test to use lib size
- update object multipart to use new helper
Package IO Utils :
- add truncate & sync to FileProgress
- fix error on open file mode for FileProgress
Package Console :
- fix interface used for color buffer
Package Cobra :
- add function to print message on write config to use custom message instead of internal message. If the function is not set, the default message will be print.
Other:
- fix golangci-lint config to remove crazy linter (use only golang group compliance linter)
- bump dependencies
- objects / list Access All : add username param to allow list access and return a slice of access struct for the specify user, if username is empty, send the request without username
- sizepart : remove sizepart struct and replace it by package golib/size
Package Logger:
- fields : fix error with field & sync/map
Bump dependencies
- 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
- Bucket : add function Walk based on list but run a given function for each found bucket
- Object : add function Walk & WalkPrefix based on ListPrefix to run a given function for each returned object
- Object : add function WalkVersion & WalkVersionPrefix based on ListVersion to run a given function for each returned object version
Package logger:
- Fix bug with compat : a nil error not clean when sent to logger
Package Context:
- Fix bug with context/config : the load key return an atomic value instead of the interface stored
+ Add Tag function for object
+ Add Lock function for object
+ Add Attributes function for object
+ Add lifecycle function for bucket
+ Add function to get client in AWS interface
Package Certificates :
+ Add clean certifs function in config
Bump dependencies
- fix missing commit : version function
- fix missing commut : deleteall function
- add function to load bucket replication configuration
- add AWS feature to create new client for a config based on current client
- add Config feature to change the credentials of current config
- Fix issue #136 :
- add function ForceSignerOptions to pass options funct to signer
- if not option exist, use default signer v4, else specify the options function list to the new signer
- fix error with multiple ptr identifier on model
- add function to list and cancel multipart uploads
- add function to list, get and delete version object
- add function to delete all objects following the S3 API DeleteObjects function (to send array of object key / version) in one request
Package Config :
- modify component interface :
- add cpt as custom function parameters to prevent new component still not stored when running custom function
- re-order mutex on start / reload process
Change :
- Bump dependancies
- slipt package between pure httpcli and request to become new package Request
- Add options to httpcli allowed to create an http client based on options
Package AWS :
- add option for delete object : check boolean to make or not the check (head) before delete
- add exclusion of NoSuchKey error if check is false
Package Request :
- integer option capabilities to configure the request inteface
- use httpcli option to get httpcli (keep custom function to get an *http.client)
- extend function to mode manage the request