|
1 | 1 | # Vizzly Ruby Client Changelog |
2 | 2 |
|
| 3 | +## [0.3.0] - 2026-06-01 |
| 4 | + |
| 5 | +## What's Changed |
| 6 | + |
| 7 | +### Added |
| 8 | +- Added `fail_on_diff` support for local TDD visual diffs. Configure it with |
| 9 | + `Vizzly::Client.new(fail_on_diff: true)`, `VIZZLY_FAIL_ON_DIFF=true`, or |
| 10 | + the local TDD server setting to raise `Vizzly::Error` when a visual diff is |
| 11 | + detected. |
| 12 | +- Added per-screenshot `build_id` and `request_timeout` options, with |
| 13 | + snake_case Ruby names and camelCase aliases for JavaScript API parity. |
| 14 | +- Added `VIZZLY_ENABLED=false` support to disable screenshot capture from the |
| 15 | + environment. |
| 16 | +- Added richer `Client#info` output, including `serverUrl`, `buildId`, |
| 17 | + `fail_on_diff`, and `failOnDiff`. |
| 18 | + |
| 19 | +### Changed |
| 20 | +- Screenshot option handling now separates Vizzly options from user metadata. |
| 21 | + Reserved options passed inside `properties` are promoted to the correct |
| 22 | + request fields and emit a warning so `properties` can remain user metadata. |
| 23 | +- `threshold` now accepts numeric values and is documented as a Delta E |
| 24 | + comparison threshold. |
| 25 | + |
| 26 | +### Fixed |
| 27 | +- Fixed request handling for HTTPS `server_url` values. |
| 28 | +- Fixed screenshot option serialization for string-keyed options, camelCase |
| 29 | + aliases, zero values, fractional thresholds, and nested metadata hashes. |
| 30 | +- Fixed local TDD diff handling so both current successful diff responses and |
| 31 | + legacy `422` diff responses are handled consistently when `fail_on_diff` is |
| 32 | + enabled. |
| 33 | + |
| 34 | +**Full Changelog**: https://github.com/vizzly-testing/cli/compare/ruby/v0.2.1...ruby/v0.3.0 |
| 35 | + |
| 36 | + |
3 | 37 | ## [0.2.1] - 2026-02-04 |
4 | 38 |
|
5 | 39 | ### Changed |
|
0 commit comments