github withastro/astro astro@2.10.10

latest releases: astro@4.15.8, @astrojs/mdx@3.1.7, astro@4.15.7...
13 months ago

Patch Changes

  • #8127 b12c8471f Thanks @natemoo-re! - Do not throw Error when users pass an object with a "type" property

  • #8092 7177f7579 Thanks @natemoo-re! - Ensure dotfiles are cleaned during static builds

  • #8122 fa6b68a77 Thanks @natemoo-re! - Improve fidelity of time stats when running astro build

  • #8070 097a8e4e9 Thanks @lilnasy! - Fix a handful of edge cases with prerendered 404/500 pages

  • #8123 1f6497c33 Thanks @natemoo-re! - Open to configured base when astro dev --open runs

  • #8105 0e0fa605d Thanks @martrapp! - ViewTransition: bug fix for lost scroll position in browser history

  • #8116 b290f0a99 Thanks @martrapp! - On back navigation only animate view transitions that were animated going forward.

  • #7778 d6b494376 Thanks @y-nk! - Added support for optimizing remote images from authorized sources when using astro:assets. This comes with two new parameters to specify which domains (image.domains) and host patterns (image.remotePatterns) are authorized for remote images.

    For example, the following configuration will only allow remote images from astro.build to be optimized:

    // astro.config.mjs
    export default defineConfig({
      image: {
        domains: ['astro.build'],
      },
    });

    The following configuration will only allow remote images from HTTPS hosts:

    // astro.config.mjs
    export default defineConfig({
      image: {
        remotePatterns: [{ protocol: 'https' }],
      },
    });
  • #8109 da6e3da1c Thanks @martrapp! - fix: reinsert attribute to specify direction of ViewTransition (forward / back)

Don't miss a new astro release

NewReleases is sending notifications on new releases.