Skip to content

Releases: simPod/PhpClickHouseClient

Native query params

17 Jan 13:34
3f2c466
Compare
Choose a tag to compare

Important

This deprecates using :param in queries. Migrate to native query params.

Important

Edit: considering undeprecation of :param in queries since it works well over all.

  • Rename UnsupportedValue exception to UnsupportedParamValue

What's Changed

  • feat(snippet): add database parameter to Parts by @simPod in #244
  • feat: pass parameters natively via http interface along the query by @simPod in #224

Full Changelog: 0.6.12...0.7.0

0.6.12

17 Jan 11:44
37523eb
Compare
Choose a tag to compare

Caution

If you used query parameters extensively you may hit http_max_field_value_size now.

What's Changed

  • chore(deps): update github/codeql-action action to v3 by @renovate in #221
  • Revert "feat: add type to promise (#216)" by @simPod in #227
  • ci: fix variable reference by @simPod in #226
  • chore(deps): remove unused Safe dependency by @simPod in #225
  • chore(deps): update actions/download-artifact action to v4 by @renovate in #222
  • ci: fix variable reference by @simPod in #228
  • chore(deps): update actions/upload-artifact action to v4 by @renovate in #223
  • ci(phpunit): handle test issues by @simPod in #229
  • refactor: drop unused RequestOptions::headers by @simPod in #231
  • feat: unify single string format Output and add Pretty and PrettySpace formats by @simPod in #230
  • refactor: use phpunit attributes by @simPod in #232
  • refactor(async-client): rename sql param to query by @simPod in #233
  • chore(deps): remove thecodingmachine/phpstan-safe-rule by @simPod in #234
  • refactor: remove Safe usages by @simPod in #235
  • test: cover wrong number of columns passed on insert by @simPod in #236
  • test: use static in WithClient so we can use BeforeClass phpunit's attributes by @simPod in #237
  • refactor: extract absurd function by @simPod in #238
  • ci: run main tests on clickhouse v23.12 by @simPod in #239
  • refactor: pass parameters around in clients by @simPod in #240
  • test: remove dead code from ShowDatabasesTest by @simPod in #241
  • feat: use multipart stream for request body by @simPod in #242
  • test: cover PsrClickHouseClient::executeQueryWithParams() by @simPod in #243

Full Changelog: 0.6.11...0.6.12

0.6.11

30 Nov 15:55
d2969f5
Compare
Choose a tag to compare

What's Changed

  • feat: add type to promise by @simPod in #216
  • ci: do not run coverage on integration tests by @simPod in #215
  • chore(deps): dev-require symfony/http-client v6.4 by @simPod in #218
  • chore(deps): drop php-http/client-common v1 support by @simPod in #217
  • chore(deps): drop psr/http-message v1 support by @simPod in #219
  • chore(deps): drop psr/log v1+v2 support by @simPod in #220
  • chore(deps): update dependency symfony/http-client to v7 by @renovate in #214

Full Changelog: 0.6.10...0.6.11

0.6.10

16 Oct 12:07
fbf718a
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.6.9...0.6.10

Support guzzlehttp/promises v2

22 May 08:04
829807a
Compare
Choose a tag to compare

What's Changed

  • ci: test on clickhouse 23.2 and 23.3 by @simPod in #196
  • chore(deps): dev require php-http/message-factory by @simPod in #200
  • ci(phpunit): migrate config by @simPod in #201
  • ci: bump ramsey/composer-install to v2 by @simPod in #202
  • chore(deps): support guzzlehttp/promises v2 by @simPod in #199

Full Changelog: 0.6.8...0.6.9

0.6.8

04 Apr 13:58
98bee75
Compare
Choose a tag to compare

What's Changed

  • ci: use ubuntu-latest by @simPod in #195
  • chore(deps): allow psr/http-message v2 by @simPod in #193
  • chore(deps): disallow thecodingmachine/safe v1 by @simPod in #194

Full Changelog: 0.6.7...0.6.8

0.6.7

07 Mar 13:22
0a46d76
Compare
Choose a tag to compare

What's Changed

  • fix: better return type for TableSizes snippet by @simPod in #192

Full Changelog: 0.6.6...0.6.7

0.6.6

24 Feb 10:22
bd0fb26
Compare
Choose a tag to compare

What's Changed

  • chore(deps): update dependency vimeo/psalm to v5 by @renovate in #184
  • chore(deps): update dependency psalm/plugin-phpunit to v0.18.4 by @renovate in #185
  • chore(deps): update dependency cdn77/coding-standard to v7 by @renovate in #186
  • test(phpunit): remove deprecated withConsecutive() by @simPod in #189
  • ci: run on new clickhouse versions by @simPod in #190
  • test: cover RequestFactory by @simPod in #188
  • chore(deps): update dependency phpunit/phpunit to v10 by @renovate in #187
  • feat: allow passing uri to RequestFactory by @simPod in #191

Full Changelog: 0.6.5...0.6.6

0.6.5

10 Nov 22:10
5059c3d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.6.4...0.6.5

Insert settings

09 Oct 14:08
87a91eb
Compare
Choose a tag to compare

What's Changed

  • chore(ci): run on v22.8 and v22.9 by @simPod in #174
  • feat: add settings param to insert calls by @simPod in #173

Full Changelog: 0.6.3...0.6.4