Skip to content

Releases: sheldonhull/magetools

v1.0.2

24 May 04:24
0a4368b
Compare
Choose a tag to compare

v1.0.2 - 2024-05-23

  • bug-fix: Trunk upgrade was set to install, not upgrade tooling, so now it does what it should have done in the first place... before the coder in question got in way and didn't use his noggin.
  • tests: Remove tests that were recursive in nature by early return from test.
  • refactor: Trunk package now supports installing for windows, via the newer trunk npm based install, while maintaining the bash install for linux/darwin.
    If the project has a package.json, then it will install as dev dependency, otherwise as a global tool.
    No logic to detect alternative tooling such as yarn, bun, deno, etc unless requested.
    While trunk also supports this method of installation for Darwin/Linux, I've opted to keep it the same as before and use the bash install method for those regardless if package.json is there or not.

v1.0.1

25 May 23:53
Compare
Choose a tag to compare

v1.0.1 - 2023-05-25

🎉 Feature

  • New package trunk for automation on trunk installation, upgrades, and setup.

🤖 CI & Build

  • Adjust changie to latest version with block input support and new cleaned up categories.

🐛 Bug Fix

  • Label on go:lint incorrectly stated gotestsum found. This is fixed.

🔨 Refactor

  • Adjust magetoolsutils output to be less verbose and output to debug when matching condition instead of Info level, as this has to be used in many functions and is noisy.
  • Improve ci.IsCI() to detect GitHub specifically, Gitlab, and then resolve CI=1 as generic CI instead.

⬆️ Dependencies

  • Various dependencies updated to latest versions.
    Reduced additional upstream dependency requirements.

v1.0.0

18 Oct 04:44
045d3a2
Compare
Choose a tag to compare

v1.0.0 - 2022-10-18

Breaking changes included.
Read the impact before upgrading, in case you are actually using one of these minimally imported packages.

If you are upgrading, this should be a very minor change in your magefiles set-up.

The removal of some packages to .examples has been made.
Some extra packages like gittools are better served by installing with a tool like aqua-proj, asdf-vm, or other.
This should cut down setup times by grabbing binaries and not installing from source each time.

If you want to keep things exactly as they are:

  • grab the mage directory that was removed (see .examples/ directory) and drop it into your magefiles directory.
  • Update your import in your main magefile.go from github.com/sheldonhull/magefile to yourrepo/magefile/{package} and then mage -f to force a rebuild and confirm it was found.
  • Run go mod tidy to cleanup and you should be good.

This project has saved me a lot of effort across many repos, so I'm doing some due diligece in cleaning up little-used and difficult to test code.

Docs

Removed

  • BREAKING CHANGE: Removed docker package, and placed in .examples.
  • BREAKING CHANGE: Removed licensing package, and placed in .examples.
  • BREAKING CHANGE: Removed retool package, and placed in .examples.
  • BREAKING CHANGE: Removed secrets package, and placed in .examples.
    This is better served by Trunk.io or pre-commit tooling, than using with mage.
  • BREAKING CHANGE: Removed gittools package and placed in .examples.
    This would be better served by using aqua-project.

v0.0.14

18 Oct 01:02
Compare
Choose a tag to compare

v0.0.14 - 2022-10-17

Changed

  • Disabled licensing module tests.
    It's too problematic with output when non-go code is found.
    This licensing module will likely be deprecated soon as well as better solutions out there with renovate, fossa, synk, and others.
  • Resolved devcontainer configuration breaking with newer devcontainer configuration.
    Also improved handling of arguments, loading, and aqua initialization.
    This is is primarily impactful to any devcontainer based development, and not significant to any usage of the library itself.

Deprecated

  • Licensing package (no uses noted on github), gittools, docker.devcontainer commands.
    These all are not used or minimal impact.
    Once removed I'll bump the main version of the magetools to allow for better upgrade path and avoid impacting any current uses.

Removed

  • Removed much of the tooling for toolist that is non-critical.
    Most tools now use self resolving binary install so that initialization is not required.
    For other gopls VSCode handles, and Aqua is a great way to also install with a much faster processing time as it doesn't install from source, but instead uses binary release downloads.

CI

  • Improve changelog release output.
  • Improve the testing to report codecoverage.

v0.0.13

14 Oct 00:59
59b8c6c
Compare
Choose a tag to compare

v0.0.13 - 2022-10-13

Added

  • Added static check to install setup.

Changed

  • Improved gotestsum with TESTSUM_FORMAT environment variable that can be used to adjust the execution type.
  • Bumped underlying mage to v1.14.0
  • Gotools package now checks for existence of a binary such as goreleaser or golangci-lint before trying to install via source.

v0.0.12 - Gotestsum fixes

05 Aug 22:07
Compare
Choose a tag to compare

Gotestsum now works correctly without error on junit-file.

Full Changelog: v0.0.11...v0.0.12

v0.0.11 - Improve CI Performance & Dependency Updates

05 Aug 21:51
Compare
Choose a tag to compare

What's Changed

  • feat(gotools): 🏎️ add ci check to avoid installing needless tools in ci context

Dependency Updates

  • fix(deps): update module github.com/magefile/mage to v1.13.0 by @renovate in #20
  • fix(deps): update module github.com/pterm/pterm to v0.12.44 by @renovate in #15
  • chore(deps): update module go to 1.18 by @renovate in #24
  • fix(deps): update module github.com/mfridman/tparse to v0.11.1 by @renovate in #23
  • chore(deps): update dependency mcr.microsoft.com/vscode/devcontainers/universal to v2 by @renovate in #21
  • chore(deps): update actions/checkout action to v3 by @renovate in #18
  • chore(deps): update actions/setup-go action to v3 by @renovate in #17
  • chore(deps): update goreleaser/goreleaser-action action to v3 by @renovate in #22
  • fix(deps): update module github.com/bitfield/script to v0.20.2 by @renovate in #19

Full Changelog: v0.0.10...v0.0.11

v0.0.10 - Precommit tasks

16 Apr 23:08
Compare
Choose a tag to compare

Full Changelog: v0.0.9...v0.0.10

Add pre-commit hook tasks to allow registering in initialization of a repo.

v0.0.9 - Gotestsum now works

26 Mar 00:01
Compare
Choose a tag to compare

Full Changelog: v0.0.8...v0.0.9

  • This tool is great for CI as it captures the output to artifacts for coverage and junit format.
  • Resolved the issues with it running by removing the quotes for the packages path, as this is a shell need not required in Go.

v.0.0.8 - Use latest tag instead of master for tool installs

03 Feb 22:23
Compare
Choose a tag to compare

Full Changelog: v0.0.7...v0.0.8

Ensure that latest is used, so tags will be correctly honored and provide more stability for tools like golangci-lint.