Skip to content

Version Packages - #29

Merged
JoviDeCroock merged 1 commit into
mainfrom
changeset-release/main
Apr 10, 2026
Merged

Version Packages#29
JoviDeCroock merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

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

@pracht/cli@1.0.0

Major Changes

  • #58 6bf6738 Thanks @JoviDeCroock! - Add framework-native pracht generate route|shell|middleware|api scaffolding commands, add pracht doctor with optional JSON output, and remove the Node-specific pracht preview command.

Minor Changes

  • #69 527e030 Thanks @JoviDeCroock! - Add a fast pracht verify command with optional --changed and --json
    output for framework-aware manifest, pages-router, and API route validation.

Patch Changes

  • #63 cf71d67 Thanks @JoviDeCroock! - Separate HTML and route-state cache variants across framework responses and build outputs.

    Page responses now vary on x-pracht-route-state-request, framework-generated
    route-state responses default to Cache-Control: no-store, and Node/preview
    cached HTML paths no longer intercept route-state fetches. Vercel build output
    now routes route-state requests to the edge function before static rewrites.

  • #62 4017a4a Thanks @JoviDeCroock! - Serve static assets directly from the Node adapter with proper Cache-Control headers. Hashed assets under /assets/ get immutable caching; HTML gets must-revalidate. Preview server now mirrors production caching behavior.

  • #51 db5f6d0 Thanks @JoviDeCroock! - Apply default security headers to static asset responses across adapters

    Cloudflare static assets now inherit the same permissions-policy, referrer-policy, x-content-type-options, and x-frame-options headers that dynamic responses already receive. Vercel build output config now emits a headers section so static files served by Vercel's CDN also get the baseline security headers.

  • Updated dependencies [b34695f, bb9480e, 4c885be, cf71d67, 8b71a9f, 4e9b705, 9fc392f, 12829ec]:

    • @pracht/core@0.1.0

@pracht/adapter-node@0.1.0

Minor Changes

  • #62 4017a4a Thanks @JoviDeCroock! - Serve static assets directly from the Node adapter with proper Cache-Control headers. Hashed assets under /assets/ get immutable caching; HTML gets must-revalidate. Preview server now mirrors production caching behavior.

  • #67 b052965 Thanks @JoviDeCroock! - Add trusted proxy aware request URL construction

    The Node adapter now defaults to deriving the request URL from the socket
    (TLS state for protocol, Host header for host) instead of blindly trusting
    X-Forwarded-Proto. A new trustProxy option opts into honoring forwarded
    headers (Forwarded RFC 7239, X-Forwarded-Proto, X-Forwarded-Host) when
    the server sits behind a trusted reverse proxy.

    The dev SSR middleware no longer reads X-Forwarded-Proto at all, preventing
    host-header poisoning during development.

Patch Changes

  • #63 cf71d67 Thanks @JoviDeCroock! - Separate HTML and route-state cache variants across framework responses and build outputs.

    Page responses now vary on x-pracht-route-state-request, framework-generated
    route-state responses default to Cache-Control: no-store, and Node/preview
    cached HTML paths no longer intercept route-state fetches. Vercel build output
    now routes route-state requests to the edge function before static rewrites.

  • Updated dependencies [b34695f, bb9480e, 4c885be, cf71d67, 8b71a9f, 4e9b705, 9fc392f, 12829ec]:

    • @pracht/core@0.1.0

@pracht/core@0.1.0

Minor Changes

  • #65 b34695f Thanks @JoviDeCroock! - Export forwardRef utility so users can forward refs through wrapper components without depending on preact/compat.

  • #12 bb9480e Thanks @JoviDeCroock! - Support () => import("./path") syntax in route manifests for IDE click-to-navigate

  • #52 4c885be Thanks @JoviDeCroock! - Parallelize route-state fetch and module imports during client-side navigation. Route and shell chunks now start loading at the same time as the data fetch instead of waiting for it to complete. Prefetching also warms module imports alongside route-state data. Shell modules are cached to avoid re-importing on repeated navigations.

  • #55 9fc392f Thanks @JoviDeCroock! - Improve SPA first paint by rendering the matched shell during the initial HTML response and supporting an optional shell Loading export for immediate placeholder UI while route-state data loads on the client.

