|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -## Unreleased |
| 3 | +## 0.8.0 - 2021-05-14 |
4 | 4 |
|
5 | | -### Breaking changes |
| 5 | +### BREAKING CHANGES |
6 | 6 |
|
7 | 7 | * Diff formatters are now gone in favor of operation tree flatteners. If you |
8 | 8 | have a custom diff formatter, you will want to inherit from |
9 | 9 | SuperDiff::OperationTreeFlatteners::Base (or an appropriate subclass). |
10 | 10 | Additionally, the `add_extra_diff_formatter_class` configuration option has |
11 | 11 | disappeared; instead, operation tree classes are expected to have an |
12 | 12 | `operation_tree_flattener_class` method, which should return your custom |
13 | | - operation tree flattener class. |
| 13 | + operation tree flattener class. ([#91]) |
14 | 14 |
|
15 | 15 | ### Features |
16 | 16 |
|
17 | 17 | * Add the ability to compress long diffs by eliding sections of unchanged data |
18 | 18 | (data which is present in both "expected" and "actual" values). This |
19 | 19 | functionality is not enabled by default; rather, you will need to activate it. |
20 | | - At a minimum, you will want to add this to your test helper: |
| 20 | + At a minimum, you will want to add this to your spec helper (or a support file |
| 21 | + if you so desire): |
21 | 22 |
|
22 | 23 | ``` ruby |
23 | 24 | SuperDiff.configure do |config| |
|
38 | 39 | Here, the gem will try to keep at least 10 unchanged lines in between changed |
39 | 40 | lines. |
40 | 41 |
|
| 42 | + ([#91]) |
| 43 | + |
41 | 44 | ### Features |
42 | 45 |
|
43 | 46 | * Update inspection of Doubles to include stubbed methods and their values. |
| 47 | + ([#91]) |
44 | 48 |
|
45 | 49 | ### Improvements |
46 | 50 |
|
47 | 51 | * Change how objects are inspected on a single line so that instance variables |
48 | | - are always sorted. |
| 52 | + are always sorted. ([#91]) |
49 | 53 | * Make a tweak to how hashes are presented in diffs and inspections: a hash that |
50 | 54 | has a mixture of symbols and strings will be presented as though all keys are |
51 | | - strings (i.e. hashrocket syntax). |
| 55 | + strings (i.e. hashrocket syntax). ([#91]) |
| 56 | + |
| 57 | +[#91]: https://github.com/mcmire/super_diff/pull/91 |
52 | 58 |
|
53 | 59 | ## 0.7.0 - 2021-05-07 |
54 | 60 |
|
|
170 | 176 |
|
171 | 177 | ## 0.5.0 - 2020-06-18 |
172 | 178 |
|
173 | | -### Breaking changes |
| 179 | +### BREAKING CHANGES |
174 | 180 |
|
175 | 181 | * Do some reorganizing and rename some concepts in the code: "operational |
176 | 182 | sequencer" changes to "operation tree builder" and "operation sequence" |
|
0 commit comments