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

# chartkick breaking changes

chartkick 5.0.0 (January 18, 2023) is its newest release with breaking changes, 2 of them. The first: chartkick 5.0.0 requires Ruby 2.7 or later. Every breaking API change we have recorded in chartkick on RubyGems: 12 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.3.1`, released November 30, 2026. [Source repository](https://github.com/ankane/chartkick)

Its 5.0.0 release requires [Ruby 2.7](https://since.dev/calendar/ruby/2.7.md) 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): 2 breaking changes in 1 version.
- From [2.0.0](#v-2-0-0) to [5.0.0](#v-5-0-0): 10 breaking changes in 3 versions.

## chartkick 5.0.0 breaking changes

chartkick 5.0.0, released January 18, 2023: 2 breaking changes.

- **Removed**  

Support for Ruby versions before 2.7 and Rails versions before 6 was removed. Upgrade Ruby and Rails before using this version. [github.com](https://github.com/ankane/chartkick/blob/v5.0.0/CHANGELOG.md)
- **Behavior changed** `chart_json`  

chart_json moved from Enumerable to Hash and Array, so code calling it on other Enumerable types may no longer work. Call it on a Hash or Array instead. [github.com](https://github.com/ankane/chartkick/blob/v5.0.0/CHANGELOG.md)

## chartkick 4.0.0 breaking changes

chartkick 4.0.0, released April 5, 2021: 3 breaking changes.

- **Removed**  

Ruby versions older than 2.6 are no longer supported. Upgrade Ruby before using this release. [github.com](https://github.com/ankane/chartkick/blob/v4.0.0/CHANGELOG.md)
- **Removed**  

Chart.js 2 is no longer supported. Use Chart.js 3 instead. [github.com](https://github.com/ankane/chartkick/blob/v4.0.0/CHANGELOG.md)
- **Default changed**  

Charts now render deferred by default. Code that relied on immediate rendering must opt out. [github.com](https://github.com/ankane/chartkick/blob/v4.0.0/CHANGELOG.md)

## chartkick 3.0.0 breaking changes

chartkick 3.0.0, released August 9, 2018: 5 breaking changes.

- **Removed**  

Rails versions older than 4.2 are no longer supported. Upgrade Rails before using this release. [github.com](https://github.com/ankane/chartkick/blob/v3.0.0/CHANGELOG.md)
- **Removed** `chartkick.js`  

chartkick.js is no longer added to asset precompile because it is no longer needed. Stop relying on it being precompiled. [github.com](https://github.com/ankane/chartkick/blob/v3.0.0/CHANGELOG.md)
- **Removed** `Google Charts jsapi loader`  

The Google Charts jsapi loader is no longer supported. Use loader.js instead. [github.com](https://github.com/ankane/chartkick/blob/v3.0.0/CHANGELOG.md)
- **Removed** `window.Chartkick`  

Setting configuration with window.Chartkick = {...} no longer works. Use Chartkick.configure instead. [github.com](https://github.com/ankane/chartkick/blob/v3.0.0/CHANGELOG.md)
- **Removed** `xtype`  

The xtype option is gone because numeric axes are now detected automatically. Remove xtype from your chart options. [github.com](https://github.com/ankane/chartkick/blob/v3.0.0/CHANGELOG.md)

## chartkick 2.0.0 breaking changes

chartkick 2.0.0, released May 31, 2016: 2 breaking changes.

- **Behavior changed** `discrete`  

Axis types are now detected automatically, so the discrete: true option is no longer needed for category axes. [github.com](https://github.com/ankane/chartkick/blob/v2.0.0/CHANGELOG.md)
- **Default changed**  

Charts now render with Chart.js by default instead of the previous adapter. Users who depend on the old adapter must select it explicitly. [github.com](https://github.com/ankane/chartkick/blob/v2.0.0/CHANGELOG.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.
