Releases: com-lihaoyi/os-lib
Releases · com-lihaoyi/os-lib
0.11.6
Merged Pull Requests since 0.11.5
- chore: bump mill version to 1.0.6 by @hamzaremmal in #401
- Add
usingwhere it is needed by @hamzaremmal in #402 - Re-enable Scala Native (0.5.8); keep ZipOps JVM-only; split zip tests to JVM by @rishi-jat in #400
New Contributors
- @hamzaremmal made their first contribution in #401
- @rishi-jat made their first contribution in #400
Full Changelog: 0.11.5...0.11.6
0.11.5
Merged Pull Requests since 0.11.4
- Fix
destroyOnExitdefault forwarding, make destroy recursive by default by @lihaoyi in #359 - Make creating symlinks and hardlinks count as a read operation by @lihaoyi in #364
- Add hooks into serializing/constructing
os.Paths and launching subprocesses by @lihaoyi in #365 - Fixed typos in Readme.adoc by @jfernandrezj in #366
- Fix os.write.outputStream with perms for Scala 3 by @kiendang in #368
- Update acyclic to 0.3.18 by @scala-steward in #375
- Add isReadable, isWritable, isExecutable utilities by @sake92 in #376
- Support zipping empty directories by @kiendang in #369
- Add support for permissions and symlinks in os.zip/unzip with vendored zip source code from Apache Ant by @kiendang in #374
- Make
os.list,os.walk,os.existstriggerChecker#onReadby @lihaoyi in #385 - Improvements to
oslib.watchby @arturaz in #386 - Make sure unzipped directories are owner-executable by @kiendang in #387
- Unzipping contents before the enclosing directories by @kiendang in #388
- Reproduce and fix repeated watch-close failure on OS-X by @lihaoyi in #393
- Improve error messages in require()-s by @sake92 in #397
- Fixes to macOS watcher and ensuring that watch is set up before
os.watch()returns by @arturaz in #398 - Update to Mill 1.0.0 by @lihaoyi in #396
- Add
toURIandtoURLhelpers toos.Pathby @lihaoyi in #399
New Contributors
- @jfernandrezj made their first contribution in #366
- @arturaz made their first contribution in #386
Full Changelog: 0.11.4...0.11.5
0.11.5-M10
Fixes to macOS watcher and ensuring that watch is set up before `os.w…
0.11.5-M9
Reproduce and fix repeated watch-close failure on OS-X (#393)
Previously after ~100 iterations, the provided `test("openClose")` case
stops receiving events from OS-X. Presumably we must be leaking
something
Moving most of the relevant `CarbonApi()` calls into the `run` method so
they all run on the same thread seems to make the problem go away. We
still need one call running in constructor body for some reason, even if
it doesn't do anything, because otherwise the calls in the `run` method
seem to hang
The test case hangs on my macbook without this PR, passes with
0.11.5-M8
Unzipping contents before the enclosing directories (#388) to prevent crash in cases where directories is missing READ/EXECUTE permission Added a test that - creates a zip file with directories without READ/EXECUTE permissions - `os.unzip` everything successfully - re-adds READ and EXECUTE permissions to directories see my and @lefou's comments https://github.com/com-lihaoyi/os-lib/pull/387#issuecomment-2858290842 https://github.com/com-lihaoyi/mill/pull/5048#issuecomment-2858191145 Tested with the android test. Here is the permission fix at the call site (`AndroidApModule.scala`) https://github.com/com-lihaoyi/mill/compare/main...kiendang:mill:fix-android-classesjar-unzip#diff-49ebd9c68d1348785194e15a80d62f0845c26386e722d3f5d43429238bbf7616 @lihaoyi @vaslabs
0.11.5-M7
Improvements to `oslib.watch` (#386) - Remove extraneous `println`s in `WatchServiceWatcher` - Add `filter: os.Path => Boolean` parameter to `watch` - Correctly handle `OVERFLOW` events. - Bump scala versions to allow compilation on newer JDKs.
0.11.5-M6
Make `os.list`, `os.walk`, `os.exists` trigger `Checker#onRead` (#385)
0.11.5-M5
Add support for permissions and symlinks in os.zip/unzip with vendore…
0.11.3-M4
0.11.5-M3
Add hooks into serializing/constructing `os.Path`s and launching subp…