Skip to content

Bump astro from 3.1.2 to 3.2.0#6

Merged
kremalicious merged 1 commit into
mainfrom
dependabot/npm_and_yarn/astro-3.2.0
Oct 2, 2023
Merged

Bump astro from 3.1.2 to 3.2.0#6
kremalicious merged 1 commit into
mainfrom
dependabot/npm_and_yarn/astro-3.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 2, 2023

Copy link
Copy Markdown
Contributor

Bumps astro from 3.1.2 to 3.2.0.

Release notes

Sourced from astro's releases.

@​astrojs/markdown-remark@​3.2.0

Minor Changes

Patch Changes

[email protected]

Minor Changes

  • #8696 2167ffd72 Thanks @​matthewp! - Support adding integrations dynamically

    Astro integrations can now themselves dynamically add and configure additional integrations during set-up. This makes it possible for integration authors to bundle integrations more intelligently for their users.

    In the following example, a custom integration checks whether @astrojs/sitemap is already configured. If not, the integration adds Astro’s sitemap integration, passing any desired configuration options:

    import sitemap from '@astrojs/sitemap';
    import type { AstroIntegration } from 'astro';
    const MyIntegration = (): AstroIntegration => {
    return {
    name: 'my-integration',
    'astro:config:setup': ({ config, updateConfig }) => {
      // Look for sitemap in user-configured integrations.
      const userSitemap = config.integrations.find(
        ({ name }) => name === '@astrojs/sitemap'
      );
    if (!userSitemap) {
    // If sitemap wasn’t found, add it.
    updateConfig({
    integrations: [sitemap({ /* opts */ }],
    });
    }
    },
    
    };
    };

  • #8696 2167ffd72 Thanks @​matthewp! - View transitions can now be triggered from JavaScript!

    Import the client-side router from "astro:transitions/client" and enjoy your new remote control for navigation:

... (truncated)

Changelog

Sourced from astro's changelog.

3.2.0

Minor Changes

  • #8696 2167ffd72 Thanks @​matthewp! - Support adding integrations dynamically

    Astro integrations can now themselves dynamically add and configure additional integrations during set-up. This makes it possible for integration authors to bundle integrations more intelligently for their users.

    In the following example, a custom integration checks whether @astrojs/sitemap is already configured. If not, the integration adds Astro’s sitemap integration, passing any desired configuration options:

    import sitemap from '@astrojs/sitemap';
    import type { AstroIntegration } from 'astro';
    const MyIntegration = (): AstroIntegration => {
    return {
    name: 'my-integration',
    'astro:config:setup': ({ config, updateConfig }) => {
      // Look for sitemap in user-configured integrations.
      const userSitemap = config.integrations.find(
        ({ name }) => name === '@astrojs/sitemap'
      );
    if (!userSitemap) {
    // If sitemap wasn’t found, add it.
    updateConfig({
    integrations: [sitemap({ /* opts */ }],
    });
    }
    },
    
    };
    };

  • #8696 2167ffd72 Thanks @​matthewp! - View transitions can now be triggered from JavaScript!

    Import the client-side router from "astro:transitions/client" and enjoy your new remote control for navigation:

    import { navigate } from 'astro:transitions/client';
    // Navigate to the selected option automatically.
    document.querySelector('select').onchange = (ev) => {
    let href = ev.target.value;
    navigate(href);
    };

  • #8696 2167ffd72 Thanks @​matthewp! - Route Announcer in <ViewTransitions />

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 2, 2023
@kremalicious kremalicious merged commit 973276f into main Oct 2, 2023
@kremalicious kremalicious deleted the dependabot/npm_and_yarn/astro-3.2.0 branch October 2, 2023 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant