- Add: allowing parsing day in Duration package who's parsing value before a d letter
- Add: a sub package named big with another custom type Duration but this Duration is based of number of seconds instead of number of nanosecond to golib/Duration or time.Duration package. The result big Duration package allow to manage duration up to 106,751,991,167,300 d 15 h 30 m 7 s
- Add: into some BDD test with ginkgo framework
- Fix: marshaller function in package Duration
- Fix: big Duration
- Refactor: optimize some code convertion
- Refactor: truncate function to not use float64 casting
- fix marshaller in yaml/toml
- optimize marchaller
- add sub package big to manage duration with big walue like 1000 days
- big duration have limit to seconds and to not keep any milliseconds, microseconds or nanoseconds
- big duraction have max value of 106,751,991,167,300 d 15 h 30 m 7 s
- interface Coder: replace all return io.reader/io.writer to same io interface but with closer implementation
- interface Coder: add Reset function to free memory
- add sha256: add new sub package that implement coder interface to calculate checksum (no decode available)
Other:
- bump dependencies
- fix bug whos aws config checksum not loaded from config struct, using callback on config process
- bump to latest sdk release
Other:
- bump dependencies
- refactor package to allow closer for bytes.Buffer, bufio.Reader, bufio.Writer, bufio.ReadWriter
- implement ReadFrom, WriterTo, StringWriter, ReadRune, ReadByte, WriteByte
- allow specify a custom close function, called in close statement
- add NewBuffer (New declare as deprecated), NewReader, NewWriter, NewReadWriter to each types bytes / bufio
- remove call of Reset in close for ReadWriter: ambigous function (ambigous in bufio struct)
Package Static:
- replace BufferReadCloser New function to NewBuffer
Other:
- bump dependencies
- bump dependencies aws sdk go v2 with checksum calulation when supported by default
- add function in config interface to allow changing checksum calculation
- set checksum calculation as 'when required' with custom config
- set checksum calcultation as 'when supported' with aws config
Other:
- bump dependencies
- fix bug with cert type marshall/unmarshall
- add old config to allow retro compatibility
- add new type function to retrieve a tls root ca cert instead of a slice of string to get root ca
Package HTTPCli:
- fix default DNS Mapper
- optimze global DNS Mapper
- fix non closing sub goroutine
Package HTTPCli/DNS-Mapper:
- change request function of Root CA with function of root ca cert instance
- add function to return a root ca cert from a function that return a slice of root ca string
Package Config/Components:
- httpcli: bump sub package of certificate, httpcli
- httpcli: adjust code following bump
- httpcli: change request function of Root CA with function of root ca cert instance
- httpcli: add function to return a root ca cert from a function that return a slice of root ca string
- tls: change request function of Root CA with function of root ca cert instance
- tls: add function to return a root ca cert from a function that return a slice of root ca string
Package IOUtils/mapCloser:
- fix bug with mapcloser not stopped
- optimize code & goroutine
Package Logger:
- rework mapCloser call
- optimize mapClaoser managment
Package Request:
- rework error managment
- using []byte instead of buffer to read response body
- add free capability
- optimize memory consumption
Package Socket / Server:
- add filtering error capability
- add params to specify a function called on each new connection and before using the connection
- the new function param allow to update the network incomming connection (like buffer, deadline...)
- rework some useless atomic to direct value to optimize code
Package Socket/Delim:
- rework to optimize memory & variable use
- remove capabilities of update the instance when running, prefert recreate new one if necessary
Other:
- bump dependencies
- minor bug / fix
- rework package to allow convert config to model and retrive config from model
- add sub package to manage cipher, curves, auth client, tls version, certificates, root ca...
- add some small test (can be expande to having more coverage)
- optimize some code
Package httpcli:
- update code following change in certificates
Package httpserver:
- update code following change in certificates
Package Config/Components:
- update code following change in certificates
Package FTPClient:
- update code following change in certificates
Package Nats:
- update code following change in certificates
Package archive/helper
- adding package to compress/uncompress with reader or writer
- refactor to allowing to use same source of io as result: io.reader or
io.writer
- optimize code & buf to limit mem use
- rework variable to be thread safe
Package archive/compress
- add function DetectOnly to detect algo and return an updated reader
but not the decompressor reader
- update function Detect to use DetectOnly to limit duplication code
Other
- bump dependencies
## Type of Change
Please select the type of change your PR introduces by checking the
appropriate box:
- [ ] Fixes an issue
- [X] Adds a new feature
- [X] Refactor
- [ ] Documentation update
- [ ] Other (please describe it in the Description Section)
- adding package to compress/uncompress with reader or writer
- refactor to allowing to use same source of io as result: io.reader or io.writer
- optimize code & buf to limit mem use
- rework variable to be thread safe
Package archive/compress
- add function DetectOnly to detect algo and return an updated reader but not the decompressor reader
- update function Detect to use DetectOnly to limit duplication code
Other
- bump dependencies
Package retro
This package is a golib Golang sub-package designed to support backward-compatible models through semantic versioning.
It introduces a new struct field tag, retro, which manages the serialization and deserialization of model fields based on specified versions.
This package works with json, yaml, and toml formats and dynamically marshals or unmarshals model data according to the version in use.
- removing package cluster & nutsdb (+ test) in waiting stabilisation of
dependencies
- adding olld source code in tarball file
Dependencies golang/x/exp:
- removing experiment dependency when using slices to root/slices
package
Bump dependencies (some dependences still use exp who's need go1.22)
- add package to calculate range of value for Progressive Integrate Derivative
Package Duration:
- add function to parse float64 to Duration
- add function to return a PID Duration range from another given duration
- add function to return a PID Duration range to another given duration
- fix anonymousCredential with retrieve following bump of aws sdk
Package Logger:
- add check on io interface to prevent closing instance and allowing gracefull closing
Other:
- bump dependencies
- add new sub package pusher: pusher is an helper who's allow to push
single put object or multipart upload and implement io.writer &
io.readFrom interface
Other:
- bump dependencies
- fix bug with retryer and io reader body (body was not resend on retryed request)
- remove mutex and use atomic on potential race field
- simplify & optimize some code