Skip to content

release: prepare 0.2.0 - #29

Merged
kholdrex merged 1 commit into
masterfrom
release/0.2.0
Aug 2, 2026
Merged

kholdrex merged 1 commit into
masterfrom
release/0.2.0

Conversation

@kholdrex

@kholdrex kholdrex commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Stamps the 55 commits accumulated on master since v0.1.0 as a release.

Minor bump, not patch. The release flips four defaults from fail-open to fail-closed — EXPLAIN gate errors, policy adapter failures, direct Query construction under a policy adapter, and empty allowed_tables. Pre-1.0 semver puts breaking changes in the minor slot.

  • version.rb0.2.0
  • CHANGELOG.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".
  • Gemspec gains homepage_uri, changelog_uri, documentation_uri, bug_tracker_uri so the RubyGems page links back to the upgrade notes.
  • scripts/verify_package.rb now requires changelog_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, loads code_to_query 0.2.0 from an isolated install path. RSpec and RuboCop were not run locally (the mysql2 native extension won't build on this machine); CI covers both across the Ruby × ActiveRecord matrix.

After merge, bundle exec rake release tags v0.2.0 and publishes.

🤖 Generated with Claude Code

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>
@kholdrex
kholdrex merged commit 4d716db into master Aug 2, 2026
34 checks passed
@kholdrex
kholdrex deleted the release/0.2.0 branch August 2, 2026 18:56
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.

1 participant