Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 8, 2025

Bumps github.com/gkampitakis/go-snaps from 0.5.14 to 0.5.18.

Release notes

Sourced from github.com/gkampitakis/go-snaps's releases.

v0.5.18

What's Changed

Full Changelog: gkampitakis/go-snaps@0.5.17...0.5.18

v0.5.16

What's Changed

Full Changelog: gkampitakis/go-snaps@v0.5.15...v0.5.16

v0.5.15

What's Changed

Full Changelog: gkampitakis/go-snaps@v0.5.14...v0.5.15

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)

Summary by CodeRabbit

  • Chores
    • Updated and optimized project dependencies for improved stability and compatibility.

✏️ Tip: You can customize this high-level summary in your review settings.

Bumps [github.com/gkampitakis/go-snaps](https://github.com/gkampitakis/go-snaps) from 0.5.14 to 0.5.18.
- [Release notes](https://github.com/gkampitakis/go-snaps/releases)
- [Commits](gkampitakis/go-snaps@v0.5.14...0.5.18)

---
updated-dependencies:
- dependency-name: github.com/gkampitakis/go-snaps
  dependency-version: 0.5.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 8, 2025
@coderabbitai
Copy link

coderabbitai bot commented Dec 8, 2025

Walkthrough

The pull request updates the module's Go dependencies by removing two indirect dependencies (github.com/gkampitakis/go-diff and gopkg.in/yaml.v2), adding a replacement indirect dependency (github.com/sergi/go-diff), and upgrading the github.com/gkampitakis/go-snaps version from v0.5.14 to v0.5.18.

Changes

Cohort / File(s) Summary
Dependency Updates
go.mod
Removed github.com/gkampitakis/go-diff v1.3.2 and gopkg.in/yaml.v2 v2.4.0; added github.com/sergi/go-diff v1.4.0; updated github.com/gkampitakis/go-snaps to v0.5.18

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: bumping the go-snaps dependency from v0.5.14 to v0.5.18, which aligns with the actual changes in go.mod and the PR objectives.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dependabot/go_modules/github.com/gkampitakis/go-snaps-0.5.18

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1ed00c9 and 68e0d76.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: test
🔇 Additional comments (3)
go.mod (3)

33-33: No direct dependency on gkampitakis/go-diff detected; the transition to upstream sergi/go-diff is safe.

The codebase has no direct imports or references to gkampitakis/go-diff or yaml.v2, confirming that their removal as part of the go-snaps v0.5.18 update is safe. The upstream sergi/go-diff is now correctly included as an indirect dependency.


1-45: No direct code dependencies on gopkg.in/yaml.v2 found.

The removal of gopkg.in/yaml.v2 is safe. No application code imports gopkg.in/yaml (either v2 or v3), and go.mod contains only gopkg.in/yaml.v3 v3.0.1 as an indirect dependency, confirming that v2 is no longer needed.


52-52: No compatibility concerns with go-snaps v0.5.18 update.

The update spans three documented releases (v0.5.15, v0.5.16, v0.5.18). Release notes show minor bug fixes and experimental features: v0.5.16 added CR character handling and experimental inline snapshot support; v0.5.18 reverted the CR fix to address issues it introduced. No breaking API changes are documented. All changes are backward compatible.


Comment @coderabbitai help to get the list of available commands and usage tips.

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 go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant