Skip to content

Release 0.6.1#66

Merged
raghubetina merged 2 commits into
mainfrom
release-0.6.1
Apr 22, 2026
Merged

Release 0.6.1#66
raghubetina merged 2 commits into
mainfrom
release-0.6.1

Conversation

@raghubetina
Copy link
Copy Markdown
Contributor

Summary

  • ai-chat.gemspec: version 0.6.00.6.1
  • CHANGELOG.md: [Unreleased][0.6.1] - 2026-04-22; added an entry for the openai ~> 0.43~> 0.59 bump (it merged as its own PR, so it wasn't in the original [Unreleased] block) and flagged the stricter image_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 new Hash surface on image_generation= — is purely additive; chat.image_generation = true works 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 bytes ff d8 ff confirm real JPEG content. Validates the Marcel-sniffing extension fix end-to-end.

After merge

  1. git pull on main
  2. git tag v0.6.1 && git push --tags
  3. gem build ai-chat.gemspec
  4. gem push ai-chat-0.6.1.gem — requires MFA, yours to run

- `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`.
@raghubetina raghubetina merged commit 1436083 into main Apr 22, 2026
2 checks 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.

1 participant