Skip to content

Releases: com-lihaoyi/os-lib

0.11.5-M2

02 Mar 06:53
c9bcc93

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

Choose a tag to compare

Fix `destroyOnExit` default forwarding, make destroy recursive by def…

0.11.4

16 Feb 00:05

Choose a tag to compare

Merged Pull Requests since 0.11.3

New Contributors

Full Changelog: 0.11.3...0.11.4

0.11.4-M6

05 Feb 15:23
944e33f

Choose a tag to compare

Add literal syntax for `os.Path`, `os.SubPath`, `os.RelPath` (#353)

This PR allows

```scala
val p: os.Path = "/hello/world"
val s: os.SubPath = "hello/world"
val r: os.RelPath = "../hello/world"
```

This only allows string-literals that are valid
absolute/sub/relative-path respectively; passing in invalid paths (e.g.
`val p: os.Path = "hello/world"`) or non-literals (e.g. `val str =
"/hello/world"; val s: os.SubPath = str `) is a compile error


This builds upon @pawelsadlo's work in
https://github.com/com-lihaoyi/os-lib/pull/297, mostly using
`segmentsFromStringLiteralValidation` unchanged with some light pre/post
processing to trim the leading `/` off of absolute `os.Path`s and check
for leading `..`s on `os.SubPath`s

I'm going to declare bankruptcy on the Expecty issues, as we cannot
forever be working around bugs in unrelated libraries. If someone has
problems and wants to fix expecty, they can do so, and we don't need to
care. If nobody cares enough to fix expecty, we shouldn't care either.

0.11.4-M5

31 Jan 22:53
cf2e9a6

Choose a tag to compare

Revert "Fix empty folder missing problem when zip files. (#330)" (#350)

This reverts commit 90626dfd9f4371c8eb88ff794faefe7a841af90d.
Fixes #349

I've spent some time trying to do a fix forward but I don't have much
time on my hand.
Can we revert this in the meantime and @counter2015 can provide another
PR for the empty folder issue?

0.11.4-M4

08 Jan 01:45

Choose a tag to compare

add ignoreErrors to os.remove.all

0.11.4-M3

08 Dec 03:25
90626df

Choose a tag to compare

Fix empty folder missing problem when zip files. (#330)

Fix: #328

---------

Co-authored-by: Li Haoyi <[email protected]>

0.11.4-M2

23 Nov 02:19

Choose a tag to compare

0.11.4-M2

0.11.4-M1

27 Oct 06:25
18e1be6

Choose a tag to compare

Update publish-artifacts.yml

0.11.3

21 Oct 09:01

Choose a tag to compare

Merged Pull Requests since 0.11.2

  • Add flag to register shutdown hooks for os.call and os.spawn APIs, overhaul destroy APIs by @lihaoyi in #324

Full Changelog: 0.11.2...0.11.3