Repository navigation
A patch release of bug fixes found by an exploratory review of the core, the components and the test suite. No API changes.
Fixed
parseFieldValuereads adurationin larger units (unitSize) back as the exact valueformatFieldValuewrote; 31 minutes shown in hours no longer reads as 1860000.0000000002 ms. Of the values that read back that way, one insideminandmaxis preferred, so a bound such as0.29 * 100is accepted from its own text.projectTimelineRowsandprojectTimelineViewpass row summaries tocolumn.valuewhen sorting, as the search and filters already did, so summary rows sort by their rolled-up values.formatSheetTextends the text with a line break when several records end with a single empty cell, soparseSheetTextreads the empty last record back. A GanttChart copy of a column ending in an empty cell no longer pastes as one value that fills the whole selection.fromDrawioreads container cells whose parents form a cycle as top-level groups instead of returning groups whoseparentIds form a cycle.toDrawiono longer throws aURIErrorfor a multi-line node label with an unpaired surrogate, and keeps such a label whole on reading back when it holds characters XML does not allow.toMermaidandtoDrawiotreat edge marker names ofObject.prototype(such astoStringorconstructor) like other unknown markers instead of writing function text into the output.filterGraphthrowsRangeError('Unknown search field')for an unknown text-search field, assearchGraphNodesdoes, instead of silently matching nothing.routeGraphEdgeswithparallelSpacingkeeps spread orthogonal routes axis-aligned and on their box sides when the box centres differ only by a rounding error (as radial layouts produce), with and withoutavoidNodes.- Orthogonal edge ends reach circle, stadium and other flowchart outlines when the box centres differ only by a rounding error.
findOrthogonalRoutefinds a route without obstacles when the ends face away from each other or the route has to turn back, instead of returning undefined.layoutGraphIncrementallysizes the layout to include a self-loop on the right-most node.layoutForceGraphno longer draws an edge between the wrong nodes when node IDs contain a NUL character.applyRecurringEdit: an override that theseriesorfollowingscope moves now takes the ID of its new occurrence (when it had the default<seriesId>:<recurrenceId>ID), so expanded events no longer share IDs and later occurrence edits no longer throwDuplicate event ID. When another event already has that ID, or two moved overrides would take the same one (as on both sides of a daylight saving change), the override keeps its old ID (and so, in turn, may another moved override whose new ID that is); when an old ID is taken as well, by an event or by an occurrence a series generates on expansion (times that are not whole milliseconds included), the edit throwsDuplicate event ID, so neither the result nor its expansion has duplicate IDs.expandRecurrenceandexpandRecurringEventskeep the first instance of a series whose UNTIL is before its start, as documented (RFC 5545 3.8.5.3).serializeWeaveSnapshotreports keys named like built-in object properties (constructor,toString, …) indata,metadataandviewas unknown fields instead of silently dropping them.eventCalendarRange,eventCalendarDays,eventCalendarMonthGridandshiftEventCalendarDateno longer read the years 0 to 99 as 1900 to 1999.deleteTreeGridRowsno longer throws "Maximum call stack size exceeded" when a deleted row has more than about 120,000 children.toCsvwrites a number below 1e-6 in plain decimal notation (0.0000005, not5e-7), andtimelineFromCsvTablereads such a number cell in the progress column, so a timeline progress below 1e-6 reads back from its own export.timelineCsvTablecells keep their number type.useLinkedSelection.selectno longer treats a selection that repeated a target as unchanged when the new selection adds a different target of the same count.- NetworkGraph cancels a gesture in flight when the
dirprop changes the direction, not only when an inherited direction changes underdir="auto". - TaskBoard no longer moves the keyboard focus back to a moved card when the parent did not apply the move before the focus left the card, including when the parent applies the move or changes the cards and moves the focus in its
card-movehandler. EventCalendar no longer takes the focus back after a keyboard edit when theedithandler moved it to another element, also from inside a shadow root to an element outside it. - PropertyInspector
focusFieldfocuses the first control of a read-only list field that can take the focus and returns false when a field's control cannot take the focus (a read-only checkbox, select or colour field) instead of claiming success; inside a shadow root it checks the focus of that root. - EventCalendar
scrollToTime(time)scrolls to the time of day oftimewhatever its day; before, a time on another day than the first shown day scrolled whole days further, to the bottom of the grid. - PropertyInspector units and lag boxes accept decimal numbers only, like number fields; literals such as
0x10are refused instead of being read as numbers.