Skip to content

Conversation

@pantheraleo-7
Copy link

@pantheraleo-7 pantheraleo-7 commented Nov 9, 2025


Currently, Homebrew shows a 4 component version string for WhatsApp, e.g. 2.25.34.11. The leading component 2 appears to be private to WhatsApp's internal usage, and only required in the download url.

Sparkle: <sparkle:shortVersionString>25.34.11</sparkle:shortVersionString>

App Store:

Screenshot 2025-11-09 at 10 43 27 PM Screenshot 2025-11-09 at 10 44 34 PM

@pantheraleo-7 pantheraleo-7 changed the title Whatsapp version WhatsApp: fix version string; improve zap stanza Nov 9, 2025
@eleanordoesntcode

This comment was marked as off-topic.

Copy link
Member

@bevanjkay bevanjkay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need to capture the 2. as part of the version, because what happens if it changes?
A better consideration may be to have a two-part version in the Cask file.
25.34.11,2.25.24.11

@krehel
Copy link
Member

krehel commented Nov 10, 2025

This doesn't seem to be causing issues and is working fine, inclined to leave as-is.

@pantheraleo-7
Copy link
Author

what happens if it changes?

This is akin to asking "what happens if any part of the download URL changes?", e.g. branch=master -> branch=main. The leading 2 is not part of the version string, as evident from the sparkle appcast & App Store metadata. It is an implementation detail. In case we are proven wrong, we can always revert back to the previous approach but we should at least first try to have correct versioning.

BTW the current livecheck is hacky to say the least as there's no need to regex items when the app supports standard sparkle appcast schema.

This doesn't seem to be causing issues and is working fine

Of course it is, as far as installation and updates are concerned. And it will still work that way after the changes. The fix is about the incorrect version that we have in our metadata.

@p-linnane
Copy link
Member

Agreed with the other maintainers that there's no reason to change this.

@p-linnane p-linnane closed this Nov 10, 2025
@pantheraleo-7
Copy link
Author

Do as you will, but just for the record:

  • It is causing issues. To me as an end-user, and other mid-level downstream users of brew API. Just because I chose to open a pull request instead of an issue doesn't mean the incorrect version isn't causing problems.
  • "This doesn't seem to be causing issues" is a non-argument to begin with.

@p-linnane
Copy link
Member

You've failed to articulate any concrete issue this is causing. We aren't going to accept a hardcoded URL change without good reasoning.

If you can provide that, maybe we can implement the suggestion @bevanjkay made above.

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

Successfully merging this pull request may close these issues.

5 participants