Skip to content

Releases: greenbone/opensight-golang-libraries

opensight-golang-libraries 1.7.7-alpha4

04 Jul 14:25
Compare
Choose a tag to compare
Pre-release

1.7.7-alpha4 - 2024-07-04

Removed

  • NewValidationErrorWithStack not needed anymore, return NewValidationError instead 09ed94b

Changed

  • bump go version to 1.22.5 for GO-2024-2963 d1dec1b
  • replace pkg/errors with stdlib errors remove: do not return stack on err 3dc0d8a

Bug Fixes

  • restore NewOpenSearchResourceAlreadyExists and NewOpenSearchResourceNotFound c52072a

opensight-golang-libraries 1.7.7-alpha3

02 Jul 14:27
Compare
Choose a tag to compare
Pre-release

1.7.7-alpha3 - 2024-07-02

Changed

  • move client authentication injection into client constructor as new opensearch library version requires authentication for ping request 8dac92f
  • export IndexFunction, move and refactor IndexHasAlias method e2e4571

opensight-golang-libraries 1.7.7-alpha2

02 Jul 09:39
Compare
Choose a tag to compare
Pre-release

1.7.7-alpha2 - 2024-07-02

Added

  • add helpful error message for low disk space in opensearch d5d394d
  • add error handling for unsuccessful requests to opensearch 69f3d96

opensight-golang-libraries 1.7.7-alpha1

01 Jul 06:57
Compare
Choose a tag to compare
Pre-release

1.7.7-alpha1 - 2024-07-01

Changed

Bug Fixes

  • return error in update method if all retries fail, update documentation c439da6
  • restore original behavior of indexFunctions, skip closing of response body as already done in library 693c88a
  • remove unused error 67cb6ee
  • if aliases do not exist, the error should be nil per tests caceece
  • use bg context 517f0ea
  • return error from AliasExists instead of a nil err remove: printf, discard req when we don't care about the body 1ef6a9b
  • check nil first a061cab
  • use background ctx 65cd528
  • correct require block for direct import, tidy a5612dd
  • response status code, json string for log 795f66d

opensight-golang-libraries 1.7.6

17 Jun 11:36
Compare
Choose a tag to compare

1.7.6 - 2024-06-17

Bug Fixes

  • adjust postgres paging query builder (#81) a4b3f4d

opensight-golang-libraries 1.7.5

14 Jun 13:12
Compare
Choose a tag to compare

1.7.5 - 2024-06-14

Bug Fixes

  • use postgres query builder field mapping for ORDER BY (#79) f47b3e0

opensight-golang-libraries 1.7.4

13 Jun 22:06
Compare
Choose a tag to compare

1.7.4 - 2024-06-13

Added

  • implement additional postgres compare operators (#77) 7f74e6e
  • add a testcase for empty username 1fc1165
  • add a testcase for an invalid authMethod 17fb704
  • code documentation 547d289
  • inject authentication into opensearch.Client a474712
  • OpenSearch query middlewares 063b3fd
  • Support different authentication methods e8547ce

Changed

  • use opensearchtransport.Interface instead of opensearchapi.Transport interface for authenticator clientTransport field to align types with opensearch.Client.Transport dde85c1
  • return error if undefined auth method is set 29834b2
  • replace usage of esapi with opensearchapi df94a8f
  • Config variable naming; remove 'none' authentication method 5e8231b
  • set opensearch authentication method explicitly via configuration 126ae67
  • use more generic name for identity provider client 4fef5d8

opensight-golang-libraries 1.7.4-alpha2

13 Jun 17:52
Compare
Choose a tag to compare
Pre-release

1.7.4-alpha2 - 2024-06-13

Added

  • implement additional postgres compare operators (#77) 7f74e6e

opensight-golang-libraries 1.7.4-alpha1

07 Jun 06:45
Compare
Choose a tag to compare
Pre-release

1.7.4-alpha1 - 2024-06-07

Added

  • add a testcase for empty username 1fc1165
  • add a testcase for an invalid authMethod 17fb704
  • code documentation 547d289
  • inject authentication into opensearch.Client a474712
  • OpenSearch query middlewares 063b3fd
  • Support different authentication methods e8547ce

Changed

  • use opensearchtransport.Interface instead of opensearchapi.Transport interface for authenticator clientTransport field to align types with opensearch.Client.Transport dde85c1
  • return error if undefined auth method is set 29834b2
  • replace usage of esapi with opensearchapi df94a8f
  • Config variable naming; remove 'none' authentication method 5e8231b
  • set opensearch authentication method explicitly via configuration 126ae67
  • use more generic name for identity provider client 4fef5d8

opensight-golang-libraries 1.7.3

06 Jun 14:13
Compare
Choose a tag to compare

1.7.3 - 2024-06-06

Changed

  • change postgres query builder string template to enhance security (#76) 511408f