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

# pact-mock_service breaking changes

pact-mock_service 4.0.0 (September 22, 2026) is its newest release with breaking changes. The first: Package updated to pact support v2, marked as a breaking change in pact-mock_service 4.0.0. Every breaking API change we have recorded in pact-mock_service on RubyGems: 4 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.0`, released September 22, 2026. [Source repository](https://github.com/bethesque/pact-mock%5Fservice)

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

- From [0.10.0](#v-0-10-0) to [4.0.0](#v-4-0-0): 1 breaking change in 1 version.
- From [0.3.0](#v-0-3-0) to [4.0.0](#v-4-0-0): 3 breaking changes in 3 versions.

## pact-mock_service 4.0.0 breaking changes

pact-mock_service 4.0.0, released September 22, 2026: 1 breaking change.

- **Behavior changed**  

The commit is marked as breaking (feat!) but does not name the affected API. Check your mock service setup against the Pact v2 behavior after upgrading. [github.com](https://github.com/pact-foundation/pact-mock%5Fservice/commit/bb03d28ed0bc0bd022bbc4b80860deaaa134baa8)

## pact-mock_service 0.10.0 breaking changes

pact-mock_service 0.10.0, released June 20, 2016: 1 breaking change.

- **Behavior changed**  

The mock service now only writes the pact file when it has recorded interactions. Code that expects a pact file to exist after a run with no interactions must handle its absence. [github.com](https://github.com/bethesque/pact-mock%5Fservice/blob/v0.10.0/CHANGELOG.md)

## pact-mock_service 0.4.0 breaking changes

pact-mock_service 0.4.0, released February 13, 2015: 1 breaking change.

- **Behavior changed**  

The pactSpecificationVersion written into pact files now varies instead of being fixed. Check any code or tooling that reads the generated pact file's specification version. [github.com](https://github.com/bethesque/pact-mock%5Fservice/blob/v0.4.0/CHANGELOG.md)

## pact-mock_service 0.3.0 breaking changes

pact-mock_service 0.3.0, released February 4, 2015: 1 breaking change.

- **Renamed** `Pact.Consumer`  

Classes that were under Pact::Consumer now live in Pact::MockService. Code that references the old Pact::Consumer names must switch to Pact::MockService. [github.com](https://github.com/bethesque/pact-mock%5Fservice/blob/v0.3.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.
