Releases: nabbar/golib
Releases · nabbar/golib
v1.9.0
Package HttpCli :
- slipt package between pure httpcli and request to become new package Request
- Refactor Package HTTPCli:
- Reword Const (timeout + errors)
- Remove old request interface
- Add new request interface to make a request, send it, parse a result model and check response status
- Add function to skip DNS resolution for http client connection
- Add options to httpcli allowed to create an http client based on options
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
- Add features to integer package Status
- Add features to allow overwrite the default status info func
- Change context params as internal function context given
- Add new param to set the func context
- Add func to set function context
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
- 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 :
- Add component to package request
- Add LDAP component for LDAP package
- Fix the min value for ErrorCode in Head component
- 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
Major Changes :
- Bump go release to go 1.18
- Bump dependancies
- Use env var GOAMD64=v4 for GOARCH=amd64 in test build
- Fix security alert with CVE-2021-3121 (cf #138 )
v1.8.11
v1.8.10
Add packages :
- package databse : use gorm lib to implement this helpers
- package fpt client : expose a helper to post / read file from ftp server
Add component into package Config :
- refactor component interface : simplify + add flag register process
- add AWS custom / standard
- add database
- add Nats cluster
- add NutsDB cluster
- add smtp client
- fix some errors into tls, http component
Fix / Update :
v1.8.9
v1.8.8
v1.8.7
Add Package Cobra :
- this package is an helper to make a CLI with flag / command
- this package is based on spf13 cobra has all method to be connected to viper golib
- See documentation cobra/README
Add Package Config :
- They are 4 component for now : log, tls, headers and http server
- The config package will start a new context / cancelfunc on init to be sure to stop cleanly all component and process
- See documentation config/README
Add Package Viper :
- this package is an helper to the config package with the spf13 viper lib
- this package can watch any change of a config file or can be connected to a remote config cluster like ETCD
Change :
- bump dependancies
- fix race detection
- fix some optimization
v1.8.6
v1.8.5
Fix issues :
- Issue #119 : race detection
- Issue #118 : wording match
- Issue #117 : config option not detected in some case
- other httpserver race detection
Change :
- packages certificates : optimization with parsing string config
- bump dependancies
- packages nats : fix options following bump dependancies
Add :
- Package Logger : add validator for options struct
- Package Certificates: cipher for TLS v1.3 into cipher string parser