Skip to content

Version bump main: 9.60.0 → 9.61.0 - #3476

Merged
Julia Roldi (juliaroldi) merged 10 commits into
releasefrom
u/juliaroldi/bump-2
Oct 16, 2026
Merged

Julia Roldi (juliaroldi) merged 10 commits into
releasefrom
u/juliaroldi/bump-2

Conversation

@juliaroldi

Copy link
Copy Markdown
Contributor

Version changes

Group Old Version New Version
main 9.60.0 9.61.0
react 9.0.7 9.0.7 (unchanged)
legacyAdapter 8.66.3 8.66.3 (unchanged)

The main group receives a minor bump because isUnsafeUrl is newly exported by roosterjs-content-model-dom. No breaking public interface changes were found. The React and legacy adapter packages have no changes.

Changes included

Validation

  • yarn build passed, including ESLint.
  • yarn test:fast passed: 6,493 tests.

To reproduce, run yarn build followed by yarn test:fast.

dependabot Bot and others added 8 commits October 1, 2026 15:41
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](fastify/fast-uri@v3.1.6...v3.1.8)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiuqing Song <[email protected]>
* Fix Word Desktop nested list spacing

Co-authored-by: Copilot <[email protected]>

Copilot-Session: 12a1ef28-2e75-4648-a2a2-c149b4436919

* Fix Word list margin shorthand parsing

Parse margin shorthand by top-level whitespace so CSS function values such as calc() and var() are preserved when removing horizontal Word list margins.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: 12a1ef28-2e75-4648-a2a2-c149b4436919

---------

Copilot-Session: 12a1ef28-2e75-4648-a2a2-c149b4436919
…esktop (#3470)

* Handle Word table no-border paste

Add a Word Desktop border parser that reads the original style attribute and preserves explicit border:none declarations by clearing the corresponding table border formats.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: 12a1ef28-2e75-4648-a2a2-c149b4436919

* Use 'none' instead of empty string for no-border values in Word table paste

Fix unit tests for addParser call counts after adding wordBorderParser

Co-authored-by: Copilot <[email protected]>
Copilot-Session: fc13a30a-b68a-4db8-a3eb-c057f2195fe4

---------

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 12a1ef28-2e75-4648-a2a2-c149b4436919
Copilot-Session: fc13a30a-b68a-4db8-a3eb-c057f2195fe4
Root cause:
When pasting a Word list item with no Word fake-bullet markup (i.e. no
mso-list:Ignore span), processAsListItem created the list item's format
holder (used to render the bullet/number) from context.segmentFormat
*before* parsing the current list item element's own font family/size
into it. This meant the first list item's bullet font came from
whatever was left over from the previously processed element, instead
of the list item's own style.

Fix:
Parse the list item element's own segment format into
context.segmentFormat before creating the list item, so the format
holder always reflects the current list item's own resolved font.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: fc13a30a-b68a-4db8-a3eb-c057f2195fe4
Add a shared isUnsafeUrl helper and use it in link insertion, link format parsing/application, HTML sanitization, and paste link parsing to reject script protocols obfuscated with browser-ignored characters while preserving safe URLs containing similar text. Handle SVG anchor URLs during paste, remove xmp from allowed tags to avoid unsafe raw-text serialization, and restrict sanitizer map lookups to own properties so inherited object members cannot break HTML conversion. Add regression tests for URL normalization and HTML sanitization.
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 434dcda2-329b-46d3-9de3-48554356e678
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 434dcda2-329b-46d3-9de3-48554356e678
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-10-16 17:45 UTC

@juliaroldi
Julia Roldi (juliaroldi) changed the base branch from release to master October 16, 2026 17:13
@juliaroldi
Julia Roldi (juliaroldi) changed the base branch from master to release October 16, 2026 17:14
@juliaroldi
Julia Roldi (juliaroldi) marked this pull request as ready for review October 16, 2026 17:15
…er are spaces. (#3474)

* Return false for Shift+Tab outdent when only entities precede the marker

handleTabOnParagraph previously fell through without returning false when the
segment immediately before the collapsed selection marker was not a Text
segment (e.g. an Entity), causing preventDefault() to be called without
actually outdenting. Now it checks whether all segments before the marker are
entities and returns false so the browser's default Shift+Tab behavior runs.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: a6a96dae-ddfc-4128-974c-c3d69eba91d2

* Simplify entity-before-marker check to generic non-Text fallback

Co-authored-by: Copilot <[email protected]>
Copilot-Session: a6a96dae-ddfc-4128-974c-c3d69eba91d2

* Fix test type error: provide valid ContentModelEntity shape in handleTabOnParagraphTest

Co-authored-by: Copilot <[email protected]>
Copilot-Session: a6a96dae-ddfc-4128-974c-c3d69eba91d2

* Fix browser-dependent font expectation in PowerPoint paste test

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 2253ec0d-4994-4f43-b8f7-bead705407aa

---------

Co-authored-by: Copilot <[email protected]>
Copilot-Session: a6a96dae-ddfc-4128-974c-c3d69eba91d2
Copilot-Session: 2253ec0d-4994-4f43-b8f7-bead705407aa
@juliaroldi
Julia Roldi (juliaroldi) changed the base branch from release to master October 16, 2026 17:34
@juliaroldi
Julia Roldi (juliaroldi) changed the base branch from master to release October 16, 2026 17:35
@juliaroldi
Julia Roldi (juliaroldi) merged commit b628eff into release Oct 16, 2026
8 checks passed
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.

4 participants