github withastro/astro astro@0.25.0-next.3

latest releases: @astrojs/svelte@6.0.1, astro@4.16.13, @astrojs/solid-js@4.4.3...
pre-release2 years ago

Patch Changes

  • #2871 5029382a Thanks @FredKSchott! - Fix a bug where tailwind integration wouldn't apply to markdown pages

  • #2855 5e52814d Thanks @matthewp! - Adds support for the Node adapter (SSR)

    This provides the first SSR adapter available using the integrations API. It is a Node.js adapter that can be used with the http module or any framework that wraps it, like Express.

    In your astro.config.mjs use:

    import nodejs from '@astrojs/node';
    
    export default {
    	adapter: nodejs(),
    };

    After performing a build there will be a dist/server/entry.mjs module that works like a middleware function. You can use with any framework that supports the Node request and response objects. For example, with Express you can do:

    import express from 'express';
    import { handler as ssrHandler } from '@astrojs/node';
    
    const app = express();
    app.use(handler);
    
    app.listen(8080);
  • #2859 c781b12f Thanks @natemoo-re! - Ensure private, internal APIs are not enumerable

  • #2878 2db97f10 Thanks @bholmesdev! - Move the built-in Prism component from astro/components to @astrojs/prism/component.

  • #2857 1061d647 Thanks @bholmesdev! - Improve granularity of production build logs. This now lists:

    • the "data collection" build step, with timeout warnings for larger imports. This is useful for understanding large import.meta.glob calls.
    • the Vite client bundling step. This logs all Vite production build info to clarify what assets are built alongside your HTML.
    • the route generation step, complete with all output HTML files for a given input file. This is especially useful when debugging getStaticPaths.
    • fixes "0 pages in Infinityms" log when building to SSR
  • #2873 e4025d1f Thanks @matthewp! - Improves the build by building to a single file for rendering

  • #2875 55712277 Thanks @FredKSchott! - Generalize output assets to avoid adblocker false positives

  • #2872 098f6f6b Thanks @bholmesdev! - Fix isSelfAccepting errors when using the Preact integration with the Astro dev server

  • Updated dependencies [2db97f10, d763ec18]:

    • @astrojs/prism@0.4.1-next.0
    • @astrojs/markdown-remark@0.7.0-next.1

Don't miss a new astro release

NewReleases is sending notifications on new releases.