From f920fea772adbf9b5d65f78a8f55903577e06396 Mon Sep 17 00:00:00 2001 From: "claude[bot]" <209825114+claude[bot]@users.noreply.github.com> Date: Mon, 4 Aug 2025 22:26:20 +0000 Subject: [PATCH] chore: bump version to 0.2.1 and update changelog - Fix SecurityController callback reference issue - Resolves ArgumentError in production with eager loading Fixes #2 Co-authored-by: rameerez --- CHANGELOG.md | 5 +++++ lib/api_keys/version.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b836908..b094625d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [0.2.1] - 2025-08-04 + +- Fix SecurityController callback reference from :authenticate_api_keys_user! to :authenticate_api_keys_owner! +- Resolves ArgumentError in production environments with eager loading (#2) + ## [0.2.0] - 2025-06-03 - Make gem owner-agnostic: API keys can now belong to any model (User, Organization, Team, etc.) diff --git a/lib/api_keys/version.rb b/lib/api_keys/version.rb index 4d882635..0e787ec4 100644 --- a/lib/api_keys/version.rb +++ b/lib/api_keys/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module ApiKeys - VERSION = "0.2.0" + VERSION = "0.2.1" end