A tiny Kotlin multiplatform library that assists in saving and restoring objects to and from disk using kotlinx.coroutines, kotlinx.serialisation and kotlinx.io
New: FileSystem.SYSTEM can be used in source sets that target both Kotlin/Native and
Kotlin/JVM. Previously, we had this symbol in each source set but it wasn't available to
common source sets.
New: COpaquePointer.readByteString(...) creates a ByteString from a memory address.
New: Support InflaterSource, DeflaterSink, GzipSink, and GzipSource in Kotlin/Native.
New: Support openZip() on Kotlin/Native. One known bug in this implementation is that
FileMetadata.lastModifiedAtMillis() is interpreted as UTC and not the host machine's time zone.
New: Prefer NTFS timestamps in ZIP file systems' metadata. This avoids the time zone problems
of ZIP's built-in DOS timestamps, and the 2038 time bombs of ZIP's extended timestamps.
Fix: Don't leak file handles to opened JAR files open in FileSystem.RESOURCES.
Fix: Don't throw a NullPointerException if Closeable.use { ... } returns null.
Version 3.8.0
2024-02-09
New: TypedOptions works like Options, but it returns a T rather than an index.
Fix: Don't leave sinks open when there's a race in Pipe.fold().
New: FileSystem.SYSTEM can be used in source sets that target both Kotlin/Native and
Kotlin/JVM. Previously, we had this symbol in each source set but it wasn't available to
common source sets.
New: COpaquePointer.readByteString(...) creates a ByteString from a memory address.
New: Support InflaterSource, DeflaterSink, GzipSink, and GzipSource in Kotlin/Native.
New: Support openZip() on Kotlin/Native. One known bug in this implementation is that
FileMetadata.lastModifiedAtMillis() is interpreted as UTC and not the host machine's time zone.
New: Prefer NTFS timestamps in ZIP file systems' metadata. This avoids the time zone problems
of ZIP's built-in DOS timestamps, and the 2038 time bombs of ZIP's extended timestamps.
Fix: Don't leak file handles to opened JAR files open in FileSystem.RESOURCES.
Fix: Don't throw a NullPointerException if Closeable.use { ... } returns null.
Version 3.8.0
2024-02-09
New: TypedOptions works like Options, but it returns a T rather than an index.
Fix: Don't leave sinks open when there's a race in Pipe.fold().
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps
okio
from 3.7.0 to 3.9.0. Updatescom.squareup.okio:okio
from 3.7.0 to 3.9.0Changelog
Sourced from com.squareup.okio:okio's changelog.
Commits
d6c38c2
Prepare for release 3.9.0.eac869b
Create FileSystem.SYSTEM property in shared source set (#1455)fe6ac99
FixCloseable.use
NullPointerException
(#1453)940496a
Get ZipFileSystem to prefer NTFS timestamps when present (#1449)2c0d99e
Merge pull request #1451 from square/renovate/org.jetbrains.dokka-dokka-gradl...6c96879
Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.9.200b889e3
Update actions/setup-java action to v4.1.0 (#1446)eb0b918
Tag the language in code samples (#1445)20b83aa
Get openZip working on KotlinNative (#1439)3bcb813
Handle DOS dates in Kotlin/Multiplatform (#1438)Updates
com.squareup.okio:okio-nodefilesystem
from 3.7.0 to 3.9.0Changelog
Sourced from com.squareup.okio:okio-nodefilesystem's changelog.
Commits
d6c38c2
Prepare for release 3.9.0.eac869b
Create FileSystem.SYSTEM property in shared source set (#1455)fe6ac99
FixCloseable.use
NullPointerException
(#1453)940496a
Get ZipFileSystem to prefer NTFS timestamps when present (#1449)2c0d99e
Merge pull request #1451 from square/renovate/org.jetbrains.dokka-dokka-gradl...6c96879
Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.9.200b889e3
Update actions/setup-java action to v4.1.0 (#1446)eb0b918
Tag the language in code samples (#1445)20b83aa
Get openZip working on KotlinNative (#1439)3bcb813
Handle DOS dates in Kotlin/Multiplatform (#1438)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show