Skip to content

Releases: wteuber/git-status-tree

v3.4.0

08 Jul 10:32
Compare
Choose a tag to compare

Added

  • Default collapse setting configurable via git config --global status-tree.collapse <true|false>
  • GitHub Actions rake status badge in README

Changed

  • Updated README with improved example output for -ci command combination

v3.3.0

03 Jul 09:42
Compare
Choose a tag to compare

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

25 Jun 16:13
Compare
Choose a tag to compare

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

25 Jun 16:13
Compare
Choose a tag to compare

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
  • 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
  • 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

25 Jun 16:12
Compare
Choose a tag to compare

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 format
  • Gemfile.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

06 Feb 02:33
Compare
Choose a tag to compare

This version of of git-status-tree

  • Dropped support for ruby < 2.7
  • Replaced static code quality checker cane with rubocop
  • Replaced CI setup with travis CI with circleCI

v1.0.1

07 Oct 09:23
Compare
Choose a tag to compare

Fix Handle deleted+untracked files (#13)

v1.0.0

07 Oct 09:22
Compare
Choose a tag to compare

Initial version made available as gem (https://rubygems.org/gems/git-status-tree/versions/1.0.0)