Skip to content

v1.9.0

Compare
Choose a tag to compare
@nabbar nabbar released this 20 Apr 13:07
· 162 commits to master since this release

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 )