-
Notifications
You must be signed in to change notification settings - Fork 1.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
v2.7.0 proposal #1622
Comments
Non-contributor here, but I feel like some of the PRs like the ones by @samizdatco, should be merged first, unless if they say that the PRs still have a long way to go. |
Yeah, it's been a while. Would love to get a release with the new prebuild system.
Ohh this is great! 🎉
The small-caps one has one small change left. The letter-spacing seems a little controversial (see discussion in #1014) which might be why it hasn't been merged yet. I'm not sure where I stand on that one. |
I'm all for releasing as often as possible 🚀 We can always cut a new release after landing the other PRs
Sounds good! How would this work, should you update something before or after tagging and publishing the release? |
Agreed on making releases frequently. Want to get this one out since the node-pre-gyp needle issue is still happening for folks. Sadly prebuilds are still a miserable process. I got Mac and most Linux builds for v2.7.0 up (https://github.com/Automattic/node-canvas/releases), but Windows is failing with an unhelpful "error code 10" when dependency walker is running (log), and uploads for Linux/Node14 are consistently failing with a 500 response from GitHub (log). Giving up for now. Other notes:
These changes are in the |
@zbjornson that looks like the exit code. It looks like that's happening due to the msys changes you were trying. Dependency Walker's exit code just indicates if some of the dependencies couldn't be resolved statically etc. They don't use it "correctly". Anyways looks like we have some work to do to use the new msys2 actions. For the failing uploads, maybe we should add retries? |
I did some work on the builds this weekend.
Lesson learned: we need to pin all library version numbers, and node-gyp version. |
I have been reviewing all my pull-requests and tests are passing for all of them in all the platforms, can they be reviewed and merged? :-) At least the simple ones... |
@chearon the Win prebuilds are missing a few libs and I'm not sure why. When building, these (non MS-WIN) libs are reported by depends.exe:
and those are copied into the bundle. However, when I download the bundle and open it with depends.exe locally, some additional libraries are listed as missing:
Of those, the normal (non-prebuild) binding.gyp copies:
These libs exist on the prebuild machine -- it's not that they're missing, it's that depends isn't saying that they need to be copied. The normal binding.gyp also copies these, not reported by depends.exe:
https://github.com/Automattic/node-canvas/runs/1371988925?check_suite_focus=true contains the depends.csv output and a listing of the /mingw64/bin directory. I'm very tempted to just hard-code the DLLs to copy since that's what the normal binding.gyp files do, but I'd also like to know why this stopped working. When I ported prebuilds to GitHub Actions, they worked fully. |
I finally got Win prebuilds working this weekend. In the next day or two I'll clean up that work and run the prebuild action for Node 15/canvas 2.6.1, and Node.js all/canvas 2.7.0. |
Windows and MacOS builds for canvas 2.6.1, Node.js v15 are up. Linux is failing with this:
@chearon your docker image is based on wheezy (glibc 2.13) and installs gcc 4.7 (and 4.9?). Node.js 12+ requires gcc 6.3+ and glibc 2.17+ (i.e. stretch/9). (Evidently that wasn't a hard requirement until Node.js 15.) Could you update your image sometime please? How long does that take to build -- is it easier to just incorporate that into the prebuild workflow instead? |
Yeah, we'll have to jump to the next version of Debian that has gcc 6.3+/glibc 2.17+, and that will be the new minimum version of glibc since I don't feel like compiling either of those.
You mean like a separate workflow for updating the image? The docker image only needs to be updated when we change gcc/glib/dependency versions, so not sure it makes sense to have it run automatically. I'll try to get to it soon, need to have updated Pango so I can fix #1572 for prebuilds too. |
Congratulations and thank you for working through it! Does this mean #1688 is resolved as well? |
Oh yeah, got Canvas 2.6.1/Node 15 releases done as well @domoritz 🎉 |
$ git checkout v2.7.0
HEAD is now at 58bc728 v2.7.0
$ npm publish
+ [email protected] 🚀 it's live! Huge thanks to @zbjornson, @chearon, and everyone else involved ❤️ |
@LinusU @chearon we've got a good chunk of changes in, and no open PRs are ready to land. What do you think of releasing v2.7.0?
GitHub added support for manually triggering GitHub Actions about a week ago. If you guys agree that it's a good time to release, I can update the workflow file and get the builds made.
Changed
Previously these were in the node-gfx/node-canvas-prebuilt
and triggered manually.
fillStyle=
andstrokeStyle=
Added
rsvgVersion
.Fixed
fillStyle
orstrokeStyle
is set to an object, but that object is not a Gradient or Pattern. (This behavior was non-standard: invalid inputs are supposed to be ignored.)The text was updated successfully, but these errors were encountered: