Release 0.6.1#66
Merged
Merged
Conversation
- `ai-chat.gemspec` version → 0.6.1.
- `CHANGELOG.md` [Unreleased] → [0.6.1] - 2026-04-22; added an
entry crediting the openai 0.43 → 0.59 dependency bump (was left
out of the original [Unreleased] block since the two changes
shipped as separate PRs) and flagged the stricter
`image_generation=` validation as a technically-breaking change
for transparency, even though pre-1.0 semver doesn't require it.
Shipping as a patch bump because the gem is pre-1.0 and the new
Hash surface is backward-compatible in practice — `chat.image_generation = true`
continues to work, and the stricter validation only rejects values
no one should have been passing.
Verified end-to-end with a two-case live smoke test (tmp/smoke_test.rb,
gitignored):
- Hash `{size: "1024x1024", quality: "low"}` → PNG saved, 1.08 MB.
- Hash `{size: "1024x1024", quality: "low", output_format: "jpeg"}` →
JPEG saved with `.jpg` extension; magic bytes confirmed `ff d8 ff`.
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.
Summary
ai-chat.gemspec: version0.6.0→0.6.1CHANGELOG.md:[Unreleased]→[0.6.1] - 2026-04-22; added an entry for the openai~> 0.43→~> 0.59bump (it merged as its own PR, so it wasn't in the original[Unreleased]block) and flagged the stricterimage_generation=validation as technically breaking.Why patch
Pre-1.0, and the only behavioral shrinkage is
image_generation=now rejecting values that were never documented as supported (truthy strings, integers, arrays). The main change — the newHashsurface onimage_generation=— is purely additive;chat.image_generation = trueworks exactly as before.Live smoke test
Ran before cutting this release (
tmp/smoke_test.rb, gitignored):{size: "1024x1024", quality: "low"}→ PNG saved to./tmp/smoke_test_images/.../001.png, 1,082,515 bytes.{size: "1024x1024", quality: "low", output_format: "jpeg"}→ file saved to.../001.jpg(not.png), 48,190 bytes, magic bytesff d8 ffconfirm real JPEG content. Validates the Marcel-sniffing extension fix end-to-end.After merge
git pullon maingit tag v0.6.1 && git push --tagsgem build ai-chat.gemspecgem push ai-chat-0.6.1.gem— requires MFA, yours to run