Releases: wteuber/git-status-tree
Releases · wteuber/git-status-tree
v3.4.0
v3.3.0
Added
- Directory collapsing feature with
-c, --collapse
option- Collapses consecutive single-child directories into a single line
- Improves readability for deeply nested structures like Java packages
- Example:
domains/foo/bar/module/Service.java
instead of separate lines
Fixed
- Fixed indentation alignment issue when using custom indent values
- Tree drawing characters now properly align with specified indentation
Changed
- Refactored
Node#pre_tree
method to reduce complexity - Converted multiple methods to Ruby 3.0+ shorthand notation for cleaner code
v3.2.0
Added
- Command-line option
-i, --indent INDENT
to set custom indentation (2-10 spaces) - Parameter support for git alias -
git tree
now accepts all command-line options - VERSION file now included in gem package to fix version display when installed
Changed
- Updated
git_add_alias_tree
script to properly pass parameters to git-status-tree
Fixed
- Fixed
git tree -v
showing "unknown" instead of the actual version number
v3.1.0
Added
- Proper support for renamed/moved files in git status
- Same directory renames show as:
file.rb -> new_file.rb (R+)
- Cross-directory moves show full destination path:
file.rb -> lib/file.rb (R+)
- Maintains correct tree structure showing original file location
- Same directory renames show as:
- RuboCop code style checks integrated into test suite
- SimpleCov code coverage analysis
- Coverage reports generated in
coverage/
directory - HTML and JSON format coverage reports
- Tests fail if coverage drops
- Can be disabled with
COVERAGE=false
environment variable
- Coverage reports generated in
- Comprehensive test coverage for GitStatusTree class
- Test coverage for Node status methods (modified?, added?, etc.)
- Test coverage for NodesCollection comparison and validation methods
- Code coverage improved from 87.73% to 100%
Fixed
- Fixed incorrect tree display for renamed files that previously showed duplicated path structure (#15)
v3.0.0
Added
- Version flag support (
--version
,-v
) to display the current version - Help flag support (
--help
,-h
) to display usage information - Comprehensive test coverage for version and command-line functionality
lib/version.rb
for centralized version management- RuboCop documentation in README development section
CHANGELOG.md
following Keep a Changelog formatGemfile.lock
to version control for consistent dependency versions
Changed
- BREAKING: Ruby version requirement updated to 3.3.1 in
.ruby-version
- BREAKING: Minimum Ruby version in gemspec raised from 2.7 to 3.3
- Updated
git-status-tree.gemspec
to dynamically read version from VERSION file - Fixed all RuboCop offenses for code style compliance
Removed
.gitignore
file (was only excluding Gemfile.lock, now tracking dependencies)
v2.0.0
This version of of git-status-tree
- Dropped support for ruby < 2.7
- Replaced static code quality checker
cane
withrubocop
- Replaced CI setup with
travis CI
withcircleCI
v1.0.1
v1.0.0
Initial version made available as gem (https://rubygems.org/gems/git-status-tree/versions/1.0.0)