Skip to content

Releases: rogpeppe/go-internal

v1.11.0

30 Jun 13:26
ec11942
Compare
Choose a tag to compare

What's changed

  • The modfile, module, semver and txtar packages are all now deprecated and forward what they can to to their respective upstream packages.
  • Helper commands can now write to stdout and stderr (see #216; Thanks @myitcv).
  • A source of "unexpected command failure" errors on MacOS has been fixed. (See #222; Thanks to @bep)
  • Misspelled commands make suggestions for the correct spelling. (See #198; Thanks to @Merovius)
  • The lockedfile and cache packages have been updated to Go tip (Thanks to @mvdan)
  • The README file updated with some useful context (See #224; Thanks to @thepudds).

v1.10.0

27 Mar 09:54
v1.10.0
Compare
Choose a tag to compare

What's Changed

  • Add link to testscript tutorial by @bitfield in #183
  • lockedfile: update from Go master by @rogpeppe in #186
  • gotooltest: run probe commands in temporary directory by @myitcv in #188
  • cmd/testscript: add a -continue flag to not stop at the first error by @mvdan in #189
  • cmd/testscript: mention -continue flag in usage by @rogpeppe in #191
  • testscript: add Params.ContinueOnError by @rogpeppe in #192
  • testscript: import timeout behavior from stdlib by @FiloSottile in #171
  • testscript: fix error handling in setup by @rogpeppe in #193
  • testscript: add RequireUniqueNames parameter by @twpayne in #185
  • ci: bump Go versions by @twpayne in #194
  • testscript: remove our code coverage mechanism thanks to Go 1.20 by @mvdan in #201
  • diff: add package, make testscript use it by @mvdan in #205
  • testscript: remove "large files differ" diff size limit by @mvdan in #206
  • bump Go, drop test-gotip, clean up code for old Go versions by @mvdan in #207

Full Changelog: v1.9.0...v1.10.0

v1.9.0

22 Aug 16:00
Compare
Choose a tag to compare

What's Changed

  • testscript: print background command output on failure by @rogpeppe in #148
  • testscript: support named background commands by @rogpeppe in #152
  • testscript: remove errgo dependency by @rogpeppe in #155
  • testscript: add Go compiler and version conditions by @twpayne in #154
  • gotooltest: move default GOPATH out of the main module by @mvdan in #156
  • drop Go 1.16, add Go 1.18 by @mvdan in #158
  • testscript: exit 0 in runCoverSubcommand if -help is used by @FiloSottile in #160
  • all: add support for txtar extension and prefer it by @mvdan in #159
  • testscript: add Params.RequireExplicitExec by @mvdan in #164
  • Add 'unix' condition by @bitfield in #169
  • testscript: fix RequireExplicitExec error messages by @mvdan in #167
  • testscript: port "mv" and "! cmp" from upstream by @mvdan in #168
  • testscript: trim '.txtar' extension from subtest name by @bitfield in #179
  • Use 0o prefix for octal literals, and gofumpt all files by @bitfield in #180
  • testscript: remove leading newline before results by @bitfield in #177
  • testscript: update docs on set variables by @mvdan in #174

New Contributors

Full Changelog: v1.8.1...v1.9.0

v1.8.1

14 Dec 10:36
Compare
Choose a tag to compare

What's Changed

  • testscript: workaround quardratic behaviour of github.com/pkg/diff by @myitcv in #137
  • testscript: fix -testwork flag name in doc comments by @cespare in #141
  • testscript: add support for Go master aka 1.18 by @mvdan in #145
  • testscript: adapt to another Go 1.18 tip change by @mvdan in #146
  • imports: Update goosList and goarchList by @twpayne in #147

New Contributors

Full Changelog: v1.8.0...v1.8.1

v1.8.0

12 Mar 18:07
8ef1273
Compare
Choose a tag to compare
  • Revert "gotooltest: proxy the new GOMODCACHE env var too" (#136) 8ef1273
  • testscript: create a hidden temp directory by default (#135) 50426be
  • testscript: use unified diff for cmp-style comparisons (#131) 2630b2f
  • gotooltest: skip flakey test on darwin (#133) d03db15
  • testscript: add test to show cmp with small diff between large files (#129) 45d8df8
  • testscript: rename testscript-update meta command to testscript (#127) 1e247e4
  • ci: fix CI to use go1.16 (#128) a32363a
  • testscript: merge coverage from all test binary executions dc4b495
  • cmd/testscript: make -work actually work (#125) d773b4c
  • cmd/testscript: document -work flag in help and README (#123) 6a414f0

v1.7.0

19 Jan 22:35
ac050e5
Compare
Choose a tag to compare
  • ci: include upcoming go1.16 in build matrix (#124) ac050e5
  • cmd/testscript: allow -e flag to pass env value (#122) 13f9d7d
  • cmd/testscript: support -update flag (#121) 8b0b133
  • cmd/testscript: small tidy up (#120) f55fd4a
  • ci: add support for Go 1.16 (#117) bcd2219
  • ci: only build the master branch on push (#118) 0199c5b
  • readme: fix typo (#114) eea92b9
  • fmtsort: don't out-of-bounds panic if there's a race condition 9f985d5
  • gotooltest: proxy the new GOMODCACHE env var too c5fd45a
  • testscript: add unix2dos command 85830ee

v1.6.2

04 Sep 05:35
Compare
Choose a tag to compare
  • testscript: support Go 1.16, move to Actions 1115b6a
  • testscript: allow multiple args to chmod bb90167

v1.6.1

31 Jul 15:28
76dc4b3
Compare
Choose a tag to compare
  • testscript: relax constraints around actual source in cmp with update (#107)

v1.6.0 - testscript improvements

06 May 12:18
be09da5
Compare
Choose a tag to compare

New features in this release:

  • add ${/} as a companion to ${:} (#90; thanks to @mvdan)
  • add Env.Setenv and Env.Getenv (#96; thanks to @twpayne)
  • support stdout/stderr args in stdin (#94; thanks to @mvdan)
  • expose current subtest in Env (#95; thanks to @frankban)

Also apply fix to lockedfile to fix #91 (thanks to @myitcv)

v1.5.2

13 Jan 18:27
bc89b17
Compare
Choose a tag to compare
  • testscript: provide WorkdirRoot as a new Params field (#87) bc89b17
  • testscript: fix race in setupfilenames test (#88) ae313c1