Skip to content

Releases: ableinc/gohot

v1.0.1

Choose a tag to compare

@ableinc ableinc released this 28 Feb 01:17

What's New in v1.0.1

🎉 New Features

Environment File Support

  • Added --env_file / --env flag to load environment variables from a .env file
  • Supports standard .env format with KEY=VALUE syntax
  • Environment variables from file are loaded first, CLI --envs flags can override them
  • Validates that the specified env file exists before starting

📝 Configuration

Added new configuration option in gohot.yaml:

env_file: .env

📚 Documentation

  • Updated README for the new env_file option
  • Added usage examples showing both CLI and config file usage

🛠️ Developer Experience

  • Added comprehensive Makefile with targets for:
    • Building (dev, production, cross-platform)
    • Testing (unit tests, coverage, benchmarks)
    • Code quality (fmt, vet, lint)
    • Maintenance (clean, deps, version)
    • Development (run, watch with hot-reload)
  • Run make help for all available commands

Usage Example:

# Load environment variables from .env file
gohot --env_file .env

# Or use the short alias
gohot --env .env

# Combine with other options
gohot --env .env --envs "DEBUG=true"

v1.0.0

Choose a tag to compare

@ableinc ableinc released this 08 Nov 16:07

gohot version 1.0.0 officially released

  • Fixed bug where build flags were being passed to go run command
  • Fixed bug where args where being passed as command line arguments (naming was confusing) instead of being set as environment variables
  • Renamed Args to Envs to better reflect the expectation
  • All configuration items that can be multiples (Exts, Ignore, etc) are by default string slices, not comma delimited strings
  • Add new field called Cli which is used to pass command line arguments to the go binary (this is useful if your program takes arguments)

v0.1.6

Choose a tag to compare

@ableinc ableinc released this 07 Sep 15:16

v0.1.6 - Changelog

  • You can now pass go build flags (Note: -flags will be passed to both go build and go run. You must ensure these commands respect these flags
  • Bug fixes
    • The gohot.yaml file will not be loaded when fetching version or displaying --help menu
    • gohot would attempt to load the gohot.yaml when using the init command

v0.1.5

Choose a tag to compare

@ableinc ableinc released this 04 Sep 00:35

v01.1.5

  • Added args option to gohot yaml file and CLI. You can now pass Go friendly environment variables.
  • Minimum support changed to Go version 1.20

v0.1.4

Choose a tag to compare

@ableinc ableinc released this 21 Aug 15:00

Changes

  • Bug fixes
  • Removed verbose messages

v0.1.3

Choose a tag to compare

@ableinc ableinc released this 21 Aug 14:37

Changes

  • ignore: You can now ignore files and/or directories so gohot will not listen for changes
  • Performance improvements
  • Bug fixes

v0.1.2

Choose a tag to compare

@ableinc ableinc released this 23 May 22:18
  • Fixed bug with go install
  • Removed unnecessary files

v0.1.1

Choose a tag to compare

@ableinc ableinc released this 21 Apr 18:20

Added init command to create default gohot.yaml file.

v0.1.0

Choose a tag to compare

@ableinc ableinc released this 20 Apr 15:02
Add CI pipeline, sample test program and unit tests.