Releases: haproxytech/dataplaneapi
HAProxy Data Plane API v2.7.2
Release Notes
HAProxy Data Plane API v2.7.2 3d8f41f
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2023-02-03T13:31:57Z
Changelog
HAProxy Data Plane API v2.7.1
Release Notes
HAProxy Data Plane API v2.7.1 891e0eb
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2022-12-07T16:59:16Z
Read more information in the blog post.
Changelog
- 891e0eb MINOR: spec: upgrade spec to latest client-native
- 512024e BUILD/MINOR: go.mod: upgrade to latest client-native
- 5cede2e TEST/MEDIUM: haproxy.cfg: fix test fixtures to pass reloads
- 9271c88 TEST/MEDIUM: haproxy: add haproxy 2.7 to tests and set as default
- 411d77a BUG/MINOR: fix panic in configuration when setting reload command
HAProxy Data Plane API v2.7.0
Release Notes
HAProxy Data Plane API v2.7.0 97c2e28
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2022-12-01T09:53:57Z
Major changes:
- Added support for
program
section as a/v2/services/haproxy/configuration/programs
resource - Added support for
fcgi-app
section as a/v2/services/haproxy/configuration/fcgi_apps
resource - Added support for
mailers
section as a/v2/services/haproxy/configuration/mailers_section
resource - Added support for
http-errors
section as a/v2/services/haproxy/configuration/http_errors_sections
resource - Full support for all configuration keywords in
defaults
,frontend
andbackend
sections - Full support for all configuration keywords in
peers
andrings
- Added support for multiple
defaults
sections distinguished by name:- All defaults sections without a name will now get a default name
unnamed_defaults_<idx>
as this newname
field is mandatory onv2/services/haproxy/configuration/named_defaults
- Added support for
from
keyword ondefaults
,frontend
andbackend
sections. From HAProxy 2.4 you can specify which defaults section do you want to use in your section by specifing something likefrontend <name> from <defaults_name
. - If you are running HAProxy 2.4 or later, this will be added by default to your
frontend
,backend
anddefaults
sections even if you don't specify it. Default will point to the latest defaults section in the configuration file as this is implicitly done by HAProxy. - For more info read: http://docs.haproxy.org/dev/configuration.html#4
- All defaults sections without a name will now get a default name
- Added support for add server and del server on
v2/services/haproxy/runtime/servers
as POST and DELETE methods - Added reload_strategy
- Now you can set in your dataplaneapi .yaml or .hcl configuration files a reload strategy you want to use
- Currently supported reload strategies are: s6, systemd and custom
- With s6 and systemd you can set the
service_name
to override default service name and no need to setreload_cmd
,restart_cmd
,status_cmd
,start_cmd
andstop_cmd
- Your existing configurations will migrate to a custom strategy with all the commands set as before
- If you are using HAProxy 2.7 and have
master-worker
set with master stats socket, the Data Plane API will by default use thereload
command in the stats socket as this is the most reliable way to determine whether reload passed or failed synchronously
- Multiple dependency upgrades
- Bug fixes
Read more information in the blog post.
Changelog
- 97c2e28 DOC/MINOR: configuration: fix configuration examples for reload strategy
- 20626b6 MINOR: go: Use net.JoinHostPort() instead of generic fmt.Sprintf()
- 92ec833 MINOR: go: Remove unnecessary nil err checks on return
- 6cc5f9a BUILD/MINOR: github: run the CI only on PRs
- 88aad5e MINOR: go: Use errors.Is() and fs.ErrNotExist instead of os.IsNotExist()
- bd8065e BUILD/MINOR: go: upgrade go version in our CIs
- 11a52f2 BUILD/MINOR: goreleaser: fix github action arguments
- d89cb68 BUILD/MINOR: goreleaser: add goreleaser github action to ci
- 7b8ebaf BUILD/MINOR: deps: update dependencies
- e267b5e BUG/MEDIUM: tcp: fix wrong types for tcp_request_rules
- d996702 BUG/MINOR: version: make config version middleware to write after request
- 04f7b83 BUG/MINOR: userlists: fix error handling for users and groups
- af0b4f3 BUILD/MEDIUM: go: update go version
- 706def3 BUG/MEDIUM: version: fix config version header adapter
- 402e88e BUILD/MEDIUM: dependencies: upgrade depencencies
- 2bf1786 MINOR: add backwards-compatible bootstrap key expiry check
- 338f5ec MEDIUM: users: in cluster mode allow only cluster users
- bb01c28 MEDIUM: client-native: upgrade client-native and spec
- 5aaf99b MAJOR: Use the master socket to reload configuration and add reload strategies
- 1af5edb TEST/MEDIUM: defaults: add tests for defaults
- ddad862 TEST/MINOR: e2e: fetch hapropxy version from env variable, more reliable
- 26101b1 MAJOR: named_defaults: add support for named defaults
- 44eb2b5 MINOR: Update to latest client-native
- 11d678c BUG/MINOR: handlers: fix reload agent with interface
- dfa052f TEST/MINOR: transactions: fix flaky transaction tests
- 0c0c4ef TEST/MINOR: server: remove now omitted arrays from tests
- 0cf8eec MINOR: add support for http-errors section
- 158b80d MINOR: runtime: support for setting a server's healthcheck address
- b8575bb BUG/MINOR: runtime: return 404 when a server or backend is not found
- 7751e0c MINOR: process manager for programs handling
- cc21335 FEATURE/MINOR: add support for http-error keyword
- 99d7254 MINOR: runtime: fix the POST request to create a sever
- 9534882 MINOR: peers: add missing peers options
- 6c89800 BUG/MINOR: reload: don't revert backup file when not valid
- e61378b BUG/MINOR: runtime: fix avoiding reloads with server_params
- e28583a BUG/MINOR: transactions: return code 404 when transaction not found
- e7a3a04 TEST/MINOR: fcgi-app: e2e coverage for CRUD operations
- d64a0fc MINOR: fcgi-app: implementing CRUD handlers
- 23690dc MINOR: spec: support for FCGI application
- 626f736 MEDIUM: add and delete servers using the runtime API
- e50c242 BUG/MINOR: consul: use allow/deny list instead of white/black list when initiating instance
- 79a83a3 MINOR: configuration: use hostname as a default name in the config
- 2a95517 MEDIUM: spec: add template to skip validating readOnly
- 90bb488 MINOR: client-native: update client native, add errorfiles
- ba6a73d BUILD/MINOR: swagger: generate using latest client-native and go-swagger
- 10d3288 MEDIUM: add mailers section support
- ab0b626 TEST/MEDIUM: e2e: bump the default HAProxy version to 2.6
- 0c33f73 BUG/MEDIUM: reload_agent: create backups dir if it does not exist
HAProxy Data Plane API v2.6.2
Release Notes
HAProxy Data Plane API v2.6.2 3a2dc97
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2022-11-30T19:54:13Z
Changelog
- 3a2dc97 BUILD/MINOR: spec: update spec to latest cn
- 0a01141 BUG/MINOR: runtime_server: fix missing function
- cd941eb BUILD/MINOR: goreleaser: fix github action arguments
- c7c7345 BUILD/MINOR: goreleaser: add goreleaser github action to ci
- c1b617c BUILD/MINOR: deps: update dependencies
- c5a718f BUG/MINOR: version: make config version middleware to write after request
- 88c5c2c BUG/MINOR: userlists: fix error handling for users and groups
- ecbd160 BUILD/MEDIUM: go: update go version
- e1692ba BUG/MEDIUM: version: fix config version header adapter
- 53365f6 BUILD/MEDIUM: dependencies: upgrade depencencies
- 544c73a TEST/MINOR: transactions: fix flaky transaction tests
- cf7631f BUG/MINOR: runtime: return 404 when a server or backend is not found
- 0c0b2d8 BUG/MINOR: reload: don't revert backup file when not valid
- cc3dae8 BUG/MINOR: runtime: fix avoiding reloads with server_params
- 5a5c9f9 BUG/MINOR: transactions: return code 404 when transaction not found
- 4b2290c BUG/MINOR: consul: use allow/deny list instead of white/black list when initiating instance
HAProxy Data Plane API v2.5.5
Release Notes
HAProxy Data Plane API v2.5.5 3d78877
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2022-11-30T15:38:18Z
Changelog
- 3d78877 BUILD/MINOR: goreleaser: fix github action arguments
- 1744787 BUILD/MINOR: cn: upgrade to latest cn
- 2b98794 TEST/MINOR: runtime_server: fix read only fields
- feadc02 BUILD/MINOR: go: upgrade go versions everywhere
- f9be988 BUILD/MEDIUM: swagger: upgrade to swagger 0.30.2
- 66b9070 BUILD/MINOR: goreleaser: add goreleaser github action to ci
- 68ee3ba BUILD/MINOR: deps: update dependencies
- f413b15 BUILD/MEDIUM: go: update go version
- 5dac2d2 BUG/MINOR: version: make config version middleware to write after request
- 5514c1d BUG/MEDIUM: version: fix config version header adapter
- 7714f33 BUG/MINOR: runtime: return 404 when a server or backend is not found
- 44d0aed BUG/MINOR: reload: don't revert backup file when not valid
- 7bf7ac7 BUG/MINOR: runtime: fix avoiding reloads with server_params
- f2d072e BUG/MINOR: consul: use allow/deny list instead of white/black list when initiating instance
- 2209dd5 TEST/MEDIUM: e2e: bump the default HAProxy version to 2.6
- 35c6df4 BUG/MEDIUM: reload_agent: create backups dir if it does not exist
HAProxy Data Plane API v2.6.1
Release Notes
HAProxy Data Plane API v2.6.1 5c2258b
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2022-09-08T09:07:27Z
Changelog
HAProxy Data Plane API v2.6.0
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 tofrontends
,backends
anddefaults
resources - Added
srvtcpka-*
options tobackends
anddefaults
resources - Added
clitcpka-*
options tofrontends
anddefaults
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 thebackend
query string parameter, but it will be removed in a future version, going forward please useparent_type
andparent_name
query string parameters to specify the section to which aserver
resource belongs to - the
bind
resource will still have thefrontend
query string parameter, but it will be removed in a future version, going forward please useparent_type
andparent_name
query string parameters to specify the section to which abind
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
HAProxy Data Plane API v2.5.4
Release Notes
HAProxy Data Plane API v2.5.4 332aec7
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2022-07-12T10:18:21Z
Changelog
- 332aec7 BUILD/MINOR: go.mod: upgrade client-native
- 93a1cec BUILD/MINOR: swagger: fix go-swagger to v0.23.0
- 8188c4d CLEANUP/MINOR: cluster: linting fixes
- 71bfa3d BUG/MINOR: avoid double HAProxy reload
- 4b2aa34 BUG/MINOR: log: logrus hook rfc5424 bugfixes
- 35b9d0a BUG/MINOR: cluster: add better cluster config cleanup
- 49599fd BUG/MINOR: discovery: fix interface nil conversion
- 92a95c2 MINOR: client_native: upgrade to latest client-native
HAProxy Data Plane API v2.4.7
Release Notes
HAProxy Data Plane API v2.4.7 f46a3fe
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2022-07-12T09:40:10Z
Changelog
- f46a3fe BUG/MINOR: swagger: fix swagger version in CI too
- 5415b5c BUILD/MINOR: swagger: fix swagger to v0.23.0
- e751eac BUG/MINOR: config-parser: upgrade config-parser
- 6692384 BUG/MINOR: cluster: add better cluster config cleanup
- 1d03a80 BUG/MINOR: avoid double HAProxy reload
- 42efddb BUG/MINOR: log: logrus hook rfc5424 bugfixes
- 6951473 BUG/MINOR: discovery: fix interface nil conversion
- 2911c65 BUG/MEDIUM: maps: return an empty list instead of nil for an empty maps file
HAProxy Data Plane API v2.5.3
Release Notes
HAProxy Data Plane API v2.5.3 a6a86c8
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2022-04-14T09:07:57Z