Releases: com-lihaoyi/os-lib
Releases · com-lihaoyi/os-lib
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…
0.11.5-M2
Make creating symlinks and hardlinks count as a read operation (#364) Although this might let you launder writes to files through the symlink, that can be something that the `onWrite` callback checks if necessary
0.11.5-M1
Fix `destroyOnExit` default forwarding, make destroy recursive by def…