-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
update default template p5.js to 1.0.1 (Fixes #1396) #1397
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
Conversation
🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. |
hey @catarak can we merge this awesome commit? |
I was just looking to download the 1.0.0 locally and cloudflare is providing the wrong version. So I looked in the https://github.com/processing/p5.js/tree/master/lib expecting it to be there. I downloaded the p5 repo and searched for p5*js and p5.js and it's not there too I'm guessing there is something buggy going on with the build system and post an issue |
Thank you for the heads up. I think you can just link to / from this PR on your actual issue page -- here: processing/p5.js#4485 Bad cloudflare confiig matters to this PR, but it isn't a web-editor issue. |
oops, there is something weird on, the default p5.js library that i got from the web editor is this: the first one says it's /*! p5.js v0.10.2 October 14, 2019 / weird ~ |
Yeah, I'm getting v0.10.2 February 29 every time. But as I said, this isn't a web editor issue -- please discuss here: processing/p5.js#4485 |
This PR is temporarily blocked by processing/p5.js#4336 and processing/p5.js#4485 -- it will be updated to point to the correct 1.0.x once it is released. In the meantime, the web editor is still out of sync with the public reference. |
thanks for looking into this @jeremydouglass! i'll merge this in as soon as the cdnjs issue is fixed. |
5452f04
to
ead0017
Compare
Thank you @catarak! This PR will be unblocked on the next p5.js release -- 1.0.1(?). I am speculatively updating this PR now to point to 1.0.1 so that this can be merged immediately whenever that release happens. If p5.js goes to 1.0.2 or 1.1 or something else instead then I can update this PR again before merging. |
I noticed that the CDN URLs are also listed in https://github.com/processing/p5.js-web-editor/blob/master/server/domain-objects/createDefaultFiles.js. Does that file also have to be updated? (Is it still in use?) |
Good catch. I based the changes in this PR on the previous version bump, which did not touch that file: ... not sure if the core team uses it, but it seems like it couldn't hurt to bring it up to date. |
I created #1423 to track having the default template defined in one place to make future updates easier. |
Changes the p5.js version used by the web editor to 1.0.1.
(Fixes #1396)
I have verified that this pull request:
Fixes #123