Skip to content

Use stargazerCount instead of restricted stargazers - #54

Merged
bjohansebas merged 1 commit into
pkgjs:mainfrom
krzysdz:fix-stargazers
Sep 26, 2026
Merged

bjohansebas merged 1 commit into
pkgjs:mainfrom
krzysdz:fix-stargazers

Conversation

@krzysdz

@krzysdz krzysdz commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

GitHub has recently blocked access to the list of stargazers and watchers. This includes the stargazers property in GraphQL, which in this case can be replaced with stargazerCount. Fortunately, watchers.totalCount still works.

This should fix the errors seen in Express Statusboard.

https://github.blog/changelog/2026-06-30-upcoming-access-restrictions-to-public-api-endpoints-and-ui-views/

GitHub has recently blocked access to the list of stargazers and watchers. This includes the `stargazers` property in GraphQL, which in this case can be replaced with `stargazerCount`. Fortunately, `watchers.totalCount` still works.

https://github.blog/changelog/2026-06-30-upcoming-access-restrictions-to-public-api-endpoints-and-ui-views/
@bjohansebas

Copy link
Copy Markdown
Member

Looks good, but I can't do the release right now, so I'll leave it here and merge it once I'm able to do the release.

@bjohansebas
bjohansebas merged commit d796286 into pkgjs:main Sep 26, 2026
7 checks passed
@krzysdz
krzysdz deleted the fix-stargazers branch September 26, 2026 23:35
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.

2 participants