Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 21, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/gocql/gocql v1.7.0 -> v2.0.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

⚠️ MAJOR VERSION UPDATE ⚠️ - please manually update this package


Release Notes

gocql/gocql (github.com/gocql/gocql)

v2.0.0

Compare Source

Removed
2.0.0-rc1
  • Drop support for old CQL protocol versions: 1 and 2 (CASSGO-75)
  • Cleanup of deprecated elements (CASSGO-12)
  • Remove global NewBatch function (CASSGO-15)
  • Remove deprecated global logger (CASSGO-24)
  • HostInfo.SetHostID is no longer exported (CASSGO-71)
Added
2.0.0
  • Don't collect host metrics if a query/batch observer is not provided (CASSGO-90)
2.0.0-rc1
  • Support vector type (CASSGO-11)
  • Allow SERIAL and LOCAL_SERIAL on SELECT statements (CASSGO-26)
  • Support of sending queries to the specific node with Query.SetHostID() (CASSGO-4)
  • Support for Native Protocol 5. Following protocol changes exposed new API
    Query.SetKeyspace(), Query.WithNowInSeconds(), Batch.SetKeyspace(), Batch.WithNowInSeconds() (CASSGO-1)
  • Externally-defined type registration (CASSGO-43)
  • Add Query and Batch to ObservedQuery and ObservedBatch (CASSGO-73)
  • Add way to create HostInfo objects for testing purposes (CASSGO-71)
  • Add missing Context methods on Query and Batch (CASSGO-81)
  • Update example and test code for 2.0 release (CASSGO-80)
  • Add API docs for 2.0 release (CASSGO-78)
  • Update documentation for 2.0 (readme, upgrade guide, pkg.go.dev) (CASSGO-79)
Changed
2.0.0
  • Remove release date from changelog and add 2.0.0-rc1 (CASSGO-86)
2.0.0-rc1
  • Moved the Snappy compressor into its own separate package (CASSGO-33)
  • Move lz4 compressor to lz4 package within the gocql module (CASSGO-32)
  • Don't restrict server authenticator unless PasswordAuthentictor.AllowedAuthenticators is provided (CASSGO-19)
  • Detailed description for NumConns (CASSGO-3)
  • Change Batch API to be consistent with Query() (CASSGO-7)
  • Added Cassandra 4.0 table options support (CASSGO-13)
  • Bumped actions/upload-artifact and actions/cache versions to v4 in CI workflow (CASSGO-48)
  • Keep nil slices in MapScan (CASSGO-44)
  • Improve error messages for marshalling (CASSGO-38)
  • Remove HostPoolHostPolicy from gocql package (CASSGO-21)
  • Standardized spelling of datacenter (CASSGO-35)
  • Refactor HostInfo creation and ConnectAddress() method (CASSGO-45)
  • gocql.Compressor interface changes to follow append-like design (CASSGO-1)
  • Refactoring hostpool package test and Expose HostInfo creation (CASSGO-59)
  • Move "execute batch" methods to Batch type (CASSGO-57)
  • Make Session immutable by removing setters and associated mutex (CASSGO-23)
  • inet columns default to net.IP when using MapScan or SliceMap (CASSGO-43)
  • NativeType removed (CASSGO-43)
  • New and NewWithError removed and replaced with Zero (CASSGO-43)
  • Changes to Query and Batch to make them safely reusable (CASSGO-22)
  • Change logger interface so it supports structured logging and log levels (CASSGO-9)
  • Bump go version in go.mod to 1.19 (CASSGO-34)
  • Change module name to github.com/apache/cassandra-gocql-driver/v2 (CASSGO-70)
Fixed
2.0.0
  • Driver closes connection when timeout occurs (CASSGO-87)
  • Do not set beta protocol flag when using v5 (CASSGO-88)
  • Driver is using system table ip addresses over the connection address (CASSGO-91)
