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

# mqtt breaking changes

mqtt 0.7.0 (October 29, 2025) is its newest release with breaking changes, 2 of them. The first: mqtt 0.7.0 drops support for Ruby 1.8 and 1.9. Every breaking API change we have recorded in mqtt on RubyGems: 9 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 `0.7.0`, released October 29, 2025. [Source repository](https://github.com/njh/ruby-mqtt)

Its 0.7.0 release drops Ruby 1.8 and 1.9. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.2.0](#v-0-2-0) to [0.7.0](#v-0-7-0): 8 breaking changes in 3 versions.

## mqtt 0.7.0 breaking changes

mqtt 0.7.0, released October 29, 2025: 2 breaking changes.

- **Removed**  

The gem no longer supports Ruby 1.8 and 1.9. Users on those Ruby versions must stay on mqtt 0.6.0 or upgrade Ruby. [github.com](https://github.com/njh/ruby-mqtt/releases/tag/v0.7.0)
- **Behavior changed**  

The package now unescapes URL-encoded values with URI::DEFAULT_PARSER.unescape() rather than CGI.unescape(), which can decode some inputs differently. [github.com](https://github.com/njh/ruby-mqtt/releases/tag/v0.7.0)

## mqtt 0.5.0 breaking changes

mqtt 0.5.0, released April 16, 2017: 1 breaking change.

- **Default changed**  

The gem now defaults to MQTT protocol version 3.1.1. Code that relies on the previous default should set the protocol version explicitly. [github.com](https://github.com/njh/ruby-mqtt/releases/tag/v0.5.0)

## mqtt 0.3.0 breaking changes

mqtt 0.3.0, released August 26, 2014: 5 breaking changes.

- **Renamed** `:granted_qos`  

Code that reads :granted_qos must switch to :return_codes. [github.com](https://github.com/njh/ruby-mqtt/blob/v0.3.0/NEWS.md)
- **Renamed** `:message_id`  

Code that reads :message_id must switch to :id. [github.com](https://github.com/njh/ruby-mqtt/blob/v0.3.0/NEWS.md)
- **Renamed** `:protocol_version`  

Code that reads :protocol_version must switch to :protocol_level. [github.com](https://github.com/njh/ruby-mqtt/blob/v0.3.0/NEWS.md)
- **Renamed** `:remote_host`  

Code that reads :remote_host must switch to :host. [github.com](https://github.com/njh/ruby-mqtt/blob/v0.3.0/NEWS.md)
- **Renamed** `:remote_port`  

Code that reads :remote_port must switch to :port. [github.com](https://github.com/njh/ruby-mqtt/blob/v0.3.0/NEWS.md)

## mqtt 0.2.0 breaking changes

mqtt 0.2.0, released April 2, 2014: 1 breaking change.

- **Behavior changed** `Client`  

If no broker is configured, the client no longer connects to localhost. Code that relied on that default must now pass a broker explicitly or set MQTT_BROKER. [github.com](https://github.com/njh/ruby-mqtt/blob/v0.2.0/NEWS.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.
