CNSeniorious000 / free-chat

An elegant LLM chat UI forked from chatgpt-demo of @anse-app. Index site at https://free-chat.asia
https://endless-chat.vercel.app
MIT License
177 stars 51 forks source link

chore(deps): bump astro from 4.16.5 to 4.16.6 #97

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps astro from 4.16.5 to 4.16.6.

Release notes

Sourced from astro's releases.

astro@4.16.6

Patch Changes

  • #11823 a3d30a6 Thanks @​DerTimonius! - fix: improve error message when inferSize is used in local images with the Image component

  • #12227 8b1a641 Thanks @​florian-lefebvre! - Fixes a case where environment variables would not be refreshed when using astro:env

  • #12239 2b6daa5 Thanks @​ematipico! - BREAKING CHANGE to the experimental Container API only

    Changes the default page rendering behavior of Astro components in containers, and adds a new option partial: false to render full Astro pages as before.

    Previously, the Container API was rendering all Astro components as if they were full Astro pages containing <!DOCTYPE html> by default. This was not intended, and now by default, all components will render as page partials: only the contents of the components without a page shell.

    To render the component as a full-fledged Astro page, pass a new option called partial: false to renderToString() and renderToResponse():

    import { experimental_AstroContainer as AstroContainer } from 'astro/container';
    import Card from '../src/components/Card.astro';
    

    const container = AstroContainer.create();

    await container.renderToString(Card); // the string will not contain &lt;!DOCTYPE html&gt; await container.renderToString(Card, { partial: false }); // the string will contain &lt;!DOCTYPE html&gt;

Changelog

Sourced from astro's changelog.

4.16.6

Patch Changes

  • #11823 a3d30a6 Thanks @​DerTimonius! - fix: improve error message when inferSize is used in local images with the Image component

  • #12227 8b1a641 Thanks @​florian-lefebvre! - Fixes a case where environment variables would not be refreshed when using astro:env

  • #12239 2b6daa5 Thanks @​ematipico! - BREAKING CHANGE to the experimental Container API only

    Changes the default page rendering behavior of Astro components in containers, and adds a new option partial: false to render full Astro pages as before.

    Previously, the Container API was rendering all Astro components as if they were full Astro pages containing <!DOCTYPE html> by default. This was not intended, and now by default, all components will render as page partials: only the contents of the components without a page shell.

    To render the component as a full-fledged Astro page, pass a new option called partial: false to renderToString() and renderToResponse():

    import { experimental_AstroContainer as AstroContainer } from 'astro/container';
    import Card from '../src/components/Card.astro';
    

    const container = AstroContainer.create();

    await container.renderToString(Card); // the string will not contain &lt;!DOCTYPE html&gt; await container.renderToString(Card, { partial: false }); // the string will contain &lt;!DOCTYPE html&gt;

Commits


Dependabot compatibility score

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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by Sourcery

杂务:

Original summary in English ## Summary by Sourcery Chores: - Bump Astro dependency from version 4.16.5 to 4.16.6.
vercel[bot] commented 1 month ago

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

Name Status Preview Comments Updated (UTC)
endless-chat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 4:33pm
free-chat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 4:33pm
sourcery-ai[bot] commented 1 month ago

审核指南由 Sourcery 提供

此拉取请求将 Astro 依赖项从版本 4.16.5 更新到 4.16.6。更新包括小的错误修复和改进,并对实验性的 Container API 进行了重大更改。

Astro Container API 更改的类图

classDiagram
    class AstroContainer {
        +create()
        +renderToString(component, options)
        +renderToResponse(component, options)
    }
    note for AstroContainer "在 renderToString 和 renderToResponse 方法中添加了 'partial' 选项。"

文件级更改

更改 详情 文件
将 Astro 依赖项更新到版本 4.16.6
  • 改进了在 Image 组件中使用本地图像的 inferSize 错误消息
  • 修复了使用 astro:env 时的环境变量刷新问题
  • 更改了容器中 Astro 组件的默认页面渲染行为(实验性 Container API)
pnpm-lock.yaml

提示和命令 #### 与 Sourcery 互动 - **触发新审核:** 在拉取请求中评论 `@sourcery-ai review`。 - **继续讨论:** 直接回复 Sourcery 的审核评论。 - **从审核评论生成 GitHub 问题:** 通过回复审核评论请求 Sourcery 创建一个问题。 - **生成拉取请求标题:** 在拉取请求标题的任何地方写 `@sourcery-ai` 以随时生成标题。 - **生成拉取请求摘要:** 在拉取请求正文的任何地方写 `@sourcery-ai summary` 以随时生成 PR 摘要。您也可以使用此命令指定摘要应插入的位置。 #### 自定义您的体验 访问您的[仪表板](https://app.sourcery.ai)以: - 启用或禁用审核功能,例如 Sourcery 生成的拉取请求摘要、审核指南等。 - 更改审核语言。 - 添加、删除或编辑自定义审核说明。 - 调整其他审核设置。 #### 获取帮助 - 如有问题或反馈,请[联系我们的支持团队](mailto:support@sourcery.ai)。 - 访问我们的[文档](https://docs.sourcery.ai)以获取详细指南和信息。 - 通过关注我们在 [X/Twitter](https://x.com/SourceryAI)、[LinkedIn](https://www.linkedin.com/company/sourcery-ai/) 或 [GitHub](https://github.com/sourcery-ai) 上的 Sourcery 团队保持联系。
Original review guide in English ## Reviewer's Guide by Sourcery This pull request updates the Astro dependency from version 4.16.5 to 4.16.6. The update includes minor bug fixes and improvements, with a breaking change to the experimental Container API. #### Class diagram for Astro Container API changes ```mermaid classDiagram class AstroContainer { +create() +renderToString(component, options) +renderToResponse(component, options) } note for AstroContainer "The 'partial' option is added to renderToString and renderToResponse methods." ``` ### File-Level Changes | Change | Details | Files | | ------ | ------- | ----- | | Update Astro dependency to version 4.16.6 |
  • Improve error message for inferSize usage with local images in the Image component
  • Fix environment variable refresh issue when using astro:env
  • Change default page rendering behavior of Astro components in containers (experimental Container API)
| `pnpm-lock.yaml` | ---
Tips and commands #### Interacting with Sourcery - **Trigger a new review:** Comment `@sourcery-ai review` on the pull request. - **Continue discussions:** Reply directly to Sourcery's review comments. - **Generate a GitHub issue from a review comment:** Ask Sourcery to create an issue from a review comment by replying to it. - **Generate a pull request title:** Write `@sourcery-ai` anywhere in the pull request title to generate a title at any time. - **Generate a pull request summary:** Write `@sourcery-ai summary` anywhere in the pull request body to generate a PR summary at any time. You can also use this command to specify where the summary should be inserted. #### Customizing Your Experience Access your [dashboard](https://app.sourcery.ai) to: - Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others. - Change the review language. - Add, remove or edit custom review instructions. - Adjust other review settings. #### Getting Help - [Contact our support team](mailto:support@sourcery.ai) for questions or feedback. - Visit our [documentation](https://docs.sourcery.ai) for detailed guides and information. - Keep in touch with the Sourcery team by following us on [X/Twitter](https://x.com/SourceryAI), [LinkedIn](https://www.linkedin.com/company/sourcery-ai/) or [GitHub](https://github.com/sourcery-ai).
netlify[bot] commented 1 month ago

Deploy Preview for promplate-demo ready!

Name Link
Latest commit 2b3737f3a51f7e52d34bc0e88f774d8a7c03561a
Latest deploy log https://app.netlify.com/sites/promplate-demo/deploys/67113be207566d0008fa63c2
Deploy Preview https://deploy-preview-97--promplate-demo.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 58
Accessibility: 55
Best Practices: 83
SEO: 84
PWA: 100
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

dependabot[bot] commented 1 month ago

Looks like astro is up-to-date now, so this is no longer needed.