Skip to content

Releases: com-lihaoyi/os-lib

0.11.6

27 Oct 07:12

Choose a tag to compare

Merged Pull Requests since 0.11.5

New Contributors

Full Changelog: 0.11.5...0.11.6

0.11.5

31 Jul 06:04

Choose a tag to compare

Merged Pull Requests since 0.11.4

  • Fix destroyOnExit default 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.exists trigger Checker#onRead by @lihaoyi in #385
  • Improvements to oslib.watch by @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 toURI and toURL helpers to os.Path by @lihaoyi in #399

New Contributors

Full Changelog: 0.11.4...0.11.5

0.11.5-M10

25 Jun 00:44
6edd90e

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

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

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

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

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

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

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

Choose a tag to compare

Add hooks into serializing/constructing `os.Path`s and launching subp…