Releases

v1.20.0-RC 10/31/2022

Please beware that this is not a production ready version. Any tag with the suffix -RC should be used with care.

Changelog

  • abf7f36 Feat/query retry (#242)
  • 449fef4 add changelog (#253)

v1.19.0 10/23/2022

Changelog

  • 23e016a Fix: Add support for running CHProxy behind another proxy (#225)
  • 99db223 make wildcarded feature work on more patterns (#250)
  • a022fc7 add v prefix to docker images
  • d85f828 add ignore tags for release action
  • cd185fd add new template (#246)

v1.18.0 10/13/2022

Changelog

  • 795e8d5 fix arm64/v8 docker build
  • 6465696 Redis cache fix (#244)
  • 3830981 consolidate builds
  • 72512ec add darwin builds + disable cgo
  • 7802e90 add darwin build
  • f8f3e83 Move from github.com/DataDog/zstd to github.com/klauspost/compress/zstd (#238)
  • 2c10fb7 add testdata/http.metrics.namespace.yml
  • dbb4d1b add namespace option in Server struct
  • 9dcb68e support metric namespace
  • 893ece8 Update TTL of transactions upon finalisation to 500 ms (#235)
  • 3326055 simplify heartbeat code (#234)
  • 701988a Wildcarded users (#219)

v1.17.2 9/15/2022

Changelog

  • 0bfbf99 enh(concurrent-queries): propagate errors for failed transactions (#229)

v1.17.1 9/12/2022

Changelog

  • 9ec6110 fix non standard code style (#226)
  • d257a95 chore: Handle too big CH payloads for caching (#191)
  • b459dcc Enhancement: failing concurrent transactions (#193)
  • cd32b40 Update doc (#215)

v1.17.0 8/29/2022

Changelog

  • edf42ff feat(healthcheck): rely on /ping for healthcheck (#214)
  • 3f3288a Fix memory issue & improve processing speed (#212)
  • 61ad5cd Update chproxy design (#213)

v1.16.4 8/22/2022

Changelog

  • 9582d5d improve proxy unit tests (#203)
  • 2d6a5c7 fix: docker image for arm64
  • 1fd4cec goreleaser: docker image for arm64
  • 4172698 build docker image for arm64 (#205)
  • 387f2ca fix(asyncCache): propagation of transaction timeout (#190)
  • 9e5e033 update golangci-lint version + gofmt
  • 839f6c1 refactor: use os and io packages to replace some ioutils functions (#200)

v1.16.3 7/21/2022

Changelog

  • fab6ecd set default max_execution_time to 120s (#195)
  • 9c8611e Bump terser from 4.8.0 to 4.8.1 in /docs (#194)

v1.16.2 7/20/2022

Changelog

  • 05f4f59 fix(proxy): return Clickhouse error message when query fails (#192)
  • 6d45135 fix(newParamsRegistry): inistialisation bug (#189)
  • a5f1614 doc(max_exec_time): set by default to 30s (#186)
  • 11d2412 Bump parse-url from 6.0.0 to 6.0.2 in /docs (#181)

v1.16.1 7/7/2022

Changelog

  • c63bb7c Fix redis transaction registry (#184)
  • f4a34c3 Bump got from 11.8.3 to 11.8.5 in /docs (#176)
  • 6547038 Create bug issue template (#178)
  • 312286a chore: pullrequest template (#180)
  • 6ee64db Create feature issue template (#179)
  • 11ed325 Fix proxy by session id on multi nodes (#173)
  • ca5306c fix(max concurrent queries/test): increase duration of long query to ensure the second one fails us expected in a slow environment. (#177)

v1.16.0 6/24/2022

Changelog

  • c4aece8 Issue-128 | Allow param_ in query parameters (#175)
  • 8739522 remove redundant type conversions (#171)
  • ab92047 Bump prismjs from 1.26.0 to 1.27.0 in /docs (#148)
  • ac344a8 Bump async from 2.6.3 to 2.6.4 in /docs (#163)
  • b115fdf Bump minimist from 1.2.5 to 1.2.6 in /docs (#157)

v1.15.1 5/20/2022

Breaking change

We've introduced unintentionally breaking change #182. Chproxy adds 30s max_execution_time by default which was not the case before that release.

Changelog

  • 0468f31 fix sessionTimeout passed as a query param
  • 12d99e0 Improve handling of concurrent identical queries (#146)
  • 88c790f install.md: docker usage
  • bb49c16 chore: Add more linters and fix go code (#158)
  • eeec324 increase code coverage (#152)
  • c859f2a Remove references to Read the docs (deprecated) (#159)
  • 6cfac12 fix: fix the bytes encode/decode for redis cache (#153)
  • 5b23001 ci: Add automatic CI (#156)
  • 72aee5e ci: Change golangci-lint config in order to remove errors (#155)

v1.15.0 3/22/2022

Changelog

  • 165b879 update go mod
  • 7353541 remove --rm-dist from goreleaser
  • 9e94a17 add cross compiling arm64
  • 6257d7b Update go.mod
  • 794d0ab add github actions + goreleaser dockers
  • f949b56 add golangci linters settings
  • 172d9b5 Update readme (#149)
  • 044ffe9 docs: minor edits and fix broken links (#145)
  • a2f0429 chore: replaced package org (#136)
  • 93227b2 Add documentation website (#142)
  • 6b6a885 Distributed cache with redis (#135)
  • 714292d Create SECURITY.md (#132)
  • 735e910 Remove vendors (#4) (#134)
  • 524f3a4 enh(tcp6): allow enabling via config (#133)
  • ee67a2d Sticky Sessions: Tolerate ClickHouse Session ID Mechanism (#117)
  • 7cabf6e Add support for WITH query (#108)
  • 2e8c798 Merge pull request #96 from tochka/master
  • 65a0207 add check for request body is not nil
  • 25e5503 add Chinese README (#102)
  • fb302e1 fix review comments
  • 7ee2d20 add correct HTTP query handler
  • 181b454 fix get query from body of GET request
  • 1758e73 go fmt

v1.14.0 2/5/2020

v1.13.2 3/8/2019

Fixed #43

v1.13.1 3/8/2019

  • Fixed issue #42

v1.13.0 9/24/2018

  • extend allow params for #37
  • allow to configure read, write and idle timeouts for proxy #36

v1.12.0 6/13/2018

  • support param_groups - named lists of URL params to send with each query to ClickHouse. See #33
  • additional validation for security_groups

v1.11.0 4/22/2018

  • support for enable_http_compression parameter
  • support external_data processing

v1.10.4 2/12/2018

  • sort Accept-Encoding header for getting the same cache key for different browsers

v1.10.3 2/2/2018

  • support http-01 challenge for letsencrypt

v1.10.2 12/28/2017

  • fix issue with caching of gzipped requests
  • fix issue with partially written response caches when client closed connection

v1.10.1 12/26/2017

  • Fixed a bug preventing from caching responses for queries with decompress=1 (see #16).

v1.10.0 12/22/2017

  • support compress and decompress params
  • store dependencies in local vendor folder

v1.9.0 12/11/2017

  • extend config.Duration with support of d (means a day) and w (means a week) time units

v1.8.2 11/10/2017

  • fixed a bug when statusCode was overridden when caching

v1.8.1 11/9/2017

  • Skip leading comments from the query before caching it. This fixes caching for queries from tabix.

v1.8.0 11/8/2017

  • Added ability to set cache_namespace via GET query arg. This makes possible to instantly flush cache by switching to new namespace. See docs for more details.
  • Actualized grafana dasbhoard.
  • Increased test coverage.
  • Debug messages now contain elapsed request duration.

v1.7.0 11/7/2017

  • Added cache label to all the cache-related metrics.
  • Forcibly kill queries for canceled requests (i.e. when the user closes http connection to chproxy).
  • Added ability to balance load among available replicas.

v1.6.2 11/6/2017

  • Disallow http methods other than GET, POST and OPTIONS.
  • Print the real file:number position in error messages written via respondWith.
  • Added ability to disable response caching if request contains no_cache=1 query param.