Releases: simPod/PhpClickHouseClient
Releases · simPod/PhpClickHouseClient
Native query params
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 toUnsupportedParamValue
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
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 toquery
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
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
What's Changed
- chore(deps): update actions/checkout action to v4 by @renovate in #203
- chore(deps): update dependency infection/infection to ^0.27.0 by @renovate in #197
- ci: test on php 8.3 by @simPod in #205
- docs: fix infection badge by @simPod in #206
- ci: drop 21.x clickhouse versions in tests by @simPod in #207
- chore: drop php 8.1 support by @simPod in #209
- style: remove useless inheritDocs by @simPod in #211
- ci: add 23.4-9 clickhouse versions to tests by @simPod in #208
- test: cover uri query composition by @simPod in #212
- feat: do not filter out LoggerChain in LoggerChain by @simPod in #213
- feat: add
@throws
by @simPod in #210
Full Changelog: 0.6.9...0.6.10
Support guzzlehttp/promises v2
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
0.6.7
0.6.6
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
Insert settings
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