Skip to content

Update ActiveRecord adapter for changes introduced by ActiveRecord 7.2#478

Merged
jkeen merged 2 commits into
graphiti-api:masterfrom
mihaimuntenas:master
Sep 11, 2024
Merged

Update ActiveRecord adapter for changes introduced by ActiveRecord 7.2#478
jkeen merged 2 commits into
graphiti-api:masterfrom
mihaimuntenas:master

Conversation

@mihaimuntenas

Copy link
Copy Markdown
Contributor

Selectively call clear_active_connections appropriately, depending on the ActiveRecord version used.

Updates discussed in #477 with @jkeen.

In ActiveRecord 7.2 the `clear_active_connections` was (re)moved to the `connection_handler` property.
Update ActiveRecord adapter w/ support for Rails 7.2+
@jkeen jkeen merged commit 8313e33 into graphiti-api:master Sep 11, 2024
@jkeen

jkeen commented Sep 11, 2024

Copy link
Copy Markdown
Collaborator

@mihaimuntenas Thank you!

github-actions Bot pushed a commit that referenced this pull request Sep 11, 2024
## [1.7.4](v1.7.3...v1.7.4) (2024-09-11)

### Bug Fixes

* update ActiveRecord adapter w/ support for Rails 7.2+ ([#478](#478)) ([8313e33](8313e33))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.7.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions Bot pushed a commit that referenced this pull request Sep 16, 2024
## [1.7.5](v1.7.4...v1.7.5) (2024-09-16)

### Bug Fixes

* Fixes error in version check for ActiveRecord adapter introduced in [#478](#478) ([#479](#479)) ([42c82c3](42c82c3))
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.

2 participants