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: update all dependencies (minor) #283

Merged
merged 1 commit into from
Nov 16, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 22, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@astrojs/vercel (source) ^5.0.2 -> ^5.2.0 age adoption passing confidence dependencies minor
astro (source) ^3.3.3 -> ^3.5.4 age adoption passing confidence dependencies minor
astro-compress ^2.0.15 -> ^2.2.3 age adoption passing confidence dependencies minor
node 20.8.1 -> 20.9.0 age adoption passing confidence minor

Release Notes

withastro/astro (@​astrojs/vercel)

v5.2.0

Compare Source

Minor Changes
  • #​8879 754e4fd31 Thanks @​lilnasy! - The Vercel adapter now streams responses!

    This brings better performance to your visitors by showing them content as it is rendered. The browser can also start loading the required stylesheets and scripts much sooner, which ultimately results in faster full page loads.

v5.1.0

Compare Source

Minor Changes
  • #​8867 b209e5335 Thanks @​lilnasy! - You can now configure how long your functions can run before timing out.

    export default defineConfig({
        output: "server",
        adapter: vercel({
    +       maxDuration: 60
        }),
    });
Patch Changes
  • #​8896 5dd1ed50b Thanks @​bluwy! - Prevents the Vercel serverless adapter from generating static redirect pages in hybrid mode

  • Updated dependencies [26b77b8fe]:

    • astro@3.3.4
withastro/astro (astro)

v3.5.4

Compare Source

Patch Changes

v3.5.3

Compare Source

Patch Changes

v3.5.2

Compare Source

Patch Changes

v3.5.1

Compare Source

Patch Changes

v3.5.0

Compare Source

Minor Changes
  • #​8869 f5bdfa272 Thanks @​matthewp! - ## Integration Hooks to add Middleware

    It's now possible in Astro for an integration to add middleware on behalf of the user. Previously when a third party wanted to provide middleware, the user would need to create a src/middleware.ts file themselves. Now, adding third-party middleware is as easy as adding a new integration.

    For integration authors, there is a new addMiddleware function in the astro:config:setup hook. This function allows you to specify a middleware module and the order in which it should be applied:

    // my-package/middleware.js
    import { defineMiddleware } from 'astro:middleware';
    
    export const onRequest = defineMiddleware(async (context, next) => {
      const response = await next();
    
      if (response.headers.get('content-type') === 'text/html') {
        let html = await response.text();
        html = minify(html);
        return new Response(html, {
          status: response.status,
          headers: response.headers,
        });
      }
    
      return response;
    });

    You can now add your integration's middleware and specify that it runs either before or after the application's own defined middleware (defined in src/middleware.{js,ts})

    // my-package/integration.js
    export function myIntegration() {
      return {
        name: 'my-integration',
        hooks: {
          'astro:config:setup': ({ addMiddleware }) => {
            addMiddleware({
              entrypoint: 'my-package/middleware',
              order: 'pre',
            });
          },
        },
      };
    }
  • #​8854 3e1239e42 Thanks @​natemoo-re! - Provides a new, experimental build cache for Content Collections as part of the Incremental Build RFC. This includes multiple refactors to Astro's build process to optimize how Content Collections are handled, which should provide significant performance improvements for users with many collections.

    Users building a static site can opt-in to preview the new build cache by adding the following flag to your Astro config:

    // astro.config.mjs
    export default {
      experimental: {
        contentCollectionCache: true,
      },
    };

    When this experimental feature is enabled, the files generated from your content collections will be stored in the cacheDir (by default, node_modules/.astro) and reused between builds. Most CI environments automatically restore files in node_modules/ by default.

    In our internal testing on the real world Astro Docs project, this feature reduces the bundling step of astro build from 133.20s to 10.46s, about 92% faster. The end-to-end astro build process used to take 4min 58s and now takes just over 1min for a total reduction of 80%.

    If you run into any issues with this experimental feature, please let us know!

    You can always bypass the cache for a single build by passing the --force flag to astro build.

    astro build --force
    
  • #​8963 fda3a0213 Thanks @​matthewp! - Form support in View Transitions router

    The <ViewTransitions /> router can now handle form submissions, allowing the same animated transitions and stateful UI retention on form posts that are already available on <a> links. With this addition, your Astro project can have animations in all of these scenarios:

    • Clicking links between pages.
    • Making stateful changes in forms (e.g. updating site preferences).
    • Manually triggering navigation via the navigate() API.

    This feature is opt-in for semver reasons and can be enabled by adding the handleForms prop to the ` component:

v3.4.4

Compare Source

Patch Changes

v3.4.3

Compare Source

Patch Changes

v3.4.2

Compare Source

Patch Changes

v3.4.1

Compare Source

Patch Changes

v3.4.0

Compare Source

Minor Changes
  • #​8755 fe4079f05 Thanks @​matthewp! - Page Partials

    A page component can now be identified as a partial page, which will render its HTML content without including a <! DOCTYPE html> declaration nor any <head> content.

    A rendering library, like htmx or Stimulus or even just jQuery can access partial content on the client to dynamically update only parts of a page.

    Pages marked as partials do not have a doctype or any head content included in the rendered result. You can mark any page as a partial by setting this option:

v3.3.4

Compare Source

Patch Changes
astro-community/AstroCompress (astro-compress)

v2.2.3

Compare Source

  • Cleanup

v2.2.2

Compare Source

  • Cleanup

v2.2.1

Compare Source

  • Bug fix

v2.2.0

Compare Source

  • Bug fix
  • Refactor allowing multiple parsers

v2.1.6

Compare Source

  • Cleanup

v2.1.5

Compare Source

  • Cleanup
nodejs/node (node)

v20.9.0

Compare Source


Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner October 22, 2023 00:36
@renovate renovate bot added the renovate label Oct 22, 2023
@vercel
Copy link

vercel bot commented Oct 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
product-design ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 15, 2023 1:46am

@renovate renovate bot changed the title chore: update dependency astro-compress to ^2.1.3 chore: update dependency astro-compress to ^2.1.3 - autoclosed Oct 22, 2023
@renovate renovate bot closed this Oct 22, 2023
@renovate renovate bot deleted the renovate/all-dependencies branch October 22, 2023 13:49
@renovate renovate bot changed the title chore: update dependency astro-compress to ^2.1.3 - autoclosed chore: update dependency astro-compress to ^2.1.3 Oct 23, 2023
@renovate renovate bot reopened this Oct 23, 2023
@renovate renovate bot restored the renovate/all-dependencies branch October 23, 2023 19:58
@renovate renovate bot changed the title chore: update dependency astro-compress to ^2.1.3 chore: update dependency astro-compress to ^2.1.5 Oct 24, 2023
@renovate renovate bot force-pushed the renovate/all-dependencies branch from 091c0fa to 69d2a80 Compare October 24, 2023 01:52
@renovate renovate bot force-pushed the renovate/all-dependencies branch from 69d2a80 to fda5950 Compare October 24, 2023 05:20
@renovate renovate bot force-pushed the renovate/all-dependencies branch from fda5950 to 2ff7873 Compare October 24, 2023 05:21
@renovate renovate bot force-pushed the renovate/all-dependencies branch from 2ff7873 to 3561e6f Compare October 25, 2023 01:08
@renovate renovate bot changed the title chore: update dependency astro-compress to ^2.1.5 chore: update all dependencies (minor) Oct 25, 2023
@renovate renovate bot force-pushed the renovate/all-dependencies branch from 3561e6f to 5c2ab99 Compare October 26, 2023 01:52
@renovate renovate bot force-pushed the renovate/all-dependencies branch from 5c2ab99 to 7f80dff Compare October 27, 2023 01:16
@renovate renovate bot force-pushed the renovate/all-dependencies branch from 7f80dff to ee35457 Compare October 29, 2023 03:28
@renovate renovate bot force-pushed the renovate/all-dependencies branch from ee35457 to 19a60a2 Compare November 2, 2023 00:43
@renovate renovate bot force-pushed the renovate/all-dependencies branch from 19a60a2 to ac91b7d Compare November 2, 2023 03:05
@renovate renovate bot force-pushed the renovate/all-dependencies branch from 24e927a to e76361c Compare November 15, 2023 01:45
@uknmr uknmr merged commit 07dd5d8 into main Nov 16, 2023
3 checks passed
@uknmr uknmr deleted the renovate/all-dependencies branch November 16, 2023 01:33
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.

None yet

1 participant