Skip to content

Releases: mibk/dupl

v1.1.0 — Generics and More

05 Mar 09:47

Choose a tag to compare

Highlights

It's been nearly ten years since v1.0.0. In that time, Go got generics, Travis CI got deprecated, and this tool quietly kept finding duplicates like nothing happened. We figured it was time to ship a release before the code itself started showing up as a clone.

  • Go generics support. dupl now understands generic AST nodes, so it won't choke on your type-parameterized code.
  • Default threshold raised to 100. The old default of 15 was too aggressive and produced noisy output. 100 is a much more practical starting point.
  • Improved HTML output. The HTML report got a styling refresh, and HTML escaping issues in code fragments have been fixed.