Skip to content

Latest commit

 

History

History
128 lines (74 loc) · 6.5 KB

File metadata and controls

128 lines (74 loc) · 6.5 KB

[Unreleased]

  • Add support for ActiveRecord 8.1
  • Remove ActiveRecord 7.0 boilerplate
  • Drop support for ActiveRecord 7.1.x

[0.9.0] - 2025-10-02

  • Add ability to require only core files
  • Move loading of PostgreSQLProxy to its own Railtie
  • Move loading of Mysql2Proxy to its own Railtie
  • Move loading of TrilogyProxy to its own Railtie
  • Move loading of SQLite3Proxy to its own Railtie
  • Fix connection stickiness for inserts with Trilogy
  • Drop support for ActiveRecord 7.0.x
  • Drop support for Ruby 3.1.x

[0.8.0] - 2025-08-28

  • Return top of stack role only if it includes the proxy connection class afbbc50
  • Wrap regex matching in a timeout block to prevent ReDoS faeca49

[0.7.2, 0.6.3, 0.5.3] - 2025-08-19

  • Fix greedy regexes causing timeout with long SQL writes f3ddd1e

[0.7.1] - 2025-08-05

  • Fix logic to retrieve log subscriber prefix for replicas 77d2887

[0.7.0] - 2025-07-30

  • Add support for configuring a Context API 1865e65
  • Add Rack middleware to store context in session 1bf2b60
  • Allow separate configuration blocks per database name 4325b0

[0.6.2, 0.5.2, 0.4.8] - 2025-07-21

  • Fix Hijackable methods for ActiveRecord 7.1 or greater 97c5dbc

[0.6.1, 0.5.1, 0.4.7] - 2025-06-27

  • Bypass proxy when opening a transaction in ActiveRecord 7.0.x d03adf6

[0.6.0] - 2025-06-16

  • Add optional support for caching SQL pattern matching c1f6ff9

[0.5.0] - 2025-05-22

[0.4.6, 0.3.6] - 2025-04-28

  • Fix loading of non PostgreSQL adapters 1bf5ee9

[0.4.5, 0.3.5, 0.2.6, 0.1.9] - 2025-03-31

  • Fix CTEs for a write being wrongly sent to the replica 551204e

[0.4.4, 0.3.4, 0.2.5, 0.1.8] - 2025-03-19

  • Fix ActiveRecord 8 hijacked methods bef1de4
  • Add Rails 8.0.2 compatibility f3b2d8c

[0.4.3, 0.3.3, 0.2.4, 0.1.7] - 2025-03-03

  • Call verify! on primary connection before running any query against it 0c9bafe
  • Stick to primary when verifying connection from the pool 00acbac

[0.4.2, 0.3.2, 0.2.3, 0.1.6] - 2025-02-25

  • Trim down gem size by preventing unnecessary files from packing 6638d26

[0.4.1] - 2025-02-24

  • Pack gem without appraisals

[0.4.0] - 2025-02-24

  • Add load hooks for proxy adapters
  • Add TrilogyProxyAdapter
  • Add Ruby 3.4 to test matrix

[0.3.1] - 2025-02-12

  • Fix Active Record adapters dependency loading b729f8b

[0.3.0] - 2025-01-17

[0.2.2, 0.1.5] - 2025-01-02

  • Handle PendingMigrationConnection introduced by Rails 7.2 and backported to Rails 7.1 7935626
  • Stick to same connection throughout request span 789742f

[0.2.1] - 2025-01-02

  • Fix replica connection pool getter when specific connection name is not found 847e150

[0.2.0] - 2024-12-24

  • Add custom log subscriber to tag queries based on the adapter being used 68b8c1f

[0.1.4] - 2025-01-02

  • Fix replica connection pool getter when specific connection name is not found 88b32a2

[0.1.3] - 2024-12-24

  • Fix replica connection pool getter when database configurations have multiple replicas ea5a339
  • Retrieve replica pool without checking out a connection 6470ef5

[0.1.2] - 2024-12-16

[0.1.1] - 2024-11-27

[0.1.0] - 2024-11-19

  • Add PostgreSQLProxyAdapter 2b3bb9f

[0.1.0.rc2] - 2024-10-28

  • Add PostgreSQLProxyAdapter 2b3bb9f