Update All Dependencies
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@iconify-json/material-symbols | devDependencies | patch | 1.1.82 -> 1.1.84 |
@iconify-json/simple-icons | devDependencies | patch | 1.1.107 -> 1.1.109 |
@playform/compress | dependencies | patch | ^0.0.12 -> ^0.0.13 |
astro (source) | dependencies | patch | 4.11.3 -> 4.11.6 |
pnpm (source) | packageManager | minor | 9.4.0 -> 9.5.0 |
prettier (source) | devDependencies | patch | 3.3.2 -> 3.3.3 |
prettier-plugin-astro | devDependencies | patch | 0.14.0 -> 0.14.1 |
tailwind-merge | dependencies | minor | 2.3.0 -> 2.4.0 |
tailwindcss (source) | dependencies | patch | 3.4.4 -> 3.4.6 |
typescript (source) | devDependencies | patch | 5.5.2 -> 5.5.3 |
Release Notes
withastro/astro (astro)
v4.11.6
Patch Changes
-
#11459
bc2e74d
Thanks @mingjunlu! - Fixes false positive audit warnings on elements with the role "tabpanel". -
#11472
cb4e6d0
Thanks @delucis! - Avoids targeting all files in thesrc/
directory for eager optimization by Vite. After this change, only JSX, Vue, Svelte, and Astro components get scanned for early optimization. -
#11387
b498461
Thanks @bluwy! - Fixes prerendering not removing unused dynamic imported chunks -
#11437
6ccb30e
Thanks @NuroDev! - Fixes a case where Astro's configexperimental.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
08baf56
Thanks @bholmesdev! - Expands theisInputError()
utility fromastro:actions
to accept errors of any type. This should now allow type narrowing from a try / catch block.// example.ts import { actions, isInputError } from 'astro:actions'; try { await actions.like(new FormData()); } catch (error) { if (isInputError(error)) { console.log(error.fields); } }
-
#11452
0e66849
Thanks @FugiTech! - Fixes an issue where using .nullish() in a formdata Astro action would always parse as a string -
#11438
619f07d
Thanks @bholmesdev! - Exposes utility types fromastro:actions
for thedefineAction
handler (ActionHandler
) and theActionError
code (ActionErrorCode
). -
#11456
17e048d
Thanks @RickyC0626! - Fixesastro dev --open
unexpected behavior that spawns a new tab every time a config file is saved -
#11337
0a4b31f
Thanks @florian-lefebvre! - Adds a new propertyexperimental.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.// astro.config.mjs import { defineConfig, envField } from 'astro/config'; export default defineConfig({ experimental: { env: { schema: { // ... }, validateSecrets: true, }, }, });
-
#11443
ea4bc04
Thanks @bholmesdev! - Expose newActionReturnType
utility fromastro:actions
. This infers the return type of an action by passingtypeof actions.name
as a type argument. This example defines alike
action that returnslikes
as an object:// 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
:// client.ts import { actions, ActionReturnType } from 'astro:actions'; type LikesResult = ActionReturnType<typeof actions.like>; // -> { likes: number }
-
#11436
7dca68f
Thanks @bholmesdev! - Fixesastro:actions
autocompletion for thedefineAction
accept
property -
#11455
645e128
Thanks @florian-lefebvre! - Improvesastro:env
invalid variables errors
v4.11.5
Patch Changes
-
#11408
b9e906f
Thanks @matthewp! - Revert change to how boolean attributes work
v4.11.4
Patch Changes
-
#11362
93993b7
Thanks @ematipico! - Fixes an issue where creating manually the i18n middleware could break the logic of the functions of the virtual moduleastro:i18n
-
#11349
98d9ce4
Thanks @ematipico! - Fixes an issue where Astro didn't throw an error whenAstro.rewrite
was used without providing the experimental flag -
#11352
a55ee02
Thanks @ematipico! - Fixes an issue where the rewrites didn't update the status code when using manual i18n routing. -
#11388
3a223b4
Thanks @mingjunlu! - Adjusts the color of punctuations in error overlay. -
#11369
e6de11f
Thanks @bluwy! - Fixes attribute rendering for non-boolean attributes with boolean values
pnpm/pnpm (pnpm)
v9.5.0
: pnpm 9.5
Minor Changes
-
Added support for catalogs #8122.
Catalogs may be declared in the
pnpm-workspace.yaml
file. For example:
Default catalogs
catalog:
chalk: ^4.1.2
Named catalogs
catalogs:
react16:
react: ^16.7.0
react-dom: ^16.7.0
react17:
react: ^17.10.0
react-dom: ^17.10.0
```
Then, in `package.json` files, use the `catalog:` protocol to reference a "default" or "named" catalog:
```json
{
"dependencies": {
"chalk": "catalog:",
"react": "catalog:react16",
"react-dom": "catalog:react16"
}
}
```
Shout out to @​gluxon for implementing it!
- Bundled
pnpm setup
now creates thepnpx
script #8230.
Patch Changes
- Read authentication information from
.npmrc
in the current directory when runningdlx
#7996. - Updated
@pnpm/tabtab
to v0.5.4, enabling zsh autocomplete lazy loading #8236. - Installation with filtering will now work, when
dedupe-peer-dependents
is set totrue
#6300. - Fixed
dlx
not actually using the Node.js version specified by--use-node-version
.
Platinum Sponsors
|
|
Gold Sponsors
|
|
|
|
|
|
Our Silver Sponsors
|
|
|
|
|
|
|
|
prettier/prettier (prettier)
v3.3.3
#16391 by @cdignam-segment)
Add parentheses for nullish coalescing in ternary (This change adds clarity to operator precedence.
// Input
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;
// Prettier 3.3.2
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;
// Prettier 3.3.3
foo ? (bar ?? foo) : baz;
(foo ?? bar) ? a : b;
a ? b : (foo ?? bar);
#16458 by @y-schneider)
Add parentheses for decorator expressions (Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5.
// Input
@​(foo`tagged template`)
class X {}
// Prettier 3.3.2
@​foo`tagged template`
class X {}
// Prettier 3.3.3
@​(foo`tagged template`)
class X {}
@let
declaration syntax (#16474 by @sosukesuzuki)
Support Adds support for Angular v18 @let
declaration syntax.
Please see the following code example. The @let
declaration allows you to define local variables within the template:
@​let name = 'Frodo';
<h1>Dashboard for {{name}}</h1>
Hello, {{name}}
For more details, please refer to the excellent blog post by the Angular Team: Introducing @let in Angular.
We also appreciate the Angular Team for kindly answering our questions to implement this feature.
withastro/prettier-plugin-astro (prettier-plugin-astro)
v0.14.1
Patch Changes
-
7282bcb
: Fixes an issue where style and script tags would sometimes get moved to other tags
dcastil/tailwind-merge (tailwind-merge)
v2.4.0
New Features
- Allow hooking into class parsing logic (experimental) by @dcastil in https://github.com/dcastil/tailwind-merge/pull/444
- There is no info to this in the docs because this is experimental, but there is a new
experimentalParseClassName
property in the config that allows you to customize how tailwind-merge recognizes classes. If you're interested, you can read how to use it in the inline JSDocs and subscribe to https://github.com/dcastil/tailwind-merge/issues/385 for upcoming more powerful low-level functionality.
- There is no info to this in the docs because this is experimental, but there is a new
- Create security policy by @dcastil in https://github.com/dcastil/tailwind-merge/pull/439
- Added documentation on how to report potential vulnerabilities
- Avoid
@babel/runtime
dependency by @dcastil in https://github.com/dcastil/tailwind-merge/pull/431- Now no dependencies in tailwind-merge anymore. This dependency was only used in the
tailwind-merge/es5
bundle anyway which I don't optimize for.
- Now no dependencies in tailwind-merge anymore. This dependency was only used in the
Documentation
- Comment/typo fixes by @barvian in https://github.com/dcastil/tailwind-merge/pull/443
- Fix typo in doc/recipes.md by @dsernst in https://github.com/dcastil/tailwind-merge/pull/428
- docs: add tailwind-merge-dotnet to similar packages by @desmondinho in https://github.com/dcastil/tailwind-merge/pull/415
Other
- Added GitHub Action that adds context-v2 label to every issue, discussion and MR by @Pritam1211 in https://github.com/dcastil/tailwind-merge/pull/434
- Replace size-limit action with own metrics-report action by @dcastil in https://github.com/dcastil/tailwind-merge/pull/433
Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v2.3.0...v2.4.0
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco and @microsoft for sponsoring tailwind-merge!
tailwindlabs/tailwindcss (tailwindcss)
v3.4.6
Fixed
- Fix detection of some utilities in Slim/Pug templates (#14006)
Changed
- Loosen
:is()
wrapping rules when using an important selector (#13900)
v3.4.5
Fixed
- Disable automatic
var()
injection for anchor properties (#13826) - Use no value instead of
blur(0px)
forbackdrop-blur-none
andblur-none
utilities (#13830) - Add
.mts
and.cts
config file detection (#13940) - Don't generate utilities like
px-1
unnecessarily when using utilities likepx-1.5
(#13959) - Always generate
-webkit-backdrop-filter
forbackdrop-*
utilities (#13997)
Microsoft/TypeScript (typescript)
v5.5.3
: TypeScript 5.5.3
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
- fixed issues query for TypeScript v5.5.3 (Stable).
- fixed issues query for TypeScript v5.5.2 (Stable).
- fixed issues query for TypeScript v5.5.1 (RC).
- fixed issues query for TypeScript v5.5.0 (Beta).
Downloads are available on:
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.