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

# optparse breaking changes

optparse 0.7.0 (October 31, 2025) is its newest release with breaking changes, 2 of them. The first: Config file lookup now uses \~/.config only when XDG_CONFIG_HOME is unset or empty in optparse 0.7.0. Every breaking API change we have recorded in optparse on RubyGems: 4 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.8.1`. [Source repository](https://github.com/ruby/optparse)

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

- From [0.5.0](#v-0-5-0) to [0.7.0](#v-0-7-0): 2 breaking changes in 1 version.

## optparse 0.7.0 breaking changes

optparse 0.7.0, released October 31, 2025: 2 breaking changes.

- **Behavior changed**  

When XDG_CONFIG_HOME is set to a non-empty value, the config directory is taken from it instead of \~/.config. Users who relied on \~/.config while XDG_CONFIG_HOME was set must move their config files. [github.com](https://github.com/ruby/optparse/releases/tag/v0.7.0)
- **Behavior changed** `OptionParser.program_name`  

program_name now keeps its suffix instead of stripping it unexpectedly, so code that depended on the stripped name will see a different value. [github.com](https://github.com/ruby/optparse/releases/tag/v0.7.0)

## optparse 0.5.0 breaking changes

optparse 0.5.0, released April 15, 2024: 2 breaking changes.

- **Behavior changed**  

Error messages and backtraces are now printed without a backtick. Code that matches the old message text must be updated. [github.com](https://github.com/ruby/optparse/releases/tag/v0.5.0)
- **Behavior changed** `--help`  

Passing --help now runs output through a pager. Scripts that capture help output directly may need to disable or bypass the pager. [github.com](https://github.com/ruby/optparse/releases/tag/v0.5.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.
