---
title: "petergate 4.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each petergate release removed, renamed or changed: 3 breaking changes in 1 version on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/petergate
last_updated: 2026-12-04
---

# petergate breaking changes

petergate 4.0.0 (September 10, 2026) is its newest release with breaking changes, 3 of them. The first: Behavior changed all_actions. Every breaking API change we have recorded in petergate on RubyGems: 3 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.0`, released September 10, 2026. [Source repository](https://github.com/elorest/petergate)

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

## petergate 4.0.0 breaking changes

petergate 4.0.0, released September 10, 2026: 3 breaking changes.

- **Behavior changed** `all_actions`  

all_actions now returns only real actions, so public methods inherited from a superclass are no longer matched by :all and except: rules. [github.com](https://github.com/elorest/petergate/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed** `petergate_check_access!`  

A subclass declaring access now runs petergate's check at its own position in the callback chain, so before_action filters declared above it run before the denial. Move early filters below the access call if they relied on the old order. [github.com](https://github.com/elorest/petergate/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed** `roles`  

Roles left in the stored column by an STI type change or a removed declaration no longer grant access. Each ignored role is warned about once. [github.com](https://github.com/elorest/petergate/blob/v4.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.
