Repository navigation
Conversation
Bumps [next](https://github.com/vercel/next.js) from 15.5.11 to 16.1.7. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](vercel/next.js@v15.5.11...v16.1.7) --- updated-dependencies: - dependency-name: next dependency-version: 16.1.7 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
Bot
requested review from
acywatson,
fantactuka and
zurfyx
as code owners
March 17, 2026 20:20
dependabot
Bot
requested review from
etrepum,
ivailop7,
potatowagon and
takuyakanbr
as code owners
March 17, 2026 20:20
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
etrepum
approved these changes
Mar 18, 2026
dependabot
Bot
deleted the
dependabot/npm_and_yarn/scripts/__tests__/integration/fixtures/lexical-esm-nextjs/next-16.1.7
branch
March 18, 2026 19:32
Merged
etrepum
pushed a commit
to etrepum/lexical
that referenced
this pull request
Oct 31, 2026
…de the edge of a line again, and keep a referenced character inside a bare URL ## Description On main, the text after a text match is imported on its own, so a delimiter run at its start reads as one at the start of a line. This branch gave that text the match's last character as its neighbour, and the text before a match the match's first character, so that a delimiter run that a match cuts reads as it did in the whole line. For a custom transformer whose syntax ends or starts in a letter, that broke round trips: mention `user:bob` then bold `(admin)` exports as `user:bob**(admin)**`, as before, but re-imported as literal `**(admin)**`, and the exporter cannot put a reference inside transformer output to avoid it. The text beside a text match now reads the match's edge as the edge of a line again, as on main, unless a delimiter run goes on across the cut. The line's scan is still reused for the text after the match. Such a run can then only differ in whether it opens, since nothing in that text comes before it, and so only in the pair it opens. That pair is found by scanning ever longer prefixes of the text, so finding it costs about as much as the text it holds, instead of a scan of the rest of the line after every match. On a line of 4,000 `user:ab**(x)** ` it imports in about the time the same line with a space before each `**` took before this change. The remaining growth with line length is core `splitText`, as on main. Export ended a bare URL at any JavaScript whitespace when deciding whether to spoil it, but U+000B, U+2028, U+2029 and U+FEFF are letters for CommonMark, so beside a marker they go out as references, which GFM readers keep in the link: plain `see `, bold `http://x.co/`, then U+2028 and `x` exported as `see **http://x.co/**
x`, which `@lexical/mdast` read as one link with the bold lost. A character written as a reference now counts as part of the URL, so this exports as `see **http://x.co/**&meta#8232;x`. The changeset now gives the import fixes and the export changes paragraphs of their own, and its `Verify:` paragraph names the export snapshots. ## Test plan Command: `pnpm exec vitest run --project unit packages/lexical-markdown/src/__tests__/unit/LexicalMarkdown.test.ts -t "whose syntax has a letter"`, and `-t "letter only for CommonMark"` ### Before ``` × reads formatting after a text match whose syntax has a letter beside it 49ms × reads formatting before a text match whose syntax has a letter beside it 4ms × reads formatting in italic after a text match whose syntax has a letter beside it 4ms AssertionError: expected [ Array(2) ] to deep equally contain [ '(admin)', 1 ] AssertionError: expected [ Array(2) ] to deep equally contain [ '(admin)', 1 ] AssertionError: expected [ [ 'bob', +0 ], [ '*“a”*', +0 ] ] to deep equally contain [ '“a”', 2 ] Tests 3 failed | 782 skipped (785) × exports formatting beside a URL before a character that is a letter only for CommonMark, which both importers read back 33ms AssertionError: expected 'see **http://x.co/**
x' to be 'see **http://x.co/**&meta#8232;x' // Object.is equality ``` ### After ``` $ pnpm exec vitest run --project unit packages/lexical-markdown packages/lexical-mdast packages/lexical-playground/__tests__/unit scripts/__tests__/unit/treeShakingSource.test.ts Test Files 46 passed (46) Tests 1603 passed (1603) ``` The prefix search was compared with a full scan of the rest after every match on 47,000 random lines of delimiters, code spans, escapes and a letter-ending text match, with no differences. Round trips of 20,000 random paragraphs with links, bare URLs, emails and U+2028 or U+FEFF found none that main reads back correctly and this branch does not, in either importer. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch was successfully 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.
Bumps next from 15.5.11 to 16.1.7.
Release notes
Sourced from next's releases.
... (truncated)
Commits
bdf3e35v16.1.7dc98c04[backport]: fix: patch http-proxy to prevent request smuggling in rewrites (#...9023c0a[backport] Disallow Server Action submissions from privacy-sensitive contexts...36a97b9Allow blocking cross-site dev-only websocket connections from privacy-sensiti...93c3993[backport]: feat(next/image): add lru disk cache and `images.maximumDiskCache...c68d62dBackport documentation fixes for 16.1.x (#90655)5214ac1[backport]: ensure maxPostponedStateSize is always respected (#90060) (#90471)c95e357Backport/docs fixes 16.1.x (#90125)cba6144[backport] Apply server actions transform tonode_modulesin route handlers...3db9063[backport] [Cache Components] Prevent streaming fetch calls from hanging in d...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.