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

# chef-sugar breaking changes

chef-sugar 5.0.0 (December 27, 2018) is its newest release with breaking changes. The first: chef-sugar 5.0.0 requires Chef 13 or later. Every breaking API change we have recorded in chef-sugar on RubyGems: 7 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 `5.1.12`. [Source repository](https://github.com/chef/chef-sugar)

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

- From [4.0.0](#v-4-0-0) to [5.0.0](#v-5-0-0): 1 breaking change in 1 version.
- From [2.0.0](#v-2-0-0) to [5.0.0](#v-5-0-0): 5 breaking changes in 3 versions.

## chef-sugar 5.0.0 breaking changes

chef-sugar 5.0.0, released December 27, 2018: 1 breaking change.

- **Removed**  

The gem now requires Chef 13 or later, so projects on older Chef versions must upgrade Chef before using this release. [github.com](https://github.com/chef/chef-sugar/blob/v5.0.0/CHANGELOG.md)

## chef-sugar 4.0.0 breaking changes

chef-sugar 4.0.0, released January 26, 2018: 3 breaking changes.

- **Removed**  

The release requires Ruby 2.2 or later, so older Ruby versions are no longer supported. [github.com](https://github.com/chef/chef-sugar/blob/v4.0.0/CHANGELOG.md)
- **Removed** `chef-sugar.default`  

The cookbook now installs the gem through metadata, so remove chef-sugar::default from your runlist. [github.com](https://github.com/chef/chef-sugar/blob/v4.0.0/CHANGELOG.md)
- **Configuration changed**  

The release requires Chef 12.10 or later, so older Chef versions must be upgraded before use. [github.com](https://github.com/chef/chef-sugar/blob/v4.0.0/CHANGELOG.md)

## chef-sugar 3.0.0 breaking changes

chef-sugar 3.0.0, released March 17, 2015: 1 breaking change.

- **Removed**  

Ruby 1.9 is no longer officially supported; it may still work but users should move to a newer Ruby. [github.com](https://github.com/chef/chef-sugar/blob/v3.0.0/CHANGELOG.md)

## chef-sugar 2.0.0 breaking changes

chef-sugar 2.0.0, released June 16, 2014: 2 breaking changes.

- **Removed** `not_linux?`  

The not_linux? method is removed in 2.0.0; code calling it will fail and must be updated. [github.com](https://github.com/chef/chef-sugar/blob/v2.0.0/CHANGELOG.md)
- **Removed** `not_windows?`  

The not_windows? method is removed in 2.0.0; code calling it will fail and must be updated. [github.com](https://github.com/chef/chef-sugar/blob/v2.0.0/CHANGELOG.md)

## Related packages

- [chef-config](https://since.dev/packages/gem/chef-config.md)
- [chef-provisioning](https://since.dev/packages/gem/chef-provisioning.md)
- [chef-utils](https://since.dev/packages/gem/chef-utils.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.
