Skip to content

[pull] canary from vercel:canary#101

Merged
pull[bot] merged 5 commits into
code:canaryfrom
vercel:canary
May 7, 2025
Merged

[pull] canary from vercel:canary#101
pull[bot] merged 5 commits into
code:canaryfrom
vercel:canary

Conversation

@pull

@pull pull Bot commented May 7, 2025

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

vercel-release-bot and others added 5 commits May 7, 2025 07:51
### What

Enhance the line break solution of dev overlay code frame from #77078

We parse the tokens and group them into lines by detect the line break token. There's a missing case we didn't notice before where the line break token could contain spaces look like below:

![image](https://github.com/user-attachments/assets/20760ca4-46d9-40bf-9a0f-1cb9a8014fd2)

* The content before `\n` should belong to previous line
* The content after `\n` should belong to the next line

Also improved the memoization situation in the code frame to avoid re-parsing the lines and tokens.

Closes NDX-1042
Closes: https://linear.app/vercel/issue/DOC-4642/metadata
Redirects: https://github.com/vercel/front/pull/45244

- Expands `generateMetadata` API reference to describe behavior
- Adds new examples to the `ImageResponse` API reference
- Create JSON-LD guide

---------

Co-authored-by: Rich Haines <hello@richardhaines.dev>
@pull pull Bot added the ⤵️ pull label May 7, 2025
@pull pull Bot merged commit d05288d into code:canary May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants