Version Packages#491
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
July 23, 2026 08:29
0d38d24 to
9b3ad90
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
July 23, 2026 08:50
9b3ad90 to
6555cbc
Compare
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
@rocket/js@0.2.0
Minor Changes
cf8eecd: Add a full blog system on top of Page Collections:
feedto publish a Page Collection as an Atom feed at<page path>/feed.xml, served in development and emitted during static builds.staticParamsto enumerate concrete output documents (for example one tag archive per tag) that build statically and join the Sitemap.atlasPostLayoutrenders posts with a byline (date, authors, tag links) andatlasBlogIndexLayoutrenders the paginated post list with feed link, both exported from@rocket/js/layouts/atlasBlog.js.1d98f7c: Add Atlas Layout Head Content to documentation, hero, blog post, blog index, and not-found layouts. Shared layout data can now define a synchronous
headContentcallback that receives the currentPageDataand returns trusted Lit markup appended at the end of<head>.Rename the document helper's direct head fragment option from
headerContenttoheadContent. The obsolete name is removed without a compatibility alias.60e2434: Reliability, correctness, and cleanup pass across the framework.
CLI:
rocket --helpnow shows therocketname, version, and command descriptions.ROCKET_DEBUG=1for the full error).rocket-config.jsnow suggestsnpx rocket initinstead of failing withERR_MODULE_NOT_FOUND.rocket build --output-dirrefuses to write (and clear) directories outside the project root on every build path.rocket startnow observes the dev-server child process: crashes no longer leave a hung parent, restarts wait for the old process to exit before respawning, and SIGINT/SIGTERM shut down cleanly and restore the terminal.Core pipeline:
node_modulesis excluded from Page discovery again (the guard was unreachable with the default emptyexcludeRegex).PageDatacopies Page Metadata per render, so settingpageData.titleno longer mutates the shared Page Registry across requests./docs/) no longer fall back toHome.import { html } from 'lit'detection now parses the module instead of using a regex that false-positived on imports likehtmlEscape.demo label="..."code blocks are now consistently detected for Standalone Demo URLs./blog/:slug/) no longer clobber their parent menu entry.loadingvalues now fail with an error naming the component.includeGlobsis validated and the user config object is no longer mutated; config import works on Windows via file URLs.treeFromPagespage trees are computed lazily and routeURLPatterns are cached per route path.Components and hydration:
hydrate:onHovernow actually hydrates (it was parsed but never wired).MediaQueryListlistener per element, and cleanup runs whenever any element hydrated.rocket-drawerclosed state is removed from the tab order and accessibility tree, closes on Escape, and manages focus.rocket-social-linkvalidates the icon name, caches SVG file reads, and lists supported names in its error.history.replaceStatecalls.makeAsyncPort'ssendAndWaitnow returns the reply promise instead of a resolvers object.Layouts and generated output:
<nav aria-label="Site">and<main>landmarks;defaultHtmlMenurenders valid nested lists and no-link sections as text.treeToHtmlitem functions now receive the rendered child list as a fifth argument and must place it inside the returned item./examplesnav link whennavLinksis not configured._redirects).public/on every request.