0.12.1
Note that since 0.12.0 has been yanked, changes for this version are listed alongside changes for 0.12.1. Also, changelog entries that were mistakenly omitted for 0.12.0 are included below as well.
Features
- Create a proper space for docs, add info on architecture, and deploy docs to a docsite automatically. (#224, #225, #226, #232, #233, #245)
- The
docs/directory now holds information on contributing, which was previously located atCONTRIBUTING.md, as well as information on using the gem, which was previously located inREADME.md. - However, crucially,
docs/also now includes a breakdown of how this project is structured and how the diffing engine works. This is hopefully helpful to people who want to submit changes to this project. - Additionally, starting with this release, the Markdown files in
docs/will published to a docsite, which can be viewed at https://mcmire.github.io/super_diff. - Publishing of the docsite is automated: when a new release is issued, a new version of the docsite will be published for that release under https://mcmire.github.io/super_diff/releases/RELEASE_VERSION. (https://mcmire.github.io/super_diff will always redirect to the latest release.)
- If any file in
docs/is modified in a pull request, a new version of the docsite will also be automatically deployed just for that pull request, located under https://mcmire.github.io/super_diff/branches/BRANCH_NAME/COMMIT_ID.
- The
- Support the use of primary keys other than
idwhen diffing ActiveRecord models. (#237)
Bug fixes
- Remove rogue
ppstatement (#242)
Other notable changes
- Reorganize codebase (#230)
- To be able to explain the architecture of this project more easily, differs, inspection tree builders, operation tree builders, operation tree flatteners, and operation trees for Ruby have now been relocated under a
Basicfeature module, located inlib/super_diff/basic, which mirrorslib/super_diff/active_record,lib/super_diff/active_support, andlib/super_diff/rspec. - Additionally, all of the files that were previously in
lib/super_diffhave been moved to aCoremodule, and to make the file structure a little flatter,InspectionTreeBuildersin various feature modules have been removed from theObjectInspectionnamespace. - To maintain backward compatibility, all of the original constants still exist, but they've been deprecated, and attempting to use them will result in a warning. They will be removed in a future version.
- For full transparency, here is the list of renames:
- The following constants that were previously available under
SuperDiffare now located underSuperDiff::Core:ColorizedDocumentExtensionsConfigurationGemVersionHelpersImplementationChecksLineRecursionGuardTieredLinesTieredLinesEliderTieredLinesFormatter
- Everything under
SuperDiff::Differsis now underSuperDiff::Basic::Differs - All error classes under
SuperDiff::Errorshave been moved out and are now directly underSuperDiff::Core SuperDiff::ObjectInspection::InspectionTreeis nowSuperDiff::Core::InspectionTree- Everything under
SuperDiff::ObjectInspection::InspectionTreeBuildersis now underSuperDiff::Core::InspectionTreeBuilders - Everything under
SuperDiff::ObjectInspection::Nodesis now underSuperDiff::Core::InspectionTreeNodes - Everything under
SuperDiff::OperationTreeBuildersis now underSuperDiff::Basic::OperationTreeBuilders - Everything under
SuperDiff::OperationTreeFlattenersis now underSuperDiff::Basic::OperationTreeFlatteners - Everything under
SuperDiff::OperationTreesis now underSuperDiff::Basic::OperationTrees - Everything under
SuperDiff::Operationshas been moved out and is now directly underSuperDiff::Core - Everything under
SuperDiff::ActiveRecord::ObjectInspection::InspectionTreeBuildersis now underSuperDiff::ActiveRecord::InspectionTreeBuilders - Everything under
SuperDiff::ActiveSupport::ObjectInspection::InspectionTreeBuildersis now underSuperDiff::ActiveSupport::InspectionTreeBuilders - Everything under
SuperDiff::RSpec::ObjectInspection::InspectionTreeBuildersis now underSuperDiff::RSpec::InspectionTreeBuilders
- The following constants that were previously available under
- To be able to explain the architecture of this project more easily, differs, inspection tree builders, operation tree builders, operation tree flatteners, and operation trees for Ruby have now been relocated under a
Contributors
This release features the following contributors:
Thank you!