CHANGES:
New features:
-
Windows paths support (@avsm @kentookura @talex5 @dra27 #913 #916).
Previously, anEio.Path.talways used POSIX-style paths, using/as the separator,
but this didn't work well on Windows, especially with absolute paths. -
Pre-connect socket options (@avsm @art-w @talex5 #875).
Eio.Net.connectnow has?bind_toand?optionsarguments for pre-connect configuration.
Allows an outbound socket to be configured before connect or listen. -
Add
Eio.Path.of_dir(@talex5 #919).
Just a convenience function.
Bug fixes:
-
Fix handling of empty paths when using
fsunconfined (@talex5 #907, reported by @samoht, reviewed by @avsm).Some path operations could end up using a path of "" which resulted in an error.
This was breakingPath.mkdirsif only the base directory already existed.
Code cleanups and performance: