Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 14, 2025

Bumps com.davemorrissey.labs:subsampling-scale-image-view from 3.6.0 to 3.10.0.

Release notes

Sourced from com.davemorrissey.labs:subsampling-scale-image-view's releases.

Improved Kotlin support

This release contains breaking changes for Kotlin apps.

Nullable and NonNull annotations have been added. Kotlin did not recognise some method returns as nullable, so uses of these methods without a null check will no longer compile.

  • Target SDK 27
  • #403 Nullable and NonNull annotations
  • #402 Upload sources and javadoc to Maven

Performance improvements

This release contains breaking changes. If you use a custom ImageRegionDecoder, changes may be required to make it thread safe. For full details see the migration guide.

These changes are discussed on #120.

  • Replaced setParallelLoadingEnabled with an option to supply a custom executor - setExecutor(Executor).
  • Made AsyncTask.THREAD_POOL_EXECUTOR the default, to reduce contention with other background tasks.
  • Removed synchronization of ImageRegionDecoder.decodeRegion calls to allow for parallel decoding by decoders that support it.
  • Tiles are now loaded during gestures and animations instead of waiting until they end. This can be disabled with setEagerLoadingEnabled(false)
  • Added experimental class SkiaPooledImageRegionDecoder which maintains a small pool of BitmapRegionDecoder instances to allow for parallel decoding when combined with a multi-threaded executor.

Capped image quality, remaining pan, visible source area, SCALE_TYPE_START

  • Breaking change Minimum supported SDK has changed from 10 to 14. This was required to add the new EXIF support library.
  • Default behaviour change Image quality is now capped at 320dpi (approximately retina quality) instead of matching the screen's density, which results in high memory use and poor performance when displaying large images on very high density screens. The difference in quality is usually unnoticeable, especially with photos. Use setMinimumTileDpi(int) to override the default.
  • #273 #295 Added minimum scale type SCALE_TYPE_START. This displays the image filling the view width and height, and scrolled to the top left.
  • #284 Double tap is now always interpreted as zoom when zoomed out, to avoid problems when minimum and maximum scale are very close.
  • #298 Added getPanRemaining(RectF), which exposes the pan remaining in each direction, in screen pixels.
  • #329 Allow OnClickListener to work before the image has loaded.
  • #331 Added methods to convert view coordinates to source file coordinates to enable the visible area to be extracted from the source image. visibleFileRect(Rect) and viewToFileRect(Rect, Rect).
  • #344 Guard against null vFocusStart in animation.
  • Improved debug overlay.

Restored build changes

Fixed gradle release script to deploy correct artifacts and returned to more recent build tool versions.

Reverted build changes

Release 3.7.0 caused (unreproduced) problems for some developers, due to unexplained population of the AttributeSet constructor argument with unexpected values. This release reverts the changes to build tools - an attempt at a blind fix.

Configurable bitmap type, minor fixes

  • Forced removal of implicit permissions READ_PHONE_STATE, READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE
  • #279 Include proguard rules to stop removal of default constructors
  • #302 Pass vertical move touch events to parent if not consumed
  • #314 Added null-check per method in onStateChangedListener
  • #349 Support for other bitmap formats (not just default RGB565)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.davemorrissey.labs:subsampling-scale-image-view](https://github.com/davemorrissey/subsampling-scale-image-view) from 3.6.0 to 3.10.0.
- [Release notes](https://github.com/davemorrissey/subsampling-scale-image-view/releases)
- [Changelog](https://github.com/davemorrissey/subsampling-scale-image-view/blob/master/release.gradle)
- [Commits](davemorrissey/subsampling-scale-image-view@v3.6.0...v3.10.0)

---
updated-dependencies:
- dependency-name: com.davemorrissey.labs:subsampling-scale-image-view
  dependency-version: 3.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Jul 14, 2025
@graycreate
Copy link
Member

/rerun

@graycreate graycreate closed this Jul 21, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 21, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@graycreate graycreate reopened this Jul 21, 2025
@graycreate graycreate merged commit 7302d07 into main Jul 21, 2025
9 of 11 checks passed
@graycreate graycreate deleted the dependabot/gradle/com.davemorrissey.labs-subsampling-scale-image-view-3.10.0 branch July 21, 2025 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants