Repository navigation
Release - #24
Merged
Merged
Release#24
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@affordances/cli@0.1.5
Patch Changes
@affordances/core@0.5.1
Patch Changes
@affordances/mcp@0.5.1
Patch Changes
@affordances/md@0.5.1
Patch Changes
b020384: Converts about 5× faster; the markdown is unchanged. Malformed HTML, and a few unusual placements (a form inside a link, strikethrough or table cell, a comment or script inside a
<nobr>, a React streamed boundary that moves through an<svg>or into its own segment, an AgentMain inside a link that also holds tabs, form values or empty blocks, a slot inside a form control or an element other than plain containers, headings, emphasis, code, table cells, buttons, labels, summaries, forms and links, or in a link that holds a value or says nothing but values, a shown tab panel whose tab is inside a link or table, or tabs whose only shown panel is under a hidden element), can convert slightly slower.1681ef6: A page nested thousands of elements deep no longer throws or takes minutes to convert.
htmlToMarkdown,readPageand the route read anything nested more than 128 elements deep as its plain text, and a page nested more than 512 deep up to there. When either leaves something out,readPageandhtmlToMarkdownsaycut: true, and the route marks the pagex-affordances-md-partial, with a note in the Markdown. An error md didn't foresee no longer decides a page alone: when the faster converter throws, the page is converted the original way, andreadPagenever throws. If md can't convert a page at all,markdown()andhtmlToMarkdownthrow that error, and the route answers502,private, no-store, as it does for Flight data it can't read, instead of the framework's generic500.e339302: Converting a page to markdown takes about half the time, and far less on some pages. The markdown is the same.
b74ec79: A Flight push in a JSON-LD script, or in a script inside a MathML
<title>, no longer leaves an internal placeholder in the Markdown: it reads as the page does without its Flight data.d629f46: A Flight script or a streamed boundary's instruction inside a
<noscript>, or in MathML, is no longer trusted. md parses a page with scripting off, so it read such a script as one, but a browser never runs it there, so it was never Next's. A page that has one is read as untrusted Flight data.readPagereads it without its Flight data, and the route answers502,private, no-store. Hidden content such an instruction names stays hidden. A script a browser runs, including one in SVG, is read as before.7de2336: On a
literalMdroute, a page that streamsnotFound()after its shell (a200with the not-found page) now counts as a 404, so a request forx.mdgets the twin, as a Markdown request already did. One that streamsforbidden()orunauthorized()answers its403or401,private, no-store. To tell, the handler reads a200HTML page before passing it on, up tomaxBytesand within thetimeout. It then sends the page's own bytes, status and headers.@affordances/next@0.5.1
Patch Changes
@affordances/react@0.5.1
Patch Changes
@affordances/lint@0.5.1
No changes in this release.
@affordances/protocol@0.5.1
No changes in this release.