Skip to content

v1.1.0

Latest

Choose a tag to compare

@hoangtrung99 hoangtrung99 released this 07 Feb 18:08
· 1 commit to main since this release

What's New

Features

  • Lazygit integration - Press G (Shift+G) in the git panel to open lazygit directly from dotsync

Bug Fixes (18 bugs resolved)

Critical

  • Fix duplicate commit on QuickSync (backup + sync path committed separately)
  • Fix hash update reversed for push+commit action
  • Fix filepath.SplitList misuse in ListMachineFiles (was splitting PATH env separators instead of path components)
  • Fix DetectionResult.Summary() using filepath.Join for string formatting

High

  • Fix AddAll() silently swallowing errors in fallback path

Medium

  • Fix UpdateSyncState using wrong key (filepath.Base instead of file.RelPath)
  • Fix missing nil checks in PushWithUpstream, Stash, StashPop
  • Fix git errors silently ignored in handlePushAndCommit
  • Fix status message incorrect after push+commit (showed "press g to commit" when already committed)
  • Fix pull confirmation showing misleading "Pull Only" option (pull always backs up)
  • Fix index out of range potential in getLocalConfigPath

Low

  • Fix CommitAmend missing error output detail
  • Fix Log() using anti-pattern fmt.Errorf("done") instead of storer.ErrStop
  • Fix missing screen transition in handlePushAndCommit
  • Fix renderHeader() creating git.NewRepo every frame render (performance)
  • Fix git panel not initialized with repo on startup (branch not shown in header)
  • Remove redefined max/min functions (use Go 1.21+ built-in)

Other

  • Fix directory structure preservation in backup paths

Full Changelog: v1.0.0...v1.1.0