---
title: "with_advisory_lock 7.0.0 Breaking Changes on RubyGems"
description: "What each with_advisory_lock release removed, renamed or changed: 8 breaking changes in 3 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/with_advisory_lock
last_updated: 2026-12-04
---

# with_advisory_lock breaking changes

with_advisory_lock 7.0.0 (July 20, 2025) is its newest release with breaking changes, 2 of them. The first: with_advisory_lock 7.0.0 requires Rails 7.2 or later. Every breaking API change we have recorded in with_advisory_lock on RubyGems: 8 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.6.0`. [Source repository](https://github.com/ClosureTree/with%5Fadvisory%5Flock)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [6.0.0](#v-6-0-0) to [7.0.0](#v-7-0-0): 2 breaking changes in 1 version.
- From [5.0.0](#v-5-0-0) to [7.0.0](#v-7-0-0): 6 breaking changes in 2 versions.

## with_advisory_lock 7.0.0 breaking changes

with_advisory_lock 7.0.0, released July 20, 2025: 2 breaking changes.

- **Removed**  

The gem now requires Rails 7.2+; apps on older Rails must upgrade before moving to this version. [github.com](https://github.com/ClosureTree/with%5Fadvisory%5Flock/releases/tag/with%5Fadvisory%5Flock/v7.0.0)
- **Behavior changed**  

Transaction-level locks now validate that a transaction is active and raise otherwise; code taking such locks outside a transaction must wrap them in one. [github.com](https://github.com/ClosureTree/with%5Fadvisory%5Flock/releases/tag/with%5Fadvisory%5Flock/v7.0.0)

## with_advisory_lock 6.0.0 breaking changes

with_advisory_lock 6.0.0, released July 20, 2025: 4 breaking changes.

- **Removed**  

Support for sqlite3 was dropped, so apps using sqlite3 can no longer use this gem with it. [github.com](https://github.com/ClosureTree/with%5Fadvisory%5Flock/releases/tag/with%5Fadvisory%5Flock/v6.0.0)
- **Removed**  

Legacy versions of Ruby and Rails are no longer supported. [github.com](https://github.com/ClosureTree/with%5Fadvisory%5Flock/releases/tag/with%5Fadvisory%5Flock/v6.0.0)
- **Removed** `Base`  

Private APIs Base and DatabaseAdapterSupport were removed; code relying on them must stop using them. [github.com](https://github.com/ClosureTree/with%5Fadvisory%5Flock/releases/tag/with%5Fadvisory%5Flock/v6.0.0)
- **Removed** `DatabaseAdapterSupport`  

Private APIs Base and DatabaseAdapterSupport were removed; code relying on them must stop using them. [github.com](https://github.com/ClosureTree/with%5Fadvisory%5Flock/releases/tag/with%5Fadvisory%5Flock/v6.0.0)

## with_advisory_lock 5.0.0 breaking changes

with_advisory_lock 5.0.0, released October 29, 2023: 2 breaking changes.

- **Removed**  

Ruby versions below 2.7 are no longer supported. Upgrade Ruby to 2.7 or later before using this version. [github.com](https://github.com/ClosureTree/with%5Fadvisory%5Flock/blob/v5.0.0/CHANGELOG.md)
- **Removed**  

MySQL versions below 5.7.5 are no longer supported. Upgrade MySQL to 5.7.5 or later before using this version. [github.com](https://github.com/ClosureTree/with%5Fadvisory%5Flock/blob/v5.0.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
