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

# facets breaking changes

facets 4.0.0 (September 27, 2026) is its newest release with breaking changes, 6 of them. The first: Behavior changed Enumerable.Argumentable.max. Every breaking API change we have recorded in facets on RubyGems: 13 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 `4.2.0`, released November 20, 2026. [Source repository](https://github.com/rubyworks/facets)

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

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 6 breaking changes in 1 version.

## facets 4.0.0 breaking changes

facets 4.0.0, released September 27, 2026: 6 breaking changes.

- **Behavior changed** `Enumerable.Argumentable.max`  

Enumerable::Argumentable#max now forwards its arguments to #each instead of Ruby's max(n). Code relying on the old behavior must be updated. [github.com](https://github.com/rubyworks/facets/releases/tag/4.0.0)
- **Behavior changed** `Enumerable.Argumentable.min`  

Enumerable::Argumentable#min now forwards its arguments to #each instead of Ruby's min(n). Code relying on the old behavior must be updated. [github.com](https://github.com/rubyworks/facets/releases/tag/4.0.0)
- **Behavior changed** `Kernel.try`  

Kernel#try now behaves like a normal call or &., raising NoMethodError for private methods instead of calling them. [github.com](https://github.com/rubyworks/facets/releases/tag/4.0.0)
- **Behavior changed** `Kernel.try!`  

Kernel#try! now returns nil when the receiver does not respond to the method or the method is private, instead of raising NoMethodError. Code that relied on the exception must be updated. [github.com](https://github.com/rubyworks/facets/releases/tag/4.0.0)
- **Behavior changed** `Kernel.with`  

Requiring facets no longer defines Kernel#with. Code that needs it must require 'facets/kernel/with' explicitly. [github.com](https://github.com/rubyworks/facets/releases/tag/4.0.0)
- **Behavior changed** `String.similarity`  

String#similarity now divides by the longer string's length, so scores for non-identical strings rise slightly. Code with score thresholds may need adjustment. [github.com](https://github.com/rubyworks/facets/releases/tag/4.0.0)

## facets 3.0.0 breaking changes

facets 3.0.0, released December 20, 2014: 7 breaking changes.

- **Removed**  

Facets 3.0.0 targets Ruby 2.0 and above. Code on Ruby 1.9.x or older needs the Backports project or must stay on Facets 2.9.x. [github.com](https://github.com/rubyworks/facets/blob/3.0.0/HISTORY.md)
- **Renamed** `Object.replace`  

Calls to Object#replace must be changed to Object#instance_replace. [github.com](https://github.com/rubyworks/facets/blob/3.0.0/HISTORY.md)
- **Renamed** `Range.to_r`  

Range#to_r is now reserved for Rational, so use Range#to_rng for the old behavior. [github.com](https://github.com/rubyworks/facets/blob/3.0.0/HISTORY.md)
- **Behavior changed** `Enumerable.sum`  

The argument passed to Enumerable#sum is now the initial value of the sum. [github.com](https://github.com/rubyworks/facets/blob/3.0.0/HISTORY.md)
- **Behavior changed** `Hash.collate`  

Hash#collate no longer flattens automatically, so code relying on flattened output must flatten it itself. [github.com](https://github.com/rubyworks/facets/blob/3.0.0/HISTORY.md)
- **Behavior changed** `Time.future?`  

Time#future? is now evaluated against Time.current instead of the previous reference time. [github.com](https://github.com/rubyworks/facets/blob/3.0.0/HISTORY.md)
- **Behavior changed** `Time.past?`  

Time#past? is now evaluated against Time.current instead of the previous reference time. [github.com](https://github.com/rubyworks/facets/blob/3.0.0/HISTORY.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.
