Skip to content

Releases: com-lihaoyi/os-lib

0.11.5-M10

25 Jun 00:44
6edd90e
Compare
Choose a tag to compare
Fixes to macOS watcher and ensuring that watch is set up before `os.w…

0.11.5-M9

24 May 19:41
bbe7948
Compare
Choose a tag to compare
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

09 May 04:49
641fbe6
Compare
Choose a tag to compare
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

07 May 11:32
5443f89
Compare
Choose a tag to compare
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

02 May 11:39
4993aa1
Compare
Choose a tag to compare
Make `os.list`, `os.walk`, `os.exists` trigger `Checker#onRead` (#385)

0.11.5-M5

19 Apr 00:54
57700dd
Compare
Choose a tag to compare
Add support for permissions and symlinks in os.zip/unzip with vendore…

0.11.3-M4

18 Apr 13:28
57700dd
Compare
Choose a tag to compare
0.11.3-M4 Pre-release
Pre-release

Caution: This release follows tag 0.11.5-M3, not 0.11.3-M3. Instead, you might want to use 0.11.5-M5.

0.11.5-M3

04 Mar 01:44
40bc124
Compare
Choose a tag to compare
Add hooks into serializing/constructing `os.Path`s and launching subp…

0.11.5-M2

02 Mar 06:53
c9bcc93
Compare
Choose a tag to compare
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

18 Feb 04:35
ff52a8b
Compare
Choose a tag to compare
Fix `destroyOnExit` default forwarding, make destroy recursive by def…