Releases: pkg/sftp
v1.13.10 - maintenance release
We’ve made a bunch of little fixes here and there, and I imagine the tests alone could benefit from a proper release to various systems automations.
What's Changed
- Update crypto version to v0.35.0 sftp#625 by @kbutz in #626
- go.mod: set the minimum version to 1.23.0 as x/crypto by @drakkan in #628
- run go mod tidy by @drakkan in #629
- Fix SSH subsystemrequest usage by @puellanivis in #632
- Updating go packages by @Farokhcpu in #635
- add security policy by @drakkan in #637
- Fix typos in InMemHandler comments by @KleeKitz in #640
- Don't use LICENSE as a self-test sample file by @jas4711 in #638
- Accept '-' in usernames for ls self-test by @jas4711 in #639
New Contributors
- @kbutz made their first contribution in #626
- @Farokhcpu made their first contribution in #635
- @KleeKitz made their first contribution in #640
- @jas4711 made their first contribution in #638
Full Changelog: v1.13.9...v1.13.10
v1.13.9 - better Remove errors, short-circuit unsupported fsync, and ReadFull for readfrom
What's Changed
- Backport v2/Client.Remove and File.Sync by @puellanivis in #618
- perf: ensure full write buffer for *File.ReadFrom by @justfalter in #623
New Contributors
- @justfalter made their first contribution in #623
Full Changelog: v1.13.8...v1.13.9
v1.13.8 - readAt bug fix and drive enumeration for Windows
What's Changed
- Bump golang.org/x/crypto from 0.17.0 to 0.31.0 by @dependabot in #607
- server.go: "/" for windows by @powellnorma in #571
- Issue #609 - clarify what 'path contains a regular file' actually means by @puellanivis in #611
- fix: readAt() occasional hang in concurrent reads by @cloudsbit in #621
New Contributors
- @powellnorma made their first contribution in #571
- @cloudsbit made their first contribution in #621
Full Changelog: v1.13.7...v1.13.8
v1.13.7 - z/OS support
What's Changed
- Fix typo in request-interfaces.go by @Lilja in #558
- fix: remove ioutil and use io/os libraries by @urko-b in #560
- fix: sftp client hang when exit in sftp server example by @wwcd in #564
- Cancelable ReadDirContext by @ungerik in #565
- Bump golang.org/x/crypto from 0.1.0 to 0.17.0 by @dependabot in #568
- Rework client to prevent after-Close usage, and support perm at Open by @puellanivis in #574
- Add support for z/OS by @puellanivis in #580
- Add support for zos/s390x by @dustin-ward in #582
- add CloserListerAt by @drakkan in #577
- Add SetExtendedAttrs to Client by @peterverraedt in #583
- Add WithMaxTxPacket server option by @peterverraedt in #584
- update ReadFrom and ReadFromWithConcurrency docs by @emar-kar in #588
New Contributors
- @Lilja made their first contribution in #558
- @urko-b made their first contribution in #560
- @wwcd made their first contribution in #564
- @ungerik made their first contribution in #565
- @dependabot made their first contribution in #568
- @dustin-ward made their first contribution in #582
- @emar-kar made their first contribution in #588
Full Changelog: v1.13.6...v1.13.7
v1.13.6
[GH-499] writeToSequential: improve tests for write errors
[GH-513] More context for EOF during client setup
[GH-516] RealPathFileLister: allow to return an error
[GH-525] Document the weirdness of the reversal of arguments to SSH_FXP_SYMLINK
[GH-526] request server: handle relative symlinks
[GH-528] Add support for working directory in Server
[GH-533] CI: add CIFuzz integration
[GH-537] Stop ReadFromWithConcurrency sending more data than it needs to
[GH-545] refactor sshfx encoding, fix link rot, go fmt
[GH-553] Marshal extended attribute data if FileInfo supports it
[GH-554] Properly handle io.EOF error conditions when reading
v1.13.5
[GH-498] request server: add WithStartDirectory option
[GH-494] sequential writes: ensure to always return write errors, if any
[GH-492] PosixRename and Hardlink: convert remote paths to local paths
[GH-489] Fix missing io.EOF when concurency is disabled
[GH-485] Add File.ReadFrom test on a SectionReader
[GH-482] Sequentially issue write requests, process results concurrently
[GH-478] Translate EACCES to PERMISSION_DENIED
[GH-471] CI: run test cases also on 32-bit arch
Hotfix: 32-bit tests were failing
This release changes no actual non-test code. However, testing on 32-bit architectures was broken, and blocking a major linux distro’s progress as a result of overflows of untyped consts into implicit ints mostly when printing test failures.
v1.13.3
v1.13.2
v1.13.1
New features and bugfixes.
Request Server:
- [GH-437] Add support for a start directory
Client:
- [GH-439] Export a ReadFromWithConcurrency function that permits ensuring concurrency usage
- [GH-430] Add the internal SSH filexfer module
- [GH-435] Fix math overflows on 32-bit architectures
- [GH-436] Sequentially issue read requests, fixes several data loss issues
- add fuzzer support and fix some potential crashes
- other minor improvements and bugfixes