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

# opal breaking changes

opal 1.0.0 (May 12, 2019) is its newest release with breaking changes, 14 of them. The first: Parser migrated to 2.5 and RUBY_VERSION bumped to 2.5.0 in opal 1.0.0. Every breaking API change we have recorded in opal on RubyGems: 64 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.8.3`. [Source repository](https://github.com/opal/opal)

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

- From [0.11.0](#v-0-11-0) to [1.0.0](#v-1-0-0): 14 breaking changes in 1 version.
- From [0.4.0](#v-0-4-0) to [1.0.0](#v-1-0-0): 60 breaking changes in 8 versions.

## opal 1.0.0 breaking changes

opal 1.0.0, released May 12, 2019: 14 breaking changes.

- **Removed**  

The parser was migrated to Ruby 2.5 and RUBY_VERSION was bumped to 2.5.0. [github.com](https://github.com/opal/opal/releases/tag/v1.0.0)
- **Removed** `hike`  

The hike gem is no longer an external dependency; it is available internally as Opal::Hike. [github.com](https://github.com/opal/opal/releases/tag/v1.0.0)
- **Removed** `Marshal.BinaryString`  

The internal Opal class Marshal::BinaryString has been removed. [github.com](https://github.com/opal/opal/releases/tag/v1.0.0)
- **Removed** `NODE_OPT`  

The node CLI runner no longer supports extra node options via NODE_OPT; use Node.js's NODE_OPTIONS env var instead. [github.com](https://github.com/opal/opal/releases/tag/v1.0.0)
- **Removed** `Racc`  

Racc has been removed and replaced by the parser gem. [github.com](https://github.com/opal/opal/releases/tag/v1.0.0)
- **Behavior changed** `--map`  

The --map CLI option now works only together with --compile or --runner compiler. [github.com](https://github.com/opal/opal/releases/tag/v1.0.0)
- **Behavior changed** `Filename extensions`  

Filename extensions are no longer stripped from filenames internally, which can change error reporting output. [github.com](https://github.com/opal/opal/releases/tag/v1.0.0)
- **Behavior changed** `Kernel.format`  

Kernel#format and its sprintf alias are now available exclusively in opal and no longer in opal/mini. [github.com](https://github.com/opal/opal/releases/tag/v1.0.0)
- **Behavior changed** `NODE_PATH`  

The node CLI runner now adds its NODE_PATH entry instead of replacing the environment variable. [github.com](https://github.com/opal/opal/releases/tag/v1.0.0)
- **Behavior changed** `Opal.config.missing_require_severity`  

Source-maps are now inlined and already contain sources, which may change how generated maps are consumed. [github.com](https://github.com/opal/opal/releases/tag/v1.0.0)
- **Behavior changed** `Regexp.match`  

The dot character is no longer replaced with \[\\s\\S\] in multiline regexps passed to Regexp#match and Regexp#match?. Use \[\\s\\S\] instead of . for portability. [github.com](https://github.com/opal/opal/releases/tag/v1.0.0)
- **Behavior changed** `Regexp.match?`  

The dot character is no longer replaced with \[\\s\\S\] in multiline regexps passed to Regexp#match?. Use \[\\s\\S\] instead of . for portability. [github.com](https://github.com/opal/opal/releases/tag/v1.0.0)
- **Configuration changed** `Opal.Config.dynamic_require_severity`  

Builder behavior for missing required files is now controlled by the new missing_require_severity option, not dynamic_require_severity. [github.com](https://github.com/opal/opal/releases/tag/v1.0.0)
- **Signature changed** `CLI runners`  

The internal API for CLI runners changed; runners are now callable objects. [github.com](https://github.com/opal/opal/releases/tag/v1.0.0)

## opal 0.11.0 breaking changes

opal 0.11.0, released December 8, 2017: 10 breaking changes.

- **Removed**  

Browser support for IE8 and older was removed, and Safari and Opera are now supported only for their last two versions. [github.com](https://github.com/opal/opal/releases/tag/v0.11.0)
- **Removed**  

PhantomJS is no longer supported because it was abandoned upstream. [github.com](https://github.com/opal/opal/releases/tag/v0.11.0)
- **Removed**  

Sprockets support was extracted into opal-sprockets, so apps using it must add that gem. [github.com](https://github.com/opal/opal/releases/tag/v0.11.0)
- **Removed** `yaml`  

The built-in yaml library was removed; require 'nodejs/yaml' instead. [github.com](https://github.com/opal/opal/releases/tag/v0.11.0)
- **Behavior changed**  

Regexp flags unsupported by browsers are now stripped, and most unknown flags now raise an error instead of being ignored. [github.com](https://github.com/opal/opal/releases/tag/v0.11.0)
- **Behavior changed** `Enumerable.slice_before`  

Enumerable#slice_before now raises proper argument errors for invalid arguments, which code relying on the old behavior may hit. [github.com](https://github.com/opal/opal/releases/tag/v0.11.0)
- **Behavior changed** `Number.positive?`  

Number#positive? returns false for zero to match Ruby 2.3, which changes results for code that relied on the previous value. [github.com](https://github.com/opal/opal/releases/tag/v0.11.0)
- **Behavior changed** `Process.clock_gettime`  

Process.clock_gettime(Process::CLOCK_MONOTONIC) now returns true monotonic values or raises Errno::EINVAL when no monotonic clock is available. [github.com](https://github.com/opal/opal/releases/tag/v0.11.0)
- **Default changed**  

By default a missing dynamic require now raises LoadError at runtime instead of at compile time; set dynamic_require_severity to keep the old behavior. [github.com](https://github.com/opal/opal/releases/tag/v0.11.0)
- **Signature changed** `Enumerable.chunk`  

Enumerable#chunk accepts only a block to match Ruby 2.3 behavior, so callers passing other arguments must change their code. [github.com](https://github.com/opal/opal/releases/tag/v0.11.0)

## opal 0.10.0 breaking changes

opal 0.10.0, released July 4, 2016: 7 breaking changes.

- **Removed** `Opal.Fragment.to_code`  

The previously deprecated Opal::Fragment#to_code method is gone. Code that calls it must be updated before upgrading. [github.com](https://github.com/opal/opal/releases/tag/v0.10.0)
- **Removed** `Opal.process`  

Opal.process, which was an alias to Sprockets::Environment#\[\], has been removed. [github.com](https://github.com/opal/opal/releases/tag/v0.10.0)
- **Removed** `Opal.Processor`  

Opal can no longer be configured via Opal::Processor. Move that configuration to Opal::Config. [github.com](https://github.com/opal/opal/releases/tag/v0.10.0)
- **Removed** `Opal.Processor.load_asset_code`  

The previously deprecated Opal::Processor.load_asset_code method has been removed. [github.com](https://github.com/opal/opal/releases/tag/v0.10.0)
- **Removed** `Opal.Server.new`  

Opal::Server.new no longer accepts a boolean as its only argument. Pass the current supported arguments instead. [github.com](https://github.com/opal/opal/releases/tag/v0.10.0)
- **Renamed** `Opal.dynamic_require_severity`  

Opal.dynamic_require_severity and OPAL_CONFIG are merged into Opal.config.missing_require_severity and Opal.config.unsupported_features_severity. Setting Opal::Config no longer changes Opal.dynamic_require_severity. [github.com](https://github.com/opal/opal/releases/tag/v0.10.0)
- **Default changed** `Opal.Config.dynamic_require_severity`  

The default for Opal::Config.dynamic_require_severity is now :warning. Set it explicitly if you relied on the old value. [github.com](https://github.com/opal/opal/releases/tag/v0.10.0)

## opal 0.9.0 breaking changes

opal 0.9.0, released December 20, 2015: 6 breaking changes.

- **Renamed** `Hash.keys`  

Hash.keys was renamed to Hash.$$keys. Code calling the old name must switch to the new one. [github.com](https://github.com/opal/opal/releases/tag/v0.9.0)
- **Renamed** `Hash.map`  

Hash.map was renamed to Hash.$$map. Code calling the old name must switch to the new one. [github.com](https://github.com/opal/opal/releases/tag/v0.9.0)
- **Renamed** `Hash.smap`  

Hash.smap was renamed to Hash.$$smap. Code calling the old name must switch to the new one. [github.com](https://github.com/opal/opal/releases/tag/v0.9.0)
- **Behavior changed** `Kernel.pp`  

Kernel#pp no longer passes its arguments directly to console.log; output now goes through the stdlib console.rb wrapper. [github.com](https://github.com/opal/opal/releases/tag/v0.9.0)
- **Behavior changed** `Module.instance_eval`  

Method definitions made inside Module#instance_eval and Class#instance_eval (and exec) now create class methods instead of instance methods. [github.com](https://github.com/opal/opal/releases/tag/v0.9.0)
- **Signature changed**  

With arity checks enabled, calling a method with more arguments than its signature supports now raises ArgumentError. [github.com](https://github.com/opal/opal/releases/tag/v0.9.0)

## opal 0.8.0 breaking changes

opal 0.8.0, released July 16, 2015: 3 breaking changes.

- **Removed**  

minitest is no longer bundled in stdlib. Use the opal-minitest gem instead. [github.com](https://github.com/opal/opal/releases/tag/v0.8.0)
- **Behavior changed**  

Dependency management is now delegated to Sprockets. Code generated by Sprockets must be loaded with Opal.load or Opal.require, or Opal::Processor.load_asset_code. [github.com](https://github.com/opal/opal/releases/tag/v0.8.0)
- **Default changed**  

The compiler inlines operators by default now. Code relying on the previous default may generate different output. [github.com](https://github.com/opal/opal/releases/tag/v0.8.0)

## opal 0.7.0 breaking changes

opal 0.7.0, released February 1, 2015: 4 breaking changes.

- **Behavior changed** `Class.native_class`  

Class#native_class now also exposes MyClass.new as Opal.global.MyClass.new() in JavaScript. [github.com](https://github.com/opal/opal/releases/tag/v0.7.0)
- **Behavior changed** `require_relative`  

require_relative with strings is now preprocessed and expanded, and requires are emitted at their position in the file rather than all at the top. [github.com](https://github.com/opal/opal/releases/tag/v0.7.0)
- **Behavior changed** `String.to_proc`  

String#to_proc uses \_\_send\_\_ instead of send to call methods on receivers, so code relying on send being used there may behave differently. [github.com](https://github.com/opal/opal/releases/tag/v0.7.0)
- **Configuration changed** `const_missing`  

The const_missing compiler option is removed and all constant lookups are now strict, so missing constants no longer dispatch to const_missing. [github.com](https://github.com/opal/opal/releases/tag/v0.7.0)

## Older versions

3 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### opal 0.6.0 breaking changes

opal 0.6.0, released March 5, 2014: 14 breaking changes.

- **Removed** `as_json`  

All core #as_json methods were removed; they are now provided externally by opal-activesupport. [github.com](https://github.com/opal/opal/releases/tag/v0.6.0)
- **Removed** `Native`  

Code treating Native as a top-level class will need updating. [github.com](https://github.com/opal/opal/releases/tag/v0.6.0)

And 12 more in this version.

### opal 0.5.0 breaking changes

opal 0.5.0, released November 3, 2013: 2 breaking changes.

- **Removed** `Opal.bridge_class`  

Ruby code should use the class Foo < \`bar\` syntax instead of calling Opal.bridge_class(). [github.com](https://github.com/opal/opal/releases/tag/v0.5.0)
- **Removed** `Optimized_operators`  

The Optimized_operators option is no longer available in the compiler, so code that passes it must drop it. [github.com](https://github.com/opal/opal/releases/tag/v0.5.0)

### opal 0.4.0 breaking changes

opal 0.4.0, released June 15, 2013: 4 breaking changes.

- **Removed** `Hash.from_native`  

Hash.from_native was merged into Hash.new; call Hash.new instead. [github.com](https://github.com/opal/opal/releases/tag/v0.4.0)
- **Behavior changed**  

Instance variables are no longer initialized to nil; code that expects them to be nil before assignment may change behavior. [github.com](https://github.com/opal/opal/releases/tag/v0.4.0)

And 2 more in this version.

## Related packages

- [opal-jquery](https://since.dev/packages/gem/opal-jquery.md)
- [opal-rails](https://since.dev/packages/gem/opal-rails.md)
- [opal-rspec](https://since.dev/packages/gem/opal-rspec.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.
