Releases: ahoy-cli/ahoy
Releases · ahoy-cli/ahoy
v2.5.0 - The Newish Financial Year Release
New features! ✨ ✨
- Multiple
.env
files support - You can now specify multiple environment files using array syntax, addressing #136. Files are loaded in order with later files overriding earlier ones. Thanks to @jackwrfuller for the initial implementation that was incorporated into this feature!
# Single env file (backwards compatible)
env: .env
# Multiple env files (new array syntax)
env:
- .env.base
- .env.local
- .env.override
# Command-level multiple env files
commands:
deploy:
env:
- .env.deploy
- .env.secrets
Bug fixes 🐛 👏
- Windows compatibility improvements - A big welcome back to original maintainer @frankcarey who fixed path handling and binary execution issues on Windows platforms. Thanks to Frank for identifying and helping resolve these Windows issues! 🙌
What's Changed
- Add comprehensive test coverage for multiple env files feature with 25+ unit and integration tests
- Implement
StringArray
type for flexible YAML parsing of both single strings and arrays - Maintain full backwards compatibility with existing
.ahoy.yml
files - Add graceful handling of non-existent env files (they are silently skipped)
- Support for comments and empty lines in env files
- Proper environment variable precedence: command-level overrides global, later files override earlier ones
Technical Details
The multiple env files feature uses a new StringArray
type that handles both the old single string format and the new array format in YAML. This ensures 100% backwards compatibility - existing .ahoy.yml
files will continue to work without any changes.
Full Changelog: v2.4.0...v2.5.0
v2.4.0
Bug fix 🐛 👏
- Use Environ() instead of Env by @jnsalsa in #140 - this prevents existing environment variables from all being cleared out when using then
env
option in your command file.
What's Changed
- chore: Update Dependabot config for v2 by @ocean in #134
- Linting and config updates by @ocean in #141
New Contributors
Full Changelog: v2.3.0...v2.4.0
v2.3.0 - The Christmas 2024 Release 🎄🎁
New features! ✨ ✨
- Add support for
.env
files in commands by @jackwrfuller in #126 - Add Oh-My-Zsh plugin by @jackwrfuller in #128
What's Changed
- chore: Remove outdated docs build tools by @ocean in #123
- Create FUNDING.yml by @ocean in #124
- Update Zsh completions and add Oh-My-Zsh plugin by @jackwrfuller in #128
- Fix broken installation command by @jackwrfuller in #127
- Linting corrections by @ocean in #131
- Move code to v2 directory as this is correct for v2 of a Go project by @ocean in #132
- Update README to add info about
.env
file support by @ocean in #133
New Contributors
- @jackwrfuller made their first contribution in #128
Full Changelog: v2.2.0...v2.3.0
v2.2.0
v2.1.1
2.0.2
2.0.2-alpha
Alpha release
This is an alpha release for testing if the problem in #100 has been fixed.
What's Changed
- docs: Update README by @ocean in #98
- fix!: [#4] Show overwrite warning for
ahoy init
by @ocean in #97 - chore: Realign binary naming & ldflags by @ocean in #99
- fix: Prevent
--
from being passed as argument to command (fix for #100) by @ocean in a562009
Full Changelog: 2.0.1...2.0.2-alpha
2.0.1
What's New 🚀
- There are now cross-compiled binaries for
amd64
andarm64
architecture for Linux, macOS and Windows.
Windows has only been minimally tested, so please report bugs if you find them. If you use WSL, use the Linux binary for your architecture. - The previous maintainer, @frankcarey, has not had much time to give to the project recently, so he has added 3 new maintainers on the project (#89) :
We welcome new feature requests, ideas, and issues, please search the list and get involved.
What's Changed 🛠️
🧰 Maintenance
- [meta] Correct capitalization, punctuation in readme. by @ElijahLynn in #60
- Trivial spelling fix by @arafalov in #63
- Fix Markdown formatting by @mlncn in #67
- Fix link to documentation documentation by @mlncn in #68
- Link to bash/zsh completion info in docs by @mlncn in #69
- Fixed typo of docker-compose in example by @msound in #66
- Updated index.md - linux ahoy v2 install example by @marji in #74
- Re-add logo by @acouch in #86
- Add cross-compiled binaries for Apple Silicon (
darwin/arm64
) and Linux ARM (linux/arm64
) by @ocean in #82 - Fix CircleCI job by @ocean, @AlexSkrypnyk in #94
- Update all Go modules by @ocean in #92
New Contributors 🥳
- @ElijahLynn made their first contribution in #60
- @arafalov made their first contribution in #63
- @mlncn made their first contribution in #67
- @msound made their first contribution in #66
- @marji made their first contribution in #74
- @acouch made their first contribution in #86
- @ocean made their first contribution in #82
- @AlexSkrypnyk made their first contribution #94
Full Changelog: 2.0.0...2.0.1
2.0.0
Prep release of 2.0.0 by updating the documentation.
2.0.0-beta1
Note: This version should be working well for use in production and is probably preferred to 1.x if you are just starting out.
Changes since 2.0.0-alpha3
- We have script to create x64 builds for Windows, OSX (Darwin), and Linux. These should end up being included in future releases.
- Adds a requirements check when building with
ahoy build
- Issue #51: Append a down arrow to command names when there are subcommands
- Issue #50: Cleans up many of the panics caused my incorrect .ahoy.yml syntax and now gives a warning.
- Updated homebrew installation instructions.
- Update our internal .ahoy.yml file to use $@ instead of {{args}}.