withastro/language-tools (@astrojs/check)
### [`v0.8.2`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/astro-check/CHANGELOG.md#082)
[Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/check@0.8.1...@astrojs/check@0.8.2)
##### Patch Changes
- [`708167e`](https://togithub.com/withastro/language-tools/commit/708167e): Fixes script and style tags being wrongfully included in the generated TSX
- Updated dependencies \[[`708167e`](https://togithub.com/withastro/language-tools/commit/708167e)]
- [@astrojs/language-server](https://togithub.com/astrojs/language-server)[@2](https://togithub.com/2).12.1
withastro/astro (@astrojs/mdx)
### [`v3.1.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#313)
[Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@3.1.2...@astrojs/mdx@3.1.3)
##### Patch Changes
- Updated dependencies \[[`49b5145`](https://togithub.com/withastro/astro/commit/49b5145158a603b9bb951bf914a6a9780c218704)]:
- [@astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@5](https://togithub.com/5).2.0
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
### [`v7.16.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#7161-2024-07-15)
[Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.16.0...v7.16.1)
##### 🩹 Fixes
- **eslint-plugin:** \[no-unnecessary-type-parameters] descend into all parts of mapped types in no-unnecessary-type-parameters
##### ❤️ Thank You
- Dan Vanderkam
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
### [`v7.16.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7161-2024-07-15)
[Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.16.0...v7.16.1)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
withastro/astro (astro)
### [`v4.12.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4122)
[Compare Source](https://togithub.com/withastro/astro/compare/astro@4.12.1...astro@4.12.2)
##### Patch Changes
- [#11505](https://togithub.com/withastro/astro/pull/11505) [`8ff7658`](https://togithub.com/withastro/astro/commit/8ff7658001c2c7bedf6adcddf7a9341196f2d376) Thanks [@ematipico](https://togithub.com/ematipico)! - Enhances the dev server logging when rewrites occur during the lifecycle or rendering.
The dev server will log the status code **before** and **after** a rewrite:
```shell
08:16:48 [404] (rewrite) /foo/about 200ms
08:22:13 [200] (rewrite) /about 23ms
```
- [#11506](https://togithub.com/withastro/astro/pull/11506) [`026e8ba`](https://togithub.com/withastro/astro/commit/026e8baf3323e99f96530999fd32a0a9b305854d) Thanks [@sarah11918](https://togithub.com/sarah11918)! - Fixes typo in documenting the `slot="fallback"` attribute for Server Islands experimental feature.
- [#11508](https://togithub.com/withastro/astro/pull/11508) [`ca335e1`](https://togithub.com/withastro/astro/commit/ca335e1dc09bc83d3f8f5b9dd54f116bcb4881e4) Thanks [@cramforce](https://togithub.com/cramforce)! - Escapes HTML in serialized props
- [#11501](https://togithub.com/withastro/astro/pull/11501) [`4db78ae`](https://togithub.com/withastro/astro/commit/4db78ae046a39628dfe8d68e776706559d4f8ba7) Thanks [@martrapp](https://togithub.com/martrapp)! - Adds the missing export for accessing the `getFallback()` function of the client site router.
### [`v4.12.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4121)
[Compare Source](https://togithub.com/withastro/astro/compare/astro@4.12.0...astro@4.12.1)
##### Patch Changes
- [#11486](https://togithub.com/withastro/astro/pull/11486) [`9c0c849`](https://togithub.com/withastro/astro/commit/9c0c8492d987cd9214ed53e71fb29599c206966a) Thanks [@ematipico](https://togithub.com/ematipico)! - Adds a new function called `addClientRenderer` to the Container API.
This function should be used when rendering components using the `client:*` directives. The `addClientRenderer` API must be used
*after* the use of the `addServerRenderer`:
```js
const container = await experimental_AstroContainer.create();
container.addServerRenderer({ renderer });
container.addClientRenderer({ name: '@astrojs/react', entrypoint: '@astrojs/react/client.js' });
const response = await container.renderToResponse(Component);
```
- [#11500](https://togithub.com/withastro/astro/pull/11500) [`4e142d3`](https://togithub.com/withastro/astro/commit/4e142d38cbaf0938be7077c88e32b38a6b60eaed) Thanks [@Princesseuh](https://togithub.com/Princesseuh)! - Fixes inferRemoteSize type not working
- [#11496](https://togithub.com/withastro/astro/pull/11496) [`53ccd20`](https://togithub.com/withastro/astro/commit/53ccd206f9bfe5f6a0d888d199776b4043f63f58) Thanks [@alfawal](https://togithub.com/alfawal)! - Hide the dev toolbar on `window.print()` (CTRL + P)
### [`v4.12.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4120)
[Compare Source](https://togithub.com/withastro/astro/compare/astro@4.11.6...astro@4.12.0)
##### Minor Changes
- [#11341](https://togithub.com/withastro/astro/pull/11341) [`49b5145`](https://togithub.com/withastro/astro/commit/49b5145158a603b9bb951bf914a6a9780c218704) Thanks [@madcampos](https://togithub.com/madcampos)! - Adds support for [Shiki's `defaultColor` option](https://shiki.style/guide/dual-themes#without-default-color).
This option allows you to override the values of a theme's inline style, adding only CSS variables to give you more flexibility in applying multiple color themes.
Configure `defaultColor: false` in your Shiki config to apply throughout your site, or pass to Astro's built-in `` component to style an individual code block.
```js title="astro.config.mjs"
import { defineConfig } from 'astro/config';
export default defineConfig({
markdown: {
shikiConfig: {
themes: {
light: 'github-light',
dark: 'github-dark',
},
defaultColor: false,
},
},
});
```
### [`v4.11.6`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4116)
[Compare Source](https://togithub.com/withastro/astro/compare/astro@4.11.5...astro@4.11.6)
##### Patch Changes
- [#11459](https://togithub.com/withastro/astro/pull/11459) [`bc2e74d`](https://togithub.com/withastro/astro/commit/bc2e74de384776caa252fd47dbeda895c0488c11) Thanks [@mingjunlu](https://togithub.com/mingjunlu)! - Fixes false positive audit warnings on elements with the role "tabpanel".
- [#11472](https://togithub.com/withastro/astro/pull/11472) [`cb4e6d0`](https://togithub.com/withastro/astro/commit/cb4e6d09deb7507058115a3fd2a567019a501e4d) Thanks [@delucis](https://togithub.com/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](https://togithub.com/withastro/astro/pull/11387) [`b498461`](https://togithub.com/withastro/astro/commit/b498461e277bffb0abe21b59a94b1e56a8c69d47) Thanks [@bluwy](https://togithub.com/bluwy)! - Fixes prerendering not removing unused dynamic imported chunks
- [#11437](https://togithub.com/withastro/astro/pull/11437) [`6ccb30e`](https://togithub.com/withastro/astro/commit/6ccb30e610eed34c2cc2c275485a8ac45c9b6b9e) Thanks [@NuroDev](https://togithub.com/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](https://togithub.com/withastro/astro/pull/11439) [`08baf56`](https://togithub.com/withastro/astro/commit/08baf56f328ce4b6814a7f90089c0b3398d8bbfe) Thanks [@bholmesdev](https://togithub.com/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.
```ts
// example.ts
import { actions, isInputError } from 'astro:actions';
try {
await actions.like(new FormData());
} catch (error) {
if (isInputError(error)) {
console.log(error.fields);
}
}
```
- [#11452](https://togithub.com/withastro/astro/pull/11452) [`0e66849`](https://togithub.com/withastro/astro/commit/0e6684983b9b24660a8fef83fe401ec1d567378a) Thanks [@FugiTech](https://togithub.com/FugiTech)! - Fixes an issue where using .nullish() in a formdata Astro action would always parse as a string
- [#11438](https://togithub.com/withastro/astro/pull/11438) [`619f07d`](https://togithub.com/withastro/astro/commit/619f07db701ebab2d2f2598dd2dcf93ba1e5719c) Thanks [@bholmesdev](https://togithub.com/bholmesdev)! - Exposes utility types from `astro:actions` for the `defineAction` handler (`ActionHandler`) and the `ActionError` code (`ActionErrorCode`).
- [#11456](https://togithub.com/withastro/astro/pull/11456) [`17e048d`](https://togithub.com/withastro/astro/commit/17e048de0e79d76b933d128676be2388954b419e) Thanks [@RickyC0626](https://togithub.com/RickyC0626)! - Fixes `astro dev --open` unexpected behavior that spawns a new tab every time a config file is saved
- [#11337](https://togithub.com/withastro/astro/pull/11337) [`0a4b31f`](https://togithub.com/withastro/astro/commit/0a4b31ffeb41ad1dfb3141384e22787763fcae3d) Thanks [@florian-lefebvre](https://togithub.com/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.
```js
// astro.config.mjs
import { defineConfig, envField } from 'astro/config';
export default defineConfig({
experimental: {
env: {
schema: {
// ...
},
validateSecrets: true,
},
},
});
```
- [#11443](https://togithub.com/withastro/astro/pull/11443) [`ea4bc04`](https://togithub.com/withastro/astro/commit/ea4bc04e9489c456e2b4b5dbd67d5e4cf3f89f97) Thanks [@bholmesdev](https://togithub.com/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:
```ts
// 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`:
```ts
// client.ts
import { actions, ActionReturnType } from 'astro:actions';
type LikesResult = ActionReturnType;
// -> { likes: number }
```
- [#11436](https://togithub.com/withastro/astro/pull/11436) [`7dca68f`](https://togithub.com/withastro/astro/commit/7dca68ff2e0f089a3fd090650ee05b1942792fed) Thanks [@bholmesdev](https://togithub.com/bholmesdev)! - Fixes `astro:actions` autocompletion for the `defineAction` `accept` property
- [#11455](https://togithub.com/withastro/astro/pull/11455) [`645e128`](https://togithub.com/withastro/astro/commit/645e128537f1f20da6703afc115d06371d7da5dd) Thanks [@florian-lefebvre](https://togithub.com/florian-lefebvre)! - Improves `astro:env` invalid variables errors
typicode/husky (husky)
### [`v9.1.1`](https://togithub.com/typicode/husky/compare/v9.1.0...2968998755465f69069f297b5bb603e26d6b1772)
[Compare Source](https://togithub.com/typicode/husky/compare/v9.1.0...v9.1.1)
### [`v9.1.0`](https://togithub.com/typicode/husky/releases/tag/v9.1.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v9.0.11...v9.1.0)
*Super saiyan ~~god~~ dog! It's over 9.0.0!*
*There's a bug with this release which prevents the deprecation notice to appear and requires to remove `#!/usr/bin/env sh` and `. "$(dirname -- "$0")/_/husky.sh"` (which are deprecated by the way). I'll publish a new version to fix that. Sorry about any inconvenience.*
### What's new
You can now run package commands directly, no need for `npx` or equivalents.
It makes writing hooks more intuitive and is also slightly faster 🐺⚡️
```diff
### .husky/pre-commit
- npx jest
+ jest # ~0.2s faster
```
A new recipe has been added to the docs. Lint staged files without external dependencies (inspired by Prettier docs). Feel free to modify it.
```shell
### .husky/pre-commit
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
git update-index --again
```
For more advanced use cases, see [lint-staged](https://togithub.com/lint-staged/lint-staged).
### Fixes
- `bunx husky init` command
- Workaround for some hooks implementation on Windows 🤷
### Deprecations
- Remove `#!/usr/bin/env sh` and `. "$(dirname -- "$0")/_/husky.sh"` from your hooks
- Move your code from `~/.huskyrc` to `.config/husky/init.sh`
Support for these will be removed in v10, notices have been added.
### Friendly reminder
If Git hooks don't fit your workflow, you can disable Husky globally. Just add `export HUSKY=0` to `.config/husky/init.sh`.
I've seen some confusion about this on X, so just a heads-up!
### Sponsoring
Husky is downloaded over 45M times per month and used by ~1.5M projects. If your company wants to sponsor, you can do so here: [GitHub Sponsors](https://togithub.com/sponsors/typicode).
**Have a nice summer ☀️ I'm open to new opportunities/consulting so feel free to drop me a message 😉**
remeda/remeda (remeda)
### [`v2.6.0`](https://togithub.com/remeda/remeda/releases/tag/v2.6.0)
[Compare Source](https://togithub.com/remeda/remeda/compare/v2.5.0...v2.6.0)
##### Features
- **shuffle:** Maintain input shape ([#781](https://togithub.com/remeda/remeda/issues/781)) ([fde46e0](https://togithub.com/remeda/remeda/commit/fde46e0a755cc2e0c3b6c0c95c437295ec172501))
TypeStrong/TypeDoc (typedoc)
### [`v0.26.5`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0265-2024-07-21)
[Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.26.4...e66afa77fe6c252e2ded301340ac2d572a0f88d6)
##### Features
- TypeDoc now exposes array option defaults under `OptionDefaults`, [#2640](https://togithub.com/TypeStrong/TypeDoc/issues/2640).
##### Bug Fixes
- Constructor parameters which share a name with a property on a parent class will no longer inherit the comment on the parent class, [#2636](https://togithub.com/TypeStrong/TypeDoc/issues/2636).
- Packages mode will now attempt to use the comment declared in the comment class for inherited members, [#2622](https://togithub.com/TypeStrong/TypeDoc/issues/2622).
- TypeDoc no longer crashes when `@document` includes an empty file, [#2638](https://togithub.com/TypeStrong/TypeDoc/issues/2638).
- API: Event listeners added later with the same priority will be called later, [#2643](https://togithub.com/TypeStrong/TypeDoc/issues/2643).
##### Thanks!
- [@bladerunner2020](https://togithub.com/bladerunner2020)
typescript-eslint/typescript-eslint (typescript-eslint)
### [`v7.16.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/typescript-eslint/CHANGELOG.md#7161-2024-07-15)
[Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.16.0...v7.16.1)
This was a version bump only for typescript-eslint to align it with other projects, there were no code changes.
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
vitest-dev/vitest (vitest)
### [`v2.0.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v2.0.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v2.0.2...v2.0.3)
##### 🚀 Features
- **ui**: Show all suites/tests when parent matches - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/6106](https://togithub.com/vitest-dev/vitest/issues/6106) [(840e0)](https://togithub.com/vitest-dev/vitest/commit/840e02f1)
##### 🐞 Bug Fixes
- `--inspect-brk` stop on Windows - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6110](https://togithub.com/vitest-dev/vitest/issues/6110) [(f8519)](https://togithub.com/vitest-dev/vitest/commit/f851982e)
- **browser**:
- Don't import from "vite" - by [@sheremet-va](https://togithub.com/sheremet-va) [(35655)](https://togithub.com/vitest-dev/vitest/commit/35655419)
- Allow immidiate reinvalidation of mocked dependencies - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6108](https://togithub.com/vitest-dev/vitest/issues/6108) [(f44cc)](https://togithub.com/vitest-dev/vitest/commit/f44cc917)
- **spy**:
- Fix type error when assigning `vi.spyOn` to `MockInstance` of function overload - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6086](https://togithub.com/vitest-dev/vitest/issues/6086) [(e9f9a)](https://togithub.com/vitest-dev/vitest/commit/e9f9adcd)
- **vite-node**:
- Remove suffix slash on file protocol for window - by [@syi0808](https://togithub.com/syi0808) in [https://github.com/vitest-dev/vitest/issues/6109](https://togithub.com/vitest-dev/vitest/issues/6109) [(93ebd)](https://togithub.com/vitest-dev/vitest/commit/93ebdefc)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v2.0.2...v2.0.3)
Configuration
📅 Schedule: Branch creation - "after 3am on Sunday" (UTC), 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.
This PR contains the following updates:
0.8.1
->0.8.2
3.1.2
->3.1.3
20.14.10
->20.14.11
7.16.0
->7.16.1
7.16.0
->7.16.1
4.11.5
->4.12.2
9.0.11
->9.1.1
2.5.0
->2.6.0
0.26.4
->0.26.5
7.16.0
->7.16.1
2.0.2
->2.0.3
Release Notes
withastro/language-tools (@astrojs/check)
### [`v0.8.2`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/astro-check/CHANGELOG.md#082) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/check@0.8.1...@astrojs/check@0.8.2) ##### Patch Changes - [`708167e`](https://togithub.com/withastro/language-tools/commit/708167e): Fixes script and style tags being wrongfully included in the generated TSX - Updated dependencies \[[`708167e`](https://togithub.com/withastro/language-tools/commit/708167e)] - [@astrojs/language-server](https://togithub.com/astrojs/language-server)[@2](https://togithub.com/2).12.1withastro/astro (@astrojs/mdx)
### [`v3.1.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#313) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@3.1.2...@astrojs/mdx@3.1.3) ##### Patch Changes - Updated dependencies \[[`49b5145`](https://togithub.com/withastro/astro/commit/49b5145158a603b9bb951bf914a6a9780c218704)]: - [@astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@5](https://togithub.com/5).2.0typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
### [`v7.16.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#7161-2024-07-15) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.16.0...v7.16.1) ##### 🩹 Fixes - **eslint-plugin:** \[no-unnecessary-type-parameters] descend into all parts of mapped types in no-unnecessary-type-parameters ##### ❤️ Thank You - Dan Vanderkam You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.typescript-eslint/typescript-eslint (@typescript-eslint/parser)
### [`v7.16.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7161-2024-07-15) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.16.0...v7.16.1) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.withastro/astro (astro)
### [`v4.12.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4122) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.12.1...astro@4.12.2) ##### Patch Changes - [#11505](https://togithub.com/withastro/astro/pull/11505) [`8ff7658`](https://togithub.com/withastro/astro/commit/8ff7658001c2c7bedf6adcddf7a9341196f2d376) Thanks [@ematipico](https://togithub.com/ematipico)! - Enhances the dev server logging when rewrites occur during the lifecycle or rendering. The dev server will log the status code **before** and **after** a rewrite: ```shell 08:16:48 [404] (rewrite) /foo/about 200ms 08:22:13 [200] (rewrite) /about 23ms ``` - [#11506](https://togithub.com/withastro/astro/pull/11506) [`026e8ba`](https://togithub.com/withastro/astro/commit/026e8baf3323e99f96530999fd32a0a9b305854d) Thanks [@sarah11918](https://togithub.com/sarah11918)! - Fixes typo in documenting the `slot="fallback"` attribute for Server Islands experimental feature. - [#11508](https://togithub.com/withastro/astro/pull/11508) [`ca335e1`](https://togithub.com/withastro/astro/commit/ca335e1dc09bc83d3f8f5b9dd54f116bcb4881e4) Thanks [@cramforce](https://togithub.com/cramforce)! - Escapes HTML in serialized props - [#11501](https://togithub.com/withastro/astro/pull/11501) [`4db78ae`](https://togithub.com/withastro/astro/commit/4db78ae046a39628dfe8d68e776706559d4f8ba7) Thanks [@martrapp](https://togithub.com/martrapp)! - Adds the missing export for accessing the `getFallback()` function of the client site router. ### [`v4.12.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4121) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.12.0...astro@4.12.1) ##### Patch Changes - [#11486](https://togithub.com/withastro/astro/pull/11486) [`9c0c849`](https://togithub.com/withastro/astro/commit/9c0c8492d987cd9214ed53e71fb29599c206966a) Thanks [@ematipico](https://togithub.com/ematipico)! - Adds a new function called `addClientRenderer` to the Container API. This function should be used when rendering components using the `client:*` directives. The `addClientRenderer` API must be used *after* the use of the `addServerRenderer`: ```js const container = await experimental_AstroContainer.create(); container.addServerRenderer({ renderer }); container.addClientRenderer({ name: '@astrojs/react', entrypoint: '@astrojs/react/client.js' }); const response = await container.renderToResponse(Component); ``` - [#11500](https://togithub.com/withastro/astro/pull/11500) [`4e142d3`](https://togithub.com/withastro/astro/commit/4e142d38cbaf0938be7077c88e32b38a6b60eaed) Thanks [@Princesseuh](https://togithub.com/Princesseuh)! - Fixes inferRemoteSize type not working - [#11496](https://togithub.com/withastro/astro/pull/11496) [`53ccd20`](https://togithub.com/withastro/astro/commit/53ccd206f9bfe5f6a0d888d199776b4043f63f58) Thanks [@alfawal](https://togithub.com/alfawal)! - Hide the dev toolbar on `window.print()` (CTRL + P) ### [`v4.12.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4120) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.11.6...astro@4.12.0) ##### Minor Changes - [#11341](https://togithub.com/withastro/astro/pull/11341) [`49b5145`](https://togithub.com/withastro/astro/commit/49b5145158a603b9bb951bf914a6a9780c218704) Thanks [@madcampos](https://togithub.com/madcampos)! - Adds support for [Shiki's `defaultColor` option](https://shiki.style/guide/dual-themes#without-default-color). This option allows you to override the values of a theme's inline style, adding only CSS variables to give you more flexibility in applying multiple color themes. Configure `defaultColor: false` in your Shiki config to apply throughout your site, or pass to Astro's built-in `` component to style an individual code block. ```js title="astro.config.mjs" import { defineConfig } from 'astro/config'; export default defineConfig({ markdown: { shikiConfig: { themes: { light: 'github-light', dark: 'github-dark', }, defaultColor: false, }, }, }); ``` ### [`v4.11.6`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4116) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.11.5...astro@4.11.6) ##### Patch Changes - [#11459](https://togithub.com/withastro/astro/pull/11459) [`bc2e74d`](https://togithub.com/withastro/astro/commit/bc2e74de384776caa252fd47dbeda895c0488c11) Thanks [@mingjunlu](https://togithub.com/mingjunlu)! - Fixes false positive audit warnings on elements with the role "tabpanel". - [#11472](https://togithub.com/withastro/astro/pull/11472) [`cb4e6d0`](https://togithub.com/withastro/astro/commit/cb4e6d09deb7507058115a3fd2a567019a501e4d) Thanks [@delucis](https://togithub.com/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](https://togithub.com/withastro/astro/pull/11387) [`b498461`](https://togithub.com/withastro/astro/commit/b498461e277bffb0abe21b59a94b1e56a8c69d47) Thanks [@bluwy](https://togithub.com/bluwy)! - Fixes prerendering not removing unused dynamic imported chunks - [#11437](https://togithub.com/withastro/astro/pull/11437) [`6ccb30e`](https://togithub.com/withastro/astro/commit/6ccb30e610eed34c2cc2c275485a8ac45c9b6b9e) Thanks [@NuroDev](https://togithub.com/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](https://togithub.com/withastro/astro/pull/11439) [`08baf56`](https://togithub.com/withastro/astro/commit/08baf56f328ce4b6814a7f90089c0b3398d8bbfe) Thanks [@bholmesdev](https://togithub.com/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. ```ts // example.ts import { actions, isInputError } from 'astro:actions'; try { await actions.like(new FormData()); } catch (error) { if (isInputError(error)) { console.log(error.fields); } } ``` - [#11452](https://togithub.com/withastro/astro/pull/11452) [`0e66849`](https://togithub.com/withastro/astro/commit/0e6684983b9b24660a8fef83fe401ec1d567378a) Thanks [@FugiTech](https://togithub.com/FugiTech)! - Fixes an issue where using .nullish() in a formdata Astro action would always parse as a string - [#11438](https://togithub.com/withastro/astro/pull/11438) [`619f07d`](https://togithub.com/withastro/astro/commit/619f07db701ebab2d2f2598dd2dcf93ba1e5719c) Thanks [@bholmesdev](https://togithub.com/bholmesdev)! - Exposes utility types from `astro:actions` for the `defineAction` handler (`ActionHandler`) and the `ActionError` code (`ActionErrorCode`). - [#11456](https://togithub.com/withastro/astro/pull/11456) [`17e048d`](https://togithub.com/withastro/astro/commit/17e048de0e79d76b933d128676be2388954b419e) Thanks [@RickyC0626](https://togithub.com/RickyC0626)! - Fixes `astro dev --open` unexpected behavior that spawns a new tab every time a config file is saved - [#11337](https://togithub.com/withastro/astro/pull/11337) [`0a4b31f`](https://togithub.com/withastro/astro/commit/0a4b31ffeb41ad1dfb3141384e22787763fcae3d) Thanks [@florian-lefebvre](https://togithub.com/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. ```js // astro.config.mjs import { defineConfig, envField } from 'astro/config'; export default defineConfig({ experimental: { env: { schema: { // ... }, validateSecrets: true, }, }, }); ``` - [#11443](https://togithub.com/withastro/astro/pull/11443) [`ea4bc04`](https://togithub.com/withastro/astro/commit/ea4bc04e9489c456e2b4b5dbd67d5e4cf3f89f97) Thanks [@bholmesdev](https://togithub.com/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: ```ts // 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`: ```ts // client.ts import { actions, ActionReturnType } from 'astro:actions'; type LikesResult = ActionReturnType;
// -> { likes: number }
```
- [#11436](https://togithub.com/withastro/astro/pull/11436) [`7dca68f`](https://togithub.com/withastro/astro/commit/7dca68ff2e0f089a3fd090650ee05b1942792fed) Thanks [@bholmesdev](https://togithub.com/bholmesdev)! - Fixes `astro:actions` autocompletion for the `defineAction` `accept` property
- [#11455](https://togithub.com/withastro/astro/pull/11455) [`645e128`](https://togithub.com/withastro/astro/commit/645e128537f1f20da6703afc115d06371d7da5dd) Thanks [@florian-lefebvre](https://togithub.com/florian-lefebvre)! - Improves `astro:env` invalid variables errors
typicode/husky (husky)
### [`v9.1.1`](https://togithub.com/typicode/husky/compare/v9.1.0...2968998755465f69069f297b5bb603e26d6b1772) [Compare Source](https://togithub.com/typicode/husky/compare/v9.1.0...v9.1.1) ### [`v9.1.0`](https://togithub.com/typicode/husky/releases/tag/v9.1.0) [Compare Source](https://togithub.com/typicode/husky/compare/v9.0.11...v9.1.0)remeda/remeda (remeda)
### [`v2.6.0`](https://togithub.com/remeda/remeda/releases/tag/v2.6.0) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.5.0...v2.6.0) ##### Features - **shuffle:** Maintain input shape ([#781](https://togithub.com/remeda/remeda/issues/781)) ([fde46e0](https://togithub.com/remeda/remeda/commit/fde46e0a755cc2e0c3b6c0c95c437295ec172501))TypeStrong/TypeDoc (typedoc)
### [`v0.26.5`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0265-2024-07-21) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.26.4...e66afa77fe6c252e2ded301340ac2d572a0f88d6) ##### Features - TypeDoc now exposes array option defaults under `OptionDefaults`, [#2640](https://togithub.com/TypeStrong/TypeDoc/issues/2640). ##### Bug Fixes - Constructor parameters which share a name with a property on a parent class will no longer inherit the comment on the parent class, [#2636](https://togithub.com/TypeStrong/TypeDoc/issues/2636). - Packages mode will now attempt to use the comment declared in the comment class for inherited members, [#2622](https://togithub.com/TypeStrong/TypeDoc/issues/2622). - TypeDoc no longer crashes when `@document` includes an empty file, [#2638](https://togithub.com/TypeStrong/TypeDoc/issues/2638). - API: Event listeners added later with the same priority will be called later, [#2643](https://togithub.com/TypeStrong/TypeDoc/issues/2643). ##### Thanks! - [@bladerunner2020](https://togithub.com/bladerunner2020)typescript-eslint/typescript-eslint (typescript-eslint)
### [`v7.16.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/typescript-eslint/CHANGELOG.md#7161-2024-07-15) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.16.0...v7.16.1) This was a version bump only for typescript-eslint to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.vitest-dev/vitest (vitest)
### [`v2.0.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v2.0.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v2.0.2...v2.0.3) ##### 🚀 Features - **ui**: Show all suites/tests when parent matches - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/6106](https://togithub.com/vitest-dev/vitest/issues/6106) [(840e0)](https://togithub.com/vitest-dev/vitest/commit/840e02f1) ##### 🐞 Bug Fixes - `--inspect-brk` stop on Windows - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6110](https://togithub.com/vitest-dev/vitest/issues/6110) [(f8519)](https://togithub.com/vitest-dev/vitest/commit/f851982e) - **browser**: - Don't import from "vite" - by [@sheremet-va](https://togithub.com/sheremet-va) [(35655)](https://togithub.com/vitest-dev/vitest/commit/35655419) - Allow immidiate reinvalidation of mocked dependencies - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6108](https://togithub.com/vitest-dev/vitest/issues/6108) [(f44cc)](https://togithub.com/vitest-dev/vitest/commit/f44cc917) - **spy**: - Fix type error when assigning `vi.spyOn` to `MockInstance` of function overload - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6086](https://togithub.com/vitest-dev/vitest/issues/6086) [(e9f9a)](https://togithub.com/vitest-dev/vitest/commit/e9f9adcd) - **vite-node**: - Remove suffix slash on file protocol for window - by [@syi0808](https://togithub.com/syi0808) in [https://github.com/vitest-dev/vitest/issues/6109](https://togithub.com/vitest-dev/vitest/issues/6109) [(93ebd)](https://togithub.com/vitest-dev/vitest/commit/93ebdefc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v2.0.2...v2.0.3)Configuration
📅 Schedule: Branch creation - "after 3am on Sunday" (UTC), 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.
This PR has been generated by Mend Renovate. View repository job log here.