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

Bump the npm-dependencies group with 2 updates #2

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 5, 2024

Bumps the npm-dependencies group with 2 updates: astro and astro-font.

Updates astro from 4.12.2 to 4.13.1

Release notes

Sourced from astro's releases.

astro@4.13.1

Patch Changes

  • #11584 a65ffe3 Thanks @​bholmesdev! - Removes async local storage dependency from Astro Actions. This allows Actions to run in Cloudflare and Stackblitz without opt-in flags or other configuration.

    This also introduces a new convention for calling actions from server code. Instead of calling actions directly, you must wrap function calls with the new Astro.callAction() utility.

    callAction() is meant to trigger an action from server code. getActionResult() usage with form submissions remains unchanged.

    ---
    import { actions } from 'astro:actions';
    const result = await Astro.callAction(actions.searchPosts, {
    searchTerm: Astro.url.searchParams.get('search'),
    });
    {
    result.data &&
    {
    /* render the results */
    }
    }

    Migration

    If you call actions directly from server code, update function calls to use the Astro.callAction() wrapper for pages and context.callAction() for endpoints:

    ---
    import { actions } from 'astro:actions';
    
    const result = await actions.searchPosts({ searchTerm: 'test' });
    
    
    const result = await Astro.callAction(actions.searchPosts, { searchTerm: 'test' });
    
    

    If you deploy with Cloudflare and added the nodejs_compat or nodejs_als flags for Actions, we recommend removing these:

    compatibility_flags = [
    - "nodejs_compat",
    - "nodejs_als"
    ]

    You can also remove node:async_hooks from the vite.ssr.external option in your astro.config file:

... (truncated)

Changelog

Sourced from astro's changelog.

4.13.1

Patch Changes

  • #11584 a65ffe3 Thanks @​bholmesdev! - Removes async local storage dependency from Astro Actions. This allows Actions to run in Cloudflare and Stackblitz without opt-in flags or other configuration.

    This also introduces a new convention for calling actions from server code. Instead of calling actions directly, you must wrap function calls with the new Astro.callAction() utility.

    callAction() is meant to trigger an action from server code. getActionResult() usage with form submissions remains unchanged.

    ---
    import { actions } from 'astro:actions';
    const result = await Astro.callAction(actions.searchPosts, {
    searchTerm: Astro.url.searchParams.get('search'),
    });
    {
    result.data &&
    {
    /* render the results */
    }
    }

    Migration

    If you call actions directly from server code, update function calls to use the Astro.callAction() wrapper for pages and context.callAction() for endpoints:

    ---
    import { actions } from 'astro:actions';
    
    const result = await actions.searchPosts({ searchTerm: 'test' });
    
    
    const result = await Astro.callAction(actions.searchPosts, { searchTerm: 'test' });
    
    

    If you deploy with Cloudflare and added the nodejs_compat or nodejs_als flags for Actions, we recommend removing these:

    compatibility_flags = [
    - "nodejs_compat",
    - "nodejs_als"
    ]

    You can also remove node:async_hooks from the vite.ssr.external option in your astro.config file:

... (truncated)

Commits

Updates astro-font from 0.0.81 to 0.1.81

Release notes

Sourced from astro-font's releases.

astro-font@0.1.81

In astro-font@^0.1.81, the support for locally hosted fonts in local development environments have been introduced. Simply the checks for https: have been extended to http:. Also, the type definitions for style and weight attribute per configuration has been updated to support string, and string and number respectively.

Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the npm-dependencies group with 2 updates: [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) and [astro-font](https://github.com/rishi-raj-jain/astro-font).


Updates `astro` from 4.12.2 to 4.13.1
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@4.13.1/packages/astro)

Updates `astro-font` from 0.0.81 to 0.1.81
- [Release notes](https://github.com/rishi-raj-jain/astro-font/releases)
- [Commits](https://github.com/rishi-raj-jain/astro-font/commits/0.1.81)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-dependencies
- dependency-name: astro-font
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 5, 2024
Copy link

cloudflare-workers-and-pages bot commented Aug 5, 2024

Deploying openshock-org with  Cloudflare Pages  Cloudflare Pages

Latest commit: b9547bc
Status: ✅  Deploy successful!
Preview URL: https://8a28ed67.openshock-org.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-npm-ha31.openshock-org.pages.dev

View logs

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 12, 2024

Superseded by #3.

@dependabot dependabot bot closed this Aug 12, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/npm-dependencies-258b73f954 branch August 12, 2024 06:29
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.

0 participants