Skip to content

Releases: nabbar/golib

v1.11.5

08 Aug 06:48
Compare
Choose a tag to compare

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:

v1.11.4

29 Jul 12:23
Compare
Choose a tag to compare

Package Status:

  • add strictly health function to check status with OK only
  • change healthy function to check status not KO only (so warn or OK)

Other:

  • bump dependencies

v1.11.3

28 Jul 11:50
Compare
Choose a tag to compare

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

05 Jul 09:49
Compare
Choose a tag to compare

Package Logger :

- fix buffer wrtting / cleanning
- add recovery to catch fatal error

Package Server :

- add recovery to catch fatal error

Package Status :

- add IsHealthy function with cache value to prevent checking monitor on all call

Bump dependencies

v1.11.1

26 Jun 07:12
Compare
Choose a tag to compare

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

02 Jun 08:45
Compare
Choose a tag to compare

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

21 Apr 08:26
Compare
Choose a tag to compare

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

v1.10.12

18 Apr 15:46
Compare
Choose a tag to compare

Package Config:

  • component aws : fix creation client with httpcli config was not init before client creation

Other:

  • bump dependencies

v1.10.11

17 Apr 08:14
Compare
Choose a tag to compare

Package HttpCli :

  • Fix ForceIP bug
  • Add BDD test

Other:

  • Bump dependencies
  • Fix linter config

v1.10.10

11 Apr 14:03
Compare
Choose a tag to compare

Package HTTPServer :

  • fix bug with context deadline

Package Database:

  • fix darwin/arm64 import C for gorm/sqlite (using shared lib sqlite)

Bump dependencies