Releases: equationzhao/g
Releases · equationzhao/g
Release list
v0.31.2
v0.31.2 Release Notes
New Features
-tflag for time-based sorting — Added-tas a shorthand flag to sort by modification time, complementing the existing--sort=timeoption 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 typedParentPath/Levelfields onFileInfo, 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
-fflag 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 fixcleanup (#274) — Rango fixto update deprecated API usage- Dependency bump (#287) —
github.com/buger/jsonparser1.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
What's Changed
feat/refactor
- feat: improve size formatting for byte/bit by @equationzhao in #239
- feat: reduce the binary size by @equationzhao in #246
- feat: Add strftime format support to --after flag for consistent time parsing by @copilot-swe-agent in #251
- refactor: remove --detect-size option and simplify setLimit function by @equationzhao in #254
- refactor: remove go-git dependency and related functions by @equationzhao in #240
- build: Add optional build tags to reduce binary size by @copilot-swe-agent in #253
- deps: update dependencies to latest versions by @equationzhao in #242
enhancement
- docs: fix typos by @kianmeng in #235
- chore: mark scripts as deprecated and remove tests directory by @equationzhao in #238
New Contributors
- @copilot-swe-agent made their first contribution in #251
Full Changelog: v0.30.0...v0.31.0
v0.30.0
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
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
v0.29.0
What's Changed
- feat: ✨ support listing file flags by @equationzhao in #190
- feat: ⚗️ try loong64 by @equationzhao in #191
- feat: ✨ refactor separateArgs function by @equationzhao in #197
Full Changelog: v0.28.2...v0.29.0
v0.28.2
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
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
What's Changed
- test: ✅ add ut by @equationzhao
- refactor: ♻️ refactor with afero by @equationzhao
- feat(printer): ✨ optimize printRow function to adjust column spacing by @equationzhao in #186
Full Changelog: v0.27.0...v0.28.0
v0.27.0
What's Changed
feat
- feat: ✨ support si unit by @equationzhao in #180
style
- style: 💄 add new style by @equationzhao in #181
- style: 💄 add new style by @equationzhao in #182
fix
- fix: 🐛 fix output when using --bug by @equationzhao in #176
deps
- build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by @dependabot in #178
- build(deps): ⬆️ bump dependencies by @equationzhao in #179
Full Changelog: v0.26.0...v0.27.0