Skip to content

HAProxy Data Plane API v2.6.0

Compare
Choose a tag to compare
@mjuraga mjuraga released this 19 Jul 14:30
· 242 commits to master since this release

Release Notes

HAProxy Data Plane API v2.6.0 0bfca6f

Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2022-07-19T14:14:22Z

Major changes:

  • Added support for ring section as a /v2/services/haproxy/configuration/rings resource
  • Added support for log-forward section as a /v2/services/haproxy/configuration/log_forwards resource
  • Full support for all configuration keywords in global section
  • Added all option keywords to frontends, backends and defaults resources
  • Added srvtcpka-* options to backends and defaults resources
  • Added clitcpka-* options to frontends and defaults resources
  • Added support for http-after-response keyword as a /v2/services/haproxy/configuration/http_after_response_rules resource
  • Added /v2/health resource which returns the haproxy process status
  • Multiple dependency upgrades
  • Bug fixes

Deprecations:

  • the server endpoint will still have the backend query string parameter, but it will be removed in a future version, going forward please use parent_type and parent_name query string parameters to specify the section to which a server resource belongs to
  • the bind resource will still have the frontend query string parameter, but it will be removed in a future version, going forward please use parent_type and parent_name query string parameters to specify the section to which a bind resource belongs to

Read more information in the blog post.

Changelog

  • 0bfca6f CLEANUP: refactor server params
  • 6dd40bd BUILD/MEDIUM: cn: upgrade client-native
  • ebea56a BUILD/MEDIUM: go: upgrade to go 1.18
  • da9db0c BUILD/MEDIUM: update to client-native v4
  • da5182e BUILD/MEDIUM: go-swagger: upgrade go-swagger to 0.29.0
  • b824ff1 MEDIUM: log_target: add log_forward to the parent types
  • 28ed5f1 MAJOR: bind: add parentName, parentType to support bind in frontend and log-forward sections
  • cb26caf MEDIUM: log-forward: implement log-forward section
  • a9cd4dd CLEANUP/MINOR: reload: fix linter warning
  • 41dbecd MEDIUM: health: add health check for haproxy service
  • 15db072 BUILD/MINOR: go-mod: upgrade client-native
  • 6b27b92 BUG/MINOR: http_after_response: use reload agent interface
  • 132fe51 MINOR: update specification for missing stats keywords
  • 692d650 MINOR: update specification for missing option keywords
  • ea8f732 MINOR: update specification with srvtcpka options
  • afd5105 MEDIUM: server: handle servers in ring section
  • 359f079 MEDIUM: ring: implement ring section
  • be61642 MINOR: update specification for missing option keywords
  • 703eb10 BUILD/MINOR: go.mod: upgrade client-native and config-parser
  • 08dce83 MINOR: update specification with clitcpka options
  • 9c48840 BUG/MINOR: cluster: add better cluster config cleanup
  • 9f88249 MINOR: get maps storage in line with general and cert storage
  • b452d15 BUG/MINOR: avoid double HAProxy reload
  • bd1e5c0 MEDIUM: add retry mechanism to bootstrap cluster procedure
  • b71f406 TEST/MINOR: testing http-after-response keyword
  • 87586b4 MINOR: handlers for http-after-response keyword
  • e0ce329 MINOR: updating specification for http-after-response support
  • f5ae6b2 MINOR: upgrade text dependencies
  • 13befbd BUILD/MINOR: go.mod: upgrade client-native
  • b1560b2 BUG/MINOR: log: logrus hook rfc5424 bugfixes
  • f8fe794 MAJOR: add set table api
  • fef4d89 CLEANUP/MINOR: setup: remove duplicate condition
  • 090577f BUG/MINOR: discovery: fix interface nil conversion
  • 165be83 MINOR: client_native: upgrade to latest client-native
  • 722e35d MINOR: client_native: upgrade to latest client-native
  • 4c3b55a BUG/MEDIUM: raw: when changing runtimes, allow some time for new socket to be ready
  • b045ea8 BUG/MEDIUM: cluster: do not ignore error
  • d203eba CLEANUP: linter: add more linting fixes
  • a562370 CLEANUP: lint: fix linting errors
  • 9eec2d8 MAJOR: reread HAProxy runtime if path changes in config file
  • 342b241 MEDIUM: reload: add option to add callback if reload is sucessfull
  • 3ce6624 MAJOR: add support for userlists, users and groups
  • c89e36c MINOR: update client native to latest version
  • b155ee8 MINOR: generate code from client native specification
  • f7b8de4 MINOR: tests: update dataplane.hcl fixtures with general_storage_dir
  • 1ef9284 MINOR: storage: implement general storage handlers
  • d650817 MEDIUM: spec: generate code from latest client-native
  • 6e01546 BUG/MEDIUM: maps: return an empty list instead of nil for an empty maps file
  • 1fd7989 CLEANUP: cluster: fix error variable shadowing
  • 418c221 BUG/MINOR: runtime: remove wrong runtime client check
  • ef9b519 DOC: specification: update specification to proper version
  • aa46e89 DOC: readme: Update readme with proper documentation url