withastro/astro (@astrojs/solid-js)
### [`v4.1.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/solid/CHANGELOG.md#410)
[Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/solid-js@4.0.1...@astrojs/solid-js@4.1.0)
##### Minor Changes
- [#10689](https://togithub.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://togithub.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://togithub.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line.
This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support).
withastro/astro (astro)
### [`v4.6.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#460)
[Compare Source](https://togithub.com/withastro/astro/compare/astro@4.5.18...astro@4.6.0)
##### Minor Changes
- [#10591](https://togithub.com/withastro/astro/pull/10591) [`39988ef8e2c4c4888543c973e06d9b9939e4ac95`](https://togithub.com/withastro/astro/commit/39988ef8e2c4c4888543c973e06d9b9939e4ac95) Thanks [@mingjunlu](https://togithub.com/mingjunlu)! - Adds a new dev toolbar settings option to change the horizontal placement of the dev toolbar on your screen: bottom left, bottom center, or bottom right.
- [#10689](https://togithub.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://togithub.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://togithub.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line.
This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support).
- [#10678](https://togithub.com/withastro/astro/pull/10678) [`2e53b5fff6d292b7acdf8c30a6ecf5e5696846a1`](https://togithub.com/withastro/astro/commit/2e53b5fff6d292b7acdf8c30a6ecf5e5696846a1) Thanks [@ematipico](https://togithub.com/ematipico)! - Adds a new experimental security option to prevent [Cross-Site Request Forgery (CSRF) attacks](https://owasp.org/www-community/attacks/csrf). This feature is available only for pages rendered on demand:
```js
import { defineConfig } from 'astro/config';
export default defineConfig({
experimental: {
security: {
csrfProtection: {
origin: true,
},
},
},
});
```
Enabling this setting performs a check that the "origin" header, automatically passed by all modern browsers, matches the URL sent by each `Request`.
This experimental "origin" check is executed only for pages rendered on demand, and only for the requests ` POST, `PATCH` , `DELETE`and`PUT`with one of the following`content-type\` headers: 'application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'.
It the "origin" header doesn't match the pathname of the request, Astro will return a 403 status code and won't render the page.
- [#10193](https://togithub.com/withastro/astro/pull/10193) [`440681e7b74511a17b152af0fd6e0e4dc4014025`](https://togithub.com/withastro/astro/commit/440681e7b74511a17b152af0fd6e0e4dc4014025) Thanks [@ematipico](https://togithub.com/ematipico)! - Adds a new i18n routing option `manual` to allow you to write your own i18n middleware:
```js
import { defineConfig } from 'astro/config';
// astro.config.mjs
export default defineConfig({
i18n: {
locales: ['en', 'fr'],
defaultLocale: 'fr',
routing: 'manual',
},
});
```
Adding `routing: "manual"` to your i18n config disables Astro's own i18n middleware and provides you with helper functions to write your own: `redirectToDefaultLocale`, `notFound`, and `redirectToFallback`:
```js
// middleware.js
import { redirectToDefaultLocale } from 'astro:i18n';
export const onRequest = defineMiddleware(async (context, next) => {
if (context.url.startsWith('/about')) {
return next();
} else {
return redirectToDefaultLocale(context, 302);
}
});
```
Also adds a `middleware` function that manually creates Astro's i18n middleware. This allows you to extend Astro's i18n routing instead of completely replacing it. Run `middleware` in combination with your own middleware, using the `sequence` utility to determine the order:
```js title="src/middleware.js"
import { defineMiddleware, sequence } from 'astro:middleware';
import { middleware } from 'astro:i18n'; // Astro's own i18n routing config
export const userMiddleware = defineMiddleware();
export const onRequest = sequence(
userMiddleware,
middleware({
redirectToDefaultLocale: false,
prefixDefaultLocale: true,
})
);
```
- [#10671](https://togithub.com/withastro/astro/pull/10671) [`9e14a78cb05667af9821948c630786f74680090d`](https://togithub.com/withastro/astro/commit/9e14a78cb05667af9821948c630786f74680090d) Thanks [@fshafiee](https://togithub.com/fshafiee)! - Adds the `httpOnly`, `sameSite`, and `secure` options when deleting a cookie
##### Patch Changes
- [#10747](https://togithub.com/withastro/astro/pull/10747) [`994337c99f84304df1147a14504659439a9a7326`](https://togithub.com/withastro/astro/commit/994337c99f84304df1147a14504659439a9a7326) Thanks [@lilnasy](https://togithub.com/lilnasy)! - Fixes an issue where functions could not be used as named slots.
- [#10750](https://togithub.com/withastro/astro/pull/10750) [`7e825604ddf90c989537e07939a39dc249343897`](https://togithub.com/withastro/astro/commit/7e825604ddf90c989537e07939a39dc249343897) Thanks [@OliverSpeir](https://togithub.com/OliverSpeir)! - Fixes a false positive for "Invalid `tabindex` on non-interactive element" rule for roleless elements ( `div` and `span` ).
- [#10745](https://togithub.com/withastro/astro/pull/10745) [`d51951ce6278d4b59deed938d65e1cb72b5102df`](https://togithub.com/withastro/astro/commit/d51951ce6278d4b59deed938d65e1cb72b5102df) Thanks [@lilnasy](https://togithub.com/lilnasy)! - Fixes an issue where CLI commands could not report the reason for failure before exiting.
- [#10661](https://togithub.com/withastro/astro/pull/10661) [`e2cd7f4291912dadd4a654bc7917856c58a72a97`](https://togithub.com/withastro/astro/commit/e2cd7f4291912dadd4a654bc7917856c58a72a97) Thanks [@liruifengv](https://togithub.com/liruifengv)! - Fixed errorOverlay theme toggle bug.
- Updated dependencies \[[`ccafa8d230f65c9302421a0ce0a0adc5824bfd55`](https://togithub.com/withastro/astro/commit/ccafa8d230f65c9302421a0ce0a0adc5824bfd55), [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://togithub.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99)]:
- [@astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@5](https://togithub.com/5).1.0
- [@astrojs/telemetry](https://togithub.com/astrojs/telemetry)[@3](https://togithub.com/3).1.0
cloudflare/workers-sdk (wrangler)
### [`v3.49.0`](https://togithub.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3490)
[Compare Source](https://togithub.com/cloudflare/workers-sdk/compare/wrangler@3.48.0...wrangler@3.49.0)
##### Minor Changes
- [#5549](https://togithub.com/cloudflare/workers-sdk/pull/5549) [`113ac41`](https://togithub.com/cloudflare/workers-sdk/commit/113ac41cda3bd6304c0683f6f8e61dcedf21e685) Thanks [@penalosa](https://togithub.com/penalosa)! - feat: Support `wrangler pages secret put|delete|list|bulk`
- [#5550](https://togithub.com/cloudflare/workers-sdk/pull/5550) [`4f47f74`](https://togithub.com/cloudflare/workers-sdk/commit/4f47f7422786e537eaefd034153998f848bcd573) Thanks [@penalosa](https://togithub.com/penalosa)! - feat: Generate a JSON schema for the Wrangler package & use it in templates
- [#5561](https://togithub.com/cloudflare/workers-sdk/pull/5561) [`59591cd`](https://togithub.com/cloudflare/workers-sdk/commit/59591cd5ace98bbfefd2ec34eb77dfeafd8db97d) Thanks [@ocsfrank](https://togithub.com/ocsfrank)! - feat: update R2 CreateBucket action to include the storage class in the request body
##### Patch Changes
- [#5374](https://togithub.com/cloudflare/workers-sdk/pull/5374) [`7999dd2`](https://togithub.com/cloudflare/workers-sdk/commit/7999dd2bacf53be3780ba70492003d417ffcd5f0) Thanks [@maxwellpeterson](https://togithub.com/maxwellpeterson)! - fix: Improvements to `--init-from-dash`
Adds user-specified CPU limit to `wrangler.toml` if one exists. Excludes `usage_model` from `wrangler.toml` in all cases, since this field is deprecated and no longer used.
- [#5553](https://togithub.com/cloudflare/workers-sdk/pull/5553) [`dcd65dd`](https://togithub.com/cloudflare/workers-sdk/commit/dcd65dd3da19f619cd9c48d42433ac538a734816) Thanks [@rozenmd](https://togithub.com/rozenmd)! - fix: refactor d1's time-travel compatibility check
- [#5380](https://togithub.com/cloudflare/workers-sdk/pull/5380) [`57d5658`](https://togithub.com/cloudflare/workers-sdk/commit/57d5658bc5560f4ba38fd1b21a1988a4922feea2) Thanks [@GregBrimble](https://togithub.com/GregBrimble)! - fix: Respect `--no-bundle` when deploying a `_worker.js/` directory in Pages projects
- [#5536](https://togithub.com/cloudflare/workers-sdk/pull/5536) [`a7aa28a`](https://togithub.com/cloudflare/workers-sdk/commit/a7aa28ad57c07ea96aad1ddc547afb11db679878) Thanks [@Cherry](https://togithub.com/Cherry)! - fix: resolve a regression where `wrangler pages dev` would bind to port 8787 by default instead of 8788 since wrangler@3.38.0
- Updated dependencies \[[`9575a51`](https://togithub.com/cloudflare/workers-sdk/commit/9575a514cbc206fea6d08f627253ead209fd2a8d)]:
- miniflare@3.20240405.0
Configuration
📅 Schedule: Branch creation - "before 4am" in timezone Asia/Tokyo, 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.
👻 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:
4.0.1
->4.1.0
4.5.18
->4.6.0
3.48.0
->3.49.0
Release Notes
withastro/astro (@astrojs/solid-js)
### [`v4.1.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/solid/CHANGELOG.md#410) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/solid-js@4.0.1...@astrojs/solid-js@4.1.0) ##### Minor Changes - [#10689](https://togithub.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://togithub.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://togithub.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support).withastro/astro (astro)
### [`v4.6.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#460) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.5.18...astro@4.6.0) ##### Minor Changes - [#10591](https://togithub.com/withastro/astro/pull/10591) [`39988ef8e2c4c4888543c973e06d9b9939e4ac95`](https://togithub.com/withastro/astro/commit/39988ef8e2c4c4888543c973e06d9b9939e4ac95) Thanks [@mingjunlu](https://togithub.com/mingjunlu)! - Adds a new dev toolbar settings option to change the horizontal placement of the dev toolbar on your screen: bottom left, bottom center, or bottom right. - [#10689](https://togithub.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://togithub.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://togithub.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). - [#10678](https://togithub.com/withastro/astro/pull/10678) [`2e53b5fff6d292b7acdf8c30a6ecf5e5696846a1`](https://togithub.com/withastro/astro/commit/2e53b5fff6d292b7acdf8c30a6ecf5e5696846a1) Thanks [@ematipico](https://togithub.com/ematipico)! - Adds a new experimental security option to prevent [Cross-Site Request Forgery (CSRF) attacks](https://owasp.org/www-community/attacks/csrf). This feature is available only for pages rendered on demand: ```js import { defineConfig } from 'astro/config'; export default defineConfig({ experimental: { security: { csrfProtection: { origin: true, }, }, }, }); ``` Enabling this setting performs a check that the "origin" header, automatically passed by all modern browsers, matches the URL sent by each `Request`. This experimental "origin" check is executed only for pages rendered on demand, and only for the requests ` POST, `PATCH` , `DELETE`and`PUT`with one of the following`content-type\` headers: 'application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'. It the "origin" header doesn't match the pathname of the request, Astro will return a 403 status code and won't render the page. - [#10193](https://togithub.com/withastro/astro/pull/10193) [`440681e7b74511a17b152af0fd6e0e4dc4014025`](https://togithub.com/withastro/astro/commit/440681e7b74511a17b152af0fd6e0e4dc4014025) Thanks [@ematipico](https://togithub.com/ematipico)! - Adds a new i18n routing option `manual` to allow you to write your own i18n middleware: ```js import { defineConfig } from 'astro/config'; // astro.config.mjs export default defineConfig({ i18n: { locales: ['en', 'fr'], defaultLocale: 'fr', routing: 'manual', }, }); ``` Adding `routing: "manual"` to your i18n config disables Astro's own i18n middleware and provides you with helper functions to write your own: `redirectToDefaultLocale`, `notFound`, and `redirectToFallback`: ```js // middleware.js import { redirectToDefaultLocale } from 'astro:i18n'; export const onRequest = defineMiddleware(async (context, next) => { if (context.url.startsWith('/about')) { return next(); } else { return redirectToDefaultLocale(context, 302); } }); ``` Also adds a `middleware` function that manually creates Astro's i18n middleware. This allows you to extend Astro's i18n routing instead of completely replacing it. Run `middleware` in combination with your own middleware, using the `sequence` utility to determine the order: ```js title="src/middleware.js" import { defineMiddleware, sequence } from 'astro:middleware'; import { middleware } from 'astro:i18n'; // Astro's own i18n routing config export const userMiddleware = defineMiddleware(); export const onRequest = sequence( userMiddleware, middleware({ redirectToDefaultLocale: false, prefixDefaultLocale: true, }) ); ``` - [#10671](https://togithub.com/withastro/astro/pull/10671) [`9e14a78cb05667af9821948c630786f74680090d`](https://togithub.com/withastro/astro/commit/9e14a78cb05667af9821948c630786f74680090d) Thanks [@fshafiee](https://togithub.com/fshafiee)! - Adds the `httpOnly`, `sameSite`, and `secure` options when deleting a cookie ##### Patch Changes - [#10747](https://togithub.com/withastro/astro/pull/10747) [`994337c99f84304df1147a14504659439a9a7326`](https://togithub.com/withastro/astro/commit/994337c99f84304df1147a14504659439a9a7326) Thanks [@lilnasy](https://togithub.com/lilnasy)! - Fixes an issue where functions could not be used as named slots. - [#10750](https://togithub.com/withastro/astro/pull/10750) [`7e825604ddf90c989537e07939a39dc249343897`](https://togithub.com/withastro/astro/commit/7e825604ddf90c989537e07939a39dc249343897) Thanks [@OliverSpeir](https://togithub.com/OliverSpeir)! - Fixes a false positive for "Invalid `tabindex` on non-interactive element" rule for roleless elements ( `div` and `span` ). - [#10745](https://togithub.com/withastro/astro/pull/10745) [`d51951ce6278d4b59deed938d65e1cb72b5102df`](https://togithub.com/withastro/astro/commit/d51951ce6278d4b59deed938d65e1cb72b5102df) Thanks [@lilnasy](https://togithub.com/lilnasy)! - Fixes an issue where CLI commands could not report the reason for failure before exiting. - [#10661](https://togithub.com/withastro/astro/pull/10661) [`e2cd7f4291912dadd4a654bc7917856c58a72a97`](https://togithub.com/withastro/astro/commit/e2cd7f4291912dadd4a654bc7917856c58a72a97) Thanks [@liruifengv](https://togithub.com/liruifengv)! - Fixed errorOverlay theme toggle bug. - Updated dependencies \[[`ccafa8d230f65c9302421a0ce0a0adc5824bfd55`](https://togithub.com/withastro/astro/commit/ccafa8d230f65c9302421a0ce0a0adc5824bfd55), [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://togithub.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99)]: - [@astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@5](https://togithub.com/5).1.0 - [@astrojs/telemetry](https://togithub.com/astrojs/telemetry)[@3](https://togithub.com/3).1.0cloudflare/workers-sdk (wrangler)
### [`v3.49.0`](https://togithub.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3490) [Compare Source](https://togithub.com/cloudflare/workers-sdk/compare/wrangler@3.48.0...wrangler@3.49.0) ##### Minor Changes - [#5549](https://togithub.com/cloudflare/workers-sdk/pull/5549) [`113ac41`](https://togithub.com/cloudflare/workers-sdk/commit/113ac41cda3bd6304c0683f6f8e61dcedf21e685) Thanks [@penalosa](https://togithub.com/penalosa)! - feat: Support `wrangler pages secret put|delete|list|bulk` - [#5550](https://togithub.com/cloudflare/workers-sdk/pull/5550) [`4f47f74`](https://togithub.com/cloudflare/workers-sdk/commit/4f47f7422786e537eaefd034153998f848bcd573) Thanks [@penalosa](https://togithub.com/penalosa)! - feat: Generate a JSON schema for the Wrangler package & use it in templates - [#5561](https://togithub.com/cloudflare/workers-sdk/pull/5561) [`59591cd`](https://togithub.com/cloudflare/workers-sdk/commit/59591cd5ace98bbfefd2ec34eb77dfeafd8db97d) Thanks [@ocsfrank](https://togithub.com/ocsfrank)! - feat: update R2 CreateBucket action to include the storage class in the request body ##### Patch Changes - [#5374](https://togithub.com/cloudflare/workers-sdk/pull/5374) [`7999dd2`](https://togithub.com/cloudflare/workers-sdk/commit/7999dd2bacf53be3780ba70492003d417ffcd5f0) Thanks [@maxwellpeterson](https://togithub.com/maxwellpeterson)! - fix: Improvements to `--init-from-dash` Adds user-specified CPU limit to `wrangler.toml` if one exists. Excludes `usage_model` from `wrangler.toml` in all cases, since this field is deprecated and no longer used. - [#5553](https://togithub.com/cloudflare/workers-sdk/pull/5553) [`dcd65dd`](https://togithub.com/cloudflare/workers-sdk/commit/dcd65dd3da19f619cd9c48d42433ac538a734816) Thanks [@rozenmd](https://togithub.com/rozenmd)! - fix: refactor d1's time-travel compatibility check - [#5380](https://togithub.com/cloudflare/workers-sdk/pull/5380) [`57d5658`](https://togithub.com/cloudflare/workers-sdk/commit/57d5658bc5560f4ba38fd1b21a1988a4922feea2) Thanks [@GregBrimble](https://togithub.com/GregBrimble)! - fix: Respect `--no-bundle` when deploying a `_worker.js/` directory in Pages projects - [#5536](https://togithub.com/cloudflare/workers-sdk/pull/5536) [`a7aa28a`](https://togithub.com/cloudflare/workers-sdk/commit/a7aa28ad57c07ea96aad1ddc547afb11db679878) Thanks [@Cherry](https://togithub.com/Cherry)! - fix: resolve a regression where `wrangler pages dev` would bind to port 8787 by default instead of 8788 since wrangler@3.38.0 - Updated dependencies \[[`9575a51`](https://togithub.com/cloudflare/workers-sdk/commit/9575a514cbc206fea6d08f627253ead209fd2a8d)]: - miniflare@3.20240405.0Configuration
📅 Schedule: Branch creation - "before 4am" in timezone Asia/Tokyo, 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.
👻 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.