Skip to content

Release 1.2.2 - #48

Closed
shime wants to merge 1 commit into
mainfrom
release/1.2.2
Closed

Release 1.2.2#48
shime wants to merge 1 commit into
mainfrom
release/1.2.2

Conversation

@shime

@shime shime commented Jul 14, 2026

Copy link
Copy Markdown
Member

Releases the require "cgi" fix (#47) so apps stop crashing with undefined method 'parse' for class CGI when the gem handles invalid_grant OAuth errors — Rails 8.1+ only loads cgi/escape, so CGI.parse was undefined at the point Booqable::Error classified the response.

Also includes Ruby 4.0 support from #47.

🤖 Generated with Claude Code


Open in Devin Review

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 14, 2026 07:50

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR publishes release 1.2.2, primarily to ship the Rails 8.1+ CGI.parse crash fix (by requiring cgi) and the Ruby 4.0 compatibility changes from #47.

Changes:

  • Bump gem version from 1.2.1 → 1.2.2
  • Update lockfile to reflect the new version
  • Add a 1.2.2 changelog entry describing Ruby 4.0 support and the cgi require/dependency fix

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
lib/booqable/version.rb Version constant bumped to 1.2.2
Gemfile.lock Updates local gem version reference to 1.2.2
CHANGELOG.md Adds 1.2.2 release notes for Ruby 4.0 + cgi runtime dependency/require

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CHANGELOG.md
Comment on lines +1 to 2
## [1.2.2] - 2026-07-14

@shime shime mentioned this pull request Jul 14, 2026
@shime

shime commented Jul 14, 2026

Copy link
Copy Markdown
Member Author

Superseded by #49 — a breaking change (#46) landed on main, so this goes out as 2.0.0 instead of 1.2.2.

@shime shime closed this Jul 14, 2026
@shime
shime deleted the release/1.2.2 branch July 14, 2026 08:04
shime added a commit that referenced this pull request Jul 14, 2026
Supersedes #48. The `Booqable::MissingAttribute` change (#46) landed on
main after that PR was opened — it's breaking, so this release is 2.0.0
instead of 1.2.2.

Included since 1.2.1:

- **Breaking:** reading an attribute absent from an API payload raises
`Booqable::MissingAttribute` instead of silently returning nil (#46)
- Require `cgi` and declare it as a runtime dependency, fixing
`undefined method 'parse' for class CGI` when handling `invalid_grant`
OAuth errors under Rails 8.1+ (#47)
- Ruby 4.0 support (#47)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- devin-review-badge-begin -->

---

<a href="https://app.devin.ai/review/booqable/booqable.rb/pull/49"
target="_blank">
  <picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open in Devin Review">
  </picture>
</a>
<!-- devin-review-badge-end -->

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants