Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] release #8023

Merged
merged 1 commit into from
Aug 11, 2023
Merged

[ci] release #8023

merged 1 commit into from
Aug 11, 2023

Conversation

astrobot-houston
Copy link
Contributor

@astrobot-houston astrobot-houston commented Aug 10, 2023

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

@astrojs/[email protected]

Minor Changes

  • #7541 ffcfcddb7 Thanks @alexanderniebuhr! - The getRuntime utility has been deprecated and should be updated to the new Astro.locals API.

    - import { getRuntime } from '@astrojs/cloudflare/runtime';
    - getRuntime(Astro.request);
    
    + const runtime = Astro.locals.runtime;

Patch Changes

@astrojs/[email protected]

Minor Changes

  • #7975 f974c95a2 Thanks @lilnasy! - If you are using Netlify's On-demand Builders, you can now specify how long your pages should remain cached. By default, all pages will be rendered on first visit and reused on every subsequent visit until a redeploy. To set a custom revalidation time, call the runtime.setBuildersTtl() local in either your frontmatter or middleware.

    ---
    import Layout from '../components/Layout.astro';
    
    if (import.meta.env.PROD) {
      // revalidates every 45 seconds
      Astro.locals.runtime.setBuildersTtl(45);
    }
    ---
    
    <Layout title="Astro on Netlify">
      {new Date(Date.now())}
    </Layout>

Patch Changes

[email protected]

Patch Changes

  • #8027 1b8d30209 Thanks @natemoo-re! - Ensure dev server restarts respect when base is removed

  • #8033 405913cdf Thanks @matthewp! - Prevent script re-evaluation on page transition

  • #8036 87d4b1843 Thanks @ematipico! - Fix a bug where the middleware entry point was passed to integrations even though the configuration build.excludeMiddleware was set to false.

  • #8022 c23377caa Thanks @bluwy! - Always return a new array instance from getCollection in prod

  • #8013 86bee2812 Thanks @martrapp! - Links with hash marks now trigger view transitions if they lead to a different page. Links to the same page do not trigger view transitions.

[email protected]

Patch Changes

@astrojs/[email protected]

Patch Changes

@astrojs/[email protected]

Patch Changes

@github-actions github-actions bot added pkg: svelte Related to Svelte (scope) pkg: vue Related to Vue (scope) pkg: example Related to an example package (scope) pkg: integration Related to any renderer integration (scope) pkg: astro Related to the core `astro` package (scope) labels Aug 10, 2023
@github-actions github-actions bot force-pushed the changeset-release/main branch 18 times, most recently from 0eafe21 to 2be06c3 Compare August 11, 2023 14:13
@matthewp matthewp merged commit e1a8865 into main Aug 11, 2023
@matthewp matthewp deleted the changeset-release/main branch August 11, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope) pkg: example Related to an example package (scope) pkg: integration Related to any renderer integration (scope) pkg: svelte Related to Svelte (scope) pkg: vue Related to Vue (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants