You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+97Lines changed: 97 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,98 @@
1
1
Change Log
2
2
==========
3
3
4
+
## Unreleased
5
+
6
+
* None yet.
7
+
8
+
9
+
## Version 3.15.0
10
+
11
+
_2025-07-01_
12
+
13
+
* Upgrade: [kotlinx-datetime 0.7.0-0.6.x-compat][datetime_0_7_0_compat]. The previous 3.14.0
14
+
release, `FakeFileSystem` broke binary-compatibility for calls to `FakeFileSystem()`. This
15
+
restores that compatibility.
16
+
17
+
* Breaking: Change `FakeFileSystem.clock` from a JVM field to a property. This avoids a crash
18
+
running Okio in a Gradle 8.x plugin. This change is not binary-compatible.
19
+
20
+
21
+
## Version 3.14.0
22
+
23
+
_2025-06-28_
24
+
25
+
* Upgrade: [kotlinx-datetime 0.7.0][datetime_0_7_0]. This impacts the `okio-fakefilesystem`
26
+
artifact only. This is a binary-incompatible backwards-incompatible change that cannot co-exist
27
+
with previous releases of `okio-fakefilesystem`! If you observe a `NoSuchMethodError` calling
28
+
`FakeFileSystem.init`, update the calling code to this release (or newer) and recompile. We don't
29
+
like imposing backwards-incompatible changes like this on you and do so regretfully.
30
+
31
+
32
+
## Version 3.13.0
33
+
34
+
_2025-06-13_
35
+
36
+
* New: `okio.Socket` interface. This is a first step towards low-level streaming networking support
37
+
for Kotlin/Multiplatform. This release provides two JVM-only implementations: `asOkioSocket()`
38
+
adapts a `java.net.Socket` to our new interface, and `inMemorySocketPair()` returns a pair of
39
+
mutually-connected sockets. We also anticipate that this interface will be a useful abstraction
40
+
for proxies and tunnels.
41
+
* New: In-development snapshots are now published to the [Central Portal Snapshots repository].
42
+
43
+
44
+
## Version 3.12.0
45
+
46
+
_2025-05-27_
47
+
48
+
* New: Support an optional end index when searching with `BufferedSource.indexOf()`.
49
+
* Fix: Don't do unnecessary work in `BufferedSource.rangeEquals()`.
50
+
* Upgrade: [Kotlin 2.1.21][kotlin_2_1_21].
51
+
52
+
53
+
## Version 3.11.0
54
+
55
+
_2025-04-09_
56
+
57
+
* Fix: Clear the deflater's byte array reference
58
+
* New: Faster implementation of `String.decodeHex()` on Kotlin/JS.
59
+
* New: Declare `EXACTLY_ONCE` execution for blocks like `Closeable.use {}` and `FileSystem.read {}`.
60
+
* Upgrade: [Kotlin 2.1.20][kotlin_2_1_20].
61
+
62
+
63
+
## Version 3.10.2
64
+
65
+
_2025-01-08_
66
+
67
+
* Fix: `okio-nodefilesystem` artifact is no longer empty.
68
+
69
+
70
+
## Version 3.10.1
71
+
72
+
_2025-01-07_
73
+
74
+
* New: `FileSystem.close()` may prevent future access and/or clean up associated resources depending on the backing implementation. `FakeFileSystem` will prevent future operations once closed.
75
+
*`InputStream`s created from `BufferedSource.inputStream()` now have a more efficient version of `InputStream.transferTo()` which reduces memory copies.
76
+
*`okio-nodefilesystem` is no longer publised as a JS project, but a Kotlin multiplatform project with only a JS target. ~This change should not affect consumers in any way, and is motivated by the Kotlin Gradle plugin deprecating the JS-only plugin.~ Please use 3.10.2 to ensure this change actually does not affect your builds.
77
+
78
+
79
+
## Version 3.10.0
80
+
81
+
_2025-01-06_
82
+
83
+
This version is equivalent to the subsequent 3.10.1, but it did not fully publish to Maven Central due to infrastructure problems.
84
+
85
+
86
+
## Version 3.9.1
87
+
88
+
_2024-09-12_
89
+
90
+
* Fix: Support paths containing a single dot (".") in `Path.relativeTo`.
91
+
* Fix: Do not read from the upstream source when a 0-byte read is requested.
92
+
* Fix: Update kotlinx.datetime to 0.6.0 to correct a Gradle module metadata problem with 0.5.0.
93
+
Note: this artifact is only used in 'okio-fakefilesystem' and 'okio-nodefilesystem' and not in the Okio core.
0 commit comments