Repository navigation
Conversation
…alMode, RenderSVGOptions and TextStyleOptions
Changes that would be breaking after 4.0, made now: - invalid choices (resize mode, blend mode, flip direction, disposal mode, wrapStyle) throw a TypeError naming the valid ones; the resize mode is checked before anything changes - colors are integers from -2^31 to 2^32 - 1 (fill() functions' too), coordinates are truncated without wrapping at 2^32, compression is an integer 0-9, Colors.gradient() throws for NaN with any number of stops - the bitmap setter refuses views that aren't 4-byte aligned instead of copying them - frame offsets are truncated to integers like image sizes; frame durations a format can't store throw like loop counts (merged frames are split at the limit); encodeGIF() without frames throws - encoders write no creation time unless one is given, and 'ImageScript' without the version as the default software (src/version.ts is gone) - renderSVG(): maxLayerPixels (default 4 * maxPixels) bounds the layers alive at once, maxImagePixels (default maxPixels) the embedded images together; drawing an image that is missing, broken or over the limit throws - renderText(): maxPixels, counting the outline
Values that are overwritten before they are read, and a final increment nobody reads (eslint 10's no-useless-assignment).
eslint 9 is no longer supported. minimatch and glob are overridden to the versions without GHSA-g3hv-75wg-m249 and GHSA-3g3m-2fjr-6pw4, except for typedoc, which needs minimatch 9 (typedoc stays on 0.27: 0.28 has the same dependency).
As a project document it turned the docs into a module "index": every page was prefixed with it (classes/index.Image.html instead of classes/Image.html), breaking the links to imagescript.dev.
imagescript.dev only gets the docs of final releases, so the link was a 404 for the release candidates.
Without a permissions block the jobs got the repository's default token, with write access to contents, packages, actions and more.
…ork limits of renderSVG
…nt searches' midpoints
…usable after an empty finish()
… map getter is the image's own
…nts their end stops' colors
… points paths flatten to
…ame renderSVG and renderText with their class
…d, and read a path once a render
…cument the path budget
…n budget errors in text layout
…time and keep textPaths on long paths working
… render and break lines in linear time
… 2048x2048, and split svg-dos-paint.js
…ariable font's instances
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 4.0 line: everything 3.x deprecated is removed, the API takes options objects, and seventeen behaviors change.
master(3.20.3) is merged in, so this merges cleanly. A draft until 4.0.0.rc, JSR)Before 4.0.0:
master