1.16.1 - 2026-04-02
- Fix memory leaks in
Structureand subclasses by converting lambda default values to static methods and usingweakref.proxyto prevent circular references - Fix
smbclient.shutil.copyfileto fallback to client-side copy when server-side SMB copy is not supported (STATUS_NOT_SUPPORTED) - Fix create context offset calculation when opening a file or directory
- Fix potential deadlock when worker thread attempts to disconnect and join itself
- Handle
ECONNABORTEDsocket error during connection teardown
What's Changed
- Fix create_context offset when opening a dir/file by @laxa in #338
- Fix Memory Leaks in Structure and Structure Subclasses by @PyWoody in #340
- Fix copyfile fallback when server-side SMB copy is unsupported by @K3N44N in #337
- Handle ECONNABORTED and avoid joining the current thread by @avivbrg in #323
New Contributors
- @laxa made their first contribution in #338
- @PyWoody made their first contribution in #340
- @K3N44N made their first contribution in #337
- @avivbrg made their first contribution in #323
Full Changelog: v1.16.0...v1.16.1