Skip to content

Releases: equationzhao/g

v0.31.2

Choose a tag to compare

@equationzhao equationzhao released this 23 Mar 02:45
d9b2bf2

v0.31.2 Release Notes

New Features

  • -t flag for time-based sorting — Added -t as a shorthand flag to sort by modification time, complementing the existing --sort=time option for a quicker workflow

Performance Improvements

  • Iterative tree traversal (#272) — Replaced recursive directory tree traversal with an explicit stack-based iterative DFS, significantly reducing memory pressure and goroutine count in deep directory trees. Also refactored TreeBuilder/TreePrinter, added typed ParentPath/Level fields on FileInfo, and added unit tests
  • Adaptive batch processing strategy — Introduced intelligent strategy selection for directory processing:
    • Directories with < 50 files: uses traditional approach to avoid optimization overhead
    • Directories with ≥ 50 files: uses batch file processing for better throughput
    • JSON output: always uses traditional processing to prevent ~24% performance regression

Bug Fixes

  • fish shell path completion (#267) — Removed the -f flag from fish completions to fix broken path auto-completion in fish shell
  • Lint violations (#280) — Fixed remaining lint warnings across benchmarks, printers, and content helpers

Maintenance

  • Go 1.24.1 upgrade (#279) — Updated CI workflows and docs to use Go 1.24.1
  • go fix cleanup (#274) — Ran go fix to update deprecated API usage
  • Dependency bump (#287) — github.com/buger/jsonparser 1.1.1 → 1.1.2
  • Release workflow fixes (#286, #288) — Fixed dirty-file check failures and non-deterministic man page generation; release process now uses PRs for consistency

Full Changelog: v0.31.0...v0.31.2

v0.31.0

Choose a tag to compare

@equationzhao equationzhao released this 04 Jul 23:21
f5d625a

What's Changed

feat/refactor

enhancement

New Contributors

Full Changelog: v0.30.0...v0.31.0

v0.30.0

Choose a tag to compare

@equationzhao equationzhao released this 13 Mar 07:11
207d586

What's Changed

feat

  • feat(theme): add new styles for additional file types
  • feat: add more strftime format support for time formatting

fix

  • fix(osbased): fix isAlias function to check for macOS alias files
  • fix(cli): update time format for better readability
  • fix: fix duplicate detection
  • fix: update time formatting to use new timefmt-go package

chore

  • perf: remove ants pool and use goroutine
  • build(deps): bump golang.org/x/net from 0.35.0 to 0.36.0

Full Changelog: v0.29.2...v0.30.0

v0.29.2

Choose a tag to compare

@equationzhao equationzhao released this 20 Feb 15:51
c542737

What's Changed

  • feat(theme): update icons for bash and zsh config files
  • feat(macOS): add support for resolving macOS aliases
  • build: Update dependencies, tests, and scripts
  • style: format with gofumpt --extra rule

New Contributors

Full Changelog: v0.29.1...v0.29.2

v0.29.1

Choose a tag to compare

@equationzhao equationzhao released this 12 Feb 07:12
e1ab110

What's Changed

  • build with go1.24.0

Full Changelog: v0.29.0...v0.29.1

v0.29.0

Choose a tag to compare

@equationzhao equationzhao released this 26 Jul 09:56
a059a1b

What's Changed

Full Changelog: v0.28.2...v0.29.0

v0.28.2

Choose a tag to compare

@equationzhao equationzhao released this 01 Jun 14:40
5ac417f

What's Changed

feat(printer): ✨ optimize terminal width
fix: 🐛 fix potential panic
build(deps): ⬆️ bump dependencies

Full Changelog: v0.28.1...v0.28.2

v0.28.1

Choose a tag to compare

@equationzhao equationzhao released this 01 Jun 09:01
1ea62dd

What's Changed

  • feat: ✨ support reading from stdin
  • feat: ✨ improve readability of help message

Full Changelog: v0.28.0...v0.28.1

v0.28.0

Choose a tag to compare

@equationzhao equationzhao released this 30 May 19:29
644eed6

What's Changed

Full Changelog: v0.27.0...v0.28.0

v0.27.0

Choose a tag to compare

@equationzhao equationzhao released this 10 May 09:56
ac033be

What's Changed

feat

style

fix

deps

Full Changelog: v0.26.0...v0.27.0