Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v5.1.0 #5715

Open
5 of 8 tasks
sivaraam opened this issue May 5, 2024 · 25 comments
Open
5 of 8 tasks

Release v5.1.0 #5715

sivaraam opened this issue May 5, 2024 · 25 comments
Milestone

Comments

@sivaraam
Copy link
Member

sivaraam commented May 5, 2024

The v5.0.1 has been pushed out to beta. Let us use the following milestone to track the issues for which it would be nice to have fixes for:

https://github.com/commons-app/apps-android-commons/milestone/11

The issues kept in the milestone so far are:

Try to converge the following open PR:

We could use this issue to discuss further regarding this release 🙂

PS: For the note, I've also created a milestone for v5.2.0 and tagged an issue which would be nice to have in the same.

@sivaraam sivaraam added this to the 5.0.2 milestone May 5, 2024
@sivaraam sivaraam pinned this issue May 5, 2024
@sivaraam sivaraam mentioned this issue May 12, 2024
6 tasks
@sivaraam
Copy link
Member Author

sivaraam commented Jul 6, 2024

Following @mnalis' suggestion, I just pushed out v5.0.2 with the changes accumulated so far. So, renaming this issue as v5.0.3 for now.

I suppose one major issue that has been reported a bit repeatedly is #5758. So, if we get around finding a fix for it, I suppose we could do a bigfix release.

@sivaraam sivaraam changed the title Release v5.0.2 Release v5.0.3 Jul 6, 2024
@nicolas-raoul
Copy link
Member

Fantastic, great to see such a healthy release pace. :-)

@nicolas-raoul
Copy link
Member

@sivaraam With GSoC merged and working better than ever, plus Nearby greatly improved, how about releasing a beta? :-)

@nicolas-raoul
Copy link
Member

@sivaraam I pushed the SDK upgrade deadline to Nov 1, 2024, so we can release without waiting for #5770 if it is before that date. It would be great to do a stable release within that window as there is a possibility that SDK upgrade will take time. Thanks! :-)

@sivaraam
Copy link
Member Author

sivaraam commented Sep 6, 2024

That's nice. I'll look into doing a release soon.

@DLEI253636863

This comment has been minimized.

@sivaraam
Copy link
Member Author

sivaraam commented Oct 4, 2024

I had a few hiccups with building the project. I've now resolved them. I'll hopefully release a beta version by this weekend :-)

@sivaraam
Copy link
Member Author

sivaraam commented Oct 8, 2024

I was just trying to a sanity test of the app using the production variant of the APK to cross check if everything works fine and noticed a weird issue with the upload queue icon flickering and not being visible at all times when there is a pending upload. Was this noticed during the development of the change ?

Here are screen recording to demonstrate the issue: Queue icon flickering | Queue icon only visible after app reopen

@nicolas-raoul
Copy link
Member

I had not seen the first issue in a while, I thought it was solved. Would you mind creating an issue?

The second issue was found 3 weeks ago and is being worked on actively: #5832

@sivaraam
Copy link
Member Author

sivaraam commented Oct 10, 2024

I've opened an issue here: #5847

I suppose we could do a beta release with this issue but we need at least a stopgap before the production release as it is basically impossible to manage the uploads when the icon is not visible at all.

The second issue was found 3 weeks ago and is being worked on actively: #5832

I actually added the second one also as a proof to show that the queue is basically invisible while one upload is in progress. You could see the queue icon reappear after I close an reopen the app near the end of the video. I didn't notice the nearby issue that you pointed out. Good to know it is being actively worked on, though. 🙂

@sivaraam sivaraam changed the title Release v5.0.3 Release v5.1.0 Oct 28, 2024
@sivaraam
Copy link
Member Author

I was trying to test the release APK and it seems to me like #5898 is a bit of a blocker for the release as it seems to result in crashes in main flows (after each upload and while using custom selector). Fortunately, it is good that #5902 partially fixed the issue. It seems there are some non-complete changes in it, though. So, let's release a beta once the pending changes are done.

@nicolas-raoul
Copy link
Member

Yes I agree that the app is not in a great shape now.

@sivaraam
Copy link
Member Author

Alternatively, I've pushed out a separate branch v5.1.0 which does not have changes in #5891 and #5902. It seems to be working fine without the crashes mentioned above. @nicolas-raoul could you also verify if that works fine without issues ?

If so, I'll proceed to release it to the beta track.

@nicolas-raoul
Copy link
Member

This v5.1.0 branch is working great!

The only annoying bug I see is in the custom selector with Show already actioned pictures disabled: after leaving fullscreen everything reloads, a bit similar to #5840

@sivaraam
Copy link
Member Author

Got it. I hope we could address it separately. I'll proceed with creating the release notes for this release and pushing the app out to the beta track.

@nicolas-raoul
Copy link
Member

Great! 🙂

@nicolas-raoul
Copy link
Member

#5910

@nicolas-raoul
Copy link
Member

#5845 (comment)

@sivaraam
Copy link
Member Author

sivaraam commented Nov 3, 2024

After much delay I just tagged the v5.1.0 for the beta release with the changes in the v5.1.0 branch. I was planning to push it out to beta in Play store as the current troubles blocking it could hopefully be fixed before the production release.

I got stuck at one point, though. It seems we now request the FOREGROUND_SERVICE_DATA_SYNC permission. Google Play is asking us to fill a declaration for the same. It seems to have been introduced recently [ref]. It is not clear why we had to add the same for the SDK 34 upgrade. Could you possibly clarify the same @rohit9625 ?

@rohit9625
Copy link
Contributor

rohit9625 commented Nov 4, 2024

We are using Foreground Service here and creating ForegroundInfo here to show Upload Progress. When targetting API 34, we must specify a Foreground Service Type. So, I followed this documentation and declared the service here in AndroidManifest file. Declaring that service requires FOREGROUND_SERVICE_DATA_SYNC permission.

@sivaraam
Copy link
Member Author

sivaraam commented Nov 4, 2024

Thank you very much for the details! I will look into doing the needful 🙂

@sivaraam
Copy link
Member Author

sivaraam commented Nov 10, 2024

Just wanted to mention here that the beta of v5.1.0 has been published successfully in Play Store and is available to our testers.

I've also announced the beta release itself on the mailing list as I thought it would be worthwhile to communicate the removal of the limited connection mode to the community before the production release on Play Store. ( ref )

@mnalis
Copy link
Contributor

mnalis commented Nov 10, 2024

Just wanted to mention here that the beta of v5.1.0 has been published successfully in Play Store and is available to our testers.

Glad to see new release! 🚀
However, it would've be advisable in the future to mark beta releases with beta in the tag name, e.g. like we had for e.g. v4.2.0-beta.
As it was tagged with just plain numbers, it has already been picked up and published as release version by F-droid. Hopefully it's not too buggy 😰 (note: it is also possible to publish betas on F-droid, so only people who have "Unstable updates" enabled will receive the update automatically).

I've also announced the beta release itself on the mailing list as I thought it would be worthwhile to communicate the removal of the limited connection mode to the community before the production release on Play Store. ( ref )

I have yet to test new release, but while I hope that new queue fixes upload issues / data losses (which was by far the biggest problem of the app IMHO, e.g. #5762, #5231, ...), on the first sight loss of limited connection mode sounds problematic too, esp. where one is on metered networks where they'd want to conserve as much bandwidth as possible before they get to free wifi.

Can one choose to have all uploads of media be paused by default (or paused always when on mobile data) in new regime?
I'll have to test it soon when I get some free time.

@sivaraam
Copy link
Member Author

Glad to see new release! 🚀

❤️

However, it would've be advisable in the future to mark beta releases with beta in the tag name, e.g. like we had for e.g. v4.2.0-beta. As it was tagged with just plain numbers, it has already been picked up and published as release version by F-droid.

I agree. This is certainly something that I should've done but missed. Thanks for pointing it out.

Hopefully it's not too buggy 😰

It certainly is not too buggy. You don't have to worry. We've tried to ensure that the basic functionality like uploads work without issues before the release. There are just some glitches here and there.

(note: it is also possible to publish betas on F-droid, so only people who have "Unstable updates" enabled will receive the update automatically).

Thanks for this note. Will definitely release this as a beta version compatible with Play Store and F-droid from the next release!

I have yet to test new release, but while I hope that new queue fixes upload issues / data losses (which was by far the biggest problem of the app IMHO, e.g. #5762, #5231, ...), on the first sight loss of limited connection mode sounds problematic too, esp. where one is on metered networks where they'd want to conserve as much bandwidth as possible before they get to free wifi.

Can one choose to have all uploads of media be paused by default (or paused always when on mobile data) in new regime? I'll have to test it soon when I get some free time.

This is a good suggestion. Having some control over the the default state of the upload based on different networks would certainly be worthwhile to have, I believe. Could you raise a separate issue regarding the same?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@nicolas-raoul @mnalis @sivaraam @rohit9625 @DLEI253636863 and others