All Versions
Latest Version
Avg Release Cycle
Latest Release

Changelog History
Page 6

  • v1.2.0 Changes


    • Fix: Okio.buffer() always buffers for better predictability.
    • Fix: Provide context when readUtf8LineStrict() throws.
    • Fix: Buffers do not call through the Source on zero-byte writes.
  • v1.1.0 Changes


    • Do UTF-8 encoding natively for a performance increase, particularly on Android.
    • New APIs: BufferedSink.emit(), BufferedSource.request() and BufferedSink.indexOfElement().
    • Fixed a performance bug in Buffer.indexOf()
  • v1.0.1 Changes


    • Added read(byte[]), read(byte[], offset, byteCount), and void readFully(byte[]) to BufferedSource.
    • Refined declared checked exceptions on Buffer methods.
  • v1.0.0 Changes


    • Bumped release version. No other changes!
  • v0.9.0 Changes


    • Use 0 as a sentinel for no timeout.
    • Make AsyncTimeout public.
    • Remove checked exception from Buffer.readByteArray.
  • v0.8.0 Changes


    • Eagerly verify preconditions on public APIs.
    • Quick return on Buffer instance equivalence.
    • Add delegate types for Sink and Source.
    • Small changes to the way deadlines are managed.
    • Add append variant of Okio.sink for File.
    • Methods to exhaust BufferedSource to byte[] and ByteString.
  • v0.7.0 Changes


    • Don't use getters in timeout.
    • Use the watchdog to interrupt sockets that have reached deadlines.
    • Add and java.nio file source/sink helpers.
  • v0.6.1 Changes


    • Methods to read a buffered source fully in UTF-8 or supplied charset.
    • API to read a byte[] directly.
    • New methods to move all data from a source to a sink.
    • Fix a bug on input stream exhaustion.
  • v0.6.0 Changes


    • Make ByteString serializable.
    • New API: ByteString.of(byte[] data, int offset, int byteCount)
    • New API: stream-based copy, write, and read helpers.
  • v0.5.0 Changes


    • Initial public release.
    • Imported from OkHttp.

    ๐Ÿ“„ [bom]:

    ๐Ÿ“‡ [gradle_metadata]: ๐Ÿ“„ [hierarchical_projects]: