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 dependency astro to v4.7.0 - autoclosed #10

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 31, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
astro (source) 4.6.1 -> 4.7.0 age adoption passing confidence

Release Notes

withastro/astro (astro)

v4.7.0

Compare Source

Minor Changes
  • #​10665 7b4f284 Thanks @​Princesseuh! - Adds new utilities to ease the creation of toolbar apps including defineToolbarApp to make it easier to define your toolbar app and app and server helpers for easier communication between the toolbar and the server. These new utilities abstract away some of the boilerplate code that is common in toolbar apps, and lower the barrier of entry for app authors.

    For example, instead of creating an event listener for the app-toggled event and manually typing the value in the callback, you can now use the onAppToggled method. Additionally, communicating with the server does not require knowing any of the Vite APIs anymore, as a new server object is passed to the init function that contains easy to use methods for communicating with the server.

    import { defineToolbarApp } from "astro/toolbar";
    
    export default defineToolbarApp({
      init(canvas, app, server) {
    
    -    app.addEventListener("app-toggled", (e) => {
    -      console.log(`App is now ${state ? "enabled" : "disabled"}`);.
    -    });
    
    +    app.onToggled(({ state }) => {
    +        console.log(`App is now ${state ? "enabled" : "disabled"}`);
    +    });
    
    -    if (import.meta.hot) {
    -      import.meta.hot.send("my-app:my-client-event", { message: "world" });
    -    }
    
    +    server.send("my-app:my-client-event", { message: "world" })
    
    -    if (import.meta.hot) {
    -      import.meta.hot.on("my-server-event", (data: {message: string}) => {
    -        console.log(data.message);
    -      });
    -    }
    
    +    server.on<{ message: string }>("my-server-event", (data) => {
    +      console.log(data.message); // data is typed using the type parameter
    +    });
      },
    })

    Server helpers are also available on the server side, for use in your integrations, through the new toolbar object:

    "astro:server:setup": ({ toolbar }) => {
      toolbar.on<{ message: string }>("my-app:my-client-event", (data) => {
        console.log(data.message);
        toolbar.send("my-server-event", { message: "hello" });
      });
    }

    This is a backwards compatible change and your your existing dev toolbar apps will continue to function. However, we encourage you to build your apps with the new helpers, following the updated Dev Toolbar API documentation.

  • #​10734 6fc4c0e Thanks @​Princesseuh! - Astro will now automatically check for updates when you run the dev server. If a new version is available, a message will appear in the terminal with instructions on how to update. Updates will be checked once per 10 days, and the message will only appear if the project is multiple versions behind the latest release.

    This behavior can be disabled by running astro preferences disable checkUpdates or setting the ASTRO_DISABLE_UPDATE_CHECK environment variable to false.

  • #​10762 43ead8f Thanks @​bholmesdev! - Enables type checking for JavaScript files when using the strictest TS config. This ensures consistency with Astro's other TS configs, and fixes type checking for integrations like Astro DB when using an astro.config.mjs.

    If you are currently using the strictest preset and would like to still disable .js files, set allowJS: false in your tsconfig.json.

Patch Changes

v4.6.4

Compare Source

Patch Changes
  • #​10846 3294f7a Thanks @​matthewp! - Prevent getCollection breaking in vitest

  • #​10856 30cf82a Thanks @​robertvanhoesel! - Prevents inputs with a name attribute of action or method to break ViewTransitions' form submission

  • #​10833 8d5f3e8 Thanks @​renovate! - Updates esbuild dependency to v0.20. This should not affect projects in most cases.

  • #​10801 204b782 Thanks @​rishi-raj-jain! - Fixes an issue where images in MD required a relative specifier (e.g. ./)

    Now, you can use the standard ![](relative/img.png) syntax in MD files for images colocated in the same folder: no relative specifier required!

    There is no need to update your project; your existing images will still continue to work. However, you may wish to remove any relative specifiers from these MD images as they are no longer necessary:

    - ![A cute dog](./dog.jpg)
    + ![A cute dog](dog.jpg)
    <!-- This dog lives in the same folder as my article! -->
  • #​10841 a2df344 Thanks @​martrapp! - Due to regression on mobile WebKit browsers, reverts a change made for JavaScript animations during view transitions.

v4.6.3

Compare Source

Patch Changes

v4.6.2

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • 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 force-pushed the renovate/astro-4.x branch 3 times, most recently from 2061fa2 to cbd6fc5 Compare March 31, 2024 18:43
@renovate renovate bot changed the title Update dependency astro to v4.5.10 Update dependency astro to v4.5.12 Mar 31, 2024
@renovate renovate bot changed the title Update dependency astro to v4.5.12 Update dependency astro to v4.5.13 Apr 5, 2024
@renovate renovate bot changed the title Update dependency astro to v4.5.13 Update dependency astro to v4.5.14 Apr 5, 2024
@renovate renovate bot changed the title Update dependency astro to v4.5.14 Update dependency astro to v4.5.15 Apr 6, 2024
@renovate renovate bot changed the title Update dependency astro to v4.5.15 Update dependency astro to v4.5.16 Apr 7, 2024
@renovate renovate bot force-pushed the renovate/astro-4.x branch 2 times, most recently from fa92308 to daf8d8a Compare April 12, 2024 12:10
@renovate renovate bot changed the title Update dependency astro to v4.5.16 Update dependency astro to v4.5.17 Apr 12, 2024
@renovate renovate bot changed the title Update dependency astro to v4.5.17 Update dependency astro to v4.5.18 Apr 13, 2024
@renovate renovate bot force-pushed the renovate/astro-4.x branch 2 times, most recently from 7f30a8e to cdb8351 Compare April 14, 2024 11:54
@renovate renovate bot changed the title Update dependency astro to v4.5.18 Update dependency astro to v4.6.0 Apr 14, 2024
@renovate renovate bot force-pushed the renovate/astro-4.x branch 3 times, most recently from 86abeb2 to 1a7238e Compare April 15, 2024 17:34
@renovate renovate bot changed the title Update dependency astro to v4.6.0 Update dependency astro to v4.6.1 Apr 15, 2024
@renovate renovate bot force-pushed the renovate/astro-4.x branch 2 times, most recently from 8199115 to e3f2bfb Compare April 19, 2024 17:26
@renovate renovate bot changed the title Update dependency astro to v4.6.1 Update dependency astro to v4.6.2 Apr 19, 2024
@renovate renovate bot changed the title Update dependency astro to v4.6.2 Update dependency astro to v4.6.3 Apr 21, 2024
@renovate renovate bot force-pushed the renovate/astro-4.x branch 2 times, most recently from 34eda48 to f1f6618 Compare April 27, 2024 02:20
@renovate renovate bot changed the title Update dependency astro to v4.6.3 Update dependency astro to v4.6.4 Apr 27, 2024
@renovate renovate bot changed the title Update dependency astro to v4.6.4 Update dependency astro to v4.7.0 Apr 28, 2024
@renovate renovate bot force-pushed the renovate/astro-4.x branch 2 times, most recently from f711312 to f7bdad8 Compare April 30, 2024 22:20
@github-actions github-actions bot requested a deployment to [site] (renovate/astro-4.x) April 30, 2024 22:21 Abandoned
Copy link

github-actions bot commented May 1, 2024

Run report for 614c0578

Total time: 40.5s | Comparison time: 44.1s | Estimated savings: 3.6s (8.1% faster)

Action Time Status Info
🟩 SyncWorkspace 0ms Passed
⬛️ SetupNodeTool(20.12.0) 1.4s Skipped
🟩 InstallNodeDeps(20.12.0) 14.7s Passed
🟩 SyncNodeProject(site) 0.3ms Passed
🟩 RunTask(site:imports) 105.7ms Passed
🟩 RunTask(site:sync) 2.7s Passed
🟩 RunTask(site:format) 8.5s Passed
🟩 RunTask(site:check) 8.4s Passed
🟩 RunTask(site:lint) 84ms Passed
🟩 RunTask(site:build) 13.1s Passed
Touched files
apps/site/package.json
pnpm-lock.yaml

@github-actions github-actions bot requested a deployment to [site] (renovate/astro-4.x) May 1, 2024 06:52 Abandoned
@renovate renovate bot changed the title Update dependency astro to v4.7.0 Update dependency astro to v4.7.0 - autoclosed May 1, 2024
@renovate renovate bot closed this May 1, 2024
@renovate renovate bot deleted the renovate/astro-4.x branch May 1, 2024 09:43
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.

0 participants