Skip to content
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

Update dependency skia-canvas to v1 - autoclosed #10

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 6, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
skia-canvas 0.9.30 -> 1.0.2 age adoption passing confidence

Release Notes

samizdatco/skia-canvas (skia-canvas)

v1.0.2

Compare Source

Maintenance
  • After getting a surprise bill from Amazon for the S3 bucket hosting the pre-compiled binaries, I've moved them to GitHub Releases instead. Aside from resolving some security warnings by upgrading dependencies, this version should be functionally identical to 1.0.1…
Breaking Changes
  • The 32-bit ARM-based linux builds are no longer provided pre-compiled; you'll now need to build from source.

v1.0.1

Compare Source

Bugfixes
  • If an offscreen buffer can't be allocated using the Vulkan renderer, CPU rendering is used as a fallback
  • The drawCanvas() routine now works even when the destination canvas is later saved as an SVG (previously, the source canvas would be missing from the output). Caveat: this only works if the destination canvas is using the default source-over blend mode, has its globalAlpha set to 1, and is not using shadows or the effect property. If any of those defaults have been changed, the drawn canvas will not appear in the saved SVG. Bitmap and PDF exports do not have this restriction.
Misc. Improvements
  • Added a fullscreen event to the Window class to flag changes into and out of full-screen mode.

v1.0.0

Compare Source

New Features
  • The new Window class can display a Canvas on screen, respond to mouse and keyboard input, and fluidly animate by calling user-defined event handlers.
  • Bitmap rendering now occurs on the GPU by default and can be configured using the Canvas's .gpu property. If the platform supports hardware-accelerated rendering (using Metal on macOS and Vulkan on Linux & Windows), the property will be true by default and can be set to false to use the software renderer.
  • Added support for recent Chrome features:
    • the reset() context method which erases the canvas, resets the transformation state, and clears the current path
    • the roundRect() method on contexts and Path2D objects which adds a rounded rectangle using 1–4 corner radii (provided as a single value or an array of numbers and/or DOMPoint objects)
Bugfixes
  • The FontLibrary.reset() method didn't actually remove previously installed fonts that had already been drawn with (and thus cached). It now clears those caches, which also means previously used fonts can now be replaced by calling .use() again with the same family name.
  • The [.drawCanvas()][drawCanvas] routine now applies filter effects and shadows consistent with the current resolution and transformation state.
Misc. Improvements
  • The .filter property's "blur(…)" and "drop-shadow(…)" effects now match browser behavior much more closely and scale appropriately with the density export option.
  • Antialiasing is smoother, particularly when down-scaling images, thanks to the use of mipmaps rather than Skia's (apparently buggy?) implementation of bicubic interpolation.
  • Calling clearRect() with dimensions that fully enclose the canvas will now discard all the vector objects that have been drawn so far (rather than simply covering them up).
  • Upgraded Skia to milestone 103

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/skia-canvas-1.x branch from 0be3d24 to e02b04c Compare February 20, 2023 16:59
@renovate renovate bot force-pushed the renovate/skia-canvas-1.x branch from e02b04c to fb032e7 Compare July 16, 2023 19:47
@renovate renovate bot force-pushed the renovate/skia-canvas-1.x branch 2 times, most recently from bcaf71e to 5bc3a46 Compare June 1, 2024 08:50
@renovate renovate bot force-pushed the renovate/skia-canvas-1.x branch from 5bc3a46 to 40cd9f0 Compare August 22, 2024 08:52
@renovate renovate bot changed the title Update dependency skia-canvas to v1 Update dependency skia-canvas to v1 - autoclosed Dec 2, 2024
@renovate renovate bot closed this Dec 2, 2024
@renovate renovate bot deleted the renovate/skia-canvas-1.x branch December 2, 2024 20:09
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.

0 participants