This release is meant to fix a lot of the issues plaguing the app currently.
Sorry, I am leaving AVIF support out of Summit for the time being (some AVIF images will still be supported by the Android OS). The currently AVIF libraries available for Android all have flaws. Including them may fix some AVIF errors but add others. For the time being it looks like adding an AVIF decoder to the app is not worth it since they are buggy and greatly increase the app size.
~~It's expected that the app will increase in size significantly after this release due to adding AVIF support.~~
~~Lemmy servers have starting to roll out AVIF encoded images. Unfortunately, Android 11 and below do not have built in AVIF decoders. In addition, even on Android 12 and up, AVIF support is not good leading to the issue that AVIF images will fail to load on many devices. To fix this issue, an AVIF decoder is being bundled with the app. AVIF decoders are pretty large in size meaning the app size will grow greatly. However, given the alternative (images not loading) this is probably the better option.~~
~~Note that the AVIF decoder only supports Android 24 and up. Unfortunately if you are using a device older than that then you are out of luck when it comes to AVIF images :(~~
In addition, this release fixes the issue where the post feed will fail to load after loading 10 pages of posts on some instances.
Full changelog
- Add support for downloading avif image files
- Add support for pagination via page cursors.
- Fix a crash when loading comments on Android 9 and below.
- Fix a bug where changing feeds will not fetch the correct post feed.
- Fix a bug where PieFed feeds broke.
Update
~~The approximate size increase of the app on the play store is 5MB. When downloading from Github, the installer size is expected to increase 15MB due to the installer needing to support multiple architectures.~~
Update 2
Found a few bugs with the cursor implementation. In addition some users reported some bugs with it as well. Fixing and releasing as v1.75.1.
- Fix a bug where changing feeds will not fetch the correct post feed.
- Fix a bug where PieFed feeds broke.
Update 3
Found more bugs. Addressing then releasing as v1.75.2.
- Hardcode special rule for
sh.itjust.works to not use cursors because it breaks on this instance for some reason.
- Remove AVIF library.
Update 4
Cursors are a lot more buggy than I anticipated. As a result I am disabling pagination using cursors by default as instead offering it as a setting that can be enabled. It will be available as Settings > Misc > Use cursors when loading the post feed.
This change will be released as v1.75.3.
It's slightly amusing that this release set out to fix two major issues that were caused by new Lemmy changes: AVIF images and extremely small limits placed on the max page index and both of the "fixes" implemented in Summit had to be reverted because either of these features appear to be ready. AVIF support on Android specifically appears to be poor and cursors, despite having been around for a while are still too buggy to use for production.
- Default to use page indices for post feed pagination. Add setting to switch to use cursors instead.
Update 5
Releasing a fix for a bad bug.
- Fix a bug where there is a race condition between the community being set and fetching posts which can result in fetching posts for the wrong community.