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

# image_size breaking changes

image_size 3.0.0 (October 17, 2021) is its newest release with breaking changes. The first: Behavior changed FormatError. Every breaking API change we have recorded in image_size on RubyGems: 3 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.6.0`, released May 25, 2026. [Source repository](https://github.com/toy/image%5Fsize)

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

- From [2.0.0](#v-2-0-0) to [3.0.0](#v-3-0-0): 1 breaking change in 1 version.

## image_size 3.0.0 breaking changes

image_size 3.0.0, released October 17, 2021: 1 breaking change.

- **Behavior changed** `FormatError`  

Reading data that comes back shorter than expected now raises FormatError instead of continuing. Code that reads possibly truncated files should rescue FormatError. [github.com](https://github.com/toy/image%5Fsize/blob/v3.0.0/CHANGELOG.markdown)

## image_size 2.0.0 breaking changes

image_size 2.0.0, released May 1, 2018: 2 breaking changes.

- **Behavior changed**  

Paths are now opened with File.open rather than Kernel#open, so code that relied on Kernel#open behavior for special path forms may act differently. [github.com](https://github.com/toy/image%5Fsize/blob/v2.0.0/CHANGELOG.markdown)
- **Behavior changed**  

ImageSize no longer rewinds passed IO objects before or after reading, so code that relied on the position being reset must rewind the IO itself. [github.com](https://github.com/toy/image%5Fsize/blob/v2.0.0/CHANGELOG.markdown)

## Related packages

- [image_optim](https://since.dev/packages/gem/image%5Foptim.md)
- [image_optim_pack](https://since.dev/packages/gem/image%5Foptim%5Fpack.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.
