Releases: andreagrandi/logbasset
Releases · andreagrandi/logbasset
Release v0.4.8
Changelog
- fe81137 Bump actions/cache from 4 to 5
- 158a8da Bump actions/checkout from 5 to 6
- e03403c Bump actions/upload-artifact from 5 to 6
- 5874c54 Bump github.com/sirupsen/logrus from 1.9.3 to 1.9.4
- 07eb667 Bump version to v0.4.8
- 7f5b942 Fix gofmt formatting in errors_test.go and validation.go
- 937c634 Make logbasset agent-friendly for AI/LLM consumption
Release v0.4.7
Release v0.4.6
Release v0.4.5
Release v0.4.4
Changelog
- 1ae6fa9 Bump actions/setup-go from 5 to 6
- 285fdc6 Bump actions/upload-artifact from 4 to 5
- ae4a9d0 Bump github.com/spf13/cobra from 1.9.1 to 1.10.1
- b50c137 Bump github.com/spf13/viper from 1.20.1 to 1.21.0
- 6cbba1e Bump github.com/stretchr/testify from 1.11.0 to 1.11.1
- 43530ca Fix --token flag not being applied before validation
- 5ef8778 Release version 0.4.4
Release v0.4.3
Changelog
- a83898a Add dependabt configuration
- 0e18446 Add proper logging
- 40d0464 Bump actions/checkout from 4 to 5
- 84b06d8 Bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0
- d5e48a1 Bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0
- d31f2b5 Bump github.com/spf13/cobra from 1.8.0 to 1.9.1
- 1ddf0a7 Bump github.com/stretchr/testify from 1.10.0 to 1.11.0
- 1e8561a Bump version to 0.4.3
- 8788730 Fix completion command authentication requirement
- c818e03 Make the new release agent secondary
- bb81932 Ugrade Go version to 1.25
Release v0.4.2
Release v0.4.1
Fixed
- GoReleaser configuration: Fixed GoReleaser v2 compatibility by renaming
homebrewsection tobrews
This is a patch release to fix the GoReleaser configuration that was preventing the automated release build from completing successfully.
🤖 Generated with opencode
v0.4.0
v0.4.0 - Comprehensive Input Validation & Enhanced Testing
🎯 Added
- Comprehensive input validation system: Implemented robust validation for time formats, counts, buckets, and query syntax across all commands
- Validation package: New
internal/validationpackage with extensive validation functions and comprehensive test coverage - Enhanced CLI error handling: All commands now provide clear validation errors with helpful suggestions for resolution
- HTTP client interfaces for better testability and dependency injection
- Comprehensive unit tests across all packages with mock HTTP responses
MockHTTPClientandNewWithHTTPClient()constructor for testing
🔧 Changed
- Improved user experience: Commands now validate inputs before making API calls, providing immediate feedback for invalid parameters
- Standardized error handling: All validation errors use structured error types with consistent formatting and exit codes
- Enhanced flag handling: Input validation is consistently applied across all CLI commands with appropriate validation flags
- Client package coverage increased from 45.2% to 69.5%
- Output package coverage increased to 98.9% with comprehensive formatter tests
- Enhanced testing infrastructure with interface-based design patterns
🐛 Fixed
- Time format validation: Added support for relative time formats (24h, 1d, 30m), absolute dates, and time-only formats
- Range validation: Proper validation of count limits (1-5000), bucket limits (1-5000), and other numeric parameters
- Input sanitization: Query syntax validation prevents excessively long queries and validates column specifications
This release significantly improves the reliability and user experience of LogBasset by adding comprehensive input validation and enhancing the testing infrastructure.