Commit Graph
324 Commits
Author SHA1 Message Date
Pixeldrain-Server 84c58f45a3 Delete everything except query builder 1.0.0 2025-11-20 16:09:09 +01:00
renovate[bot] d9ec9f889d chore(deps): update module github.com/scylladb/gocql to v1.17.0 (#357)
Build / Build (push) Has been cancelled
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-12 20:55:31 -04:00
renovate[bot] b5ec0d955f fix(deps): update module golang.org/x/sync to v0.18.0 (#356)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-09 01:14:58 -04:00
Dmitry Kropachev 38001d64ac Update gocql version to v1.16.1 (#353)
* Update gocql version to v1.16.1

1. Update gocql to v1.16.1
2. Update golang to 1.25, since new gocql version requres it

* Update golangci to 2.5.0

It is needed since 1.64.8 does not support golang 1.25.
1. Update golangci to 2.5.0
2. Migrate from golangci config v1 to v2
3. Integrate fieldaligment to golangci
4. Drop fieldaligment from Makefile
5. Address complaints
2025-10-28 14:52:22 -04:00
Dmitry Kropachev 96f0b49bdd Update golang to 1.24.x and dependencies (#349) 2025-10-16 14:25:19 -04:00
Dmitry Kropachev 20fef0caf4 Make renovate to maintain only 2 PRs 2025-10-16 13:30:07 -04:00
Dmitry Kropachev ce13945e3f Update README.md (#347)
* Update README.md

1. Remove test code, replace it with production code, t.Log -> log.
2. Add import part
3. Add gocqlx instalation step

* Fix typo in installation instructions
2025-09-17 07:41:11 -04:00
renovate[bot] acb61eb06f fix(deps): update module github.com/scylladb/gocqlx/v3 to v3.0.4 (#345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-16 22:48:29 -04:00
Dmitry Kropachev cdd1c07b35 Add claude files to .gitignore 2025-09-16 22:34:31 -04:00
Dmitry Kropachev 2dd6668d11 Add renovate.json 2025-09-16 22:34:11 -04:00
Fuad Hasan 101d498909 Add comment handling and related tests for migration functionality (#344) 2025-09-13 10:04:04 -04:00
Dmitry Kropachev 25cee51cac Upgrade gocql to 1.15.3 (#343)
gocql 1.15.3 brings new APIs for `gocql.Batch` and `gocql.Query`:
- `SetRequestTimeout`
- `GetRequestTimeout`

So, this change adds relative APIs to the `gocqlx.Batch` and `gocqlx.Queryx`.
2025-09-08 06:25:00 -04:00
renovate[bot] 9f74b689a9 chore(deps): update actions/setup-go action to v6 (#341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-05 22:21:00 -04:00
Dmitry Kropachev e6a1f70adc Fix panic in tests in queryx_bench_test.go (#339)
This panic cause by Queryx struct having no Mapper and no gocql.Query in
it.
2025-09-03 06:57:07 -04:00
renovate[bot] 19efa3f52f chore(deps): update module github.com/scylladb/gocql to v1.15.2 (#335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-16 00:48:19 -04:00
renovate[bot] 3b68f41304 chore(deps): update actions/checkout action to v5 (#336)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-15 22:44:21 -04:00
Sylwia Szunejko f86897552b Update documentation to refelct switch to scylladb/gocql (#333) 2025-07-14 08:18:43 -04:00
Daniel Bershatsky 58d72b0e05 Bring back index model generation (#328) 2025-06-11 11:56:33 -04:00
Dmitry Kropachev b0b3ded8da add ContextBatch api to create batch with context (#326) 2025-06-11 06:36:46 -04:00
Dmitry Kropachev efee4798d6 Add missing batch API (#325)
Some of gocql.Batch API are not present in the gocqlx.Batch.
We need to have them implemented and have a test to make sure no API has
forgotten.
2025-06-11 06:16:31 -04:00
renovate[bot] d6db570d31 chore(config): migrate config renovate.json (#324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-10 13:40:41 -04:00
Dmitry Kropachev a8d276713e Update gocql to v1.15.1 (#323)
* Update gocql to v1.15.1

* Add SetHostID to Queryx and Batch
2025-06-10 13:24:39 -04:00
Daniel Bershatsky 16bd2372a7 Bring back materialized view generation (#321) 2025-06-10 12:18:46 -04:00
Dmitry Kropachev 368eebb8a7 Update dependancies (#317) 2025-04-25 13:54:34 -04:00
Dmitry Kropachev f722b3afe0 Update gocql to 1.14.5 (#315) 2025-04-25 13:38:32 -04:00
Dmitry Kropachev 643d2e775e Update golang to 1.20 (#316)
* Update golang to 1.20

* Fix workflow file to make it work on `1.20`

* Update fieldalignment to 0.24.0

* Remove depricated ioutils

ioutils was depricatd and removed, same API available at `os` and `io`
packages now.
2025-04-25 13:34:40 -04:00
Dmitry Kropachev 439a1ba517 Refactor Makefile tools installation (#313)
* Refactor Makefile tools installation

Updating tools is not easy due to the bad Makefile design
Make it easier to update tools, preparing to golang and gocql update.

* Apply make fix

* Cleanup github workflow
2025-04-25 08:34:30 -04:00
Dmitry Kropachev c12236d8f3 Makefile: rename run-scylla to start-scylla (#311) 2025-04-24 17:38:40 -04:00
Dmitry Kropachev 85ac2915b3 Use scylladb/scylla image (#312) 2025-04-24 14:02:37 -04:00
renovate[bot] f745dc3993 fix(deps): update all dependencies to v1 (#310)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-21 00:00:20 -04:00
renovate[bot] c768175764 chore(deps): update actions/cache action to v4 (#307)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-20 18:23:38 -04:00
renovate[bot] ead4cc987d chore(deps): update actions/checkout action to v4 (#308)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-20 17:38:35 -04:00
renovate[bot] 1f4d0440ca chore(deps): update actions/setup-go action to v5 (#309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-20 17:37:08 -04:00
renovate[bot] 0380bfaeab fix(deps): update github.com/psanford/memfs digest to 4ef9117 (#304)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-20 17:36:23 -04:00
Daniel Bershatsky fa2799b8f5 Adjust permisions of output file and directory (#303)
- Bind output file and directory permisions to CLI.
- Use `os.WriteFile` instead of deprecated `ioutil.WriteFile`.
2025-04-20 10:15:00 -04:00
Dmitry Kropachev 741627dba7 Add renovate.json 2025-04-11 15:57:26 -04:00
Fuad Hasan fd84cf32de Improve reconnection policy and context handling in Queryx 2025-01-29 14:38:57 +01:00
Dmitry Kropachev 2f79f86b7c Fix USING TIMEOUT time generation (#299)
Scylla does not support fractions.
We need to make sure that time is formatted the following way: XmYsZms
2025-01-27 11:22:34 -04:00
Dmitry Kropachev ab73391f35 Add schemagen ssl options (#294) 2024-10-01 06:54:15 -04:00
Dmitry Kropachev 177161646e Update README.md schemagen installation and usage (#292)
After `gocqlx` switched to `scylladb/gocql` driver due to the presence `replace`
dirrective in `go.mod` user can't ue `go install` anymore.
2024-10-01 06:51:56 -04:00
Dmitry Kropachev ee39c9d541 Add --query-timeout and --connection-timeout options (#293) 2024-10-01 06:49:16 -04:00
Guy Shtub 877066f0c8 adding lesson link to readme file (#181) 2024-09-30 16:26:38 -04:00
Yemin Li cc68867ad0 expose SelectBuilder for table Get operation (#251)
* expose select builder for get

* add comment
2024-09-30 16:25:14 -04:00
sylwiaszunejko 3ea85fdd5d Bump scylladb/gocql version to v1.14.4 2024-09-20 14:11:37 +02:00
Samuel 7d9ff7c98c feat(migrate): add pending migrations function (#286) 2024-09-13 10:32:35 -04:00
Sylwia Szunejko 6ba176a175 Add option to add ALLOW FILTERING to the update query (#290) 2024-09-10 10:13:54 -04:00
Jack Philippi c6a436b905 Updated test to remove typo 2024-08-26 08:59:43 +02:00
Jack Philippi 3007fd5ab5 Fixed typo in error 2024-08-26 08:59:43 +02:00
Jack Philippi 589b2aa06a Updated error message for inconsistent migrations 2024-08-26 08:59:43 +02:00
sylwiaszunejko e7267922c4 Release v3 - change v2 suffix to v3
Because of recent changes there is a need for a new major
release. Changes are switching to scylladb/gocql and replacing
Unsafe with Strict mechanism.
2024-07-15 10:41:57 +02:00