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

# opal-jquery breaking changes

opal-jquery 0.5.0 (January 6, 2024) is its newest release with breaking changes, 2 of them. The first: Removed untaint. Every breaking API change we have recorded in opal-jquery on RubyGems: 11 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

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

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

- From [0.3.0](#v-0-3-0) to [0.5.0](#v-0-5-0): 6 breaking changes in 2 versions.

## opal-jquery 0.5.0 breaking changes

opal-jquery 0.5.0, released January 6, 2024: 2 breaking changes.

- **Removed** `untaint`  

The untaint method was removed; code calling it will fail and must be updated to not use it. [github.com](https://github.com/opal/opal-jquery/blob/v0.5.0/CHANGELOG.md)
- **Behavior changed**  

A new setting stops automatic processing of payloads; code relying on automatic processing must enable behavior explicitly or handle payloads itself. [github.com](https://github.com/opal/opal-jquery/blob/v0.5.0/CHANGELOG.md)

## opal-jquery 0.4.0 breaking changes

opal-jquery 0.4.0, released July 17, 2015: 4 breaking changes.

- **Behavior changed** `Element.[]`  

Element#\[\] now returns nil only for attributes that are missing, matching jQuery, which returns undefined for such attributes. Code that depended on the previous nil results may behave differently. [github.com](https://github.com/opal/opal-jquery/blob/v0.4.0/CHANGELOG.md)
- **Behavior changed** `Element.[]=`  

Element#\[\]= now removes the attribute when the assigned value is nil. Code that assigned nil and expected the attribute to remain set must change. [github.com](https://github.com/opal/opal-jquery/blob/v0.4.0/CHANGELOG.md)
- **Behavior changed** `Element.attr`  

Element#attr now checks the number of arguments passed, following jQuery, and is just a proxy to Element#\[\] and Element#\[\]=. Code relying on the previous attr behavior may need to change. [github.com](https://github.com/opal/opal-jquery/blob/v0.4.0/CHANGELOG.md)
- **Behavior changed** `Element.has_attribute?`  

Element#has_attribute? was updated to match the changed Element#\[\] behavior for missing attributes. Code relying on its previous results may behave differently. [github.com](https://github.com/opal/opal-jquery/blob/v0.4.0/CHANGELOG.md)

## opal-jquery 0.3.0 breaking changes

opal-jquery 0.3.0, released February 3, 2015: 5 breaking changes.

- **Removed** `HTTP.callback`  

HTTP#callback is removed; HTTP get, post, put and delete methods now support Promises instead. [github.com](https://github.com/opal/opal-jquery/blob/v0.3.0/CHANGELOG.md)
- **Removed** `HTTP.errback`  

HTTP#errback is removed; HTTP get, post, put and delete methods now support Promises instead. [github.com](https://github.com/opal/opal-jquery/blob/v0.3.0/CHANGELOG.md)
- **Renamed**  

Files are now required under opal/jquery instead of the opal-jquery require paths, so existing require lines must be updated. [github.com](https://github.com/opal/opal-jquery/blob/v0.3.0/CHANGELOG.md)
- **Behavior changed** `Element.[]`  

Element#\[\] now returns nil for empty attributes instead of an empty string, so code comparing against an empty string must handle nil. [github.com](https://github.com/opal/opal-jquery/blob/v0.3.0/CHANGELOG.md)
- **Behavior changed** `Element.attr`  

Element#attr now returns nil for empty attributes instead of an empty string, so code comparing against an empty string must handle nil. [github.com](https://github.com/opal/opal-jquery/blob/v0.3.0/CHANGELOG.md)

## Related packages

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