Skip to content

Releases: rogpeppe/go-internal

v1.13.1

23 Sep 11:50
v1.13.1
Compare
Choose a tag to compare

What's Changed

  • testscript: fix ptyName() returning /dev/pts/4294967296 on s390x by @anthonyfok in #246
  • all: Move away from ioutil by @abhinav in #248
  • testscript/doc: add go to the list of testscript commands by @rudifa in #249
  • testscript: Add Chdir method to change directory by @abhinav in #247
  • testscript: add kill command by @kortschak in #243
  • testscript: clarify HOME and TMPDIR env var names by @mvdan in #240
  • all: Add Go 1.22, drop Go 1.20 by @abhinav in #252
  • update dependencies and rely on Go 1.21 APIs by @mvdan in #256
  • cmd/testscript: remove redundant use of Failed by @rogpeppe in #257
  • testscript: add Config.Files by @rogpeppe in #258
  • cmd/testscript: do not create an extra temporary directory by @rogpeppe in #259
  • Fix typos discovered by codespell by @cclauss in #262
  • testscript: ignore result when interrupting background processes by @mvdan in #265
  • add goproxytest testing API, forward dirhash by @mvdan in #272
  • update Go, update the README by @mvdan in #273

New Contributors

Full Changelog: v1.12.0...v1.13.1

v1.12.0

22 May 08:31
2c88e7f
Compare
Choose a tag to compare

What's Changed

  • testscript: add pty/ptyout commands by @FiloSottile in #172
  • bump to Go 1.21, drop Go 1.19, propagate GORACE in testscript by @mvdan in #235
  • use filepath.WalkDir, add TestScript.Name by @mvdan in #236
  • robustio: copy from cmd/go/internal/robustio by @rogpeppe in #239

Full Changelog: v1.11.0...v1.12.0

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)