Skip to content

HAProxy Data Plane API v2.5.0

Compare
Choose a tag to compare
@mjuraga mjuraga released this 21 Feb 16:29
· 352 commits to master since this release

Release Notes

HAProxy Data Plane API v2.5.0 dbefb06

Build from: git@github.com:haproxytech/dataplaneapi.git
Build date: 2022-02-21T14:15:14Z

Major changes:

  • Added http_checks and tcp_checks resources
    • DEPRECATED: /v2/services/haproxy/configuration/backend resource http-check field, use /v2/services/haproxy/configuration/http_checks resource instead
  • Expanded http_request_rules with more actions, added:
    • normalize-uri
    • set-timeout
    • set-pathq
    • replace-pathq
    • set-var-fmt
    • wait-for-body
    • deny
    • tarpit
    • return
  • Expanded http_request_rules with more actions, added:
    • set-var-fmt
    • wait-for-body
    • deny
    • return
  • Added support for cache section with /v2/services/haproxy/configuration/caches resource
  • Added support for declare capture keywords in frontend with /v2/services/haproxy/configuration/captures resource
  • Added tune.* options to /v2/services/haproxy/configuration/global resource
    • DEPRECATED: deprecated tune_ssl_default_dh_param field for /v2/services/haproxy/configuration/global resource, please use tune.ssl_default_dh_param field now

Learn more in the blog post about it.

Changelog

  • dbefb06 MEDIUM: client native: adjust handling of errors when calling through interface
  • 1caa401 MAJOR: update to new client native interfaces
  • 37bed62 MEDIUM: stats-socket: implement all param
  • cd028b4 BUG/MINOR: Fix memory leaks with time.After()
  • 03ca824 MINOR: global: add some tune options to global section
  • 3624b0a OPTIM/MINOR: Replace stdlib json calls with jsoniter for performance
  • 2e20f7f BUG: Fix ineffective outer loop break
  • 4e1bc02 BUG: Rework e5b3fbc patch with signal routine cleanup on reload
  • 0502b2a BUG: Fix race between initSignalHandler() and cfgInitOnce()
  • 72d1345 OPTIM: lint: addressing reported golangci-lint issues
  • 615a48f BUG: Fix data race between configureAPI() and reloadConfigurationFile()
  • 8b50edf BUG: Fix data race between configuration Save() and Load()
  • 2b23702 TEST/MINOR: haproxy_2.5: various fixes for haproxy 2.5
  • 9e3edf6 TEST/MEDIUM: e2e: add 2.4 and 2.5 haproxy to test pipelines
  • 736abbb MEDIUM: spec: generate code from latest client-native changes
  • b3b9fbb BUILD: client-native: upgrade to latest
  • dc7528f BUILD/MINOR: swagger: update generate swagger script to allow -rc1 tag
  • b37d0ef MAJOR: client_native: upgrade client-native to v3 and go to 1.17
  • 058e756 TEST/MINOR: http_checks: fix header value to fmt
  • 8a194fa MINOR: add support for declare capture
  • 279c1ca TEST/MINOR: cache: add cache e2e tests
  • 1bdfa23 MEDIUM: cache: Add cache section
  • adc6d78 MEDIUM: http_check: add http_check resources
  • 8916787 TEST/MINOR: tcp_check: fix e2e tests
  • b896179 BUG/MINOR: go.mod: upgrade client-native for min_recv bug fix
  • 701334f TEST/MINOR: haproxy_version: fix haproxy version check not working
  • a43b2cd MAJOR: add support for tcp-check commands
  • b7c566c BUILD/MINOR: gitlab: add diff to ci action
  • 10be733 OPTIM/MINOR: cfg: prevent simultanious call of Save
  • 923f1ee BUG/MINOR: ci: on logging error, write correct command
  • 43688db OPTIM/MINOR: conversion: use strconv instead of fmt
  • 28b0f3f TEST/MINOR: e2e: add haproxy version check functions
  • 68d3a3a TEST/MINOR: e2e: add debug function
  • 1434e17 BUG/MINOR: update config-parser to allow multiple settings of setenv
  • 6a6d1a2 MINOR: rename internal variables to facts
  • 3a9961b CLEANUP/MINOR: cluster: add more readability to join function
  • 6ce0161 CLEANUP/MINOR: mode: use const values instead of strings
  • c227753 BUG/MINOR: log: don't duplicate log targets on reload
  • 2d01aa2 BUG/MEDIUM: hcl: prevent multiple escaping
  • 4f5643f BUG/MEDIUM: hcl: escape log targets on save
  • 21c497e BUG/MINOR: acl: change default acl format
  • 1ac190b TEST/MINOR: gitlab: diff for swagger generated files
  • 6e2bf34 BUG/MEDIUM: properly detect starting of dataplane
  • d3e5cf8 BUG/MEDIUM: configuration: fix cluster hcl struct tags
  • 6c36f82 MEDIUM: cluster: add PUT and DELETE methods for cluster
  • 8b2e809 MINOR: add more app logging
  • 5d6f2e6 BUG/MINOR: when generating server handle tags that have more that 4 words
  • 85e3a2d BUG/MINOR: allow generating server from local version of client-native
  • 9968758 BUG/MEDIUM: ensure no startup race possible when creating Configuration struct
  • 831ac4f MAJOR: makefile: add command to generate swagger generated files
  • 562fc00 BUILD/MINOR: client-native: upgrade to latest version
  • b362aae BUG/MINOR: always check if storage-dir is acceptable
  • bce6e4e DOC: add contributors and license badges
  • ba31bc5 BUG/MINOR: runtime: avoid any risk of nil pointer panic with runtime client
  • cab923e BUG/MAJOR: runtime_info: fix panic when no runtimes