Skip to content

Releases: peczenyj/ttempdir

release v0.4.0

08 Jun 08:13
Compare
Choose a tag to compare

What's Changed

Exciting New Features 🎉

  • Change analyzer program add flagset prefix by @peczenyj in #13

Full Changelog: v0.3.2...v0.4.0

V0.3.2

05 Jun 13:16
Compare
Choose a tag to compare

What's Changed

Other Changes

  • internal refactors

Full Changelog: v0.3.1...v0.3.2

v0.3.1

05 Jun 08:03
Compare
Choose a tag to compare
  • update analyzer report message #7
  • add support to for-loop statements #8

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

v0.3.0

05 Jun 05:26
967fff4
Compare
Choose a tag to compare

What's Changed

  • prepare next version without global analyzer by @peczenyj in #7

Full Changelog: v0.2.2...v0.3.0

v0.2.2

04 Jun 16:59
Compare
Choose a tag to compare
  • improve tests with different flags
  • rename source code

v0.2.1

04 Jun 12:57
Compare
Choose a tag to compare
  • fix path to cmd tool
  • fix readme

v0.2.0

04 Jun 12:48
d98f4f3
Compare
Choose a tag to compare

Changes

  • reduce default max recursion level from 50 to 5
  • max-recursion-level flag is now an uint
  • add more tests to check the recursion level
  • add code of conduct

first working version

04 Jun 11:04
Compare
Choose a tag to compare

this version search for

  • os.TempDir
  • os.MkdirTemp
  • ioutil.TempDir

on golang test and suggests to use the equivalent TempDir() from testing package, like https://pkg.go.dev/testing#T.TempDir

TempDir returns a temporary directory for the test to use. The directory is automatically removed when the test and all its subtests complete. Each subsequent call to t.TempDir returns a unique directory; if the directory creation fails, TempDir terminates the test by calling Fatal.

this is much more robust and we don't need to care about remove things after the test

initial release

03 Jun 20:51
24c89e3
Compare
Choose a tag to compare

this linter searchs for os.MkdirTemp and ioutil.TempDir and suggests change to use t.TempDir

based on https://github.com/sivchari/tenv