DEV Community

Cover image for ActiveRecord / SQlite3 Compatibility Matrix
Peter H. Boling
Peter H. Boling

Posted on

ActiveRecord / SQlite3 Compatibility Matrix

Photo (Cropped) by Raghavendra Badaskar on Unsplash

This matrix covers the versions of Rails / ActiveRecord against the versions of the sqlite3 RubyGem.

Other posts in my Compatibility Matrix Series

Rails / ActiveRecord Min sqlite3 gem Source Gemfile @ Tag
5.2.x ~> 1.3.6 v5.2.0
6.0.x ~> 1.4 v6.0.0
6.1.x ~> 1.4 v6.1.0
7.0.x ~> 1.4 v7.0.0
7.1.x ~> 1.6, >= 1.6.6 v7.1.0
7.2.x >= 1.6.6 v7.2.0
8.0.x >= 2.1 v8.0.0
main/edge (2025) >= 2.1 main branch

Notes:

  • For all versions above, constraints are for: platforms :ruby, :mswin, :mswin64, :mingw, :x64_mingw or :windows.
  • For the :jruby platform, use activerecord-jdbcsqlite3-adapter (not shown, yet; watch this space).
  • These constraints are derived from the Gemfile line for the sqlite3 dependency at the specified tags. Since sqlite3 isn't a runtime dependency in the gemspec, this is the most effective way to determine the constraint.

References:

Top comments (0)