2.0.0-rc1
  • Cassandra version unmarshal fix (CASSGO-49)
  • Retry policy now takes into account query idempotency (CASSGO-27)
  • Don't return error to caller with RetryType Ignore (CASSGO-28)
  • The marshalBigInt return 8 bytes slice in all cases except for big.Int,
    which returns a variable length slice, but should be 8 bytes slice as well (CASSGO-2)
  • Skip metadata only if the prepared result includes metadata (CASSGO-40)
  • Don't panic in MapExecuteBatchCAS if no [applied] column is returned (CASSGO-42)
  • Fix deadlock in refresh debouncer stop (CASSGO-41)
  • Endless query execution fix (CASSGO-50)
  • Accept peers with empty rack (CASSGO-6)
  • Fix tinyint unmarshal regression (CASSGO-82)
  • Vector columns can't be used with SliceMap() (CASSGO-83)

Configuration

📅 Schedule: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested review from a team and atoulme as code owners October 21, 2025 13:16
@renovate renovate bot added the dependency-major-update Indicates a dependency major version bump label Oct 21, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Oct 21, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: exporter/cassandraexporter/go.sum
Command failed: go get -t ./...
go: github.com/gocql/gocql/[email protected]: parsing go.mod:
	module declares its path as: github.com/apache/cassandra-gocql-driver/v2
	        but was required as: github.com/gocql/gocql/v2

@emreyalvac
Copy link
Member

I’ll upgrade it manually.

@renovate renovate bot changed the title fix(deps): update module github.com/gocql/gocql to v2 Update module github.com/gocql/gocql to v2 Oct 24, 2025
@renovate renovate bot changed the title Update module github.com/gocql/gocql to v2 fix(deps): update module github.com/gocql/gocql to v2 Oct 27, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/gocql/gocql to v2 Update module github.com/gocql/gocql to v2 Oct 27, 2025
@renovate renovate bot changed the title Update module github.com/gocql/gocql to v2 fix(deps): update module github.com/gocql/gocql to v2 Oct 28, 2025
@emreyalvac
Copy link
Member

#43871

@renovate renovate bot changed the title fix(deps): update module github.com/gocql/gocql to v2 Update module github.com/gocql/gocql to v2 Oct 30, 2025
@renovate renovate bot force-pushed the renovate/github.com-gocql-gocql-2.x branch from fd4d7f4 to 16df3f1 Compare November 3, 2025 22:09
@renovate renovate bot changed the title Update module github.com/gocql/gocql to v2 fix(deps): update module github.com/gocql/gocql to v2 Nov 5, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/gocql/gocql to v2 Update module github.com/gocql/gocql to v2 Nov 14, 2025
@renovate renovate bot force-pushed the renovate/github.com-gocql-gocql-2.x branch from 16df3f1 to 69dc454 Compare November 17, 2025 17:26
@renovate renovate bot force-pushed the renovate/github.com-gocql-gocql-2.x branch from 69dc454 to 497b2ba Compare November 18, 2025 19:51
@renovate renovate bot changed the title Update module github.com/gocql/gocql to v2 fix(deps): update module github.com/gocql/gocql to v2 Nov 19, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/gocql/gocql to v2 Update module github.com/gocql/gocql to v2 Nov 20, 2025
@renovate renovate bot changed the title Update module github.com/gocql/gocql to v2 fix(deps): update module github.com/gocql/gocql to v2 Nov 20, 2025
atoulme pushed a commit that referenced this pull request Nov 21, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Upgrade cassandra library version

<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->

#### PR


#43691

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Paulo Dias <[email protected]>
Signed-off-by: alex boten <[email protected]>
Co-authored-by: Khushi Jain <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yang Song <[email protected]>
Co-authored-by: Paulo Dias <[email protected]>
Co-authored-by: Alex Boten <[email protected]>
Co-authored-by: Kaiyan White <[email protected]>
@renovate renovate bot changed the title fix(deps): update module github.com/gocql/gocql to v2 fix(deps): update module github.com/gocql/gocql to v2 - autoclosed Nov 21, 2025
@renovate renovate bot closed this Nov 21, 2025
@renovate renovate bot deleted the renovate/github.com-gocql-gocql-2.x branch November 21, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants