GraphQL: Fetch repository releases since point in time #181206
Replies: 1 comment 2 replies
-
|
Thanks for sharing this — the use case is very clear, and it’s a good example of where filtering could significantly improve performance for both clients and GitHub’s infrastructure. Right now, the GraphQL API does not support time-based filtering ( For repositories with infrequent releases, this leads to unnecessary data transfers and slower response times. A time-range filter on the • Reduce the amount of data fetched This is a strong candidate for an API enhancement, and I’m adding my support for it. A date filter would help many developers relying on release automation and feeds. Thanks for sharing the idea — it would be a great improvement for the GraphQL API. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Product Feedback
Body
I maintain the github releases feed: https://github.com/KieranP/Github-Releases-Feed
It loops over starred github repos and shows the last month of releases.
Currently I need to fetch the past 100 releases:
This works, but it's slow. Some repos only have 1 release every 6 months, so fetching 100 and then discarding all of them is slow.
I would like to ask Github for a way to filter releases to a certain time frame. e.g.
This would greatly cut back on the amount of data being fetched, reducing load on Github servers and reducing load time on the github feed.
Beta Was this translation helpful? Give feedback.
All reactions