diff --git a/CHANGELOG.md b/CHANGELOG.md index 4477cfe2..b4158dcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Changelog -## Unreleased +## 0.8.0 - 2021-05-14 -### Breaking changes +### BREAKING CHANGES * Diff formatters are now gone in favor of operation tree flatteners. If you have a custom diff formatter, you will want to inherit from @@ -10,14 +10,15 @@ Additionally, the `add_extra_diff_formatter_class` configuration option has disappeared; instead, operation tree classes are expected to have an `operation_tree_flattener_class` method, which should return your custom - operation tree flattener class. + operation tree flattener class. ([#91]) ### Features * Add the ability to compress long diffs by eliding sections of unchanged data (data which is present in both "expected" and "actual" values). This functionality is not enabled by default; rather, you will need to activate it. - At a minimum, you will want to add this to your test helper: + At a minimum, you will want to add this to your spec helper (or a support file + if you so desire): ``` ruby SuperDiff.configure do |config| @@ -38,17 +39,22 @@ Here, the gem will try to keep at least 10 unchanged lines in between changed lines. + ([#91]) + ### Features * Update inspection of Doubles to include stubbed methods and their values. + ([#91]) ### Improvements * Change how objects are inspected on a single line so that instance variables - are always sorted. + are always sorted. ([#91]) * Make a tweak to how hashes are presented in diffs and inspections: a hash that has a mixture of symbols and strings will be presented as though all keys are - strings (i.e. hashrocket syntax). + strings (i.e. hashrocket syntax). ([#91]) + +[#91]: https://github.com/mcmire/super_diff/pull/91 ## 0.7.0 - 2021-05-07 @@ -170,7 +176,7 @@ ## 0.5.0 - 2020-06-18 -### Breaking changes +### BREAKING CHANGES * Do some reorganizing and rename some concepts in the code: "operational sequencer" changes to "operation tree builder" and "operation sequence" diff --git a/gemfiles/no_rails_rspec_gte_3_10.gemfile.lock b/gemfiles/no_rails_rspec_gte_3_10.gemfile.lock index f4649b46..ad72e6d3 100644 --- a/gemfiles/no_rails_rspec_gte_3_10.gemfile.lock +++ b/gemfiles/no_rails_rspec_gte_3_10.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - super_diff (0.7.0) + super_diff (0.8.0) attr_extras (>= 6.2.4) diff-lcs patience_diff diff --git a/gemfiles/no_rails_rspec_lt_3_10.gemfile.lock b/gemfiles/no_rails_rspec_lt_3_10.gemfile.lock index 62b0e9f3..e4726c09 100644 --- a/gemfiles/no_rails_rspec_lt_3_10.gemfile.lock +++ b/gemfiles/no_rails_rspec_lt_3_10.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - super_diff (0.7.0) + super_diff (0.8.0) attr_extras (>= 6.2.4) diff-lcs patience_diff diff --git a/gemfiles/rails_5_0_rspec_gte_3_10.gemfile.lock b/gemfiles/rails_5_0_rspec_gte_3_10.gemfile.lock index 16e71699..ec7c1251 100644 --- a/gemfiles/rails_5_0_rspec_gte_3_10.gemfile.lock +++ b/gemfiles/rails_5_0_rspec_gte_3_10.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - super_diff (0.7.0) + super_diff (0.8.0) attr_extras (>= 6.2.4) diff-lcs patience_diff diff --git a/gemfiles/rails_5_0_rspec_lt_3_10.gemfile.lock b/gemfiles/rails_5_0_rspec_lt_3_10.gemfile.lock index b5bbce63..9629ff8c 100644 --- a/gemfiles/rails_5_0_rspec_lt_3_10.gemfile.lock +++ b/gemfiles/rails_5_0_rspec_lt_3_10.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - super_diff (0.7.0) + super_diff (0.8.0) attr_extras (>= 6.2.4) diff-lcs patience_diff diff --git a/gemfiles/rails_5_1_rspec_gte_3_10.gemfile.lock b/gemfiles/rails_5_1_rspec_gte_3_10.gemfile.lock index a15594d8..a859569d 100644 --- a/gemfiles/rails_5_1_rspec_gte_3_10.gemfile.lock +++ b/gemfiles/rails_5_1_rspec_gte_3_10.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - super_diff (0.7.0) + super_diff (0.8.0) attr_extras (>= 6.2.4) diff-lcs patience_diff diff --git a/gemfiles/rails_5_1_rspec_lt_3_10.gemfile.lock b/gemfiles/rails_5_1_rspec_lt_3_10.gemfile.lock index d586fd50..a55c80c4 100644 --- a/gemfiles/rails_5_1_rspec_lt_3_10.gemfile.lock +++ b/gemfiles/rails_5_1_rspec_lt_3_10.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - super_diff (0.7.0) + super_diff (0.8.0) attr_extras (>= 6.2.4) diff-lcs patience_diff diff --git a/gemfiles/rails_5_2_rspec_gte_3_10.gemfile.lock b/gemfiles/rails_5_2_rspec_gte_3_10.gemfile.lock index f998ddcf..301144d3 100644 --- a/gemfiles/rails_5_2_rspec_gte_3_10.gemfile.lock +++ b/gemfiles/rails_5_2_rspec_gte_3_10.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - super_diff (0.7.0) + super_diff (0.8.0) attr_extras (>= 6.2.4) diff-lcs patience_diff diff --git a/gemfiles/rails_5_2_rspec_lt_3_10.gemfile.lock b/gemfiles/rails_5_2_rspec_lt_3_10.gemfile.lock index 98f78b4a..8ce69b90 100644 --- a/gemfiles/rails_5_2_rspec_lt_3_10.gemfile.lock +++ b/gemfiles/rails_5_2_rspec_lt_3_10.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - super_diff (0.7.0) + super_diff (0.8.0) attr_extras (>= 6.2.4) diff-lcs patience_diff diff --git a/gemfiles/rails_6_0_rspec_gte_3_10.gemfile.lock b/gemfiles/rails_6_0_rspec_gte_3_10.gemfile.lock index 2d84bddf..a843cb1d 100644 --- a/gemfiles/rails_6_0_rspec_gte_3_10.gemfile.lock +++ b/gemfiles/rails_6_0_rspec_gte_3_10.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - super_diff (0.7.0) + super_diff (0.8.0) attr_extras (>= 6.2.4) diff-lcs patience_diff diff --git a/gemfiles/rails_6_0_rspec_lt_3_10.gemfile.lock b/gemfiles/rails_6_0_rspec_lt_3_10.gemfile.lock index 2b9b2a89..48b43093 100644 --- a/gemfiles/rails_6_0_rspec_lt_3_10.gemfile.lock +++ b/gemfiles/rails_6_0_rspec_lt_3_10.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - super_diff (0.7.0) + super_diff (0.8.0) attr_extras (>= 6.2.4) diff-lcs patience_diff diff --git a/lib/super_diff/version.rb b/lib/super_diff/version.rb index c8eb932b..22d445b6 100644 --- a/lib/super_diff/version.rb +++ b/lib/super_diff/version.rb @@ -1,3 +1,3 @@ module SuperDiff - VERSION = "0.7.0".freeze + VERSION = "0.8.0".freeze end