Replace Okio 2.x with 2.1

This commit is contained in:
Jesse Wilson 2018-11-10 14:42:18 -05:00 committed by GitHub
parent 98459dd8ab
commit 5f5631e34f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ _2018-11-09_
consuming it. This builds on Okio's new `Buffer.peek()` API. consuming it. This builds on Okio's new `Buffer.peek()` API.
* New: The `beginFlatten()` and `endFlatten()` methods on `JsonWriter` suppress unwanted nesting * New: The `beginFlatten()` and `endFlatten()` methods on `JsonWriter` suppress unwanted nesting
when composing adapters. Previously it was necessary to flatten objects in memory before writing. when composing adapters. Previously it was necessary to flatten objects in memory before writing.
* New: Upgrade to Okio 1.16.0. We don't yet require Kotlin-friendly Okio 2.x but Moshi works fine * New: Upgrade to Okio 1.16.0. We don't yet require Kotlin-friendly Okio 2.1 but Moshi works fine
with that release. with that release.
```kotlin ```kotlin