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

chore(deps): update all non-major dependencies #229

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 31, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@astrojs/partytown (source) 2.1.1 -> 2.1.2 age adoption passing confidence
@changesets/cli (source) 2.27.7 -> 2.27.8 age adoption passing confidence
@std-uritemplate/std-uritemplate 1.0.5 -> 1.0.6 age adoption passing confidence
@types/node (source) 20.16.1 -> 20.16.5 age adoption passing confidence
@types/react (source) 18.3.4 -> 18.3.5 age adoption passing confidence
astro (source) 4.14.5 -> 4.15.4 age adoption passing confidence
debug 4.3.6 -> 4.3.7 age adoption passing confidence
lint-staged 15.2.9 -> 15.2.10 age adoption passing confidence
pnpm (source) 9.8.0 -> 9.9.0 age adoption passing confidence
turbo (source) 2.0.14 -> 2.1.1 age adoption passing confidence
vite (source) 5.4.2 -> 5.4.3 age adoption passing confidence

Release Notes

withastro/astro (@​astrojs/partytown)

v2.1.2

Compare Source

Patch Changes
changesets/changesets (@​changesets/cli)

v2.27.8

Compare Source

std-uritemplate/std-uritemplate (@​std-uritemplate/std-uritemplate)

v1.0.6

Compare Source

withastro/astro (astro)

v4.15.4

Compare Source

Patch Changes
  • #​11879 bd1d4aa Thanks @​matthewp! - Allow passing a cryptography key via ASTRO_KEY

    For Server islands Astro creates a cryptography key in order to hash props for the islands, preventing accidental leakage of secrets.

    If you deploy to an environment with rolling updates then there could be multiple instances of your app with different keys, causing potential key mismatches.

    To fix this you can now pass the ASTRO_KEY environment variable to your build in order to reuse the same key.

    To generate a key use:

    astro create-key
    

    This will print out an environment variable to set like:

    ASTRO_KEY=PIAuyPNn2aKU/bviapEuc/nVzdzZPizKNo3OqF/5PmQ=
    
  • #​11935 c58193a Thanks @​Princesseuh! - Fixes astro add not using the proper export point when adding certain adapters

v4.15.3

Compare Source

Patch Changes

v4.15.2

Compare Source

Patch Changes

v4.15.1

Compare Source

Patch Changes

v4.15.0

Compare Source

Minor Changes
  • #​11729 1c54e63 Thanks @​ematipico! - Adds a new variant sync for the astro:config:setup hook's command property. This value is set when calling the command astro sync.

    If your integration previously relied on knowing how many variants existed for the command property, you must update your logic to account for this new option.

  • #​11743 cce0894 Thanks @​ph1p! - Adds a new, optional property timeout for the client:idle directive.

    This value allows you to specify a maximum time to wait, in milliseconds, before hydrating a UI framework component, even if the page is not yet done with its initial load. This means you can delay hydration for lower-priority UI elements with more control to ensure your element is interactive within a specified time frame.

    <ShowHideButton client:idle={{ timeout: 500 }} />
  • #​11677 cb356a5 Thanks @​ematipico! - Adds a new option fallbackType to i18n.routing configuration that allows you to control how fallback pages are handled.

    When i18n.fallback is configured, this new routing option controls whether to redirect to the fallback page, or to rewrite the fallback page's content in place.

    The "redirect" option is the default value and matches the current behavior of the existing fallback system.

    The option "rewrite" uses the new rewriting system to create fallback pages that render content on the original, requested URL without a browser refresh.

    For example, the following configuration will generate a page /fr/index.html that will contain the same HTML rendered by the page /en/index.html when src/pages/fr/index.astro does not exist.

    // astro.config.mjs
    export default defineConfig({
      i18n: {
        locals: ['en', 'fr'],
        defaultLocale: 'en',
        routing: {
          prefixDefaultLocale: true,
          fallbackType: 'rewrite',
        },
        fallback: {
          fr: 'en',
        },
      },
    });
  • #​11708 62b0d20 Thanks @​martrapp! - Adds a new object swapFunctions to expose the necessary utility functions on astro:transitions/client that allow you to build custom swap functions to be used with view transitions.

    The example below uses these functions to replace Astro's built-in default swap function with one that only swaps the <main> part of the page:

    <script>
      import { swapFunctions } from 'astro:transitions/client';
    
      document.addEventListener('astro:before-swap', (e) => { e.swap = () => swapMainOnly(e.newDocument) });
    
      function swapMainOnly(doc: Document) {
        swapFunctions.deselectScripts(doc);
        swapFunctions.swapRootAttributes(doc);
        swapFunctions.swapHeadElements(doc);
        const restoreFocusFunction = swapFunctions.saveFocus();
        const newMain = doc.querySelector('main');
        const oldMain = document.querySelector('main');
        if (newMain && oldMain) {
          swapFunctions.swapBodyElement(newMain, oldMain);
        } else {
          swapFunctions.swapBodyElement(doc.body, document.body);
        }
        restoreFocusFunction();
      };
    </script>

    See the view transitions guide for more information about hooking into the astro:before-swap lifecycle event and adding a custom swap implementation.

  • #​11843 5b4070e Thanks @​bholmesdev! - Exposes z from the new astro:schema module. This is the new recommended import source for all Zod utilities when using Astro Actions.

v4.14.6

Compare Source

Patch Changes
debug-js/debug (debug)

v4.3.7

Compare Source

What's Changed

Full Changelog: debug-js/debug@4.3.6...4.3.7

lint-staged/lint-staged (lint-staged)

v15.2.10

Compare Source

Patch Changes
pnpm/pnpm (pnpm)

v9.9.0

Compare Source

vercel/turborepo (turbo)

v2.1.1: Turborepo v2.1.1

Compare Source

What's Changed

Docs
Examples
Changelog

New Contributors

Full Changelog: vercel/turborepo@v2.1.0...v2.1.1

v2.1.0: Turborepo v2.1.0

Compare Source

What's Changed

Docs
@​turbo/codemod
Examples
Changelog

New Contributors

Full Changelog: vercel/turborepo@v2.0.14...v2.1.0

vitejs/vite (vite)

v5.4.3

Compare Source

Copy link

changeset-bot bot commented Aug 31, 2024

⚠️ No Changeset found

Latest commit: 71db0ab

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/all-minor-patch branch 8 times, most recently from 7a47cf9 to 385e133 Compare September 6, 2024 03:40
@emmanuelgautier emmanuelgautier merged commit 6282345 into main Sep 8, 2024
1 check passed
@emmanuelgautier emmanuelgautier deleted the renovate/all-minor-patch branch September 8, 2024 08:19
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