Skip to content

Release Notes

Jeff Davidson edited this page Aug 25, 2021 · 14 revisions

Volley 1.2.1

  • Separate CronetHttpStack into its own library, com.android.volley:volley-cronet (#412)
  • Added NonNull annotations to Volley#newRequestQueue (#413)

Volley 1.2.0

  • Ensure ImageListener#onResponse is always invoked (#209)
  • Stricter, more consistent enforcement of disk size limit in DiskBasedCache (#57)
  • Reduce cache churn from large entries
  • Allow specification of default image / error image bitmaps or drawables in NetworkImageView (#227, #243, #267)
  • Add RequestEventListener interface to monitor requests as they are executed (#238)
  • Fix StrictMode violation for disk I/O in Volley#newRequestQueue (#274)
  • Less verbose error logging for commonly-used invalid Expires headers (#282)
  • Ensure If-Modified-Since header is formatted correctly on all devices (#287)
  • Reinitialize DiskBasedCache if directory is deleted (#297)
  • Send request to network if parsing the cache entry fails (#321)
  • Add Nullable annotations (#325, #333)
  • Allow creation of custom input/output streams in HurlStack (#328)
  • Tolerate null header maps in HttpHeaderParser (#334)
  • Add opt-in retries of NoConnectionErrors (#332)
  • Include license in generated POM file (#377)
  • Use a consistent timebase when evaluating soft/hard TTLs (#391)
  • Experimental AsyncRequestQueue interface and Cronet-based implementation (details)

Volley 1.1.1

  • Fix incorrect tag in MarkerLog when Request#finish is called from a background thread (#115).
  • Additional fixes for IllegalArgumentExceptions and OutOfMemoryErrors in DiskBasedCache#readHeaderList (#127).
  • Exclude time spent waiting for an item on the request queue when measuring network time in NetworkDispatcher (#140).
  • Prevent spurious wakeups from prematurely finishing a RequestFuture (#162).
  • Fix StrictMode errors when using HurlStack (#138).
  • Improve error messaging and fail more loudly when making unsafe concurrent calls to ImageLoader (#132).
  • Add @Nullable annotations to nullable parameters (#185).
  • Prevent cache collisions between requests using the same URI but different methods (#154).
  • Prevent duplicated/conflicting HTTP headers when using HurlStack (#193).
  • Flesh out RetryPolicy's documentation (#80).
  • Re-raise interrupt flag when quitting dispatcher threads (#60).
  • Improve error message when a null key/value is returned by getParams or getPostParams (#201).

Volley 1.1.0

  • Apache HTTP is now an optional dependency (#2). See Migrating from Apache HTTP for details on how to avoid using it.
  • Fix OutOfMemoryErrors and NegativeArraySizeExceptions in DiskBasedCache (#12).
  • Fix memory leak in Request#mErrorListener (#15).
  • Support for multiple identical response headers (#21).
  • Fix potential NullPointerException in ImageRequest/JsonRequest/StringRequest (#64).
  • Fix soft TTL for duplicate in-flight requests (#73).
  • Fix case-sensitive header reads from cache (#76).
  • Fix memory leak of last finished request in CacheDispatcher/NetworkDispatcher (#114).

Volley 1.0.0

Initial release.

Clone this wiki locally