6 Commits
Author SHA1 Message Date
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
sylwiaszunejko 7072863b0c Replace Unsafe with Strict mechanism
Previously by default the presence of a missing field in
a udt would result in an error reported. The Unsafe
mechanism could be used to ignore these fields.

This PR changes the default behavior to ignoring missing
fields and only reporting an error if Strict mode is used.
This approach is in line with the gocql.
2024-06-25 15:29:10 +02:00
sylwiaszunejko a222c1f067 Marshal missing UDT fields as null instead of failing
We can't return an error in case a field is added to the UDT,
otherwise existing code would break by simply altering the UDT in the
database. For extra fields at the end of the UDT put nulls to be in
line with gocql, but also python-driver and java-driver.

In gocql it was fixed in https://github.com/scylladb/gocql/commit/d2ed1bb74f3118a83a352e9ce912be765001efa4
2024-06-25 12:32:16 +02:00
sylwiaszunejko a9ab270196 Add linter to the CI 2024-06-14 17:16:52 +02:00
sylwiaszunejko 49188e50b7 Bump SCYLLA_VERSION to 6.0.0 2024-06-14 17:16:52 +02:00