Releases: andreagrandi/logbasset
Releases · andreagrandi/logbasset
Release v0.4.2
Release v0.4.1
Fixed
- GoReleaser configuration: Fixed GoReleaser v2 compatibility by renaming
homebrew
section 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/validation
package 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
MockHTTPClient
andNewWithHTTPClient()
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.
Release v0.3.0
Release v0.2.1
Release v0.1.5
Release v0.1.4
Release v0.1.3
Release v0.1.2
Changelog
- 6a137a5 Add CHANGELOG.md
- 4fd5833 Add brews section in .goreleaser.yaml
- 1e5b3c0 Add disclaimer
- 57c3316 All Go versions bumped to 1.24.x
- cb54bc3 Fix CI indentation
- f046880 Hopefully fix .goreleaser.yaml
- 52004a9 Only one type of package per platform
- 9da70b2 Prepare for release 0.1.1
- 564438b Prepare for release 0.1.2
- 5a9f613 Update config