-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Updates for Deno v1.38 #21144
Updates for Deno v1.38 #21144
Conversation
@bartlomieju thanks for your PR! Do you know if there is data for Deno releases available programmatically? We are trying to automate updating this file and we have done so for other engines. (See #21137 for how a bot now takes care of updates). Would be cool to set this up for Deno, too! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
Hey @Elchi3, sorry for a slow response. Currently we don't have a way to programatically get this data, besides checking type declarations available in the given version. We use that to generate documentation automatically, so I guess we could diff these declarations to see what's changed. Is there some README I could look at too see how the update script works? |
Hi! There is no README, but I can describe what is needed as I wrote the scripts for Chrome (Android/Desktop + Webview), Firefox (Android/Desktop), and Edge. What we want to achieveWe want to automatically create a PR when a new tool is released (and, for the major browsers, when a new public Beta is released). The PR update automatically the browser versions files: firefox.json, firefox-android.json, webview.json, edge.json, deno.json, … The review of the PR and its merging is done by humans. What information we needFor Deno, we need to be able to fill these fields:
Where the information should beWe need a way to query this information, either via an API, or by reading files on the web (on GitHub, it works well; I did it for some data relating to Edge).
Doing the scriptI can write the script (if I have the missing information), and have you review it. Other infoThe current scripts are living at https://github.com/mdn/browser-compat-data/tree/main/scripts/update-browser-releases (and are run automatically once a day) |
@teoli2003 I'm so sorry, but I missed your response. If you are still interested in writing the script I will definitely provide all the help and context needed. This would be great if we could automate the process.
I can expose this information at a URL, similarly how we expose the latest version at https://dl.deno.land/canary-latest.txt |
Summary
Changes for compat data for Deno v1.38
Test results and supporting details
The blog post with detailed changes will be available at https://deno.com/blog/v1.38
Related issues
Fixes #21151