Commit Graph

29 Commits

Author SHA1 Message Date
renovate[bot]
d9ec9f889d chore(deps): update module github.com/scylladb/gocql to v1.17.0 (#357)
Some checks failed
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
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
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
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]
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
Daniel Bershatsky
58d72b0e05 Bring back index model generation (#328) 2025-06-11 11:56:33 -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
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
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
ab73391f35 Add schemagen ssl options (#294) 2024-10-01 06:54:15 -04:00
Dmitry Kropachev
ee39c9d541 Add --query-timeout and --connection-timeout options (#293) 2024-10-01 06:49:16 -04:00
sylwiaszunejko
3ea85fdd5d Bump scylladb/gocql version to v1.14.4 2024-09-20 14:11:37 +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
Dmitry Kropachev
653faf1e03 Fix schemagen and test generated code 2024-06-28 13:26:45 +02:00
Dmitry Kropachev
207ba8723e Move from gocql/gocql to scylladb/gocql 2024-06-19 09:19:17 +02:00
Dmitry Kropachev
ab80d70106 Update golangci-lint and turn it on in CI 2024-06-19 08:08:54 +02:00
Ingmar Wittkau
8bda349563 Implement schemagen ignore-indexes flag
Co-authored by Alexander Setzer <Alexander.Setzer@alfatraining.de>
2024-03-17 17:58:50 +02:00
Ingmar Wittkau
e8f30f8dda Implement schemagen ignore-names flag
Co-authored by Alexander Setzer <Alexander.Setzer@alfatraining.de>
2024-03-17 17:58:50 +02:00
pavle995
fc92258512 Fixed issue with collection types in udt. empty type colums skiped. Added test for udt. 2022-06-30 13:22:58 +02:00
Pavle Kosutic
a62ba24cf9 Added tests, example and updated a few types 2022-06-30 13:22:58 +02:00
Pavle Kosutic
2942397ab6 Code generation for structs for tables 2022-06-30 13:22:58 +02:00
Niklas Semmler
3e151149a0 add user password authentication to schemagen 2022-06-30 13:22:03 +02:00
Michał Matczuk
8477485a45 cmd/schemagen: refactoring
- Replace log.Faltal with error wrapping in schemagen func
- Simplify tests, use temp dir and ioutil functions, remove boilerplate code
- In test use schemagen keyspace to avoid name conflict with examples
- Change template
2021-11-17 12:25:21 +01:00
Vladimir Shteinman
1bfe101568 schemagen cli 2021-11-17 09:35:27 +01:00