Skip to content

Releases: aymanbagabas/go-udiff

v0.4.0

Choose a tag to compare

@aymanbagabas aymanbagabas released this 19 Feb 20:46
055e3f0

This release updates the package to the latest upstream changes and added API methods.

What's Changed

  • Import upstream package [create-pull-request] by @github-actions[bot] in #25
  • chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #26
  • chore(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in #27
  • Import upstream package [create-pull-request] by @github-actions[bot] in #28
  • Import upstream package [create-pull-request] by @github-actions[bot] in #29
  • Import upstream package [create-pull-request] by @github-actions[bot] in #30
  • chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #31
  • chore(deps): bump peter-evans/create-pull-request from 7 to 8 by @dependabot[bot] in #32
  • Import upstream package [create-pull-request] by @github-actions[bot] in #33

Full Changelog: v0.3.1...v0.4.0

v0.3.1

Choose a tag to compare

@aymanbagabas aymanbagabas released this 05 Jun 20:18
v0.3.1
12b2bd1

More exports!

This is a small release to export both Line and Hunk types to make it easier to work with. Thanks to @andreynering for his humble contribution!

Full Changelog: v0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@aymanbagabas aymanbagabas released this 05 Jun 20:16
v0.3.0
bdb97bf

Merge lines and Go update

This release includes the ability to merge edits. It also upgrades the minimum Go version to go1.23 to use the latest Go semantics. Enjoy!

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@aymanbagabas aymanbagabas released this 13 Dec 18:35
4ad777e

Context Lines, Breaking Change!

µDiff now supports specifying surrounding context lines of the generated diff. Both udiff.ToUnifiedDiff and udiff.ToUnified now take a new argument to specify the number of context lines. You can use udiff.DefaultContextLines as a default value.

Full Changelog: v0.1.3...v0.2.0

v0.1.3

Choose a tag to compare

@aymanbagabas aymanbagabas released this 20 Jun 17:23
54452e1

Fix strange unified diff golang/go#60379

What's Changed

  • Import upstream package [create-pull-request] by @github-actions in #7

Full Changelog: v0.1.2...v0.1.3

v0.1.2

Choose a tag to compare

@aymanbagabas aymanbagabas released this 15 May 15:28
abdfc87

What's Changed

  • Import upstream package [create-pull-request] by @github-actions in #6

Full Changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@aymanbagabas aymanbagabas released this 29 Apr 00:08
9b12743

What's Changed

  • docs: fix variable name in readme example by @steverusso in #3
  • Import upstream package [create-pull-request] by @github-actions in #4

New Contributors

  • @steverusso made their first contribution in #3
  • @github-actions made their first contribution in #4

Full Changelog: v0.1.0...v0.1.1

First release

Choose a tag to compare

@aymanbagabas aymanbagabas released this 16 Apr 10:29
bfe5879