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

# config breaking changes

config 4.0.0 (February 13, 2022) is its newest release with breaking changes, 4 of them. The first: Drops support for Rails versions below 5.2 in config 4.0.0. Every breaking API change we have recorded in config on RubyGems: 10 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 `5.6.1`. [Source repository](https://github.com/rubyconfig/config)

Its 4.0.0 release requires Ruby 2.6 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): 4 breaking changes in 1 version.
- From [1.0.0](#v-1-0-0) to [4.0.0](#v-4-0-0): 9 breaking changes in 3 versions.

## config 4.0.0 breaking changes

config 4.0.0, released February 13, 2022: 4 breaking changes.

- **Removed**  

Rails versions older than 5.2 are no longer supported, so apps on those versions must upgrade Rails before using this release. [github.com](https://github.com/rubyconfig/config/releases/tag/4.0.0)
- **Removed**  

Ruby versions older than 2.6 are no longer supported, so apps on those versions must upgrade Ruby before using this release. [github.com](https://github.com/rubyconfig/config/releases/tag/4.0.0)
- **Behavior changed** `Config.load_and_set_settings`  

Because it calls Config.load_files, load_and_set_settings also stops calling to_s on arguments and stops removing duplicate paths. [github.com](https://github.com/rubyconfig/config/releases/tag/4.0.0)
- **Behavior changed** `Config.load_files`  

Arguments other than String or Pathname must be converted with to_s before being passed to Config.load_files, since that conversion now happens in YAMLSource. [github.com](https://github.com/rubyconfig/config/releases/tag/4.0.0)

## config 3.0.0 breaking changes

config 3.0.0, released February 25, 2021: 3 breaking changes.

- **Removed** `Config.Options.load_env!`  

Use Config.reload! or Config::Options#reload! to reload settings after changing the ENV hash. [github.com](https://github.com/rubyconfig/config/releases/tag/3.0.0)
- **Removed** `Config.Options.reload_env!`  

Use Config.reload! or Config::Options#reload! to reload settings after changing the ENV hash. [github.com](https://github.com/rubyconfig/config/releases/tag/3.0.0)
- **Behavior changed** `to_h`  

After upgrading, calling to_h returns the same result as to_hash. Check code that relies on the previous to_h output. [github.com](https://github.com/rubyconfig/config/releases/tag/3.0.0)

## config 2.0.0 breaking changes

config 2.0.0, released June 22, 2019: 2 breaking changes.

- **Removed**  

Ruby versions below 2.4 are no longer supported. Stay on the 1.x version of the gem if you need older Ruby. [github.com](https://github.com/rubyconfig/config/releases/tag/2.0.0)
- **Behavior changed**  

Code that relied on the constant being defined on Kernel may need to be updated. [github.com](https://github.com/rubyconfig/config/releases/tag/2.0.0)

## config 1.0.0 breaking changes

config 1.0.0, released August 10, 2015: 1 breaking change.

- **Renamed** `RailsConfig`  

Code that uses RailsConfig must switch to the Config name. [github.com](https://github.com/rubyconfig/config/releases/tag/1.0.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.
