Releases: nguarino522/activerecord8-redshift-adapter
Releases · nguarino522/activerecord8-redshift-adapter
Release list
v1.0.0 — ActiveRecord 8.1 compatibility
First release of this fork. Brings the redshift_adapter family up to ActiveRecord 8.1 / Ruby 3.4.
Install
gem "activerecord8-redshift-adapter", "~> 1.0"Changes
Added
- Initial release of the AR 8.1-compatible fork.
Changed
RedshiftColumn#initializeacceptscast_typeas second positional arg (AR 8.1).clear_cache!acceptsnew_connection:keyword arg (AR 8.1).exec_insertaccepts and ignoresreturning:kwarg (AR 8.1; Redshift'suse_insert_returning?is false).PG::Coderinitialization uses**hashsplat (pg 1.5+ deprecation).
Fixed
- Adapter now reliably registers with ActiveRecord on Rails 8.1. Previously relied on a Rails autoload fallback that was removed in 8.1.
- Add
lib/activerecord8-redshift-adapter.rbso Bundler auto-require finds the gem's entry point on boot. - Add a Railtie so registration also runs during Rails initialization, covering apps that use
require: false.
- Add
Compatibility
- ActiveRecord 8.1.x
- Ruby >= 3.2
- pg ~> 1.0