Skip to content

HAProxy Data Plane API v2.9.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Dec 15:21
· 87 commits to master since this release

Release Notes

HAProxy Data Plane API v2.9.0 91da11d

Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2023-12-08T14:53:01Z

Major Changes

  • Followed up on all keywords that were added in haproxy 2.9 release, more info here
  • Expanded storage SSL certificate endpoints with more info on the certs, including issuer, size, domains, expiry dates...
  • Added a reload of HAProxy when a storage SSL certificate is created
  • Expanded Consul Service Discovery with more filtering parameters:
    • added support for from field on created backend section, which allows you defining special named defaults sections for different services and referencing them in the from field
    • added support for regexp service name filtering
    • added health_check_policy for filtering services based on their health check status
    • added mode to be able to specify whether consul API is running http or https
  • Added debugging command socket that lets you fetch information from dataplaneapi process through sending commands to the specified unix socket. More information in the dedicated README.

Changelog

  • b66268a BUG/MAJOR: reconfigure runtime client and HAPorxy if path changes in the configuration file
  • 7d27cab BUG/MAJOR: reload runtime client if the configuration is changed with global endpoint
  • cf3d28d BUG/MEDIUM: change some storage api types to work with gorm
  • 2c99b56 BUG/MEDIUM: change track-sc<0|1|2> to track-sc
  • 83b7655 BUG/MEDIUM: configuration: Fix nil pointer dereference
  • 8fda41a BUG/MEDIUM: configuration: fix using backups_dir option
  • 8dc2875 BUG/MEDIUM: consul: fix health check if policy is not set
  • 6161c18 BUG/MINOR: allow all HTTP methods in httpchk_params and http-check
  • 2be281b BUG/MINOR: aws: sanity checking for instance service tags
  • 28f17ff BUG/MINOR: configuration: fix missing logs during configuration loading
  • eed09d0 BUG/MINOR: configuration: maintain backward compatibility for scheme
  • 150525f BUG/MINOR: consul: fix health check policy validation in create handler
  • c75026a BUG/MINOR: consul: fix validation for service changed check
  • 298772f BUG/MINOR: consuls: fix ns option to be set as query param instead of header
  • a412d0f BUG/MINOR: detect when a raw configuration is uploaded incorrectly
  • cf24d66 BUG/MINOR: fix panic in configuration when setting reload command
  • 9bc95ee BUG/MINOR: fix panic when trying to start with hcl configuration file
  • 48f0d03 BUG/MINOR: log_forwards: fix proper parent name and type checks
  • 76ccd72 BUG/MINOR: raw: return full raw config on GET and POST responses
  • ef54422 BUG/MINOR: reloads: trigger callback in force reload even when next reload exists
  • d4475ab BUG/MINOR: resolve-net, resolve_opt: e2e tests to allow comma separated list of arguments
  • 417ea79 BUG/MINOR: table: Add support for table in peers section
  • c346f34 BUILD/MAJOR: client-native: upgrade client-native to v5
  • 48aa0da BUILD/MEDIUM: go.mod: upgrade client-native and generate
  • 0264138 BUILD/MEDIUM: goreleaser: Build apk, rpm and deb packages
  • e0c05d7 BUILD/MEDIUM: lint: apply stricter rules for linting
  • 805e0d1 BUILD/MEDIUM: update linters, use local version
  • cfc7d1a BUILD/MINOR: add checks if the code is formatted
  • 930572d BUILD/MINOR: add test for ca-verify-file bind parameter
  • 16c968f BUILD/MINOR: bind e2e tests >2.8 were not executed due to missing import lib and wrong fixture
  • 8e2ba9d BUILD/MINOR: bump go version to 1.21
  • 6758dae BUILD/MINOR: ci: add newer lint image
  • 723cb5c BUILD/MINOR: ci: remove only and use rules for running
  • 22c6b6b BUILD/MINOR: client-native: upgrade client native for new keywords
  • 2896f49 BUILD/MINOR: client-native: upgrade client-native version
  • 84f71d4 BUILD/MINOR: client-native: upgrade client-native version
  • 44d49e0 BUILD/MINOR: do not rely on $PWD to be defined
  • 95fd396 BUILD/MINOR: e2e: upgrade to 2.9 haproxy as default
  • 086fa7c BUILD/MINOR: git: ignore Goland ide configuration directory
  • 6e4a9fb BUILD/MINOR: github: add manual release action
  • c334dd7 BUILD/MINOR: github: use proper go version as a string
  • 0787b05 BUILD/MINOR: global e2e tests >2.8 were not executed due to missing import lib
  • 4c14425 BUILD/MINOR: go.mod: update Go packages
  • 0961699 BUILD/MINOR: go.mod: update Go packages
  • 514233d BUILD/MINOR: go.mod: update Go packages
  • 97e699e BUILD/MINOR: go.mod: update Go packages
  • cac59ac BUILD/MINOR: go.mod: update client-native and config-parser
  • 8805d97 BUILD/MINOR: go.mod: update client-native and specification
  • ac5ea55 BUILD/MINOR: go.mod: update client-native and specification
  • 3ab8533 BUILD/MINOR: go.mod: update github.com/aws/aws-sdk-go-v2
  • 6a94565 BUILD/MINOR: go.mod: update github.com/aws/aws-sdk-go-v2
  • f4d31c2 BUILD/MINOR: go.mod: update github.com/aws/aws-sdk-go-v2
  • 11698db BUILD/MINOR: go.mod: update github.com/aws/aws-sdk-go-v2
  • cb61979 BUILD/MINOR: go.mod: update github.com/aws/aws-sdk-go-v2
  • 2f26199 BUILD/MINOR: go.mod: update github.com/aws/aws-sdk-go-v2/service/ec2 v1.92.0
  • f33821c BUILD/MINOR: go.mod: update github.com/aws/aws-sdk-go-v2/service/ec2 v1.92.1
  • b2d53c1 BUILD/MINOR: go.mod: update github.com/dustinkirkland/golang-petname, go.mongodb.org/mongo-driver
  • 6a16ca2 BUILD/MINOR: go.mod: update github.com/perimeterx/marshmallow v1.1.5
  • 783a763 BUILD/MINOR: go.mod: update golang packages
  • 234ab2d BUILD/MINOR: go.mod: update golang.org/x packages
  • 3504781 BUILD/MINOR: go.mod: update golang.org/x packages
  • 4190d7d BUILD/MINOR: go.mod: update golang.org/x packages
  • 9857cc4 BUILD/MINOR: go.mod: update golang.org/x packages
  • 866fa44 BUILD/MINOR: go.mod: update golang.org/x packages
  • 784f008 BUILD/MINOR: go.mod: update golang.org/x packages
  • ede4d54 BUILD/MINOR: go.mod: update golang.org/x packages
  • efb5f29 BUILD/MINOR: go.mod: update golang.org/x packages
  • d9d269b BUILD/MINOR: go.mod: update golang.org/x packages
  • 6af9a1b BUILD/MINOR: go.mod: upgrade client-native
  • b5ce490 BUILD/MINOR: go.mod: upgrade client-native
  • 279dd42 BUILD/MINOR: go.mod: upgrade dependencies
  • 91da11d BUILD/MINOR: go.mod: upgrade dependencies
  • 88d4a2a BUILD/MINOR: go.mod: upgrade dependencies
  • 8994aef BUILD/MINOR: go.mod: upgrade dependencies
  • 5e8f0c0 BUILD/MINOR: go.mod: upgrade to latest client-native
  • 0341077 BUILD/MINOR: go.mod: upgrade to the latest client-native
  • 1f986da BUILD/MINOR: go: upgrade go to 1.20
  • 7f691eb BUILD/MINOR: goreleaser: always use latest go version
  • 5aadfce BUILD/MINOR: goreleaser: fix deprecation and release notes generation
  • 6596800 BUILD/MINOR: quic: update libraries to enable quic keywords
  • 265616a BUILD/MINOR: ring e2e test >2.8 were not executed due to missing import lib
  • 0c7a4a3 DOC/MINOR: aws: only one port is allowed
  • 6ae4387 MAJOR: hcl: remove support
  • ad9347d MAJOR: reload configuration after creating a new Storage SSL Certificate
  • 5e0afb7 MEDIUM : sticky-counter, tune ocsp: Add e2e tests for sticky-counters to http/tcp and global ocsp
  • d0600ef MEDIUM: Add size and certificates info to the storage API
  • 4ad3136 MINOR: Remove dependencies on hashicorp
  • ca4b0f6 MINOR: add command socket for debugging
  • 5ed2686 MINOR: add deprecation warning log to Httpclose HTTPKeepAlive and HTTPServerClose
  • 482bc7d MINOR: bind: Add e2e test cases for thread
  • c43512a MINOR: cluster: removing storage upon cluster removal
  • 62dadaa MINOR: consul: add support for from field for created backends
  • e5709f9 MINOR: consul: add support for health check policy
  • 0bf9805 MINOR: consul: add support for regexp filtering service names
  • c5ce613 MINOR: service_discovery: add mode handling for consul api requests
  • 72bcaac MINOR: update client-native dependency
  • 4a5c714 MINOR: update client-native dependency
  • 13ba120 MINOR: utils: decoding configuration errors to HTTP status code
  • 2eda323 OPTIM/MINOR: go: Optimize struct field alignments
  • 68ab09f OPTIM/MINOR: go: Update x/net and x/sys to latest versions
  • d1cda1e REORG/MINOR: client-native configuration API changes
  • b816c50 TEST/MAJOR: e2e: fix proper version checking in all tests
  • 7b6d352 TEST/MEDIUM: haproxy.cfg: fix test fixtures to pass reloads
  • a3d9943 TEST/MEDIUM: haproxy: add haproxy 2.7 to tests and set as default
  • 38e313f TEST/MINOR: docker: upgrade docker for dind and add seccomp option
  • d0bc060 TEST/MINOR: e2e: add tune.h2 and bind e2e tests
  • 3a87f20 TEST/MINOR: e2e: fix tests for debian
  • 3351e3c TEST/MINOR: e2e: swap kill -SIGUSR with kill -s 12 invocations
  • 7996549 TEST/MINOR: fixtures: add scheme to the fixture configuration files