https://github.com/{org}/{repo}/releases/latest stopped returning JSON breaking electron-updater #45590
Replies: 7 comments 8 replies
-
Hope this gets fixed as its causing issues in other places |
Beta Was this translation helpful? Give feedback.
-
This is breaking my app, too. I'm getting a flood of bug reports from users. Please revert. |
Beta Was this translation helpful? Give feedback.
-
thanks @iffy! Please let us know what they say |
Beta Was this translation helpful? Give feedback.
-
I don't want to pollute this thread too much, but same issue with Anchore's Syft and Grype installers, if it can help making noise. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
A workaround for now is to hit the API endpoint instead:
However, this will result in a 403 if called from actions, so need to pass along a valid GitHub token in the Authorization header. For example:
|
Beta Was this translation helpful? Give feedback.
-
GitHub Engineers have pushed a change that has reverted As @jdolitsky mentions, the longer term change should be for electron apps to use the Rest API. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
As of 2023-01-28 22:55 UTC GitHub seems to stopped returning JSON when
https://github.com/{org}/{repo}/releases/latest
is called withAccept: application/json
which seems to brokeelectron-updater
package: electron-userland/electron-builder#7398.Could this change in behavior be rolled back?
Beta Was this translation helpful? Give feedback.
All reactions