Patch Changes

  • #63 cf71d67 Thanks @JoviDeCroock! - Separate HTML and route-state cache variants across framework responses and build outputs.

    Page responses now vary on x-pracht-route-state-request, framework-generated
    route-state responses default to Cache-Control: no-store, and Node/preview
    cached HTML paths no longer intercept route-state fetches. Vercel build output
    now routes route-state requests to the edge function before static rewrites.

  • #49 8b71a9f Thanks @JoviDeCroock! - Handle malformed percent-encoding in route matching by catching decodeURIComponent failures and treating them as non-matches instead of throwing uncaught URIError exceptions.

  • #59 4e9b705 Thanks @JoviDeCroock! - Sanitize unexpected 5xx route errors by default in SSR HTML, route-state JSON,
    and hydration payloads while preserving explicit PrachtHttpError 4xx
    messages. Add an explicitly opt-in debugErrors escape hatch for local
    debugging and ensure the Vite dev server keeps verbose errors enabled only
    through that option.

  • #71 12829ec Thanks @JoviDeCroock! - Add structured runtime diagnostics to debug route-state, SSR, and API failures.

    handlePrachtRequest() now catches middleware and API exceptions earlier in the
    pipeline and, when debugErrors: true is enabled, serializes framework
    diagnostics such as the failure phase, matched route metadata, and relevant
    module files alongside the normalized error payload.

create-pracht@0.2.0

Minor Changes

  • #68 359af55 Thanks @JoviDeCroock! - Generate AGENTS.md and CLAUDE.md symlink in scaffolded projects describing project structure, commands, and scaffolding CLI usage

  • #66 c27ab9a Thanks @JoviDeCroock! - Add non-interactive machine mode to create-pracht. New flags: --yes/-y (accept defaults, skip prompts), --json (JSON summary output), --dry-run (list files without writing). Invalid adapter or router values now exit with code 2.

Patch Changes

@pracht/vite-plugin@0.1.0

Minor Changes

  • #12 bb9480e Thanks @JoviDeCroock! - Support () => import("./path") syntax in route manifests for IDE click-to-navigate

Patch Changes

  • #59 4e9b705 Thanks @JoviDeCroock! - Sanitize unexpected 5xx route errors by default in SSR HTML, route-state JSON,
    and hydration payloads while preserving explicit PrachtHttpError 4xx
    messages. Add an explicitly opt-in debugErrors escape hatch for local
    debugging and ensure the Vite dev server keeps verbose errors enabled only
    through that option.

  • #67 b052965 Thanks @JoviDeCroock! - Add trusted proxy aware request URL construction

    The Node adapter now defaults to deriving the request URL from the socket
    (TLS state for protocol, Host header for host) instead of blindly trusting
    X-Forwarded-Proto. A new trustProxy option opts into honoring forwarded
    headers (Forwarded RFC 7239, X-Forwarded-Proto, X-Forwarded-Host) when
    the server sits behind a trusted reverse proxy.

    The dev SSR middleware no longer reads X-Forwarded-Proto at all, preventing
    host-header poisoning during development.

  • Updated dependencies [b34695f, bb9480e, 4c885be, cf71d67, 8b71a9f, 4e9b705, 9fc392f, db5f6d0, 12829ec]:

    • @pracht/core@0.1.0
    • @pracht/adapter-cloudflare@0.0.2
    • @pracht/adapter-vercel@0.0.2

@pracht/adapter-cloudflare@0.0.2

Patch Changes

  • #51 db5f6d0 Thanks @JoviDeCroock! - Apply default security headers to static asset responses across adapters

    Cloudflare static assets now inherit the same permissions-policy, referrer-policy, x-content-type-options, and x-frame-options headers that dynamic responses already receive. Vercel build output config now emits a headers section so static files served by Vercel's CDN also get the baseline security headers.

  • Updated dependencies [b34695f, bb9480e, 4c885be, cf71d67, 8b71a9f, 4e9b705, 9fc392f, 12829ec]:

    • @pracht/core@0.1.0

@pracht/adapter-vercel@0.0.2

Patch Changes

@pracht/example-basic@0.0.2

Patch Changes

@pracht/example-cloudflare@0.0.2

Patch Changes

@pracht/example-docs@0.0.2

Patch Changes

  • #28 8466820 Thanks @barelyhuman! - Aesthetic polish: replace emoji icons with @tabler/icons-preact, add Inter web font, refine typography scale and spacing, simplify header nav to underline-active style, tone down hero gradients, desaturate code block dots, and tighten feature card and sidebar layout.

  • Updated dependencies [b34695f, bb9480e, 4c885be, cf71d67, 8b71a9f, 4e9b705, 9fc392f, db5f6d0, 12829ec]:

    • @pracht/core@0.1.0
    • @pracht/adapter-cloudflare@0.0.2

@pracht/example-pages-router@0.0.2

Patch Changes

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 18 times, most recently from cceb616 to ffe2600 Compare April 10, 2026 15:46
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from ffe2600 to f10eabe Compare April 10, 2026 15:47
@JoviDeCroock
JoviDeCroock merged commit e00661a into main Apr 10, 2026
@JoviDeCroock
JoviDeCroock deleted the changeset-release/main branch April 10, 2026 15:50
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.

1 participant