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

Update astro monorepo (patch) #246

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 10, 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
astro (source) ^4.11.3 -> ^4.11.6 age adoption passing confidence

Release Notes

withastro/astro (@​astrojs/partytown)

v2.1.2

Compare Source

Patch Changes
withastro/astro (astro)

v4.11.6

Compare Source

Patch Changes
  • #​11459 bc2e74d Thanks @​mingjunlu! - Fixes false positive audit warnings on elements with the role "tabpanel".

  • #​11472 cb4e6d0 Thanks @​delucis! - Avoids targeting all files in the src/ directory for eager optimization by Vite. After this change, only JSX, Vue, Svelte, and Astro components get scanned for early optimization.

  • #​11387 b498461 Thanks @​bluwy! - Fixes prerendering not removing unused dynamic imported chunks

  • #​11437 6ccb30e Thanks @​NuroDev! - Fixes a case where Astro's config experimental.env.schema keys did not allow numbers. Numbers are still not allowed as the first character to be able to generate valid JavaScript identifiers

  • #​11439 08baf56 Thanks @​bholmesdev! - Expands the isInputError() utility from astro:actions to accept errors of any type. This should now allow type narrowing from a try / catch block.

    // example.ts
    import { actions, isInputError } from 'astro:actions';
    
    try {
      await actions.like(new FormData());
    } catch (error) {
      if (isInputError(error)) {
        console.log(error.fields);
      }
    }
  • #​11452 0e66849 Thanks @​FugiTech! - Fixes an issue where using .nullish() in a formdata Astro action would always parse as a string

  • #​11438 619f07d Thanks @​bholmesdev! - Exposes utility types from astro:actions for the defineAction handler (ActionHandler) and the ActionError code (ActionErrorCode).

  • #​11456 17e048d Thanks @​RickyC0626! - Fixes astro dev --open unexpected behavior that spawns a new tab every time a config file is saved

  • #​11337 0a4b31f Thanks @​florian-lefebvre! - Adds a new property experimental.env.validateSecrets to allow validating private variables on the server.

    By default, this is set to false and only public variables are checked on start. If enabled, secrets will also be checked on start (dev/build modes). This is useful for example in some CIs to make sure all your secrets are correctly set before deploying.

    // astro.config.mjs
    import { defineConfig, envField } from 'astro/config';
    
    export default defineConfig({
      experimental: {
        env: {
          schema: {
            // ...
          },
          validateSecrets: true,
        },
      },
    });
  • #​11443 ea4bc04 Thanks @​bholmesdev! - Expose new ActionReturnType utility from astro:actions. This infers the return type of an action by passing typeof actions.name as a type argument. This example defines a like action that returns likes as an object:

    // actions/index.ts
    import { defineAction } from 'astro:actions';
    
    export const server = {
      like: defineAction({
        handler: () => {
          /* ... */
          return { likes: 42 };
        },
      }),
    };

    In your client code, you can infer this handler return value with ActionReturnType:

    // client.ts
    import { actions, ActionReturnType } from 'astro:actions';
    
    type LikesResult = ActionReturnType<typeof actions.like>;
    // -> { likes: number }
  • #​11436 7dca68f Thanks @​bholmesdev! - Fixes astro:actions autocompletion for the defineAction accept property

  • #​11455 645e128 Thanks @​florian-lefebvre! - Improves astro:env invalid variables errors

v4.11.5

Compare Source

Patch Changes

v4.11.4

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - "after 8am and before 5pm every weekday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label Jul 10, 2024
@renovate renovate bot requested a review from a team as a code owner July 10, 2024 01:57
@renovate renovate bot requested review from im36-123 and kesteer and removed request for a team July 10, 2024 01:57
@renovate renovate bot enabled auto-merge (rebase) July 10, 2024 01:57
@renovate renovate bot force-pushed the renovate/patch-astro-monorepo branch 2 times, most recently from 608304b to 2db03d9 Compare July 17, 2024 03:54
@renovate renovate bot force-pushed the renovate/patch-astro-monorepo branch from 2db03d9 to 3cd1996 Compare July 18, 2024 01:32
@renovate renovate bot changed the title Update dependency astro to ^4.11.5 Update dependency astro to ^4.11.6 Jul 18, 2024
@renovate renovate bot force-pushed the renovate/patch-astro-monorepo branch 6 times, most recently from 4fe5db9 to 69fcbde Compare July 19, 2024 02:55
@renovate renovate bot force-pushed the renovate/patch-astro-monorepo branch 3 times, most recently from bc4e225 to f7dc43c Compare August 1, 2024 00:11
@renovate renovate bot force-pushed the renovate/patch-astro-monorepo branch from f7dc43c to 484548b Compare August 8, 2024 02:25
@renovate renovate bot force-pushed the renovate/patch-astro-monorepo branch 2 times, most recently from 07e312c to 44f4c47 Compare August 19, 2024 04:35
@renovate renovate bot changed the title Update dependency astro to ^4.11.6 Update astro monorepo (patch) Aug 29, 2024
@renovate renovate bot force-pushed the renovate/patch-astro-monorepo branch from 44f4c47 to 273ccd5 Compare August 29, 2024 01:07
@renovate renovate bot force-pushed the renovate/patch-astro-monorepo branch from 273ccd5 to 1eee64c Compare September 13, 2024 04:38
@renovate renovate bot force-pushed the renovate/patch-astro-monorepo branch 3 times, most recently from a987759 to 9a04cb9 Compare September 26, 2024 00:20
@renovate renovate bot force-pushed the renovate/patch-astro-monorepo branch from 9a04cb9 to b281c6d Compare October 7, 2024 23:16
@renovate renovate bot force-pushed the renovate/patch-astro-monorepo branch from b281c6d to 22a68c9 Compare October 15, 2024 01:18
@renovate renovate bot force-pushed the renovate/patch-astro-monorepo branch 4 times, most recently from fcf714d to c6a2cc1 Compare October 15, 2024 02:10
@renovate renovate bot force-pushed the renovate/patch-astro-monorepo branch from c6a2cc1 to a989821 Compare October 15, 2024 03:44
@renovate renovate bot merged commit fa970ad into master Oct 15, 2024
5 checks passed
@renovate renovate bot deleted the renovate/patch-astro-monorepo branch October 15, 2024 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant