Skip to content

Releases: square/picasso

2.8

10 Aug 05:08
9accffe
Compare
Choose a tag to compare

Migrates 2.x branch to AndroidX.

2.0.0

30 Aug 23:26
Compare
Choose a tag to compare
  • New architecture distances Picasso further from the main thread using a dedicated dispatcher
    thread to manage requests.
  • Request merging. Two requests on the same key will be combined and the result will be delivered
    to both at the same time.
  • fetch() requests are now properly wired up to be used as "warm up the cache" type of requests
    without a target.
  • fit() will now automatically wait for the view to be measured before executing the request.
  • shutdown() API added. Clears the memory cache and stops all threads. Submitting new requests
    will cause a crash after shutdown() has been called.
  • Batch completed requests to the main thread to reduce main thread re-layout/draw calls.
  • Variable thread count depending on network connectivity. The faster the network the more threads
    and vice versa.
  • Ability to specify a callback with ImageView requests.
  • Picasso will now decode the bounds of the target bitmap over the network. This helps avoid
    decoding 2000x2000 images meant for 100x100 views.
  • Support loading asset URIs in the form file:///android_asset/....
  • BETA: Ability to rewrite requests on the fly. This is useful if you want to add custom logic for
    wiring up requests differently.

1.1.1

30 Aug 23:26
Compare
Choose a tag to compare
  • Fix: Ensure old requests for targets are cancelled when using a null image.

1.1.0

30 Aug 23:27
Compare
Choose a tag to compare
  • load method can now take a Uri.
  • Support loading contact photos given a contact Uri.
  • Add centerInside() image transformation.
  • Fix: Prevent network stream decodes from blocking each other.

1.0.2

30 Aug 23:27
Compare
Choose a tag to compare
  • Auto-scale disk cache based on file system size.
  • placeholder now accepts null for clearing an existing image when used in an adapter and
    without an explicit placeholder image.
  • New global failure listener for reporting load errors to a remote analytics or crash service.
  • Fix: Ensure disk cache folder is created before initialization.
  • Fix: Only use the built-in disk cache on API 14+ (but you're all using [OkHttp][1] anyways,
    right?).

1.0.1

30 Aug 23:27
Compare
Choose a tag to compare
  • Fix: Properly set priority for download threads.
  • Fix: Ensure stats thread is always initialized.

1.0.0

30 Aug 23:28
Compare
Choose a tag to compare

Initial release.