Releases: haproxytech/dataplaneapi
HAProxy Data Plane API v2.3.1
Release Notes
HAProxy Data Plane API v2.3.1 488df37
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2021-05-20T12:55:00Z
Changelog
488df37 BUG/MINOR: info: change the build time format to conform to RFC 3339
36db6d3 BUILD/MINOR: goreleaser: add darwin os
b121866 BUILD/MINOR: go.mod: upgrade dependencies
ed3f39b BUG/MAJOR: create a configuration file if file does not exists
58608bf BUILD/MINOR: Makefile: escape possible spaces in ldflags
6656abf BUILD/MINOR: remove darwin and add ppc64le s390x to go releaser
10c9935 BUG/MEDIUM: cluster: user password must be the clear one
HAProxy Data Plane API v2.3.0
Release notes
HAProxy Data Plane API v2.3.0 f1bcacc
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2021-05-11T09:33:20Z
Features:
HCL/YAML Configuration File:
- added a full configuration file support
- you can now configure all CLI options in a Data Plane API configuration file and use it using the
-f
CLI option - supported formats are yaml and hcl
AWS EC2 Service Discovery:
- added AWS EC2 service discovery with a new endpoint
/service_discovery/aws
ACL Runtime API Updates:
- added endpoints for managing runtime acl files:
/services/haproxy/runtime/acls
and/services/haproxy/runtime/acl_file_entries
Inotify Configuration Watcher:
- you can now make changes to the HAProxy configuration file in parallel with the API, and the API will pick up those changes
- enabled by default, it can be disabled by starting with
--disable-inotify
Syslog Support:
- Data Plane API can now log to syslog in addition to logging to file and stdout
Customized Configuration Validation:
- you can specify custom
validate_cmd
to use when validating HAProxy configuration file
Miscellaneous
- New command-line and YAML/HCL configuration options for setting the uid and gid of the HAProxy Data Plane API process. The command-line flags are --uid and --gid ; the HCL/YAML arguments are uid / gid.
- Query string parameters force_reload and skip_reload were added to the Map file and SSL certificate storage endpoints, allowing you to force a reload or skip reloads entirely. The skip_reload parameter has a higher precedence.
- The query string parameter acl_name allows for querying an ACL by its name.
- Transactions that fail or are committed after other transactions are made could result in a mismatched version number. These transactions will now be marked as outdated and will return an HTTP 406 Not Acceptable.
- This release supports all available options to the server and default-server directives.
- Support for http-request return has been added, which exposes the native response generator that was introduced in HAProxy 2.2
- The HAProxy Data Plane API can now be configured to write its pid file using the --pid-file command-line argument or pid_file within the dataplaneapi section of the configuration file.
Changelog
f1bcacc BUILD/MINOR: go.sum: run go mod tidy
b97275c DOC/MINOR: release: remove sorting of changelog
dc91a7f BUG/MEDIUM: cluster: do not request for cert if cert was received
eed4863 TEST/MINOR: aligning configuration file to new snake case format
84856bb DOC/MINOR: discovery: adding configuration file snippets for YAML format
ab2c764 DOC/MEDIUM: using snake case for AWS regions HCL keys
c30ca95 REORG/MEDIUM: snake case for HCL and YAML keys in configuration files
cd4f849 REORG/MINOR: config: avoiding double spaces in HCL example
fca8c79 REORG/MEDIUM: config: fixing code-generation for configuration files
de441b7 BUG/MINOR: construct urls without duplicating slashes
a6cd451 BUG/MINOR: adapters: close writter when new apache middleware is created
ba204df OPTIM/MINOR: cluster: avoiding goroutines leak for monitorBootstrapKey
7b52f13 BUG/MINOR: runtime client: fix leak when reloading
667903d BUG/MINOR: discovery: AWS doesn't trigger update
f64d698 REORG/MINOR: discovery: no need for WithCancel context
c92d3e5 OPTIM/MINOR: discovery: closing goroutine if update channel is closed
e3647a2 CLEANUP/MINOR: lint: rename error var
a78333b BUG/MINOR: reload: add context to avoid goroutine leak
797f4c4 CLEANUP/MINOR: reload: adding new method instead of Init
eeda854 TEST/MINOR: runtime: testing ACL files and entry files operations
87eefcb MEDIUM: runtime: support for ACL files through runtime socket
d8d56a1 REORG/MINOR: discovery: providing logs to Consul Service Discovery
791623b OPTIM/MINOR: cluster: accepting context to avoid goroutines leak
f82f045 BUG/MINOR: watcher: clean up goroutines on dataplaneapi reload
50ca9c2 BUG/MINOR: preserving server slots base
817a870 CLEANUP/MINOR: discovery: typo on func name
209e29c REORG/MEDIUM: discovery: using context to handle reloads
c28bb70 BUG/MEDIUM: discovery: using mutex to avoid race condition
fb0c0a5 MINOR: discovery: add debug output for AWS service discovery
e8c53d5 CLEANUP: maps: simplify slice initialization
a1730da BUG/MINOR: add contex to prevent goroutine leaks
7f70e94 BUG/MINOR: discovery: Update AWS growth type default to exponential
6a53ac2 MINOR: cluster: create a new user for connecting to cluster
607f2fe MINOR: service discovery: do not save empty object to file
3565166 BUG/MAJOR: aws: terminate correct attribute
ade6d83 BUG/MINOR: discovery: triggering change for untracked services
3619550 BUG/MINOR: continue processing SIGHUP signals after the first one
13318df BUILD/MINOR: check-commit: pin version of image
dc98991 BUILD/MINOR: check-commit: trigger only on pull requests
8d28e51 REORG/MINOR: discovery: using constants and model enums
21fd460 REORG/MINOR: discovery: missing header file section
bd06165 BUG/MEDIUM: discovery: validating and persisting config file defined instances
4bc8473 MINOR: discovery: validating instance ID to UUID format
b8ca2c2 REORG/MINOR: discovery: instance validation moved to discovery package
7a40346 BUG/MINOR: discovery: Handle config error from existing AWS server
79b223c DOC/MINOR: added consul service discovery documentation
a498d0b MINOR: discovery: change whitelist/blacklist to allowlist/denylist
f88f00b BUG/MINOR: ci: use Go 1.16 version for ci builds
9a1eb19 BUILD/MINOR: check: fetch all commits on commit message check
2d7033e DOC/MINOR: add uid and gid to hcl and yaml examples
ac67748 DOC/MINOR: add uid and gid cli options
1a2017d MINOR: tests: added uid test
0e3a296 MINOR: added comand line options to set uid and gid
1da3dfd MINOR: update client native to latest version
ea8d66c TEST/MINOR: added ssl tests for force_reload and skip_reload
bcdd898 MINOR: storage: add skip_reload and force_reload query params to ssl endpoints
6edd66d DOC/MINOR: configuration file format default is HCL
c0c411e REORG/MEDIUM: configuration file default to HCL rather than YAML
5788b84 BUG/MINOR: using configuration strategy upon config file extension
f25a611 BUG/MEDIUM: nil pointer dereference for missing parent group init
0f0c96d MINOR: treat SIGHUP as reload signal
ac23d46 BUILD/MINOR: set build path from environment with fallback
159fd45 MEDIUM: cluster: address and port enforcement using qs params
b991e7e MINOR: saving advertising address and port to config file
ceeb410 MINOR: cluster: specification and operators update for querystring params
d78c042 DOC/MINOR: removing API options
54f5a67 REORG/MAJOR: removing API options CLI flags
b2dd30c DOC/MEDIUM: syslog: priority is now level
ace5dd0 BUG/MINOR: generate: missing parent group for nested struct fields
66f32ce TEST/MEDIUM: configure dataplane logging for tests and output logs on failed restarts
fdd7efe TEST/MEDIUM: fix location of dataplane config file and enable overrides within tests
a83431e TEST/MINOR: add maximum wait time for custom config dataplane/haproxy restarts
bd5b745 TEST/MEDIUM: refactor and clean up custome test run environments
f0d7efa DOC/MINOR: discovery: documenting new key for AWS regions
fc98b46 REORG/MEDIUM: discovery: switching from awsRegions to aws-regions
853668b BUILD/MINOR: tidying go mod dependencies
da36014 MINOR: acl: add optional acl_name param to query ACL's by its name
672f7a0 BUG/MINOR: maps: ignoring runtime maps when not in storage ones
4daf768 MINOR: storage: add skip_reload for maps
34e3983 DOC/MEDIUM: add info with all options available in file
8cbfdd3 MINOR: update client native to latest version
e8ad220 MINOR: maps: update id for creating new storage map files
6f57ff6 DOC/MINOR: discovery: Service Discovery on AWS
e2cce94 MINOR: discovery: add AWS instances to Service Discovery nodes at startup
c035ead MINOR: discovery: implementing AWS instance deletion
dbe353c MINOR: discovery: implementing AWS instance replace
01e33b7 MINOR: discovery: implementing AWS instances retrieval
17e2701 MINOR: discovery: implementing AWS instance retrieval
4613262 MINOR: discovery: implementing AWS instance creation
c48d32c MINOR: discovery: AWS Service Discovery specification
cc85feb TEST/MINOR: testing AWS Service Discovery
1472e4e MINOR: discovery: Service Discovery on AWS
34a78c7 MINOR: aws: configuration for AWS Service Discovery
235dd18 MINOR: abstracting the service discovery store
7de6b8c BUILD/MINOR: add -trimpath to build options
6791a53 REORG/MEDIUM: HAProxy reload backed by channel
2bd4082 REORG/MINOR: typo on notify channel struct name
9753f87 REORG/MINOR: unused code for bootstrap key changed event
0b26672 TEST/MINOR: transaction: outdated transactions return 406 on commit
82617bf MEDIUM: transaction: 406 for failed and outdated transactions upon commit
a034ed2 MEDIUM: transaction: considering only in_progress files
a5e7eab MEDIUM: transaction: marking outdated transactions on commit
2451329 BUILD: tags: ensure yaml tags are alphabetically ordered
0122ccf BUG/MINOR: service deletion upon ServiceDiscovery update
ef6b11b BUG/MEDIUM: discovery: deleting old backends upon change
7006250 BUG/MINOR: keep the msgID in generated logs
5e90009 BUG/MINOR: cluster: when storage-dr is recieved, check if all subfolders are also compatible
3b474b4 MEDIUM: cluster: add storage-dir to bootstrap key
39df264 BUG/MINOR: avoid hard-coding of values in the generated configuration file
18ea82c BUG/MEDIUM: missing deferring read unlock
7d8cdf8 TEST/MINOR: add optional parallel run capability
e485ed3 TEST/MAJOR: standardize tests and reduce dependence
8b5e113 MINOR: update e2e test descriptions with directory prefix
b270fb3 BUG/MINOR: discovery: Added storage and spoe
223a8bf MINOR: clarify syslog command-line-options
139d36c MINOR: use autodetected transport for syslog outputs
...
HAProxy Data Plane API v2.2.1
HAProxy Data Plane API v2.2.1 7fb8e05
Build from: https://github.com/haproxytech/dataplaneapi.git
Build date: 2021-04-07T11:50:45Z
Changelog
7fb8e05 BUILD/MINOR: add -trimpath to build options
6acd2dd BUG/MINOR: service deletion upon ServiceDiscovery update
5f9c688 BUG/MEDIUM: discovery: deleting old backends upon change
cb5da61 BUG/MEDIUM: missing deferring read unlock
d8e88c9 BUILD/MINOR: update CI invocation for check-commit
60eca8c BUG/MEDIUM: config: add default location of path to the dataplaneapi configuration file
c9437cd BUG/MEDIUM: cluster: solve race condition on connecting on cold start
453d396 BUG/MEDIUM: transactions: decreasing counter also for mismatching version
5fa83ea BUG/MINOR: discovery: reload haproxy on changes
0b1618e BUG/MEDIUM: injected configuration file can be used for userlist too
HAProxy Data Plane API v2.2.0
Release notes
HAProxy Data Plane API v2.2.0 68bd22b
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2021-01-15T13:48Z
Features:
Consul:
- added Consul integration with a new endpoint
/service_discovery/consul
SSL certificate storage:
- added storage resource
/services/haproxy/storage/ssl_certificates
for manipulating SSL certificate files in the managed SSL certificate file directory (/etc/haproxy/ssl by default) regardless of current use in configuration
Maps storage:
- added storage resource
/services/haproxy/storage/maps
for manipulating map files in the managed map file directory (/etc/haproxy/maps by default) regardless of current use in configuration
Spoe:
- added support for configuring SPOE Agents with new resources under
/services/haproxy/spoe/
:spoe_agents
,spoe_files
,spoe_groups
,spoe_messages
,spoe_scopes
,spoe_transactions
,
General configuration:
- added a new endpoint
/services/haproxy/configuration/version
to report internal configuration version for the managed haproxy configuration file - added HTTP redirect codes 307 and 308 to
redir_code
parameter in resource/services/haproxy/configuration/global
- added
log-send-hostname
global option support - added
monitor-uri
andmonitor_fail
to/services/haproxy/configuration/frontends
endpoint - added option to
only_validate
raw configuration file without applying - added
tunnel_timeout
parameter to endpoints/services/haproxy/configuration/backends
and/services/haproxy/configuration/defaults
- added option to limit max number of open transactions
- added support for all remaining settings to
server
,bind
anddefault-server
- added tunnel timeout to defaults and backend
- added
ssl_mode_assync
support - added port-range support for
bind
- added use-service support in http_request_rule
Runtime:
- added
force_reload
query parameter to relevant maps endpoints to initiate HAProxy reload immediately - added
storage_name
attribute to maps resource, to reference map in the maps storage resource
Breaking API Changes:
Runtime Maps:
- moved upload (POST) of full map files from
/services/haproxy/runtime/maps
to the new map storage endpoint/services/haproxy/storage/maps
- fetching (GET) a single map file will now return the map file contents
- fetching (GET) a list of runtime map files will now return only the map files loaded into HAProxy
Changelog
b0cda9c BUG/MAJOR: runtime admin state: correct returning state
1db22e9 BUG/MAJOR: runtime-maps: return map object on file upload
1c1b3ce BUG/MAJOR: runtime: fix comparision for runtimes server states
46006cb BUG/MAJOR: service-discovery: Use Consul Node.Address when Service.Address is empty
0f3e495 BUG/MEDIUM: add support for spaces within the hrd_format
a18e0a6 BUG/MEDIUM: bind: fix ssl-min-ver serialization
8f38732 BUG/MEDIUM: using http-checks v2 on backends retrieval
0de0054 BUG/MINOR: Service Discovery: Reload config only if changes have been made
93e4cf8 BUG/MINOR: add force-reload parameter to storage map replace (PUT)
83f2c6b BUG/MINOR: adv_check: add missing params and move httpchk to adv_check
92e15ed BUG/MINOR: client-native: bumping up to avoid panic on version retrieval
b311da4 BUG/MINOR: consul: fix service whitelist
7337db5 BUG/MINOR: enforce ssl storage dir exists and is usable
224a588 BUG/MINOR: fix HAPROXY_CFGFILES env override of config file location
0265851 BUG/MINOR: fix description of backend endpoint
9eadbc1 BUG/MINOR: fix processing master-worker mode options
78c3e90 BUG/MINOR: log: move up logging initialization
e6a6f96 BUG/MINOR: runtime-maps: enable immediate syncing
9f0f1d8 BUG/MINOR: runtime: return 404 when resource doesn't exists when handling maps
2b158f7 BUG/MINOR: terminate if ConfigFile is missing from HAPROXY_CFGFILES
b385aad BUG/MINOR: try to build app in correct folder
d88e01a BUG/MINOR: typo on runtime servers' settings endpoint summary
a9e47aa BUG/MINOR: transactions: allow only one commit processing at a time
70ad1cf BUILD/MAJOR: CI: move to private repository for pulling images
539f2f3 BUILD/MEDIUM: add check-commit action to CI
68bd22b BUILD/MEDIUM: update versions for release
5baee89 BUILD/MINOR: github: adding e2e jobs on several HAProxy versions
52ee5e2 BUILD/MINOR: gitlab: adding e2e stages
33a92d3 BUILD/MINOR: go mod tidy
24622b1 BUILD/MINOR: making build recipe idempotent
3fdd42b BUILD/MINOR: remove gcflags when building dataplane
7420492 BUILD: add latest spec changes
3cae7be BUILD: add latest spec changes
541d976 BUILD: update config-parser to v3 version
d6c2ad6 BUILD: update go.mod and go sum
a9b8d69 CLEANUP/MINOR: doc: remove duplicated ServiceDiscovery tag
dde2151 CLEANUP/MINOR: improve message clarity when exiting due to missing ConfigFile from HAPROXY_CFGFILES
b4a0a90 CLEANUP/MINOR: remove duplicated error check
8f2c052 CLEANUP: user: move user related functions to user.go
707f485 DOC/MINOR: grammar typo on README.md
5c16b26 DOC/MINOR: transaction: documenting new flag --max-open-transactions
dd04eb1 DOC: update README.md
f469a53 DOCS/MINOR: missing tag for ServiceDiscovery group
1a6e960 FEATURE/MEDIUM: Add service discovery endpoint and consul service deiscovery
8b35239 FEATURE/MEDIUM: config: add configuration version endpoint
f07fedd FEATURE/MEDIUM: ssl-certs: added handlers for SSL cert CRUD operations
c9e353b FEATURE/MEDIUM: transaction: rate limiting on max amount of open transactions
f28c57f FEATURE/MINOR: configuration: validate configuration without applying
dc0afd1 FEATURE/MINOR: global: add log-send-hostname support
33636b2 MEDIUM: cluster: adjust params to support multicluster mode
1e25780 MEDIUM: get storage map file returns file contents
66859fe MEDIUM: protect from deleting map files still in use
7be50be MEDIUM: protect from deleting ssl certs still in use
62e41d9 MEDIUM: runtime maps list only managed files by default
70e0dd2 MEDIUM: spoe: add CRUD handlers with transaction support
383bc6e MEDIUM: ssl-certs: add models and use them
d5576be MEDIUM: storage: endpoints to manipulate map files on disk added
8ff04bc MEDIUM: use MapsDir cli option for maps storage, ensure it exists, provide default
a1a56c0 MINOR: CI: add reload override so tests can be run faster
5bf5ee1 MINOR: Configuration: added tunnel timeout to defaults and backend
76f74d3 MINOR: adc_check: update embeded spec
c039c1e MINOR: add file (full path) attribute to SSL certificate model
cfd7146 MINOR: add force_reload query parameter to SSL certificate resource paths
51a6765 MINOR: auth: skipping basic authentication in case of mTLS
04964ca MINOR: doc: add managed notice to configuration file
382bf43 MINOR: errors: return 200 for GET on container endpoints if parent not found
3bbb250 MINOR: extend test runner with env. variables for different scenarios
8a855ed MINOR: http-request: add missing redirect codes
b74c1c4 MINOR: implementing monitor-uri and monitor fail
8942521 MINOR: logging: implementing request ID middleware
4025d3e MINOR: runtime-maps: add force reload parameter for file upload
e629591 MINOR: spec-conversion: added unit test for conversion from v2 to v3
cd9994c MINOR: ssl: adding async support
310ca70 MINOR: typo on log message
98856f5 MINOR: update embedded spec: redir_code: add 307, 308 as possible return codes
ee82651 MINOR: update embedded specification for acl_file and acl_file_entries
f4f80db MINOR: use force_sync query parameter instead of forceSync
1a392f5 MINOR: yaml: use single tag instead of multiple tags
0fc088c Merge pull request #137 from bmcustodio/bmcustodio-update-spec
7a7428e REORG/MEDIUM: maps: move map file upload path from runtime to map storage endpoint
c327520 REORG/MEDIUM: use storage_name and switch map upload to MapStorage
e11db5b REORG/MINOR: license: adding license to missing files
b2ea2f8 REORG/MINOR: arguments: rename storage-ssl-certs-dir to ssl-certs-dir
be7fc0b TEST/BUG: using nc is unreliable in confirming dataplane startup
db5acaf TEST/MAJOR: introduce bats-assert and rework dpa functions to use it
8d4e605 TEST/MEDIUM: add aditional helper functions
6c1efe7 TEST/MEDIUM: bug: dockerfile datplane cannot find haproxy binary
06c7224 TEST/MEDIUM: introduce docker command helpers and use them
58cd1a3 TEST/MEDIUM: replace curl in test setup with docker commands
57096bc TEST/MINOR: add regression tests for runtime and config issue
e48bc52 TEST/MINOR: add ssl storage e2e tests
b9e732d TEST/MINOR: add storage map e2e tests
5673988 TEST/MINOR: backend: add tests for backend switching rules
9abff03 TEST/MINOR: backend: add tests for backends
1340bfb TEST/MINOR: bats: add storage testing helper functions
c8943be TEST/MINOR: binds: add tests for binds
eedbde5 TEST/MINOR: cleanup assert invocations
1e4d5dc TEST/MINOR: e2e: scaffolding and documenting the e2e suite
adfab66 TEST/MINOR: frontend: add tests for frontends
fcbcc7e TEST/MINOR: http: add tests for HTTP request rules
af69bfd TEST/MINOR: http: add tests for HTTP response rules
ee560a5 TEST/MINOR: server: add tests for servers
45e56df TEST/MINOR: set curl max-time
0823a5a TEST/MINOR: set timeout on waiting for dataplaneapi to start
4ec948a TEST/MINOR: site: add tests for sites
2c1d0b6 TEST/MINOR: tcp: add tests for TCP request rules
f37b543 TEST/MINOR: tcp: add tests for TCP response rules
e05ca0e TEST/REFACTOR: rename dataplaneapi helper functions to dpa_
HAProxy Data Plane API v2.1.0
Release notes
HAProxy Data Plane API v2.1.0 af9b8e4
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2020-07-16T12:44:20Z
Changelog
eaadfb3 BUG/MINOR: cluster: certificate check is not tied to status
af9b8e4 BUILD: Update dependencies
99e6860 BUILD: Update go.mod and go.sum, build with latest spec
c1aaee7 BUILD: upgrade config-parser, models and client-native dependencies
e169788 CLENAUP/MINOR: cluster: fix pointer
b1a296e FEATURE/MEDIUM: specification: add endpoint to serve OpenAPI v3 spec
fc6b183 FEATURE/MINOR: cluster: allow defining path to store certificates
a285673 FEATURE/MINOR: cluster: new format of bootstrapkey
8ed1968 FEATURE/MINOR: cluster: option to clean configuration
ce28686 FEATURE/MINOR: runtime-maps: use maps dir from config when CLI not used This enables to work with runtime maps loaded from config via show map
call, without maps-dir
CLI option. If maps-dir
CLI is used, it has precedence over show map
. GetMapsPath
now returns an error if none of above exists.
2b0d582 FEATURE/MINOR: use renameio when storing .bck and .lkg files
f2a732a MEDIUM: userlist: add support for password from env variable This adds supports for authentication in format of HAProxy variable in config file (ex. "${HAPROXY_PASSWORD}") which represents env variable.
da83051 MINOR: add integration flag for HAProxy master-worker mode
76f3144 MINOR: cluster: add api-address and api-port options
e865f50 MINOR: cluster: enable communication with encrypted password
HAProxy Data Plane API v2.0.3
Release notes
HAProxy Data Plane API v2.0.3 3e35606
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2020-06-01T11:21:21Z
Changelog
3e35606 BUG/MAJOR: activate validation on transatcions
HAProxy Data Plane API v2.0.2
Release notes
HAProxy Data Plane API v2.0.2 d458c72
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2020-05-18T13:45:25Z
Changelog
db8fed5 BUG/MINOR: runtime_server: add missing empty string check for server states
4241f8f BUG: Prevent a panic in the case when a map only has 1 entry
d458c72 BUILD: Upgrade dependencies
4efb9a0 FEATURE/MINOR: server: add slowstart
HAProxy Data Plane API v2.0.1
Release notes
HAProxy Data Plane API v2.0.1 01b7b38
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2020-05-08T15:05:52Z
Changelog
0d226c3 BUG/MAJOR: discovery: Add type assertion check to DiscoverChildPaths
719e8b3 BUG/MEDIUM: runtime-maps: fix file upload name
87e63bc BUG/MINOR: maps: MapQuitChan hangs when no sync maps initiated
78b4820 BUG/MINOR: resolvers: fix couple of resolvers bugs
01b7b38 BUILD: Upgrade models and client-native to v2.0.1
b11335d FEATURE/MINOR: runtime-maps: improved handling http status codes
efd18e0 MINOR: cluster: use human readable name
HAProxy Data Plane API v2.0.0
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
andset 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
andreplace-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 optionsbalance
parameter reworked from string to an object to support all options
Runtime:
- create new URL container
/v2/services/haproxy/runtime
and movedprocess_info
there with support for all options
Rules:
- all rules now have
index
field instead ofid
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
HAProxy Data Plane API v1.2.5
HAProxy Data Plane API v1.2.5 284d34b
Build from: [email protected]:haproxytech/dataplaneapi.git
Build date: 2020-04-15T13:07:11
Built with GOOS=linux GOARCH=amd64 CGO_ENABLED=0
sha256 for dataplaneapi:
0359966747490b55e6ea8c75a9b4969c707ce644dd8041ad8afb49882b97f3a1
CHANGELOG
284d34b - Marko Juraga: BUG/MINOR: check files with -W when in master-worker mode (Wed Apr 15 11:48:01 2020 +0200)
f6c08f5 - Marko Juraga: BUILD: client-native: upgrade version (Tue Dec 17 15:40:32 2019 +0100)
9804b65 - Marko Juraga: BUG/MINOR: runtime: Fix missing servers and errors (Mon Nov 4 11:53:57 2019 +0100)
ae21184 - Goran Galinec: MINOR: typos (Mon Oct 28 15:36:06 2019 +0100)
5d67f17 - Goran Galinec: MINOR: ErrTransactionAlreadyExists typo (Mon Oct 28 15:32:59 2019 +0100)
025d5dc - Goran Galinec: BUG/MINOR: runtime: weight typo (Wed Oct 16 11:52:21 2019 +0200)