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

# hamlit breaking changes

hamlit 4.0.0 (October 28, 2025) is its newest release with breaking changes, 2 of them. The first: Default changed attr_quote. Every breaking API change we have recorded in hamlit on RubyGems: 6 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.0`, released October 28, 2025. [Source repository](https://github.com/k0kubun/hamlit)

Its 4.0.0 release requires [Ruby 3.2](https://since.dev/calendar/ruby/3.2.md) or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 2 breaking changes in 1 version.
- From [0.5.0](#v-0-5-0) to [4.0.0](#v-4-0-0): 5 breaking changes in 4 versions.

## hamlit 4.0.0 breaking changes

hamlit 4.0.0, released October 28, 2025: 2 breaking changes.

- **Default changed** `attr_quote`  

The default attr_quote changes from ' to ". Set attr_quote explicitly to keep the old single-quote output. [github.com](https://github.com/k0kubun/hamlit/blob/v4.0.0/CHANGELOG.md)
- **Configuration changed**  

The minimum supported Ruby version is raised to 3.2. Older Ruby versions must upgrade before using this release. [github.com](https://github.com/k0kubun/hamlit/blob/v4.0.0/CHANGELOG.md)

## hamlit 3.0.0 breaking changes

hamlit 3.0.0, released August 7, 2022: 1 breaking change.

- **Default changed** `disable_capture`  

Outside Rails, the disable_capture option now defaults to false. Rails continues to use true, so Rails users are not affected; non-Rails users should set disable_capture explicitly if they need the old behavior. [github.com](https://github.com/k0kubun/hamlit/blob/v3.0.0/CHANGELOG.md)

## hamlit 1.0.0 breaking changes

hamlit 1.0.0, released April 12, 2015: 1 breaking change.

- **Behavior changed**  

HTML escaping now uses the escape_utils gem instead of the previous implementation. Output is meant to stay the same, but code relying on the exact escaping path may be affected. [github.com](https://github.com/k0kubun/hamlit/blob/v1.0.0/CHANGELOG.md)

## hamlit 0.6.0 breaking changes

hamlit 0.6.0, released April 12, 2015: 1 breaking change.

- **Behavior changed**  

Output is now HTML-escaped automatically in every case. Code that relied on unescaped output must mark content as safe or otherwise adjust its templates. [github.com](https://github.com/k0kubun/hamlit/blob/v0.6.0/CHANGELOG.md)

## hamlit 0.5.0 breaking changes

hamlit 0.5.0, released April 12, 2015: 1 breaking change.

- **Behavior changed**  

Special characters in attribute values are now escaped in rendered output, so HTML generated by earlier versions may differ. [github.com](https://github.com/k0kubun/hamlit/blob/v0.5.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.
