Skip to content

v1.0.52

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Nov 06:42
· 2 commits to master since this release

Changelog

  • 19d8c77 chore(deps): upgrade zlsgo to v1.7.22 and go 1.25
  • f7ec4b2 chore(lnk): remove commented-out code referencing removed processedFiles
  • 248e13d ci: modernize release checks and remove startup blocking
  • 55fd4e9 fix(cmd): refresh version check time only after a successful response
  • deb3c99 fix(lnk): auto set upstream on first push when branch has no upstream
  • a79b4a3 fix(lnk): detect missing upstream via rev-parse instead of locale-dependent output matching
  • 4157f7b fix(lnk): resolve relative symlink targets against link directory in ValidateRepository and RestoreSymlinks; add fs.ReadResolvedSymlink helper
  • 7516c9f fix(lnk): resolve relative symlink targets against link directory in status check
  • 0cdf3cd fix(stress): avoid Inf avgRPS when all requests complete instantly
  • c85f5d7 fix(stress): use correct follow-redirects flag name
  • b0ce1fe fix(util): avoid printing warning when home dir is empty
  • e195b25 fix(watch): emit Create/Remove events for new and deleted files in poller
  • f692333 fix(watch): resolve relative paths before symlink check in arrIncludeDirs
  • 405d7c3 fix(watch): 完善文件事件处理与配置查找
  • d5a881d fix: guard malformed config and version inputs
  • 6a29dca refactor(lnk): split 2124-line lnk.go into tracking/add/remove/list/sync files; warn when home dir unavailable
  • 9e1bfa2 refactor(more): use zfile.CopyFile/ExecutablePath instead of shelling out to cp; drop unused util.ExecCommand
  • 932056b refactor(util): unify OS alias table as single source for judge/OSCommand; derive test assertions from it
  • fca8e57 refactor: fix staticcheck findings (SA4006/SA4010/S1011/S1020), remove all U1000 dead code, lowercase error strings
  • 959126e refactor: replace deprecated ioutil/rand.Seed, drop go-homedir, remove dead hideFile
  • 4b23c76 style: format go files
  • 6ca5908 test(lnk): cover path helpers (expandPath/normalizeFilePath/toTrackingPath/getRepoFilePath/getRelativePathInRepo/getHostDir)
  • 45df676 test(lnk): use outside-home temp dir for force-remove tests
  • 065305f test(static): resolve LICENSE path from working directory
  • 946632e test(util): add unit tests for OSCommand/judge/GetLineDujt/GetHome etc; unify SetLimit signature to int
  • bc002d1 test(util): fix linux assertions in TestOSCommand; make SetLimit test side-effect free; guard negative limit