Releases

v1.22.0 3/1/2023

Changelog

  • 5c1e8e7 release v1.22.0 changelog (#310)
  • c710fc3 fix: docker image version prefix - doc install.md (#304)
  • 9452cf7 disable docker build for arm64 & arm64v8 (#309)
  • 53aa7af update changelog (#308)
  • 17488b0 chore: add curl to docker image (#307)
  • 859e0c3 fix DialContext signature (#303)
  • 7cdc765 build(deps): bump golang.org/x/text from 0.3.6 to 0.3.8 (#306)
  • 386974e fix: executeWithRetry, save the request body and write the body to th… (#296)
  • cdea70f doc: build local docker image (#302)
  • 7b2f4ec add request packet size token limit (#299)
  • ed1bf8c add ca-certificates package to enable verifying lets encrypt issued certificates (#301)
  • db0bd97 build(deps): bump github.com/prometheus/client_golang (#300)
  • 95a6a6d change redis and clickhouse mocking ports for testing (#291)
  • ac5c85b update go-redis and golang version (#292)
  • 8a2dd81 build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /docs (#294)
  • 205d393 build(deps): bump ua-parser-js from 0.7.31 to 0.7.33 in /docs (#290)
  • d71389a Clarification on on_cache query parameter (#289)
  • 0073187 Chore: Add a quick start guide (#286)
  • 475bcbc Bump json5 from 1.0.1 to 1.0.2 in /docs (#284)

v1.21.0 1/5/2023

Changelog

  • aeca5b7 update changelog (#283)
  • 2105312 hide redis sensitive info (#282)
  • a91f730 Improve connection pool management (#275)
  • aadbcde chore: Reenable forcetypeassert
  • 01e198d Bump decode-uri-component from 0.2.0 to 0.2.2 in /docs (#278)

v1.20.0 11/29/2022

Changelog

  • 0179a7c update changelog for version 1.20.0 (#262)
  • 637b1f7 fix: remove binary argument in Dockerfile (#274)
  • 1f52128 chore: Reenable gosec linter and upgrade TLS version.
  • 97b5b39 check the num of active hosts to make sure that we could retry the query (#270)
  • 67c4a41 Bump minimatch from 3.0.4 to 3.1.2 in /docs (#272)
  • be13e2f Bump loader-utils from 1.4.1 to 1.4.2 in /docs (#271)
  • 0731b44 rename: retrynumber to retry_number (#269)
  • 9b7a6c5 Bump loader-utils from 1.4.0 to 1.4.1 in /docs (#265)
  • 1152cd2 cache per user (#258)
  • def5e4b doc: Add Contributing guidelines (#257)

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.