release: prepare 0.2.0 - #29
Merged
Merged
Conversation
0.2.0 flips four defaults from fail-open to fail-closed (EXPLAIN gate errors, policy adapter failures, direct Query construction under a policy adapter, empty allowed_tables). Those break existing integrations at runtime rather than at load, so the changelog leads with an explicit upgrade section naming the flags to set instead of leaving the breakage buried under "Changed". Minor bump rather than patch: pre-1.0 semver puts breaking changes in the minor slot. Gemspec gains changelog/homepage/docs/bug-tracker metadata so the RubyGems page links back to the upgrade notes, and the package verifier now requires changelog_uri to keep it from being dropped. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stamps the 55 commits accumulated on
mastersincev0.1.0as a release.Minor bump, not patch. The release flips four defaults from fail-open to fail-closed — EXPLAIN gate errors, policy adapter failures, direct
Queryconstruction under a policy adapter, and emptyallowed_tables. Pre-1.0 semver puts breaking changes in the minor slot.version.rb→0.2.0CHANGELOG.md:[Unreleased]→[0.2.0] - 2026-08-02, plus an Upgrading from 0.1.0 section. Those fail-closed flips break existing integrations at runtime rather than at load, so each one is listed with the flag or code change it requires instead of being left buried under "Changed".homepage_uri,changelog_uri,documentation_uri,bug_tracker_uriso the RubyGems page links back to the upgrade notes.scripts/verify_package.rbnow requireschangelog_uri, so the link can't be silently dropped later.Verified locally with
ruby scripts/verify_package.rb— builds the gem, checks required files and metadata, loadscode_to_query 0.2.0from an isolated install path. RSpec and RuboCop were not run locally (themysql2native extension won't build on this machine); CI covers both across the Ruby × ActiveRecord matrix.After merge,
bundle exec rake releasetagsv0.2.0and publishes.🤖 Generated with Claude Code