Skip to content

7.16.0

Choose a tag to compare

@Anaethelion Anaethelion released this 08 Dec 11:01
· 636 commits to main since this release

Client

  • Adds versioning and routing options to the BulkIndexer. Thanks to @mehran-prs and @munkyboy !

  • Adds CA fingerprinting. You can configure the client to only trust certificates that are signed by a specific CA certificate (CA certificate pinning) by providing a ca_fingerprint option. This will verify that the fingerprint of the CA certificate that has signed the certificate of the server matches the supplied value:

    elasticsearch.NewClient(Config{
        Addresses:              []string{"https://elastic:changeme@localhost:9200"},
        CertificateFingerprint: "A6FB224A4386..."
    })

API

  • New APIs:

  • New Experimental API:

  • Changes:

    • DeleteByQuery
      • Removed _source, _source_excludes, _source_includes parameters.
    • UpdateByQuery
      • Removed _source, _source_excludes, _source_includes parameters.
    • OpenPointInTime
      • The parameter keep_alive is now required.
    • SearchMvt
      • Added TrackTotalHits, Indicate if the number of documents that match the query should be tracked. A number can also be specified, to accurately track the total hit count up to the number.
    • IngestPutPipeline
      • Added WithIfVersion, required version for optimistic concurrency control for pipeline updates.
    • IndicesGetIndexTemplate
      • WithName, a pattern that returned template names must match.
    • NodesHotThreads
      • WithSort, the sort order for 'cpu' type (default: total).
    • MLPutTrainedModel
      • WithDeferDefinitionDecompression, if set to true and a compressed_definition is provided, the request defers definition decompression and skips relevant validations.
    • TransformDeleteTransform
      • WithTimeout, controls the time to wait for the transform deletion.
    • TransformPutTransform
      • WithTimeout, controls the time to wait for the transform to start.
    • TransformUpdateTransform
      • WithTimeout, controls the time to wait for the update.
  • Promoted to stable:

    • FleetGlobalCheckpoints
    • GetScriptContext
    • GetScriptLanguages
    • IndicesResolveIndex
    • MonitoringBulk
    • RankEval
    • SearchableSnapshotsMount
    • SearchableSnapshotsStats
    • SecurityClearCachedServiceTokens
    • SecurityCreateServiceToken
    • SecurityDeleteServiceToken
    • SecurityGetServiceAccounts
    • SecurityGetServiceCredentials
    • ShutdownDeleteNode
    • ShutdownGetNode
    • ShutdownPutNode
    • TermsEnum