Releases: nabbar/golib
Releases · nabbar/golib
v1.11.5
Package Socket:
- rework client / server to offer tcp & udp server/client in addition of unix socket file
- add config model
- add aggregation function
Package Status:
- fix listmandatory: transform into sync.map to prevent race detection
Package logger:
- fix missing ticker stop
Package monitor:
- fix missing ticker stop
Package server:
- fix missing ticker stop
Other:
- Bump dependencies
- Fix CVE-2023-3978
v1.11.4
v1.11.3
Package Status:
- Rework for the management of mandatory components to qualify the global status.
- Added qualification to components: "should", "must", "one of".
- These qualifications will influence the overall state but not the unitary state of each component.
Package Socket:
- Creation package to open and listen local unix file socket
- Allow to specify a handler who's needing a conn instance as entry
- Create a client sub package to allow negociate with the local unix file socket
Package Shell:
- adding sub package for command and command collection
- fix info command
- fix autocompletion
Package Monitor:
- add function to expose monitor command for shell
Package Config:
- add function to expose monitor command for shell
Package Network:
- Add "IP" protocol
Package Httpcli:
- Rework the construction of the client
- Add capability to specify proxy url
Package Cobra:
- add function to add flag to global command like verbose or config
Package Log:
- fix seg fault when calling a nil instance
- remove println in hookfile / hooksyslog
Other:
- bump dependencies
v1.11.2
v1.11.1
Rework Logger / Rework Network Protocol L4 / Fix minor bugs
Package logger
- Rework logger
- Remove deprecated functions
- Split Logger to sub package (fields, level, config, ...)
- Optimize dependencies
- Rework Hookfile: fix error like FD still opened
- Rework Hooksyslog: use same model like Hookfile, use network/protocol instead of self lib
- Rework HookStd: use independent hook for std out & std err
- Fix std config make generic options for files & syslog
- Apply formatter to hook instead of main logger entry
- optimize code
Package ioutils
- rework PathCheckCreate funct: optimize code & fix some error
Package network
- create sub package protocol for all network protocl use
- add encode function
Package httpcli
- remove file network
- use package network/protocol instead of network file
Package Config Component
- apply change following rework of logger to component log
- fix logger for monitoring
- fix component following fix of package request / monitoring
Package monitor
- apply change following rework of logger
- fix logger for monitoring
- fix minor bugs
Package request
- apply change following rework of logger
- fix minor bug
- fix missing logger for monitoring
- add one line for healthcheck (info or error)
Package status
- apply change following rework of logger
- fix bug with mandatory component
Apply Rework on packages:
- Package archive
- Package aws
- Package cluster
- Package cobra
- Package context
- Package database
- Package httpserver
- Package ldap
- Package nats
- Package nutsdb
- Package router
- Package static
- Package viper
Other
- bump dependencies
- github action workflow fix
v1.11.0
Package AWS:
- 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
- fix issue #160
v1.10.13
Package AWS:
- 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
Other:
- Bump dependencies