Skip to content

HAProxy Data Plane API v2.0.0

Compare
Choose a tag to compare
@mjuraga mjuraga released this 27 Apr 15:38
· 719 commits to master since this release

Release notes

HAProxy Data Plane API v2.0.0 448d36e

Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2020-04-27T15:28:42Z

Features:

Server:

  • added new options (agent-check, health_check_port, downinter, fastinter, check-ssl, init-addr, sni, check-sni, proto, resolve)
  • added runtime server options (support for set server <> state and set server <> health runtime commands)

Stick Tables:

  • added runtime stick table support /v2/services/haproxy/runtime/stick_tables and /v2/services/haproxy/runtime/stick_table_entries endpoints

Frontend:

  • added new options (bind-process, unique_id_format, unique_id_format. logasap, allbackups, multiple stats options)

Backend/Defaults:

  • added new options (abortonclose, http_reuse, http_check, bind-process)

Global:

  • added new options (chroot, user, group, ssl-default-server-ciphers, ssl-default-server-options)
    HTTP Request Rules:
  • added new types capture and replace-path
  • added track-sc options

TCP Request Rules:

  • support all options from haproxy configuration

Peers:

  • added support for peers section in configuration

Resolvers:

  • added support for resolvers section in configuration

Maps:

  • added support for uploading maps files and editing them trough runtime

Cluster:

  • added cluster endpoints for integration purposes

Raw configuration:

  • added skip reload option and skip version check when posting a new raw config

Breaking API Changes:

  • all paths are prefixed with /v2 instead of /v1

Backend/Defaults:

  • cookie parameter reworked from string to an object to support all options
  • balance parameter reworked from string to an object to support all options

Runtime:

  • create new URL container /v2/services/haproxy/runtime and moved process_info there with support for all options

Rules:

  • all rules now have index field instead of id field as it better represents it's meaning

Changelog

0553265 BUG/MAJOR: build: add missing dependencies
6ece67c BUG/MAJOR: cluster: send proper credentials
212204d BUG/MAJOR: config: read properly data from file
111bff4 BUG/MEDIUM: fix fetching users when in cluster mode
7db24f4 BUG/MEDIUM: runtime: Strip unix@ from master cli socket
b856f3d BUG/MEDIUM: runtime: allow graceful reload
7fd40f0 BUG/MEDIUM: use overriden haproxy.conf file location consistently
356dc9b BUG/MINOR: Change logging and add new cli options to readme
33292ee BUG/MINOR: Fix minor bugs in stick table parsing
cbee632 BUG/MINOR: build: fix broken go.sum
d004346 BUG/MINOR: check files with -W when in master-worker mode
dfbcdee BUG/MINOR: cluster: allow returning to single mode
b0e1399 BUG/MINOR: do not panic when err is nil
00987eb BUG/MINOR: errors: add default header value for Config-Version
4792a4b BUG/MINOR: fix skipping version check on raw configuration
c95ddc1 BUG/MINOR: runtime: Fix missing servers and errors
8e1565f BUG/MINOR: runtime: fix init when not master-worker
748cd04 BUG/MINOR: runtime: weight typo
fc87b15 BUG/MINOR: stick_table: missing gpc0_rate field
494f9b8 BUG/MINOR: try joining in cluster even if unreachable
0634304 BUILD: client-native: update version in go.mod
ecea4c5 BUILD: follow up latest changes in client-native
8cefd08 BUILD: follow up on latest spec changes
d3d4e64 CLENAUP: configuration: unite all settings on one place
d3d5f6b DOC/MINOR: updated README.md with dynamic documentation info
0134fde FEATURE/MEDIUM: cluster: add cluster handlers
d618eb5 FEATURE/MEDIUM: runtime: add maps support
50306ce FEATURE/MEDIUM: userlist: save userlist in separated file when in Cluster mode
90d6869 FEATURE/MINOR: (default_)server: add downinter, fastinter, check-ssl
54dc7ef FEATURE/MINOR: runtime: add health check port
84b3a0a MAJOR: Add all the latest specification changes
30599b5 MAJOR: Upgrade to v2/ paths
8831cd9 MAJOR: config-parser: upgrade to v2 version
6970816 MEDIUM: Peers: sync peers after joining a cluster
4499150 MEDIUM: balance: balance parameter reworked
d322947 MEDIUM: bootstrapkey change structure
46c4d44 MEDIUM: raw: add skip_reload on raw config push
e0feaab MEDIUM: runtime: Add stick table support
8b61fa4 MEDIUM: runtime: Rework runtime client inits
9be2883 MEDIUM: runtime: add new process_info output
a79a419 MEDIUM: runtime: added support for runtime server
2622bb6 MINOR: Add http-request capture and server init-addr
edfddd0 MINOR: Add skip version check to push raw configuration
7b77fbe MINOR: ErrTransactionAlreadyExists typo
0123ea7 MINOR: Update to latest spec
aa186ad MINOR: Update to latest spec
3e2bf24 MINOR: added StickTable tag
9673a0b MINOR: backend, defaults: upgrade models version with abortonclose
e99a6eb MINOR: build: Add correct go.mod and go.sum files
e6538b6 MINOR: cluster: add endpoint for cert refresh
a47928a MINOR: cluster: add more meaningfull default name
fdcc69f MINOR: cluster: allow crt to be saved in any path
5c1e8f3 MINOR: server: Add SNI stuff
60aba22 MINOR: server: add resolvers keywords
3c28a25 MINOR: server: add runtime changes for agent
0268b18 MINOR: testing: add CD linter, fix linting errors.
b2891fd MINOR: typos
8ef7974 REFACTOR: Add reload agent interface
2920d7b REFACTOR: fix to conform with linter
448d36e RELEASE: 2.0 release