Skip to content

0.7.3: adoption-friction release (docs + examples consolidation)#28

Merged
justi merged 2 commits into
mainfrom
release/0.7.3
Apr 24, 2026
Merged

0.7.3: adoption-friction release (docs + examples consolidation)#28
justi merged 2 commits into
mainfrom
release/0.7.3

Conversation

@justi
Copy link
Copy Markdown
Owner

@justi justi commented Apr 24, 2026

Adoption-friction release. No gem-level code changes — every delta is in docs/, examples/, or spec/integration/. Upgrading from 0.7.2 picks up the expanded guide set, the consolidated runnable showcases, and one extra integration spec.

What landed in 0.7.3

Seven merged PRs (#21 through #27) collapsed into one release:

PR Theme
#21 Guide rewrite + adoption friction (why.md, "Do I need this?", outcome labels, TL;DR boxes)
#22 Runnable aha-moment showcase (01_fallback_showcase.rb) + retry variants (06_retry_variants.rb)
#23 architecture.md refresh + docs/ideas/ untracked + Part A expected output
#24 Schema pitfall fix (5 example files) + Expected output coverage
#25 Examples consolidation — drop Reddit, renumber 00-06, restore pipeline + real-LLM minimal
#26 Rails integration FAQ guide (pre-emptive adoption answers)
#27 Pipeline-level run_eval coverage — closes the "09 STEP 5" known issue from 0.7.2

Verification

Release checklist

  • lib/ruby_llm/contract/version.rb bumped to 0.7.3
  • CHANGELOG.md entry with full details
  • Gemfile.lock regenerated
  • All guides and examples referenced exist and run

After merge:

  • Tag v0.7.3 on main
  • gem build ruby_llm-contract.gemspec
  • gem push ruby_llm-contract-0.7.3.gem

No gem-level code changes. Upgrading from 0.7.2 picks up the expanded
docs set, consolidated runnable showcases, and one extra integration
spec that closes the 09 STEP 5 known issue from 0.7.2.

Full changelog entry in CHANGELOG.md covers:

- New guides: docs/guide/why.md (4 production failure modes) and
  docs/guide/rails_integration.md (7 Rails-specific FAQs).
- README adoption-friction pass: "Do I need this?" block, reading
  order, outcome-based docs index labels, TL;DR boxes per guide.
- API coverage gaps closed (estimate_cost, on_unknown_pricing,
  run_eval concurrency, around_call testing).
- Examples consolidated to 7 files on SummarizeArticle (was 12),
  renumbered 00-06 with Expected output inline on every file.
- Schema pitfall fixed in 5 example files (array-without-object).
- spec/integration/pipeline_eval_spec.rb added (3 cases) — closes
  the 09 STEP 5 known issue flagged in 0.7.2.
- Private-project cleanup: Reddit examples and one duplicate schema
  example removed.

1287 specs pass. 6/6 test-adapter examples run clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 24, 2026 04:19
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Prepares the 0.7.3 “adoption-friction” release by bumping the gem version, updating dependency lock metadata, and adding release notes describing the docs/examples/spec consolidation.

Changes:

  • Bump gem version to 0.7.3.
  • Regenerate Gemfile.lock to reflect the new gem version.
  • Add a CHANGELOG.md entry for 0.7.3 summarizing the release contents.

Reviewed changes

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

File Description
lib/ruby_llm/contract/version.rb Version constant bumped to 0.7.3
Gemfile.lock Lockfile updated for 0.7.3 path gem
CHANGELOG.md New 0.7.3 release notes added

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

Comment thread CHANGELOG.md Outdated

## 0.7.3 (2026-04-24)

Adoption-friction release. No gem-level code changes — every delta is in `docs/`, `examples/`, or `spec/integration/`. Upgrading from 0.7.2 picks up the expanded guide set, the new runnable showcases, and one extra integration spec.
Copy link

Copilot AI Apr 24, 2026

Choose a reason for hiding this comment

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

The note "No gem-level code changes" is inaccurate in this release entry because the gem version was bumped (and Gemfile.lock updated). Consider rephrasing to something like "No runtime behavior changes" / "No library behavior changes" to avoid confusion for readers auditing diffs.

Suggested change
Adoption-friction release. No gem-level code changes — every delta is in `docs/`, `examples/`, or `spec/integration/`. Upgrading from 0.7.2 picks up the expanded guide set, the new runnable showcases, and one extra integration spec.
Adoption-friction release. No runtime behavior changes — every delta is in `docs/`, `examples/`, or `spec/integration/`. Upgrading from 0.7.2 picks up the expanded guide set, the new runnable showcases, and one extra integration spec.

Copilot uses AI. Check for mistakes.
Comment thread CHANGELOG.md Outdated
### Examples — bug fixes carried along

- **Schema pitfall fixed in 5 files** — `array :x do; string :y; ...; end` silently produces `items: string` and drops every declaration after the first, matching the documented pitfall in `spec/ruby_llm/contract/nested_schema_spec.rb:71`. Every affected array block is now wrapped in `object do...end`.
- **`examples/09_eval_dataset.rb` `result[:passed]` → `result.passed?`** — the previous code called `[]` on an `Eval::CaseResult` and raised `NoMethodError` at runtime.
Copy link

Copilot AI Apr 24, 2026

Choose a reason for hiding this comment

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

This bullet references examples/09_eval_dataset.rb, but the examples are renumbered 00–06 in this release and that file doesn’t exist. Update the filename in the changelog (likely examples/05_eval_dataset.rb) so the note is actionable.

Suggested change
- **`examples/09_eval_dataset.rb` `result[:passed]``result.passed?`** — the previous code called `[]` on an `Eval::CaseResult` and raised `NoMethodError` at runtime.
- **`examples/05_eval_dataset.rb` `result[:passed]``result.passed?`** — the previous code called `[]` on an `Eval::CaseResult` and raised `NoMethodError` at runtime.

Copilot uses AI. Check for mistakes.
- Line 5: "No gem-level code changes" was misleading — version.rb and
  Gemfile.lock are gem-level files too. Changed to "No runtime behavior
  changes" and explicitly acknowledged the version/lockfile bumps.
- Line 37: the bullet referenced examples/09_eval_dataset.rb, but the
  renumber in this same release moved it to examples/05_eval_dataset.rb.
  Readers auditing the current tree wouldn't find the mentioned file.
  Updated to the current filename with a parenthetical for history.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@justi justi merged commit c101cfa into main Apr 24, 2026
1 check passed
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