From f535c360ee044455316fc4f2f19b4c784c68f1a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hrvoje=20=C5=A0imi=C4=87?= Date: Tue, 14 Jul 2026 10:03:42 +0200 Subject: [PATCH] Release 2.0.0 Co-Authored-By: Claude Fable 5 --- CHANGELOG.md | 6 +++++- Gemfile.lock | 2 +- lib/booqable/version.rb | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 658c283..85a33ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,13 @@ -## [Unreleased] +## [2.0.0] - 2026-07-14 - **Breaking:** reading an attribute that is absent from an API payload now raises `Booqable::MissingAttribute` (a `NoMethodError` subclass) instead of silently returning nil. - Support Ruby 4.0 +- Require `cgi` and declare it as a runtime dependency. Fixes + `undefined method 'parse' for class CGI` when handling `invalid_grant` + OAuth errors in apps that don't load the full cgi library themselves + (e.g. Rails 8.1+, which only loads `cgi/escape`). ## [1.2.1] - 2026-06-10 diff --git a/Gemfile.lock b/Gemfile.lock index 8b9a7b3..98113db 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - booqable (1.2.1) + booqable (2.0.0) addressable (~> 2.8) cgi (~> 0.5) faraday (~> 2.13) diff --git a/lib/booqable/version.rb b/lib/booqable/version.rb index 98aae7b..11c62b5 100644 --- a/lib/booqable/version.rb +++ b/lib/booqable/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Booqable - VERSION = "1.2.1" + VERSION = "2.0.0" end