Skip to content

Releases: foxygoat/s

Release v0.0.42

02 Jan 07:53
Compare
Choose a tag to compare

✨ deps: bump anothrNick/github-tag-action from 1.30.0 to 1.33.0 (#42)

Bumps anothrNick/github-tag-action from 1.30.0 to 1.33.0.

  • Change --sort to use refname, merge from master
  • Change branch context to use same sort as repo context
  • Updating documentation for prerelease versions
  • Moving NPM installation to dockerfile
  • Optional "verbose" tag

This merges the following commits:

  • deps: bump anothrNick/github-tag-action from 1.30.0 to 1.33.0

    .github/workflows/version.yaml | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

Pull-Request: #42

Release v0.0.41

02 Jan 07:49
Compare
Choose a tag to compare

🤖 deps: bump github.com/alecthomas/kong from 0.2.11 to 0.2.12 (#43)

Bumps github.com/alecthomas/kong from 0.2.11 to 0.2.12.

  • Ensure values aren't nil before decoding.
  • Fix return err for PrintUsage
  • Actually test filename.
  • Add NamedFileContentFlag.
  • Revert UsageOnMissing.
  • Fix README again.
  • Unbreak README.
  • Call Validate() functions on nodes if present.
  • Do not run parent node on missing child err with usageOnMissing option
  • Refactor k.FatalIfErrorf to use k.Fatalf
  • ...

This merges the following commits:

  • deps: bump github.com/alecthomas/kong from 0.2.11 to 0.2.12

    go.mod | 2 +-
    go.sum | 4 ++--
    2 files changed, 3 insertions(+), 3 deletions(-)

Pull-Request: #43

Release v0.0.40

02 Jan 07:45
Compare
Choose a tag to compare

✨ github: Unpin setup-go version, just use "v2" (#44)

Change the version of the setup-go action to v2 from v2.1.2. Later
versions fix problems and we want those fixes automatically. In this
case, GitHub has disables the set-env and add-path commands which
v2.1.2 used. We need a newer version. Rather than bumping to a new point
release, just use "v2". (my personal preference is for reproducible
builds, so we used a specific version, but that is not really necessary
as we can reproduce a build manually).

This merges the following commits:

  • github: Unpin setup-go version, just use "v2"

    .github/workflows/ci.yaml | 2 +-
    .github/workflows/version.yaml | 2 +-
    2 files changed, 2 insertions(+), 2 deletions(-)

Pull-Request: #44

Release v0.0.39

08 Oct 02:36
Compare
Choose a tag to compare

🤯 Revert "errs: Add Ignore function" (#40)

The errs.Ignore function did not end up working the way we wanted it to,
as lint could no longer tell that Close was being called on
Request.Body since the Close function was passed by value to be
executed anonymously.

Since the main purpose was to have code that documented explicitly that
we were ignoring errors and not have lint warnings, and that did not
work, there is no purpose to this code any more.

This reverts commit 1ed685a.

This merges the following commits:

  • Revert "errs: Add Ignore function"

    errs/ignore.go | 9 ---------
    errs/ignore_test.go | 18 ------------------
    2 files changed, 27 deletions(-)

Pull-Request: #40

Release v0.0.38

08 Oct 02:15
Compare
Choose a tag to compare

🤖 Merge anothrNick/github-tag-action 1.30.0 (#39)

Bumps anothrNick/github-tag-action from 1.26.0 to 1.30.0.

  • deps: bump anothrNick/github-tag-action from 1.26.0 to 1.30.0

.github/workflows/version.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Release v0.0.37

28 Sep 10:13
Compare
Choose a tag to compare

🧪 Merge test.ReadJSON (#38)

Add ReadJSON from file test utility function that fails the test
immediately if the file cannot be read or parsed into the provided data
structure.

   cfg := Config{}
   test.ReadJSON(t, "testdata/config.json", &cfg)
  • test: Add ReadJSON from file test utility

test/json.go | 28 ++++++++++++++++++++++++++++
test/json_test.go | 45 +++++++++++++++++++++++++++++++++++++++++++++
test/testdata/invalid.json | 1 +
test/testdata/profile.json | 4 ++++
4 files changed, 78 insertions(+)

Release v0.0.36

28 Sep 06:59
Compare
Choose a tag to compare

🦍 Merge kongx (#37)

Add kongx package extending flag parsing with
github.com/alecthomas/kong. Initially only add a kong.MapperFunc for
decoding JSON files into struct fields.

  • kongx: Add kongx package

go.mod | 1 +
go.sum | 12 ++++++++----
kongx/kongx.go | 37 ++++++++++++++++++++++++++++++++++++
kongx/kongx_test.go | 47 ++++++++++++++++++++++++++++++++++++++++++++++
kongx/testdata/sample.json | 4 ++++
5 files changed, 97 insertions(+), 4 deletions(-)

Release v0.0.35

28 Sep 06:48
Compare
Choose a tag to compare

💥 Merge errs ignore (#36)

Add Ignore error function to be used with defer. Ignore executes nullary
input function f and ignores its error return value. A typical use case
is ignoring errors in the defer statements:

defer errs.Ignore(body.Close)
  • errs: Add Ignore function

errs/ignore.go | 9 +++++++++
errs/ignore_test.go | 18 ++++++++++++++++++
2 files changed, 27 insertions(+)

Release v0.0.34

22 Sep 08:51
Compare
Choose a tag to compare

🛁 Tidy up godocs and Makefile (#35)

Reword some of the godocs a little bit to try to make it clearer.

Fix up some small Makefile style issues.

This merges the following commits:

  • Tidy up the Makefile a little

  • httpe: Tidy up godoc comments

  • errs: Tidy up godoc comments

    Makefile | 14 +++++++-------
    errs/errs.go | 10 +++++-----
    httpe/err.go | 19 ++++++++++++++-----
    httpe/httpe.go | 23 ++++++++++++-----------
    httpe/method.go | 35 ++++++++++++++++++++++++++---------
    5 files changed, 64 insertions(+), 37 deletions(-)

Pull-Request: #35

Release v0.0.33

03 Sep 11:48
Compare
Choose a tag to compare

🤖 Merge anothrNick/github-tag-action 1.26.0 (#34)

Bumps anothrNick/github-tag-action from 1.23.0 to 1.26.0.