Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 60db130

Browse filesBrowse files
committed
Prepare for release 3.1.0.
1 parent 533e019 commit 60db130
Copy full SHA for 60db130

File tree

Expand file treeCollapse file tree

3 files changed

+24
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+24
-3
lines changed

‎CHANGELOG.md

Copy file name to clipboardExpand all lines: CHANGELOG.md
+21Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
Change Log
22
==========
33

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+
423
## Version 3.0.0
524

625
_2021-10-28_
@@ -772,9 +791,11 @@ _2014-04-08_
772791
[bom]: https://docs.gradle.org/6.2/userguide/platforms.html#sub:bom_import
773792
[datetime_0_3_0]: https://github.com/Kotlin/kotlinx-datetime/releases/tag/v0.3.0
774793
[gradle_metadata]: https://blog.gradle.org/gradle-metadata-1.0
794+
[hierarchical_projects]: https://kotlinlang.org/docs/multiplatform-hierarchy.html
775795
[kotlin_1_4_10]: https://github.com/JetBrains/kotlin/releases/tag/v1.4.10
776796
[kotlin_1_4_20]: https://github.com/JetBrains/kotlin/releases/tag/v1.4.20
777797
[kotlin_1_5_20]: https://github.com/JetBrains/kotlin/releases/tag/v1.5.20
778798
[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/
779800
[maven_provided]: https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
780801
[xor_utf8]: https://github.com/square/okio/blob/bbb29c459e5ccf0f286e0b17ccdcacd7ac4bc2a9/okio/src/main/kotlin/okio/Utf8.kt#L302

‎docs/index.md

Copy file name to clipboardExpand all lines: docs/index.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Releases
9595
Our [change log][changelog] has release history.
9696

9797
```kotlin
98-
implementation("com.squareup.okio:okio:3.0.0")
98+
implementation("com.squareup.okio:okio:3.1.0")
9999
```
100100

101101
<details>
@@ -107,7 +107,7 @@ repositories {
107107
}
108108

109109
dependencies {
110-
implementation("com.squareup.okio:okio:3.0.0")
110+
implementation("com.squareup.okio:okio:3.1.0")
111111
}
112112
```
113113

‎gradle.properties

Copy file name to clipboardExpand all lines: gradle.properties
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ kotlin.mpp.stability.nowarn=true
1010
systemProp.org.gradle.internal.publish.checksums.insecure=true
1111

1212
GROUP=com.squareup.okio
13-
VERSION_NAME=3.1.0-SNAPSHOT
13+
VERSION_NAME=3.1.0
1414
kotlin.mpp.commonizerLogLevel=info

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.