1
1
Change Log
2
2
==========
3
3
4
+ ## Version 3.1.0
5
+
6
+ _ 2021-04-19_
7
+
8
+ * Upgrade: [ Kotlin 1.6.20] [ kotlin_1_6_20 ] .
9
+ * New: Support [ Hierarchical project structure] [ hierarchical_projects ] . If you're using Okio in a
10
+ multiplatform project please upgrade your project to Kotlin 1.6.20 (or newer) to take advantage
11
+ of this. With hierarchical projects it's easier to use properties like ` FileSystem.SYSTEM ` that
12
+ are available on most Okio platforms but not all of them.
13
+ * New: ` ForwardingSource ` is now available on all platforms.
14
+ * New: The ` watchosX64 ` platform is now supported.
15
+ * Fix: Don't crash in `NSData.toByteString()' when the input is empty.
16
+ * Fix: Support empty ZIP files in ` FileSystem.openZip() ` .
17
+ * Fix: Throw in ` canonicalize() ` of ZIP file systems if the path doesn't exist.
18
+ * Fix: Don't require ZIP files start with a local file header.
19
+ * New: ` okio.ProtocolException ` is a new exception type for multiplatform users. (It is aliased to
20
+ ` java.net.ProtocolException ` on JVM platforms).
21
+
22
+
4
23
## Version 3.0.0
5
24
6
25
_ 2021-10-28_
@@ -772,9 +791,11 @@ _2014-04-08_
772
791
[ bom ] : https://docs.gradle.org/6.2/userguide/platforms.html#sub:bom_import
773
792
[ datetime_0_3_0 ] : https://github.com/Kotlin/kotlinx-datetime/releases/tag/v0.3.0
774
793
[ gradle_metadata ] : https://blog.gradle.org/gradle-metadata-1.0
794
+ [ hierarchical_projects ] : https://kotlinlang.org/docs/multiplatform-hierarchy.html
775
795
[ kotlin_1_4_10 ] : https://github.com/JetBrains/kotlin/releases/tag/v1.4.10
776
796
[ kotlin_1_4_20 ] : https://github.com/JetBrains/kotlin/releases/tag/v1.4.20
777
797
[ kotlin_1_5_20 ] : https://github.com/JetBrains/kotlin/releases/tag/v1.5.20
778
798
[ kotlin_1_5_31 ] : https://github.com/JetBrains/kotlin/releases/tag/v1.5.31
799
+ [ kotlin_1_6_20 ] : https://blog.jetbrains.com/kotlin/2022/04/kotlin-1-6-20-released/
779
800
[ maven_provided ] : https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
780
801
[ xor_utf8 ] : https://github.com/square/okio/blob/bbb29c459e5ccf0f286e0b17ccdcacd7ac4bc2a9/okio/src/main/kotlin/okio/Utf8.kt#L302
0 commit comments