v53.3.5
Published @platejs/core@53.3.5.
a102cd5by @github-actions[bot] – Updatedslate.
Published @platejs/test-utils@53.3.5.
- Updated
@platejs/core,@platejs/slate.
- Updated
@platejs/core,@platejs/slate,@platejs/utils.
Thanks to everyone who contributed to this release:
@NoiceHax
Full changelog: v53.3.4...v53.3.5
v2.8.51
getChildren()returns the children of a directory as an array, and all its descendants when therecursiveoption is set totrue. It is available onZipDirectoryEntryandFSinstances. The descendants are ordered level by level, like the result ofreaddir(path, { recursive: true })in Node.js, which is also the order in which the entries are written by theexport*()methods. Unlike theentriesproperty ofFS, the array excludes the root directory, leaves no empty slot for removed entries, and can start from any directory. It is a snapshot taken when the method is called, so the tree can be modified while the array is being iterated
- The
export*()methods of the filesystem API now write the entries in the same order whatever the value of thebufferedWriteoption. Setting it tofalseused to write each branch of the tree entirely before moving to the next one, whereas the default writes the entries level by level, so an archive exported withbufferedWriteset tofalsedoes not have the same entry order as in the previous versions. Only the order changes: the entries, their content and their metadata are identical, and a directory entry still precedes the entries it contains
exportFileSystemHandle()called withconcurrentset totruenow reports the failure that stopped the export on browsers which do not support thereasonargument ofAbortController#abort(), e.g. Firefox 79 and Chromium 87. zip.js used to recognize the cancellation of the sibling entries by the reason it had passed toabort(). These browsers discard that reason and report a plainAbortErrorinstead, so the cancellation was reported as the cause of the failure and the original error was demoted intoentryErrors. The cancellation is now tracked by zip.js itself and never read back from the platform (see #669)exportFileSystemHandle()now rejects with an error instead of rejecting withundefinedwhen the export is aborted through thesignaloption on these browsers. The reason passed toAbortController#abort()is discarded by the platform and cannot be recovered, so aDOMExceptionnamedAbortErroris thrown in its place. Its message is exposed as the newERR_ABORTEDconstant. Testingerror.name == "AbortError"now identifies an aborted export on every supported platform, whereas these browsers used to report a plainErrorwhen the export was aborted before it started and anAbortErrorwhen it was aborted while an entry was streaming
- The API documentation of
exportFileSystemHandle()now states that an entry flagged as a symbolic link is written as a regular file whose content is the path of the link target, since the File System Access API cannot create symbolic links
- The test verifying that the abort reason of the caller is forwarded is now skipped on browsers without support for
AbortSignal#reasoninstead of being reported as a failure. It moved to its own file and covers aborting before the export as well as aborting while an entry is streaming
- @danny0838 reported the failure on Firefox 79 and Chromium 87 and ran the test suite on these browsers
Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.8.50...v2.8.51
@docx-editor.dev/core@2.3.1
- 1c9b6a2: Long documents now reuse pagination after explicit page and section breaks, avoiding full-document work for ordinary typing, wrap-inducing edits, and character, word, line, vertical, or document-edge caret movement. Rapid typing preserves input order while coalescing pending page, toolbar, and review-rail refreshes, and repeated tracked deletions stay compact instead of adding one OOXML run per keypress.
- 1c9b6a2: Rapid typing no longer reorders characters when a deferred paint leaves the DOM caret behind the model. Native and touch carets that return to that leftover offset still edit there.
- @docx-editor.dev/i18n@2.3.1
10.3.1
- Path: return last point for getPointAtLength past a closed path #2053 (Yarchik)
- Arc.getSelfRect() reports a full circle for a zero-degree clockwise arc #2054 (Alexander Kireev)
- Shape: respect imageSmoothingEnabled for fillPatternImage #2055 (MarkXian)
- Util: preserve alpha of the named color "transparent" #2056 (Yarchik)
- Util: parse rgb() components written as percentages #2057 (jaybhade)
- Util: colorToRGBA() fails to parse non-integer HSL hue #2059 (Xuepoo)
- Line: getSelfRect wrong for multi-segment bezier and degenerate-derivative segments #2061 (Xuepoo)
- Line: avoid NaN control points on closed tensioned lines with coincident points #2062 (rajanpanth)
- Line: guard the zero-distance case inside getControlPoints (Anton Lavrevov)
- Line: cover joints and near-degenerate derivatives in bezier bounds (Anton Lavrevov)
- Path: exact getSelfRect bounds for quadratic segments (Anton Lavrevov)
- Line: exact getSelfRect bounds for lines with a tension (Anton Lavrevov)
- Line: write the control point distance sum once (Anton Lavrevov)
- Text: hoist stringToArray(line) out of _setTextData binary search #2044 (Damian Frizzi)
- remove the formatting check (Anton Lavrevov)
- b5c7a83: Fix ValidatorFunc Type Mistake (foolishflyfox) #1998
- ecdf162: Improve Transformer performance with many attached nodes (Anton Lavrevov)
- 976a63a: Add Transformer perf invariant tests; widen autoDraw suspension (Anton Lavrevov)
- 7b3cf3b: Simplify a bit (Anton Lavrevov)
- a203de9: sandbox (Anton Lavrevov)
- 6e4025c: clear (Anton Lavrevov)
- b92018b: Merge branch 'master' of github.com:konvajs/konva (Anton Lavrevov)
- bc123b3: Declare canvas and skia-canvas as optional peer dependencies (Anton Lavrevov)
- ed1e0cc: Skip pattern smoothing sanity check on skia-canvas (Anton Lavrevov)
- f9bd818: Report full circle for any full-turn angle in Arc.getSelfRect (Anton Lavrevov)
- dd90ff4: Merge pull request #2054: fix Arc.getSelfRect for full-turn angles (Anton Lavrevov)
- 4f8e1a8: color parsing fixes, fix some color values. close #2063, close #2064 (Anton Lavrevov)
- 4ebadaf: Merge branch 'master' into fix/line-tension-nan (Anton Lavrevov) #2062
- Line NaN bounding rect fix (Anton Lavrevov)
- cover all unreleased changes since 10.3.0 (Anton Lavrevov)
- c7145cc: Merge branch 'master' into fix/line-bezier-selfrect (Anton Lavrevov) #2061
- d2b96f5: fix(Line,Path): share one exact solver for cubic bezier bounds (Anton Lavrevov)
- 9e8a106: update CHANGELOG with new version (Anton Lavrevov)
- fb706a2: build for 10.3.1 (Anton Lavrevov)
- fad321d: update cdn link (Anton Lavrevov)