Releases: AlexNabokikh/tfsort
Releases · AlexNabokikh/tfsort
v0.7.1
v0.7.0
✨ Highlights / What's New?
- Support for Multiple Files & Directories: You can now pass multiple files and directories as arguments. This makes
tfsort
much easier to use with tools likepre-commit
. The--recursive
flag has been removed in favor of this more intuitive approach. - Improved Error Handling: The tool will now continue to process all files in the queue, even if one of them contains an error.
- Nix Installation Guide: The documentation now includes instructions for installing
tfsort
with the Nix package manager.
A special thank you to @nikolaik for their excellent contribution in pull request #67!
Changelog
v0.6.0
This release brings some great new features and improvements, particularly around sorting capabilities .
✨ Highlights / What's New?
- Sorting for Required Providers: You can now sort required providers within the
terraform
block, bringing more consistency to your configurations. - Enhanced Sorting for Locals: Improved sorting logic for
locals
blocks. - Updated Documentation: The documentation has been updated to reflect the new sorting capabilities, including a demo and information on sortable blocks.
Special thanks to @barnes-c for their valuable contributions to this release!
Changelog
- ca99c90 Merge pull request #60 from barnes-c/feat/sort-versions
- a69eb26 chore: bump deps
- bd9d1bb docs(readme): update sortable blocks
- 13c6a81 feat(docs): added demo
- 95c2c45 feat/sort-locals (#61)
- eb0179c feat: add sorting of required providers in terraform block
- 42be94c fix: add test for required_providers sort
- 1c96e59 fix: lint
v0.5.0
The minor release focuses on improving the user experience with a handy new flag, clearer error reporting, and updated documentation.
✨ Highlights / What's New?
- 🚩
--version
Flag Added: You can now easily check your installedtfsort
version using thetfsort --version
command. - 💬 Improved Error Messages: We've refined our error messages to be more descriptive and helpful, making troubleshooting smoother.
- 📖 README Updates: The documentation has been updated, including a refreshed flags section and improved text formatting for better readability.
- 🔧 Makefile Improvements: Behind-the-scenes enhancements to our Makefile for a more streamlined development process.
Thank you for your ongoing support and feedback!
Changelog
v0.4.0
🎉 tfsort 0.4.0 - The Big Rewrite! 🎉
This version is a significant rewrite from the ground up, focusing on robustness, and a much-improved user experience.
✨ Highlights / What's New?
- 🚀 Complete Rewrite with Native HCL Power:
tfsort
now leverages native HCL libraries. This means more accurate parsing, better handling of complex HCL structures, and a more reliable sorting mechanism for your Terraform configurations. - 📝 Comment Preservation: Your comments are safe! One of the most requested features,
tfsort
now intelligently preserves comments within yourvariable
andoutput
blocks during sorting. - 📂 Recursive Sorting: Introducing the
-r
or--recursive
flag! You can now sortvariable
andoutput
blocks in Terraform files across an entire directory and its subdirectories with a single command. - ቧ Piping & STDIN/STDOUT Support:
tfsort
now seamlessly integrates into your shell pipelines. You can pipe content directly intotfsort
for processing and receive the sorted output on STDOUT, perfect for scripting and automation. - 🏗️ Restructured & More Robust Logic: The internal architecture has been revamped for better maintainability and more predictable sorting behavior.
Thank you for your continued support and valuable feedback that drove these changes!
Changelog
- 443aba9 Merge pull request #52 from AlexNabokikh/rewrite
- f65d7bf Merge pull request #58 from AlexNabokikh/38-feature-request---recursive-option-to-sort-variables-and-outputs-files-recursively
- 17f9378 chore: addessed linter errors
- cdbadc5 chore: bumped go version to 1.24
- 9ec3f33 ci: updated go releaser settings
- e6d2941 ci: updated linter rules
- 253eada ci: updated release pipeline
- bb38c5a ci: use latest golangci version
- 21dee6c feat(#38): added recursive option
- ac4dc62 feat(#43): added piping stdout to tfsort
- 26c9ed8 feat: restructured code
- c76608f feat: rewrite using native hcl libraries
- 67a0cca feat: updated ci file
- 8a874e1 fix(deps): bumped deps
v0.3.0
Changelog
- 120cdb2 Merge pull request #46 from jamesgeddes/master
- 6fac43e Merge pull request #48 from jamesgeddes/master
- 36cebc0 feat: add OpenTofu compatibility
- d75964b fix(pipeline): add mono installation to resolve Chocolatey error in release workflow
- 6a022aa fix: amend tests to comply with existing, add gocognit and cyclop to linters.disable
v0.2.4
Changelog
- 383e3be Merge pull request #41 from AlexNabokikh/dependabot/go_modules/github.com/spf13/cobra-1.8.0
- ceb8fdd Merge pull request #44 from AlexNabokikh/dependabot/go_modules/github.com/spf13/cobra-1.8.1
- 5851b6a build(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0
- 143df40 build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1
- 4c62d9c chore(goreleaser): replace tap with repository
- c5a05c9 chore(goreleaser): set config file version
- 92c1a8d chore(lint): apply latest changes to the linter config
- eb70428 fix(lint): disabled depguard linter
- 7b2fddf fix(lint): linter issues
v0.2.3
v0.2.2
Changelog
- d71b10a ci: added codeclimate coverage report (#18)
- 8e82700 ci: applied chocolatey release fixes (#17)
- 0a80b6b ci: applying ci fixes (#19)
- 45a69df ci: improved testing job and added linting job (#25)
- 72e51bd docs(README.md): added contents
- 6613e8d fix: added function comment (#24)
- 1ede23b fix: block inadvertently deleted (#29)
- 28b4f9d fix: fixed unconventional code comments (#23)