You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Default to RSpec color mode when SuperDIff RSpec extensions are loaded
(and when `ENV["CI"]` isn't set to `true`).
⚠️ This is technically a breaking change. Before this PR,
`SuperDiff.configuration.color_enabled = nil` turned colors off. As of
this PR, it indicates that SuperDiff should decide based on the
environment.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,13 @@
4
4
5
5
### Features
6
6
7
-
- Add better support for Data object diffing. [#259](https://github.com/splitwise/super_diff/pull/224)
7
+
- Add better support for Data object diffing. [#259](https://github.com/splitwise/super_diff/pull/259)
8
+
- Fall back on RSpec color mode when `SuperDiff.configuration.color_enabled` is unspecified or nil. [#261](https://github.com/splitwise/super_diff/pull/261)
9
+
10
+
### Breaking changes
11
+
12
+
- Removed several `SuperDiff::Csi` methods. This will break any code that uses those parts of the `SuperDiff::Csi` (which is private in general).
13
+
-`SuperDiff.configuration.color_enabled = nil` used to disable color output. It now allows SuperDiff to determine whether to colorize output based on the environment (namely RSpec color mode and whether stdout is a TTY).
0 commit comments