- Reconnect on retryable connection errors.
- Add support for Active Record 7.0.3
-
Disable supports_expression_index regardless of CockroachDB version until
ON CONFLICT expression
is supported.
- Fix bug where duplicate
rowid
columns would be created when loading a schema dump of a table that was not created with an explicit primary key. - Support the NOT VISIBLE syntax from CockroachDB, by using the
hidden
column modifier in the Rails schema.
- Add a test helper from rails/rails#40822 to be able to test against Rails upstream.
- Fix query to get the CockroachDB version so it does not require any privileges.
- Fix mixed versions of CockroachDB v21.1 and v21.2 not working.
- Support
atttypmod
being sent for DECIMAL types. This is needed for CockroachDB v22.1.
- Add support for CockroachDB v21.2.
- Santitize the input to the telemetry query that is issued on startup.
- Fix a bug where starting the driver can result in a ConnectionNotEstablished error.
- Fix a bug where starting the driver can result in a NoDatabaseError.
- Add a telemetry query on start-up. This helps the Cockroach Labs team
prioritize support for the adapter. It can be disabled by setting the
disable_cockroachdb_telemetry
configuration option to false.
- Added a configuration option named
use_follower_reads_for_type_introspection
. If true, it improves the speed of type introspection by allowing potentially stale type metadata to be read. Defaults to false.
- Improved connection performance by refactoring an introspection that loads types.
- Changed version numbers to semver.
- Initial support for Rails 6.1.
- Support for spatial functionality.