Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump super_diff from 0.11.0 to 0.13.0 #1194

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 24, 2024

Bumps super_diff from 0.11.0 to 0.13.0.

Release notes

Sourced from super_diff's releases.

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 at CONTRIBUTING.md, as well as information on using the gem, which was previously located in README.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.
  • Support the use of primary keys other than id when diffing ActiveRecord models. (#237)

Bug fixes

  • Remove rogue pp statement (#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 Basic feature module, located in lib/super_diff/basic, which mirrors lib/super_diff/active_record, lib/super_diff/active_support, and lib/super_diff/rspec.
    • Additionally, all of the files that were previously in lib/super_diff have been moved to a Core module, and to make the file structure a little flatter, InspectionTreeBuilders in various feature modules have been removed from the ObjectInspection namespace.
    • 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 SuperDiff are now located under SuperDiff::Core:
        • ColorizedDocumentExtensions
        • Configuration
        • GemVersion
        • Helpers
        • ImplementationChecks
        • Line
        • RecursionGuard
        • TieredLines
        • TieredLinesElider
        • TieredLinesFormatter
      • Everything under SuperDiff::Differs is now under SuperDiff::Basic::Differs
      • All error classes under SuperDiff::Errors have been moved out and are now directly under SuperDiff::Core
      • SuperDiff::ObjectInspection::InspectionTree is now SuperDiff::Core::InspectionTree
      • Everything under SuperDiff::ObjectInspection::InspectionTreeBuilders is now under SuperDiff::Core::InspectionTreeBuilders
      • Everything under SuperDiff::ObjectInspection::Nodes is now under SuperDiff::Core::InspectionTreeNodes
      • Everything under SuperDiff::OperationTreeBuilders is now under SuperDiff::Basic::OperationTreeBuilders
      • Everything under SuperDiff::OperationTreeFlatteners is now under SuperDiff::Basic::OperationTreeFlatteners
      • Everything under SuperDiff::OperationTrees is now under SuperDiff::Basic::OperationTrees
      • Everything under SuperDiff::Operations has been moved out and is now directly under SuperDiff::Core
      • Everything under SuperDiff::ActiveRecord::ObjectInspection::InspectionTreeBuilders is now under SuperDiff::ActiveRecord::InspectionTreeBuilders
      • Everything under SuperDiff::ActiveSupport::ObjectInspection::InspectionTreeBuilders is now under SuperDiff::ActiveSupport::InspectionTreeBuilders
      • Everything under SuperDiff::RSpec::ObjectInspection::InspectionTreeBuilders is now under SuperDiff::RSpec::InspectionTreeBuilders

Contributors

... (truncated)

Changelog

Sourced from super_diff's changelog.

0.13.0 - 2024-09-22

Features

  • Add better support for Data object diffing. #259
  • Fall back on RSpec color mode when SuperDiff.configuration.color_enabled is unspecified or nil. #261

Breaking changes

  • Removed several SuperDiff::Csi methods. This will break any code that uses those parts of the SuperDiff::Csi (which is private in general).
  • 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.12.1 - 2024-04-26

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 at CONTRIBUTING.md, as well as information on using the gem, which was previously located in README.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://splitwise.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://splitwise.github.io/super_diff/releases/RELEASE_VERSION. (https://splitwise.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://splitwise.github.io/super_diff/branches/BRANCH_NAME/COMMIT_ID.
  • Support the use of primary keys other than id when diffing ActiveRecord models. (#237)

Bug fixes

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [super_diff](https://github.com/splitwise/super_diff) from 0.11.0 to 0.13.0.
- [Release notes](https://github.com/splitwise/super_diff/releases)
- [Changelog](https://github.com/splitwise/super_diff/blob/main/CHANGELOG.md)
- [Commits](splitwise/super_diff@v0.11.0...v0.13.0)

---
updated-dependencies:
- dependency-name: super_diff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Sep 24, 2024
@felixclack felixclack merged commit 20d3166 into main Oct 18, 2024
24 checks passed
@felixclack felixclack deleted the dependabot/bundler/super_diff-0.13.0 branch October 18, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant