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

# rbs breaking changes

rbs 4.0.0 (March 17, 2026) is its newest release with breaking changes, 10 of them. The first: Removed IO.nread. Every breaking API change we have recorded in rbs on RubyGems: 20 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

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

Packages on RubyGems run on Ruby. [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): 10 breaking changes in 1 version.
- From [0.5.0](#v-0-5-0) to [4.0.0](#v-4-0-0): 19 breaking changes in 9 versions.

## rbs 4.0.0 breaking changes

rbs 4.0.0, released March 17, 2026: 10 breaking changes.

- **Removed** `IO.nread`  

The IO#nread signature was removed. [github.com](https://github.com/ruby/rbs/releases/tag/v4.0.0)
- **Removed** `IO.ready?`  

The IO#ready? signature was removed. [github.com](https://github.com/ruby/rbs/releases/tag/v4.0.0)
- **Removed** `JSON`  

Deprecated methods in the JSON module were removed; code using them must switch to supported alternatives. [github.com](https://github.com/ruby/rbs/releases/tag/v4.0.0)
- **Removed** `Kernel.Namespace`  

The deprecated Kernel#Namespace method was removed. [github.com](https://github.com/ruby/rbs/releases/tag/v4.0.0)
- **Removed** `Kernel.TypeName`  

Kernel#TypeName was removed along with Kernel#Namespace. [github.com](https://github.com/ruby/rbs/releases/tag/v4.0.0)
- **Removed** `nonzero?`  

The undocumented #nonzero? method signature was removed. [github.com](https://github.com/ruby/rbs/releases/tag/v4.0.0)
- **Removed** `ObjectSpace.count_nodes`  

ObjectSpace.count_nodes was removed from the signatures; code calling it must stop using it. [github.com](https://github.com/ruby/rbs/releases/tag/v4.0.0)
- **Signature changed** `close_others`  

The close_others option now only accepts a boolean value. [github.com](https://github.com/ruby/rbs/releases/tag/v4.0.0)
- **Signature changed** `GzipWriter.initialize`  

GzipWriter#initialize only takes one required positional argument in the signature. [github.com](https://github.com/ruby/rbs/releases/tag/v4.0.0)
- **Signature changed** `unsetenv_others`  

The unsetenv_others option now only accepts a boolean value. [github.com](https://github.com/ruby/rbs/releases/tag/v4.0.0)

## rbs 3.0.0 breaking changes

rbs 3.0.0, released February 22, 2023: 1 breaking change.

- **Behavior changed**  

rbs collection now installs only library dependencies. Projects that relied on other dependencies being installed must declare them separately. [github.com](https://github.com/ruby/rbs/releases/tag/v3.0.0)

## rbs 2.0.0 breaking changes

rbs 2.0.0, released December 24, 2021: 1 breaking change.

- **Behavior changed**  

Superclass names in class definitions are now resolved in the outer scope, matching Ruby. Code that relied on the previous resolution may resolve to different types and should be checked. [github.com](https://github.com/ruby/rbs/blob/v2.0.0/CHANGELOG.md)

## rbs 1.0.0 breaking changes

rbs 1.0.0, released December 24, 2020: 1 breaking change.

- **Removed** `extension`  

The extension syntax was deleted in this release, so signature files that use it will no longer parse. Remove those extension declarations from your signatures. [github.com](https://github.com/ruby/rbs/blob/v1.0.0/CHANGELOG.md)

## rbs 0.18.0 breaking changes

rbs 0.18.0, released December 1, 2020: 2 breaking changes.

- **Behavior changed**  

The encoding of RBS files is now assumed to be UTF-8, so files in other encodings may be read differently. [github.com](https://github.com/ruby/rbs/blob/v0.18.0/CHANGELOG.md)
- **Signature changed** `DependencyWalker`  

DependencyWalker now takes \_Node\_ objects rather than TypeName values, so callers passing TypeName must pass Node objects instead. [github.com](https://github.com/ruby/rbs/blob/v0.18.0/CHANGELOG.md)

## rbs 0.15.0 breaking changes

rbs 0.15.0, released November 2, 2020: 1 breaking change.

- **Behavior changed** `bool`  

The 0.15.0 release changes how the bool type is interpreted in RBS signatures. Review signatures that use bool and adjust them if they depend on the old meaning. [github.com](https://github.com/ruby/rbs/blob/v0.15.0/CHANGELOG.md)

## Older versions

4 older versions.

### rbs 0.14.0 breaking changes

rbs 0.14.0, released October 17, 2020: 1 breaking change.

- **Behavior changed** `Range`  

The Range\[T\] type is now covariant, so code that type-checks against Range may see different results. Review any type annotations or checks that depend on Range's variance. [github.com](https://github.com/ruby/rbs/blob/v0.14.0/CHANGELOG.md)

### rbs 0.12.0 breaking changes

rbs 0.12.0, released September 15, 2020: 1 breaking change.

- **Behavior changed**  

The .new methods are now defined from initialize methods included from modules, which can change generated signatures for classes that include such modules. [github.com](https://github.com/ruby/rbs/blob/v0.12.0/CHANGELOG.md)

### rbs 0.6.0 breaking changes

rbs 0.6.0, released July 12, 2020: 1 breaking change.

- **Behavior changed**  

The syntax for module self types changed, so existing signatures using the old form may need to be updated. [github.com](https://github.com/ruby/rbs/blob/v0.6.0/CHANGELOG.md)

### rbs 0.5.0 breaking changes

rbs 0.5.0, released July 3, 2020: 1 breaking change.

- **Behavior changed**  

The AST command output now uses absolute type names and supports file name filtering. Scripts that parse its previous output may need updating. [github.com](https://github.com/ruby/rbs/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.
