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

# govuk-lint breaking changes

govuk-lint 4.0.0 (September 23, 2019) is its newest release with breaking changes, 2 of them. The first: Linter again enforces trailing commas in govuk-lint 4.0.0. Every breaking API change we have recorded in govuk-lint on RubyGems: 8 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.3.0`. [Source repository](https://github.com/alphagov/govuk-lint)

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

- From [0.8.0](#v-0-8-0) to [4.0.0](#v-4-0-0): 2 breaking changes in 1 version.
- From [0.2.0](#v-0-2-0) to [4.0.0](#v-4-0-0): 6 breaking changes in 5 versions.

## govuk-lint 4.0.0 breaking changes

govuk-lint 4.0.0, released September 23, 2019: 2 breaking changes.

- **Behavior changed**  

The Cop that enforces trailing commas is re-enabled, so code that previously passed linting may now be flagged. Add or remove trailing commas to satisfy it. [github.com](https://github.com/alphagov/govuk-lint/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed**  

A previous change that stopped enforcing double quotes for strings was reverted, so double-quoted strings are required again. Code using single quotes may now be flagged. [github.com](https://github.com/alphagov/govuk-lint/blob/v4.0.0/CHANGELOG.md)

## govuk-lint 0.8.0 breaking changes

govuk-lint 0.8.0, released February 29, 2016: 1 breaking change.

- **Configuration changed** `Style.ClosingParenthesisIndentation`  

The linter no longer reports Style/ClosingParenthesisIndentation offenses, so code that was flagged for closing parenthesis indentation will now pass. [github.com](https://github.com/alphagov/govuk-lint/blob/v0.8.0/CHANGELOG.md)

## govuk-lint 0.7.0 breaking changes

govuk-lint 0.7.0, released February 25, 2016: 1 breaking change.

- **Default changed** `IfUnlessModifier`  

The IfUnlessModifier cop is now disabled, so single line if/unless blocks are no longer reported. Code that relied on that cop to flag them will see fewer lint warnings. [github.com](https://github.com/alphagov/govuk-lint/blob/v0.7.0/CHANGELOG.md)

## govuk-lint 0.5.0 breaking changes

govuk-lint 0.5.0, released November 23, 2015: 1 breaking change.

- **Default changed**  

The release turns on every lint check, so code that passed the previous checks may now report new lint failures. [github.com](https://github.com/alphagov/govuk-lint/blob/v0.5.0/CHANGELOG.md)

## govuk-lint 0.4.0 breaking changes

govuk-lint 0.4.0, released September 29, 2015: 1 breaking change.

- **Configuration changed**  

The linter now reads a project's local .rubocop.yml settings, so existing projects may get different lint results. [github.com](https://github.com/alphagov/govuk-lint/blob/v0.4.0/CHANGELOG.md)

## govuk-lint 0.2.0 breaking changes

govuk-lint 0.2.0, released July 13, 2015: 2 breaking changes.

- **Default changed**  

The line length check is now turned off, so code that relied on it being enforced will no longer be flagged for long lines. [github.com](https://github.com/alphagov/govuk-lint/blob/v0.2.0/CHANGELOG.md)
- **Default changed**  

The string quoting check is now turned off, so code that relied on it being enforced will no longer be flagged for quoting style. [github.com](https://github.com/alphagov/govuk-lint/blob/v0.2.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.
