Releases: kubernetes/git-sync
v4.4.2
v4.4.1
Minor bump with base-image update and small fixes
What's Changed
- update github.com/golang-jwt/jwt/v4 from v4.5.0 to v4.5.2 by @mcarbonneaux in #942
- Bump go and golangci-lint versions, fix lint by @thockin in #943
- added separator after ref to remove git reset --soft ambiguity by @AlanZhang2002 in #946
New Contributors
- @mcarbonneaux made their first contribution in #942
- @AlanZhang2002 made their first contribution in #946
Full Changelog: v4.4.0...v4.4.1
Available at: registry.k8s.io/git-sync/git-sync:v4.4.1
v4.4.0
v4.3.0
What's Changed
- Add docs on symlink and "the contract" by @thockin in #916
- fix: recover when there is unreleased lock file by @sdowell in #914
- Add support for GitHub app authentication by @risset in #878
New Contributors
Full Changelog: v4.2.4...v4.3.0
Available at: registry.k8s.io/git-sync/git-sync:v4.3.0
v4.2.4
What's Changed
- Support -? as an alias for --help by @thockin in #882
- Bump go to 1.22 by @thockin in #884
- Log cleanups by @thockin in #887
- Add curl to the image by @thockin in #888
- Clean up flag-related messages by @thockin in #883
- Add the idea of "env-flags" by @thockin in #886
New Contributors
- @rul made their first contribution in #892
- @VICIWUOHA made their first contribution in #904
Full Changelog: v4.2.3...v4.2.4
Available at: registry.k8s.io/git-sync/git-sync:v4.2.4
v4.2.3
What's Changed
- Base-image CVEs are resolved.
Full Changelog: v4.2.2...v4.2.3
Available at: registry.k8s.io/git-sync/git-sync:v4.2.3
v4.2.2
What's Changed
- Use bash instead of dash by @thockin in #866
- fix(auth): Fix ssh authentication by @yyvess in #868
- Bump base bookworm image to 1.0.2 by @dims in #871
New Contributors
- @jmichalek132 made their first contribution in #862
- @yyvess made their first contribution in #868
- @dims made their first contribution in #871
- @demoth made their first contribution in #870
Full Changelog: v4.2.1...v4.2.2
Available at: registry.k8s.io/git-sync/git-sync:v4.2.2
v4.2.1
What's Changed
- CVE fixes in base-image
Full Changelog: v4.2.0...v4.2.1
Available at: registry.k8s.io/git-sync/git-sync:v4.2.1
v4.2.0
Most important changes:
- Try not to log credentials
- Fix a bug with symlinks when --link is not under --root
- Change the inner loop to be even simpler
What's Changed
- Log less verbose flags in less verbose modes by @thockin in #837
- Update the v3-to-v4 doc to cover some changes that I missed by @thockin in #843
- Bug: links are relative to linkdir, not rootdir by @thockin in #848
- Simplify inner loop: just fetch $ref by @thockin in #845
- Bump actions/setup-go from 4 to 5 by @dependabot in #850
- Try not to log credentials in repo URL by @thockin in #852
- Bump to go 1.21 by @thockin in #858
- Add '-F none' to e2e git SSH command for weird environments by @thockin in #859
Full Changelog: v4.1.0...v4.2.0
Available at: registry.k8s.io/git-sync/git-sync:v4.2.0
v4.1.0
This is minor overall, but includes a couple flag changes which warranted bumping the minor version.
--ssh
is no longer needed (but still accepted)--credential
is new, to enable submodules with different usernames/passwords- Multiple SSH key are supported, to enable submodules with different keys
- Better logging (minor)
- Fix some corner cases for failure modes
Available at: registry.k8s.io/git-sync/git-sync:v4.1.0
What's Changed
- fix: Fix backward compatibility of environment variables with bool type by @phil-park in #798
- Add $GITSYNC_VERBOSE to set verbosity via env by @thockin in #805
- Support multiple SSH keys for use in submodules by @thockin in #802
- Print correct key on env-parse errors by @thockin in #812
- Set core.askPass config for better auth-fail error by @thockin in #815
- Deprecate --ssh - it's not really needed by @thockin in #822
- Document V4 regression on --change-permissions by @thockin in #809
- Add --credential flag for multiple username/password by @thockin in #803
- Fix errors when parsing --repo for logging by @thockin in #830
- fix: infinite bad loop caused by unexpected worktree directory removal by @bakome in #828
- Logging: log syncCount and be less scary by @thockin in #835
- Recover if wrong worktree HEAD by @thockin in #836
New Contributors
- @phil-park made their first contribution in #798
- @dependabot made their first contribution in #800
- @bakome made their first contribution in #828
Full Changelog: v4.0.0...v4.1.0