Skip to content

v3.2.0

Choose a tag to compare

@snonux snonux released this 12 Jul 10:48
· 540 commits to master since this release

Release v3.2.0

Looking at the commit history and code changes, I'll generate professional release notes for DTail v3.2.0:

Release Notes

This release represents a significant simplification and refinement of DTail, focusing on its core strengths as a distributed log streaming and analysis tool. We've removed complexity around background command execution to deliver a more focused, reliable experience for log monitoring and analysis across distributed systems.

🚨 Breaking Changes

  • Removed drun command: The background command execution functionality has been completely removed to focus DTail on its core log streaming capabilities
  • Simplified command interface: Commands now use a cleaner syntax with embedded options

✨ New Features

Enhanced Query Operations

  • New string matching operations: Added hasprefix, nhasprefix, hassuffix, and nhassuffix operations for more precise log filtering
  • Alternative syntax support: Added ncontains as an alias for lacks operation for better usability

Quiet Mode

  • New --quiet flag: Reduces output verbosity across all DTail commands (dtail, dcat, dgrep, dmap)
  • Improved signal handling: Enhanced interrupt handling with cleaner status reporting

🔧 Improvements

Performance & Reliability

  • Optimized connection handling: Improved SSH connection management and throttling
  • Better error handling: More robust error reporting and recovery mechanisms
  • Reduced retry attempts: Streamlined file reading with more efficient retry logic (10 attempts for tail mode, 1 for cat/grep)

Developer Experience

  • Optional Linux ACL support: ACL support now requires explicit compilation flag (USE_ACL=yes) for better portability
  • Enhanced logging: Improved debug output and cleaner log message formatting
  • Docker development support: Added containerized development environment for easier testing

Code Quality

  • Significant refactoring: Removed over 1,000 lines of complex background execution code
  • Cleaner architecture: Simplified internal APIs and removed unused components
  • Better separation of concerns: Improved modularity between client and server components

🐛 Bug Fixes

  • Fixed protocol handling: Resolved issues with message parsing and command execution
  • Improved quiet mode: Fixed client-side logging behavior in quiet mode
  • Enhanced file permissions: Better handling of file access permissions and error reporting

📦 Internal Changes

  • Updated dependencies: Refreshed Go module dependencies for better security and performance
  • Simplified build process: Streamlined compilation with optional ACL support
  • Enhanced documentation: Added comprehensive license documentation and development guides

🔄 Migration Guide

If you were using the drun command for background execution:

  • This functionality has been removed in favor of focusing on DTail's core log streaming capabilities
  • Consider using standard Unix tools or job schedulers for command execution needs
  • DTail now exclusively focuses on distributed log tailing, searching, and analysis

💡 What's Next

This release positions DTail as a more focused, reliable tool for distributed log analysis. Future releases will continue to enhance the core log streaming and MapReduce capabilities while maintaining this simplified, robust foundation.