|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -## [v0.4.2][] (2020-02-11) |
| 3 | +## 0.4.2 - 2020-02-11 |
4 | 4 |
|
5 |
| -* [Fix `raise_error` when used with a regex][#72] |
6 |
| - ([@numbata][]) |
| 5 | +### Bug fixes |
| 6 | + |
| 7 | +* Fix `raise_error` when used with a regex. ([#72]) |
7 | 8 |
|
8 |
| -[v0.4.2]: https://github.com/mcmire/super_diff/tree/v0.4.2 |
9 | 9 | [#72]: https://github.com/mcmire/super_diff/pull/72
|
10 | 10 |
|
11 |
| -## [v0.4.1][] (2020-01-30) |
| 11 | +## 0.4.1 - 2020-01-30 |
| 12 | + |
| 13 | +### Bug fixes |
12 | 14 |
|
13 |
| -* [Fix multiple exception failures so that they work again][#66] |
14 |
| - ([@numbata][]) |
| 15 | +* Fix multiple exception failures so that they work again. ([#66]) |
15 | 16 |
|
16 | 17 | [v0.4.1]: https://github.com/mcmire/super_diff/tree/v0.4.1
|
17 | 18 | [#66]: https://github.com/mcmire/super_diff/pull/66
|
18 |
| -[@numbata]: https://github.com/numbata |
19 | 19 |
|
20 |
| -## [v0.4.0][] (2020-01-16) |
| 20 | +## 0.4.0 - 2020-01-16 |
| 21 | + |
| 22 | +### Features |
| 23 | + |
| 24 | +* Support `match_array` matcher. |
| 25 | +* Support `has_*` matcher. |
| 26 | +* Be smarter about highlighting first line of failure message. |
| 27 | +* Fix diffing of ActiveRecord objects in nested objects. |
21 | 28 |
|
22 |
| -* Support `match_array` matcher |
23 |
| -* Support `has_*` matcher |
24 |
| -* Be smarter about highlighting first line of failure message |
25 |
| -* Fix diffing of ActiveRecord objects in nested objects |
26 |
| -* [Remove explicit dependency on ActiveRecord][#64] |
27 |
| - ([@flash-gordon][]) |
| 29 | +### Improvements |
| 30 | + |
| 31 | +* Remove explicit dependency on ActiveRecord. ([#64]) |
28 | 32 |
|
29 |
| -[v0.4.0]: https://github.com/mcmire/super_diff/tree/v0.4.0 |
30 | 33 | [#64]: https://github.com/mcmire/super_diff/pull/64
|
31 |
| -[@flash-gordon]: https://github.com/flash-gordon |
32 | 34 |
|
33 |
| -## [v0.3.0][] (2019-12-17) |
| 35 | +## 0.3.0 - 2019-12-17 |
34 | 36 |
|
35 |
| -[v0.3.0]: https://github.com/mcmire/super_diff/tree/v0.3.0 |
| 37 | +### Features |
36 | 38 |
|
37 |
| -* [Add useful diff representation of Time-like values][#61] |
38 |
| - ([@Mange][]) |
39 |
| -* [Fix tests so they run even with a global `--color` setting][#62] |
| 39 | +* Add useful diff representation of Time-like values. ([#61]) |
| 40 | +* Fix tests so they run even with a global `--color` setting. ([#62]) |
40 | 41 |
|
41 | 42 | [#61]: https://github.com/mcmire/super_diff/pull/61
|
42 | 43 | [#62]: https://github.com/mcmire/super_diff/pull/62
|
43 |
| -[@Mange]: https://github.com/Mange |
44 |
| - |
45 |
| -## [v0.2.0][] (2019-10-04) |
46 | 44 |
|
47 |
| -[v0.2.0]: https://github.com/mcmire/super_diff/tree/v0.2.0 |
| 45 | +## 0.2.0 - 2019-10-04 |
48 | 46 |
|
49 | 47 | Lots of fixes and new features!
|
50 | 48 |
|
| 49 | +### Features |
| 50 | + |
51 | 51 | * Fix how objects are displayed in diff output:
|
52 |
| - * Fix output of diffs so that objects are deeply pretty printed |
53 |
| - * Use Object#inspect as a fallback for single-line object inspection |
54 |
| -* Support diffing ordinary, "non-custom" objects |
55 |
| - (those that do *not* respond to `attributes_for_super_diff`) |
56 |
| -* Add custom coloring/messaging to `include` matcher |
57 |
| -* Support pretty-printing `a_hash_including` objects |
58 |
| - and diffing them with hashes |
59 |
| -* Support pretty-printing `a_collection_including` objects |
60 |
| - and diffing them with arrays |
61 |
| -* Add custom coloring/messaging to `have_attributes` matcher |
62 |
| -* Support pretty-printing `an_object_having_attributes` objects |
63 |
| - and diffing them with other objects |
64 |
| -* Add a key/legend to the diff output so it's less confusing |
65 |
| -* Add custom coloring/messaging to `respond_to` matcher |
66 |
| -* Add custom coloring/messaging to `raise_error` matcher |
67 |
| -* Fix output from diff between a multi-line string with a single-line |
68 |
| - (and vice versa) |
69 |
| -* Make sure that RSpec double objects are pretty-printed correctly |
70 |
| -* Add custom coloring/messaging to `contain_exactly` |
71 |
| -* Support pretty-printing `a_collection_containing_exactly` objects |
72 |
| - and diffing them with other arrays |
73 |
| -* Add support for diffing ActiveRecord models |
74 |
| -* Add support for diffing ActiveRecord::Relation objects with arrays |
| 52 | + * Fix output of diffs so that objects are deeply pretty printed. |
| 53 | + * Use Object#inspect as a fallback for single-line object inspection. |
| 54 | +* Support diffing ordinary, "non-custom" objects (those that do *not* respond to |
| 55 | + `attributes_for_super_diff`). |
| 56 | +* Add custom coloring/messaging to `include` matcher. |
| 57 | +* Support pretty-printing `a_hash_including` objects and diffing them with |
| 58 | + hashes. |
| 59 | +* Support pretty-printing `a_collection_including` objects and diffing them with |
| 60 | + arrays. |
| 61 | +* Add custom coloring/messaging to `have_attributes` matcher. |
| 62 | +* Support pretty-printing `an_object_having_attributes` objects and diffing them |
| 63 | + with other objects. |
| 64 | +* Add a key/legend to the diff output so it's less confusing. |
| 65 | +* Add custom coloring/messaging to `respond_to` matcher. |
| 66 | +* Add custom coloring/messaging to `raise_error` matcher. |
| 67 | +* Fix output from diff between a multi-line string with a single-line (and vice |
| 68 | + versa). |
| 69 | +* Make sure that RSpec double objects are pretty-printed correctly Add custom |
| 70 | + coloring/messaging to `contain_exactly`. |
| 71 | +* Support pretty-printing `a_collection_containing_exactly` objects and diffing |
| 72 | + them with other arrays. |
| 73 | +* Add support for diffing ActiveRecord models. |
| 74 | +* Add support for diffing ActiveRecord::Relation objects with arrays. |
75 | 75 | * Fix output for diff between two completely different kinds of objects
|
76 |
| -* Support pretty-printing HashWithIndifferentAccess objects |
77 |
| - and diffing them with hashes |
78 |
| -* Detect and handle recursive data structures |
79 |
| -* Automatically disable color output when running tests non-interactively |
80 |
| - (e.g. on a CI service) |
81 |
| -* Add custom coloring/messaging to `be_*` matcher |
82 |
| -* Fix representation of empty arrays, hashes, and objects in diffs |
83 |
| - so that they are always on single lines |
84 |
| -* Change colors in diffs and messages |
85 |
| - from red/green to magenta/yellow |
86 |
| -* Use bold to highlight "Failure/Error" instead of white |
87 |
| - so that output looks good on a light terminal color scheme |
88 |
| -* Fix coloring for unhandled errors |
89 |
| - so that the whole message isn't colored in red, |
90 |
| - but only the first line |
91 |
| - |
92 |
| -## [v0.1.0][] (2019-10-02) |
93 |
| - |
94 |
| -[v0.1.0]: https://github.com/mcmire/super_diff/tree/v0.1.0 |
| 76 | +* Support pretty-printing HashWithIndifferentAccess objects and diffing them |
| 77 | + with hashes. |
| 78 | +* Detect and handle recursive data structures. |
| 79 | +* Automatically disable color output when running tests non-interactively (e.g. |
| 80 | + on a CI service). |
| 81 | +* Add custom coloring/messaging to `be_*` matcher. |
| 82 | +* Fix representation of empty arrays, hashes, and objects in diffs so that they |
| 83 | + are always on single lines. |
| 84 | +* Change colors in diffs and messages from red/green to magenta/yellow. |
| 85 | +* Use bold to highlight "Failure/Error" instead of white so that output looks |
| 86 | + good on a light terminal color scheme |
| 87 | +* Fix coloring for unhandled errors so that the whole message isn't colored in |
| 88 | + red, but only the first line. |
| 89 | + |
| 90 | +## 0.1.0 - 2019-10-02 |
95 | 91 |
|
96 | 92 | Initial version!
|
97 | 93 |
|
98 |
| -* Support diffing primitives |
99 |
| -* Support diffing strings (single-line and multi-line) |
100 |
| -* Support diffing arrays (simple and complex) |
101 |
| -* Support diffing "custom objects" |
102 |
| - (i.e. objects that respond to `attributes_for_super_diff`) |
103 |
| -* Add basic integration with RSpec |
| 94 | +### Features |
| 95 | + |
| 96 | +* Support diffing primitives. |
| 97 | +* Support diffing strings (single-line and multi-line). |
| 98 | +* Support diffing arrays (simple and complex). |
| 99 | +* Support diffing "custom objects" (i.e. objects that respond to |
| 100 | + `attributes_for_super_diff`). |
| 101 | +* Add basic integration with RSpec. |
0 commit comments