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

# wavefile breaking changes

wavefile 1.0.0 (June 10, 2018) is its newest release with breaking changes, 6 of them. The first: Behavior changed Format.new. Every breaking API change we have recorded in wavefile on RubyGems: 19 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.1.2`. [Source repository](https://github.com/jstrait/wavefile)

Its 1.0.0 release requires Ruby 2.0 or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.8.0](#v-0-8-0) to [1.0.0](#v-1-0-0): 6 breaking changes in 1 version.
- From [0.4.0](#v-0-4-0) to [1.0.0](#v-1-0-0): 17 breaking changes in 4 versions.

## wavefile 1.0.0 breaking changes

wavefile 1.0.0, released June 10, 2018: 6 breaking changes.

- **Behavior changed** `Format.new`  

Errors raised by Format.new now carry more detail, so code that matches on exact error messages may need updating. [github.com](https://github.com/jstrait/wavefile/releases/tag/v1.0.0)
- **Behavior changed** `Reader.close`  

Calling close on a Reader that is already closed now does nothing instead of raising ReaderClosedError. Code that rescues that error must be updated. [github.com](https://github.com/jstrait/wavefile/releases/tag/v1.0.0)
- **Behavior changed** `Reader.native_format.speaker_mapping`  

For files not in WAVEFORMATEXTENSIBLE format, native_format.speaker_mapping is now nil rather than a default value. [github.com](https://github.com/jstrait/wavefile/releases/tag/v1.0.0)
- **Behavior changed** `Writer`  

Files with more than 2 channels, 24/32-bit integer PCM, or a speaker mapping are now written as WAVEFORMATEXTENSIBLE, which can change the output file format. [github.com](https://github.com/jstrait/wavefile/releases/tag/v1.0.0)
- **Behavior changed** `Writer.close`  

Calling close on a Writer that is already closed now does nothing instead of raising WriterClosedError. Code that rescues that error must be updated. [github.com](https://github.com/jstrait/wavefile/releases/tag/v1.0.0)
- **Configuration changed**  

The gem no longer works on Ruby 1.9.3 and needs Ruby 2.0 or later. [github.com](https://github.com/jstrait/wavefile/releases/tag/v1.0.0)

## wavefile 0.8.0 breaking changes

wavefile 0.8.0, released January 29, 2017: 3 breaking changes.

- **Removed** `Reader.file_name`  

Reader.file_name has been removed because it may have no sensible value when a Reader is built from an IO instance. [github.com](https://github.com/jstrait/wavefile/releases/tag/v0.8.0)
- **Removed** `Writer.file_name`  

Writer.file_name has been removed because it may have no sensible value when a Writer is built from an IO instance. [github.com](https://github.com/jstrait/wavefile/releases/tag/v0.8.0)
- **Signature changed** `Format.new`  

Passing an integer as the sample format to Format.new is no longer valid; pass a symbol such as :pcm_16 instead. [github.com](https://github.com/jstrait/wavefile/releases/tag/v0.8.0)

## wavefile 0.7.0 breaking changes

wavefile 0.7.0, released March 6, 2016: 6 breaking changes.

- **Removed**  

Earlier Ruby versions are no longer supported, so the gem now requires Ruby 1.9.3 or later. [github.com](https://github.com/jstrait/wavefile/releases/tag/v0.7.0)
- **Removed**  

Several constants were made private because they are for internal use, so code referencing them may break. [github.com](https://github.com/jstrait/wavefile/releases/tag/v0.7.0)
- **Removed** `Info`  

The Info class was removed along with Reader.info(), so code that references it will fail. [github.com](https://github.com/jstrait/wavefile/releases/tag/v0.7.0)
- **Removed** `Reader.info`  

Reader.info() is gone. Create a Reader and call Reader.native_format() to get the same format information as a Format instance. [github.com](https://github.com/jstrait/wavefile/releases/tag/v0.7.0)
- **Behavior changed** `Reader.each_buffer`  

Reader.each_buffer() now raises an exception when the file is a valid Wave file in a format the gem cannot read. Check Reader.readable_format? first. [github.com](https://github.com/jstrait/wavefile/releases/tag/v0.7.0)
- **Behavior changed** `Reader.read`  

Reader.read() now raises an exception when the file is a valid Wave file in a format the gem cannot read. Check Reader.readable_format? first. [github.com](https://github.com/jstrait/wavefile/releases/tag/v0.7.0)

## wavefile 0.5.0 breaking changes

wavefile 0.5.0, released February 25, 2013: 2 breaking changes.

- **Renamed** `Info.sample_count`  

Info.sample_count has been renamed to Info.sample_frame_count. Update calls to use the new name. [github.com](https://github.com/jstrait/wavefile/releases/tag/v0.5.0)
- **Behavior changed** `Info.duration`  

Info.duration now returns a Duration object rather than a hash, so code that reads hash keys from it must be updated. [github.com](https://github.com/jstrait/wavefile/releases/tag/v0.5.0)

## wavefile 0.4.0 breaking changes

wavefile 0.4.0, released January 1, 2012: 2 breaking changes.

- **Removed**  

Reading PCM data as floating point and writing floating point data as PCM are no longer supported. Code relying on these conversions will need another approach. [github.com](https://github.com/jstrait/wavefile/releases/tag/v0.4.0)
- **Removed**  

The previous API was removed and replaced by a streaming-based API. Code using the old API must be rewritten to use the new one. [github.com](https://github.com/jstrait/wavefile/releases/tag/v0.4.0)

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