Releases: com-lihaoyi/os-lib
Releases · com-lihaoyi/os-lib
0.11.4-M6
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
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
add ignoreErrors to os.remove.all
0.11.4-M3
Fix empty folder missing problem when zip files. (#330) Fix: #328 --------- Co-authored-by: Li Haoyi <[email protected]>
0.11.4-M2
0.11.4-M2
0.11.4-M1
Update publish-artifacts.yml
0.11.3
0.11.2
Merged Pull Requests
- Fixed typo on
Readme.adoc
by @windymelt in #322 - Use Files.newOutputStream instead of new java.io.FileOutputStream by @sake92 in #323
New Contributors
- @windymelt made their first contribution in #322
Full Changelog: 0.11.1...0.11.2
0.11.1
Merged Pull Requests
Full Changelog: 0.11.0...0.11.1
0.11.0
Merged Pull Requests
- Update acyclic to 0.3.13 by @scala-steward in #304
- Fix expecty macro by @pawelsadlo in #307
- Update jna to 5.15.0 by @scala-steward in #309
- Update acyclic to 0.3.15 by @scala-steward in #313
zip
andunzip
API by @lihaoyi in #317
Full Changelog: 0.10.7...0.11.0