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

# commonmarker breaking changes

commonmarker 3.0.0 (November 29, 2026) is its newest release with breaking changes, 17 of them. The first: Removed Commonmarker.Config.OPTIONS\[:format\]. Every breaking API change we have recorded in commonmarker on RubyGems: 20 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 `3.0.0`, released November 29, 2026. [Source repository](https://github.com/gjtorikian/commonmarker)

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

- From [1.0.0](#v-1-0-0) to [3.0.0](#v-3-0-0): 17 breaking changes in 1 version.
- From [0.12.0](#v-0-12-0) to [3.0.0](#v-3-0-0): 19 breaking changes in 3 versions.

## commonmarker 3.0.0 breaking changes

commonmarker 3.0.0, released November 29, 2026: 17 breaking changes.

- **Removed** `Commonmarker.Config.OPTIONS[:format]`  

Stop reading the :format key from Commonmarker::Config::OPTIONS. [github.com](https://github.com/gjtorikian/commonmarker/releases/tag/v3.0.0)
- **Removed** `Commonmarker.Config.process_options`  

Pass your options Hash to Commonmarker.new instead. [github.com](https://github.com/gjtorikian/commonmarker/releases/tag/v3.0.0)
- **Removed** `Commonmarker.Config.process_plugins`  

Pass your plugins Hash to Commonmarker.new instead. [github.com](https://github.com/gjtorikian/commonmarker/releases/tag/v3.0.0)
- **Removed** `Commonmarker.Constants`  

This internal module is gone; remove any code that uses it. [github.com](https://github.com/gjtorikian/commonmarker/releases/tag/v3.0.0)
- **Removed** `Commonmarker.Utils`  

This internal module is gone; remove any code that calls it. [github.com](https://github.com/gjtorikian/commonmarker/releases/tag/v3.0.0)
- **Behavior changed**  

Passing nil for an option now gives the default, which may differ from the old behavior. [github.com](https://github.com/gjtorikian/commonmarker/blob/v3.0.0/UPGRADING.md)
- **Behavior changed**  

Commonmarker now uses comrak 1.2, so HTML snapshots may differ. Review comrak's changelog and update snapshots. [github.com](https://github.com/gjtorikian/commonmarker/releases/tag/v3.0.0)
- **Behavior changed**  

Themes and custom theme files are cached, so restart the process after changing them. [github.com](https://github.com/gjtorikian/commonmarker/releases/tag/v3.0.0)
- **Behavior changed** `Commonmarker`  

Replace the module with a class. Call Commonmarker.to_html directly instead of including or extending the module. [github.com](https://github.com/gjtorikian/commonmarker/releases/tag/v3.0.0)
- **Default changed**  

GFM extensions, heading IDs, hard line breaks, 80-column wrapping, emoji shortcodes and syntax highlighting are no longer on by default. Enable them explicitly if you need them. [github.com](https://github.com/gjtorikian/commonmarker/releases/tag/v3.0.0)
- **Default changed** `hardbreaks`  

Soft line breaks stay soft. Pass hardbreaks: true to restore the old output. [github.com](https://github.com/gjtorikian/commonmarker/blob/v3.0.0/UPGRADING.md)
- **Default changed** `header_ids`  

Headings no longer get id attributes or anchor links unless you enable header_ids. [github.com](https://github.com/gjtorikian/commonmarker/blob/v3.0.0/UPGRADING.md)
- **Default changed** `strikethrough`  

Strikethrough, tables, autolinks, task lists and shortcodes render as literal text unless enabled. [github.com](https://github.com/gjtorikian/commonmarker/blob/v3.0.0/UPGRADING.md)
- **Default changed** `syntax_highlighter`  

Fenced code blocks are no longer highlighted unless you enable the syntax_highlighter plugin. [github.com](https://github.com/gjtorikian/commonmarker/blob/v3.0.0/UPGRADING.md)
- **Default changed** `to_commonmark`  

Output is no longer wrapped at 80 columns by default. Set render width to 80 to restore it. [github.com](https://github.com/gjtorikian/commonmarker/blob/v3.0.0/UPGRADING.md)
- **Signature changed** `alert_style`  

Pass :specific or :semantic as a Symbol instead of a String. [github.com](https://github.com/gjtorikian/commonmarker/releases/tag/v3.0.0)
- **Signature changed** `list_style`  

Pass :dash, :plus or :star as a Symbol instead of a String. [github.com](https://github.com/gjtorikian/commonmarker/releases/tag/v3.0.0)

## commonmarker 1.0.0 breaking changes

commonmarker 1.0.0, released December 24, 2023: 1 breaking change.

- **Renamed** `unsafe_`  

The unsafe\_ option was renamed to unsafe. Code that passes unsafe\_ must switch to unsafe. [github.com](https://github.com/gjtorikian/commonmarker/releases/tag/v1.0.0)

## commonmarker 0.18.0 breaking changes

commonmarker 0.18.0, released October 17, 2018: 1 breaking change.

- **Default changed**  

The release changes the default to safe behavior. The note does not name the affected options, so check which settings your code relies on. [github.com](https://github.com/gjtorikian/commonmarker/releases/tag/v0.18.0)

## commonmarker 0.12.0 breaking changes

commonmarker 0.12.0, released October 11, 2016: 1 breaking change.

- **Removed**  

The release ends extension support in commonmarker. Code that relies on extensions must change, as the release note only links to a pull request without naming the replacement. [github.com](https://github.com/gjtorikian/commonmarker/releases/tag/v0.12.0)

## 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.
