The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
Inspired by SwiftGen .
Motivation
Using asset path string directly is not safe.
# pubspec.yaml
flutter:
assets:
- assets/images/profile.jpg
Bad What would happen if you made a typo?
Widget build(BuildContext context) {
return Image.asset('assets/images/profile.jpeg');
}
// The following assertion was thrown resolving an image codec:
// Unable to load asset: assets/images/profile.jpeg
Good We want to use it safely.
Widget build(BuildContext context) {
return Assets.images.profile.image();
}
Installation
Homebrew
Works with MacOS and Linux.
$ brew install FlutterGen/tap/fluttergen
Pub Global
Works with MacOS, Linux and Windows.
$ dart pub global activate flutter_gen
You might need to set up your path .
As a part of build_runner
Add build_runner and FlutterGen to your package’s pubspec.yaml file:
dev_dependencies:
build_runner:
flutter_gen_runner:
Install FlutterGen
$ flutter pub get
Use FlutterGen
$ flutter packages pub run build_runner build
Usage
Run fluttergen after the configuration pubspec.yaml .
$ fluttergen -h
$ fluttergen -c example/pubspec.yaml
Configuration file
FlutterGen generates dart files based on the key flutter and flutter_gen of pubspec.yaml . Default configuration can be found here .
# pubspec.yaml
# ...
flutter_gen:
output: lib/gen/ # Optional (default: lib/gen/)
line_length: 80 # Optional (default: 80)
# Optional
integrations:
flutter_svg: true
flare_flutter: true
colors:
inputs:
- assets/color/colors.xml
flutter:
uses-material-design: true
assets:
- assets/images/
fonts:
- family: Raleway
fonts:
- asset: assets/fonts/Raleway-Regular.ttf
- asset: assets/fonts/Raleway-Italic.ttf
style: italic
Available Parsers
Assets
Just follow the doc Adding assets and images#Specifying assets to specify assets, then FlutterGen will generate related dart files. No other specific configuration is required.Ignore duplicated.
# pubspec.yaml
flutter:
assets:
- assets/images/
- assets/images/chip3/chip.jpg
- assets/images/chip4/chip.jpg
- assets/images/icons/paint.svg
- assets/json/fruits.json
- assets/flare/Penguin.flr
- pictures/ocean_view.jpg
These configurations will generate assets.gen.dart under the lib/gen/ directory by default.
Usage Example
FlutterGen generates Image class if the asset is Flutter supported image format.
Example results of assets/images/chip.jpg:
Assets.images.chip is an implementation of AssetImage class .Assets.images.chip.image(...) returns Image class .Assets.images.chip.path just returns the path string.
Widget build(BuildContext context) {
return Image(image: Assets.images.chip);
}
Widget build(BuildContext context) {
return Assets.images.chip.image(
width: 120,
height: 120,
fit: BoxFit.scaleDown,
);
Widget build(BuildContext context) {
// Assets.images.chip.path = 'assets/images/chip3/chip3.jpg'
return Image.asset(Assets.images.chip.path);
}
If you are using SVG images with flutter_svg you can use the integration feature.
# pubspec.yaml
flutter_gen:
integrations:
flutter_svg: true
flutter:
assets:
- assets/images/icons/paint.svg
Widget build(BuildContext context) {
return Assets.images.icons.paint.svg(
width: 120,
height: 120
);
}
Available Integrations
Packages File extension Setting Usage flutter_svg .svg flutter_svg: trueAssets.images.icons.paint.svg() flare_flutter .flr flare_flutter: trueAssets.flare.penguin.flare()
In other cases, the asset is generated as String class.
// If don't use the Integrations.
final svg = SvgPicture.asset(Assets.images.icons.paint);
final json = await rootBundle.loadString(Assets.json.fruits);
FlutterGen also support generating other style of Assets class:
# pubspec.yaml
flutter_gen:
assets:
# Assets.imagesChip
# style: camel-case
# Assets.images_chip
# style: snake-case
# Assets.images.chip (default style)
# style: dot-delimiter
flutter:
assets:
- assets/images/chip.png
The root directory will be omitted if it is either assets or asset .
assets/images/chip3/chip.jpg => Assets.images.chip3.chip
assets/images/chip4/chip.jpg => Assets.images.chip4.chip
assets/images/icons/paint.svg => Assets.images.icons.paint
assets/json/fruits.json => Assets.json.fruits
pictures/ocean_view.jpg => Assets.pictures.oceanView
Example of code generated by FlutterGen
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
/// *****************************************************
import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:flutter/services.dart';
import 'package:flare_flutter/flare_actor.dart';
import 'package:flare_flutter/flare_controller.dart';
class $PicturesGen {
const $PicturesGen();
AssetGenImage get chip5 => const AssetGenImage('pictures/chip5.jpg');
}
class $AssetsFlareGen {
const $AssetsFlareGen();
FlareGenImage get penguin => const FlareGenImage('assets/flare/Penguin.flr');
}
class $AssetsImagesGen {
const $AssetsImagesGen();
AssetGenImage get chip1 => const AssetGenImage('assets/images/chip1.jpg');
AssetGenImage get chip2 => const AssetGenImage('assets/images/chip2.jpg');
$AssetsImagesChip3Gen get chip3 => const $AssetsImagesChip3Gen();
$AssetsImagesChip4Gen get chip4 => const $AssetsImagesChip4Gen();
$AssetsImagesIconsGen get icons => const $AssetsImagesIconsGen();
AssetGenImage get logo => const AssetGenImage('assets/images/logo.png');
AssetGenImage get profile => const AssetGenImage('assets/images/profile.jpg');
}
class $AssetsJsonGen {
const $AssetsJsonGen();
String get fruits => 'assets/json/fruits.json';
}
class $AssetsMovieGen {
const $AssetsMovieGen();
String get theEarth => 'assets/movie/the_earth.mp4';
}
class $AssetsUnknownGen {
const $AssetsUnknownGen();
String get unknownMimeType => 'assets/unknown/unknown_mime_type.bk';
}
class $AssetsImagesChip3Gen {
const $AssetsImagesChip3Gen();
AssetGenImage get chip3 =>
const AssetGenImage('assets/images/chip3/chip3.jpg');
}
class $AssetsImagesChip4Gen {
const $AssetsImagesChip4Gen();
AssetGenImage get chip4 =>
const AssetGenImage('assets/images/chip4/chip4.jpg');
}
class $AssetsImagesIconsGen {
const $AssetsImagesIconsGen();
SvgGenImage get fuchsia =>
const SvgGenImage('assets/images/icons/fuchsia.svg');
SvgGenImage get kmm => const SvgGenImage('assets/images/icons/kmm.svg');
SvgGenImage get paint => const SvgGenImage('assets/images/icons/paint.svg');
}
class Assets {
Assets._();
static const $AssetsFlareGen flare = $AssetsFlareGen();
static const $AssetsImagesGen images = $AssetsImagesGen();
static const $AssetsJsonGen json = $AssetsJsonGen();
static const $AssetsMovieGen movie = $AssetsMovieGen();
static const $AssetsUnknownGen unknown = $AssetsUnknownGen();
static const $PicturesGen pictures = $PicturesGen();
}
class AssetGenImage extends AssetImage {
const AssetGenImage(String assetName)
: _assetName = assetName,
super(assetName);
final String _assetName;
Image image({
Key key,
ImageFrameBuilder frameBuilder,
ImageLoadingBuilder loadingBuilder,
ImageErrorWidgetBuilder errorBuilder,
String semanticLabel,
bool excludeFromSemantics = false,
double width,
double height,
Color color,
BlendMode colorBlendMode,
BoxFit fit,
AlignmentGeometry alignment = Alignment.center,
ImageRepeat repeat = ImageRepeat.noRepeat,
Rect centerSlice,
bool matchTextDirection = false,
bool gaplessPlayback = false,
bool isAntiAlias = false,
FilterQuality filterQuality = FilterQuality.low,
}) {
return Image(
key: key,
image: this,
frameBuilder: frameBuilder,
loadingBuilder: loadingBuilder,
errorBuilder: errorBuilder,
semanticLabel: semanticLabel,
excludeFromSemantics: excludeFromSemantics,
width: width,
height: height,
color: color,
colorBlendMode: colorBlendMode,
fit: fit,
alignment: alignment,
repeat: repeat,
centerSlice: centerSlice,
matchTextDirection: matchTextDirection,
gaplessPlayback: gaplessPlayback,
isAntiAlias: isAntiAlias,
filterQuality: filterQuality,
);
}
String get path => _assetName;
}
class SvgGenImage {
const SvgGenImage(this._assetName);
final String _assetName;
SvgPicture svg({
Key key,
bool matchTextDirection = false,
AssetBundle bundle,
String package,
double width,
double height,
BoxFit fit = BoxFit.contain,
AlignmentGeometry alignment = Alignment.center,
bool allowDrawingOutsideViewBox = false,
WidgetBuilder placeholderBuilder,
Color color,
BlendMode colorBlendMode = BlendMode.srcIn,
String semanticsLabel,
bool excludeFromSemantics = false,
Clip clipBehavior = Clip.hardEdge,
}) {
return SvgPicture.asset(
_assetName,
key: key,
matchTextDirection: matchTextDirection,
bundle: bundle,
package: package,
width: width,
height: height,
fit: fit,
alignment: alignment,
allowDrawingOutsideViewBox: allowDrawingOutsideViewBox,
placeholderBuilder: placeholderBuilder,
color: color,
colorBlendMode: colorBlendMode,
semanticsLabel: semanticsLabel,
excludeFromSemantics: excludeFromSemantics,
clipBehavior: clipBehavior,
);
}
String get path => _assetName;
}
class FlareGenImage {
const FlareGenImage(this._assetName);
final String _assetName;
FlareActor flare({
String boundsNode,
String animation,
BoxFit fit = BoxFit.contain,
Alignment alignment = Alignment.center,
bool isPaused = false,
bool snapToEnd = false,
FlareController controller,
FlareCompletedCallback callback,
Color color,
bool shouldClip = true,
bool sizeFromArtboard = false,
String artboard,
bool antialias = true,
}) {
return FlareActor(
_assetName,
boundsNode: boundsNode,
animation: animation,
fit: fit,
alignment: alignment,
isPaused: isPaused,
snapToEnd: snapToEnd,
controller: controller,
callback: callback,
color: color,
shouldClip: shouldClip,
sizeFromArtboard: sizeFromArtboard,
artboard: artboard,
antialias: antialias,
);
}
String get path => _assetName;
}
Fonts
Just follow the doc Use a custom font to specify fonts, then FlutterGen will generate related dart files. No other specific configuration is required.Ignore duplicated.
# pubspec.yaml
flutter:
fonts:
- family: Raleway
fonts:
- asset: assets/fonts/Raleway-Regular.ttf
- asset: assets/fonts/Raleway-Italic.ttf
style: italic
- family: RobotoMono
fonts:
- asset: assets/fonts/RobotoMono-Regular.ttf
- asset: assets/fonts/RobotoMono-Bold.ttf
weight: 700
These configurations will generate fonts.gen.dart under the lib/gen/ directory by default.
Usage Example
Text(
'Hi there, I\'m FlutterGen',
style: TextStyle(
fontFamily: FontFamily.robotoMono,
fontFamilyFallback: const [FontFamily.raleway],
),
Example of code generated by FlutterGen
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
/// *****************************************************
class FontFamily {
FontFamily._();
static const String raleway = 'Raleway';
static const String robotoMono = 'RobotoMono';
}
Colors
FlutterGen supports generating colors from XML format files.Ignore duplicated.
# pubspec.yaml
flutter_gen:
colors:
inputs:
- assets/color/colors.xml
- assets/color/colors2.xml
FlutterGen can generate a Color class based on the name attribute and the color hex value. If the element has the attribute type, then a specially color will be generated.
Currently supported special color types:
Noticed that there is no official material color generation algorithm. The implementation is based on the mcg project.
<color name="milk_tea">#F5CB84</color>
<color name="cinnamon" type="material">#955E1C</color>
<color name="yellow_ocher" type="material material-accent">#DF9527</color>
These configurations will generate colors.gen.dart under the lib/gen/ directory by default.
Usage Example
Text(
'Hi there, I\'m FlutterGen',
style: TextStyle(
color: ColorName.denim,
),
Example of code generated by FlutterGen
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
/// *****************************************************
import 'package:flutter/painting.dart';
import 'package:flutter/material.dart';
class ColorName {
ColorName._();
static const Color black = Color(0xFF000000);
static const Color black30 = Color(0x4D000000);
static const Color black40 = Color(0x66000000);
static const Color black50 = Color(0x80000000);
static const Color black60 = Color(0x99000000);
static const MaterialColor crimsonRed = MaterialColor(
0xFFCF2A2A,
<int, Color>{
50: Color(0xFFF9E5E5),
100: Color(0xFFF1BFBF),
200: Color(0xFFE79595),
300: Color(0xFFDD6A6A),
400: Color(0xFFD64A4A),
500: Color(0xFFCF2A2A),
600: Color(0xFFCA2525),
700: Color(0xFFC31F1F),
800: Color(0xFFBD1919),
900: Color(0xFFB20F0F),
},
);
static const Color gray410 = Color(0xFF979797);
static const Color gray70 = Color(0xFFEEEEEE);
static const Color white = Color(0xFFFFFFFF);
static const MaterialColor yellowOcher = MaterialColor(
0xFFDF9527,
<int, Color>{
50: Color(0xFFFBF2E5),
100: Color(0xFFF5DFBE),
200: Color(0xFFEFCA93),
300: Color(0xFFE9B568),
400: Color(0xFFE4A547),
500: Color(0xFFDF9527),
600: Color(0xFFDB8D23),
700: Color(0xFFD7821D),
800: Color(0xFFD27817),
900: Color(0xFFCA670E),
},
);
static const MaterialAccentColor yellowOcherAccent = MaterialAccentColor(
0xFFFFBCA3,
<int, Color>{
100: Color(0xFFFFE8E0),
200: Color(0xFFFFBCA3),
400: Color(0xFFFFA989),
700: Color(0xFFFF9E7A),
},
);
}
Default Configuration
The following are the default settings. The options you set in pubspec.yaml will override the corresponding default options.
flutter_gen:
output: lib/gen/
line_length: 80
null_safety: true
integrations:
flutter_svg: false
flare_flutter: false
assets:
enabled: true
package_parameter_enabled: false
style: dot-delimiter
fonts:
enabled: true
colors:
enabled: true
inputs: []
flutter:
assets: []
fonts: []
Credits
The material color generation implementation is based on mcg and TinyColor .
Issues
Please file FlutterGen specific issues, bugs, or feature requests in our issue tracker .
Plugin issues that are not specific to FlutterGen can be filed in the Flutter issue tracker .
Contributing
We are looking for co-developers.
If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide and open a pull request .
Download Flutter code generator source code on GitHub
The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs. https://github.com/FlutterGen/flutter_gen 184 forks. 1,585 stars. 41 open issues. Recent commits: upgrade: update pnpm to v12.15.0 (#794)This PR contains the following updates:| Package | Change |[Age](https://docs.renovatebot.com/merge-confidence/) |[Confidence](https://docs.renovatebot.com/merge-confidence/) ||—|—|—|—|| [pnpm](https://pnpm.io)([source](https://redirect.github.com/pnpm/pnpm/tree/HEAD/pnpm/npm/pnpm))| [`12.14.0` →`12.15.0`](https://renovatebot.com/diffs/npm/pnpm/12.14.0/12.15.0) |||—### Release Notes<details><summary>pnpm/pnpm (pnpm)</summary>###[`v12.15.0`](https://redirect.github.com/pnpm/pnpm/releases/tag/v12.15.0):pnpm 12.15[CompareSource](https://redirect.github.com/pnpm/pnpm/compare/v12.14.0…v12.15.0)This release lets `pnpm-workspace.yaml` delegate settings to other filesand config dependencies with `include`, adds `lockfile.integrityTarget:tar` and tar-registry support, accepts zstd-compressed registryresponses, and honors `SOURCE_DATE_EPOCH` in `pnpm deploy` and `pnpminstall`. It also rejects registry metadata that names a differentpackage than the one requested and speeds up workspace installs andmacOS file linking.##### Minor Changes- `pnpm-workspace.yaml` can now delegate settings to other YAML filesand to config dependencies through a new `include` field. Each sourcemay define only the settings the root manifest delegates to it. Everysetting has one owner. Commands that change settings write each one tothe file that owns it. A relative path in an included file is relativeto that file. See [Splitting Settings AcrossFiles](https://pnpm.io/config-includes).A config dependency supplies its settings through the YAML file named inthe `pnpm.config` field of its `package.json`. The new `bootConfig`setting sets the release-age and trust policy pnpm uses to installconfig dependencies and the pnpm version from `packageManager`.- Added the `lockfile.integrityTarget` setting. With `integrityTarget:tar`, `pnpm-lock.yaml` pins the hash of every package's uncompressedtar, so the lockfile no longer changes when a registry recompresses itstarballs or serves them as tars. pnpm learns a version's tar hash fromthe store or by downloading it once. `pnpm audit signatures` ties thetar hash to the signed `.tgz` integrity. “`yaml title="pnpm-workspace.yaml" lockfile: integrityTarget: tar “`- pnpm can now install from a registry that serves uncompressed tarswith zstd or gzip content coding. `pnpm-lock.yaml` records the hash ofeach tar. Declare such a registry with `serverType: pnpr` in`registries` to keep tarball URLs out of the lockfile. See [Tarregistries](https://pnpm.io/registries#tar-registries).pnpm now decodes the content coding of tarball downloads itself. Itrejects a zstd response whose window is larger than 8 MiB.Added the `maxTarballUnpackedSize` setting. It caps the bytes the filesof one package may unpack to, 4 GiB by default.- Registry revisions now always pin the hash of the uncompressed tar,the original included. pnpm records an original selected through therevision protocol, for example with a `+r0` specifier, as `revision: 0`in the lockfile and fetches it from the registry's digest route. pnpmchecks a revision's tar whether the registry sends it as a tar, gzip, orzstd. Revision metadata must list revision 0 and mark the selectedrevision. pnpm rejects incomplete revision metadata with`ERR_PNPM_MALFORMED_METADATA`.- pnpm now accepts zstd-compressed responses. Registries that serve zstdsend package metadata in fewer bytes than with gzip, most of all thefull metadata that settings such as `minimumReleaseAge` and`trustPolicy` read.- `pnpm deploy` and `pnpm install` now use the `SOURCE_DATE_EPOCH`environment variable as an upper bound for timestamps in`node_modules/.modules.yaml` and`node_modules/.pnpm-workspace-state-v1.json`. With an equivalentlyprepared deploy target and an epoch no later than the timestamps thatwould otherwise be recorded, deploying the same project twice producesidentical files[#17171](https://redirect.github.com/pnpm/pnpm/issues/17171).- `pnpm update –interactive` now highlights the row under the cursor incyan while keeping the colors of its version changes.##### Patch Changes##### Security- pnpm now fails with `ERR_PNPM_REGISTRY_NAME_MISMATCH` if a registryreturns metadata for a package other than the one requested. Before,pnpm installed the package under the name in the metadata, so`allowBuilds` rules for the requested package did not apply to it.- `minimumReleaseAgeExcludePrune` and `trustPolicyExcludePrune` now keepexclusions for resolved configuration dependencies and their transitivedependencies[#17142](https://redirect.github.com/pnpm/pnpm/issues/17142).##### Resolving dependencies- When `pnpm install` resolves a dependency again, it now reuses aversion that the install already resolved for the same package, as afresh install does. Before, it kept the version the lockfile pinned andadded a second copy of the package. A locked version still stays whennothing else in the install prefers another version. To pin a transitivedependency on purpose, use `overrides`[#17084](https://redirect.github.com/pnpm/pnpm/issues/17084).- When another workspace project adds a different version of a package,a project's auto-installed peer on that package now moves to the versiona fresh install picks. It used to stay on its locked version while anyother project still accepted that version[#17058](https://redirect.github.com/pnpm/pnpm/issues/17058).- A package that lists the same dependency in `dependencies` and as anoptional peer now gets the peer bound when a project adds a provider forit later. The lockfile now records every peer a package declares,including one its own dependency supplies[#17056](https://redirect.github.com/pnpm/pnpm/issues/17056).- `pnpm install –prod` and `pnpm deploy –prod` no longer drop adependency that a package declares both as an optional peer and as itsown dependency, when the package resolved it as its own dependency and adev dependency provides the same package under another alias.- `pnpm install` with an existing lockfile and a second `pnpm dedupe`now keep optional peer bindings that point into a dependency cycle orback into the dependent package. Before, the second run dropped theoptional peer binding from the lockfile snapshot key.- `pnpm install` and `pnpm dedupe` now preserve own-dependency andpeer-dependency bindings when reusing a lockfile whose peer suffixeswere hashed by `peersSuffixMaxLength`.Upgrading a direct dependency in one workspace project now refreshesmatching transitive pins in sibling projects during the same `pnpminstall` pass.- With `resolvePeersFromWorkspaceRoot: false`, a workspace project nolonger binds a peer to a version that only another project'sdependencies provide. pnpm now auto-installs a version that satisfiesthe peer range for that project. Before, the project got a versionoutside the range, with no peer warning.- `pnpm install`, `pnpm add`, and `pnpm update` now reuse the lockfile'sresolution for dependencies that take part in a dependency cycle, suchas `mlly` and `pkg-types`. They re-resolved those packages andeverything that depends on them from the registry before[pnpm/tasks#130](https://redirect.github.com/pnpm/tasks/issues/130).- pnpm now measures a `pnpm.overrides` entry written as a `workspace:`path, such as `workspace:./packages/foo`, from the directory holding`pnpm-workspace.yaml`. It used to be measured from each package theoverride rewrote. The install then linked a directory that does notexist, or failed if workspace packages were injected[#17010](https://redirect.github.com/pnpm/pnpm/issues/17010).- `pnpm install` now removes config dependencies that are no longerdeclared, including when the entire `configDependencies` setting isremoved. Frozen installs reject a lockfile that still records removedconfig dependencies.- `pnpm install –update-checksums` now re-resolves every locked packageand records the integrity the registry reports now.- `pnpm add` and `pnpm install` now accept `gist:<id>` dependencies andGitHub Gist URLs, and install them from the gist's archive. `pnpm pkgfix` normalizes a `gist:` repository the way `npm pkg fix` does, `pnpmlicenses` links a gist package to its gist page, and `pnpm sbom` reportsthe repository of a package whose `repository` field is a `gist:`shorthand.- `pnpm add` now reads the package name correctly from a tarball URLunder a registry URL that has a path, such as`https://example.com/npm/`, and installs a registry tarball URL with amalformed percent escape as a plain tarball URL. Before, the registrypath became part of the name, so a scoped package failed with`ERR_PNPM_INVALID_PACKAGE_NAME`.- With `minimumReleaseAge` set, pnpm now revalidates a package's cachedfull metadata with a single ETag request so an unchanged registryanswers with `304`, even when the registry does not list a publish timefor every version. Previously, pnpm downloaded that metadata againwhenever the cached copy was older than `minimumReleaseAge`. With`resolutionMode` set to `lowest-direct` or `time-based`, pnpm alsoreuses that metadata across every workspace project that depends on thepackage.- When pnpm revalidates cached registry metadata, it now sends`If-Modified-Since` when the registry's modification time is a datewithout a time, and no longer crashes when the modification time isbefore 1970.- Added protocol versioning between the pnpm client and pnpr server,verified applied resolution policies in resolution responses, andpreserved structured error codes across the wire.##### Performance- Sped up `pnpm install` on macOS. On a 12-core Mac, installing 1352packages from a warm store took 1.3 seconds, down from 2.2. pnpm nowwrites package files into `node_modules` with 4 threads on macOS,whatever the number of CPU cores. Set the `PNPM_MACOS_LINK_THREADS`environment variable to use a different number of threads, or to `0` towrite files with the threads pnpm uses for the rest of the install.- `pnpm install` is faster and uses less memory in large workspaces with`sharedWorkspaceLockfile: false`. Each project's install no longer readsthe manifests of every other workspace project again. Installs that waitfor their workspace dependencies now count toward `workspaceConcurrency`[#16966](https://redirect.github.com/pnpm/pnpm/issues/16966).- Sped up workspace project discovery, dependency resolution, lockfileup-to-date checks, and peer dependency checks in large workspaces[#16839](https://redirect.github.com/pnpm/pnpm/issues/16839)[pnpm/tasks#9](https://redirect.github.com/pnpm/tasks/issues/9). On aworkspace with 6,833 projects, the lockfile up-to-date check uses about1 second less CPU time. The peer dependency check at the end of aninstall now checks linked workspace projects against the manifestsalready in memory, without reading each `package.json` again.- Sped up bin linking and build planning during `pnpm install`. Packagebinary targets and shebang runtimes are now precalculated during tarballextraction and served in `pnpr` registry metadata alongside verified`requiresBuild`, tarball size, and file-count metadata.- Lowered peak memory when pnpm downloads many packuments, such asduring lockfile verification with `trustPolicy` on Linux. In one1,800-entry workspace, a lockfile update now peaks at 1.8 to 2.0 GB. Itpeaked at 2.6 to 3.7 GB before[#17020](https://redirect.github.com/pnpm/pnpm/issues/17020).- `pnpm install` in a Cargo workspace skips crates that an earlierinstall already unpacked into the store. Before, a repeat installprocessed every crate in `Cargo.lock` again. `pnpm install –force`unpacks every crate again[pnpm/tasks#69](https://redirect.github.com/pnpm/tasks/issues/69).##### Linking node_modules and workspaces- Concurrent installs that import the same package into one project nowall complete. One of them used to fail with `ENOTEMPTY` when its copy ofthe package collided with the copy another install had already placed[pnpm/tasks#48](https://redirect.github.com/pnpm/tasks/issues/48).- `pnpm install` now succeeds when `node_modules` is a symlink to anexisting directory. Dependency hoisting previously rejected a symlinked`node_modules` as an invalid destination[#17157](https://redirect.github.com/pnpm/pnpm/issues/17157).- A filtered first install under the isolated linker now links everyworkspace project by name into `node_modules/.pnpm/node_modules`, notonly the selected ones[pnpm/tasks#155](https://redirect.github.com/pnpm/tasks/issues/155).- With `nodeLinker: hoisted`, a filtered install such as `pnpm –filterapp add <pkg>` keeps the root `node_modules` links and bins of theworkspace projects it did not select. A project with no dependencies ofits own lost them until the next full install.- `pnpm install –filter` with `nodeLinker: hoisted` and `–prod` or`–dev` now preserves previously installed dependency groups forunselected workspace projects[pnpm/tasks#164](https://redirect.github.com/pnpm/tasks/issues/164).Repeat filtered installs also re-resolve when a transitive injectedworkspace dependency or a linked dependency's version changes.- With `sharedWorkspaceLockfile: false`, `pnpm install` now runs theworkspace root's pnpmfile for every project, after the project's ownpnpmfile. Before, it ran only the pnpmfile in the project's directory.- `pnpm install` and `pnpm peers check` now detect peer dependencyissues and report linked package versions in linked projects that use`package.json5` or `package.yaml`[pnpm/tasks#172](https://redirect.github.com/pnpm/tasks/issues/172).- `pnpm install` and `pnpm peers check` no longer report an unmet peerwhen a workspace package's peer is provided by a remote tarball URL.pnpm now compares the peer range with the version in the tarball'smanifest[#17037](https://redirect.github.com/pnpm/pnpm/issues/17037).- `pnpm prune` now removes extraneous direct packages from`node_modules` when `package.json` and `pnpm-lock.yaml` are already insync. `pnpm prune` also honors `–filter`, `–recursive`,`sharedWorkspaceLockfile: false`, and the `trustLockfile` setting and`–trust-lockfile` flag. With the lockfile trusted, `pnpm prune –prod`works offline when every package is in the store[#16999](https://redirect.github.com/pnpm/pnpm/issues/16999).##### Injected workspace packages- `pnpm install –frozen-lockfile` now fails with`ERR_PNPM_OUTDATED_LOCKFILE` when a local directory dependency orinjected workspace package changes a dependency to a different tarballURL or git commit[#17129](https://redirect.github.com/pnpm/pnpm/issues/17129). Italso fails when an injected workspace package changes a dependency'snamed-registry range, such as `work:^2.0.0`, to one the locked versionno longer satisfies.- `pnpm install –frozen-lockfile` now accepts the lockfile it wrote fora `file:` dependency on a directory without a `package.json`. It alsoaccepts the lockfile for an injected workspace package that bundles adependency in `bundledDependencies`, lists a dependency in both`dependencies` and `optionalDependencies`, or publishes from a`publishConfig.directory` whose `package.json` lists other dependenciesthan the project's own. Before, these failed with`ERR_PNPM_OUTDATED_LOCKFILE`.- The lockfile now records a `catalog:` peer dependency of an injectedworkspace package as written in its `package.json`. It recorded thecatalog's range before, so editing the catalog changed the consumer'slockfile entry[pnpm/tasks#153](https://redirect.github.com/pnpm/tasks/issues/153).- `pnpm install` now resolves a git, tarball, or tag dependency of aninjected workspace package again when its spec changes. Before, it keptthe old version.- Repeat installs and `verifyDepsBeforeRun` now re-check projects thatinject a modified workspace package, including when`sharedWorkspaceLockfile` is `false`[#17007](https://redirect.github.com/pnpm/pnpm/issues/17007), andaccept aliased `workspace:` ranges on linked dependencies.- An injected workspace package that was linked now becomes a copy whenthe project that depends on it starts providing one of its peers at aversion the package's own workspace context lacks. The link used to stayuntil that dependency was updated, so the package could not find thepeer the project provides[#17057](https://redirect.github.com/pnpm/pnpm/issues/17057).- An injected workspace package now keeps only the files its manifestlists after a lifecycle script or a script named in`syncInjectedDepsAfterScripts` rebuilds it. Before, these refreshescopied every file of the package directory into the injected copy,including files that `files` or `.npmignore` leave out. With`deployAllFiles: true` the copy still gets every file.- A script listed in `syncInjectedDepsAfterScripts` now keeps apackage's links to its own files as links in the injected copies, theway `pnpm install` writes them, and updates those copies when`sharedWorkspaceLockfile` is `false`. Before, a directory link thescript added became a real directory or went missing with`deployAllFiles`, and with `sharedWorkspaceLockfile: false` the copieskept the files from the last install.##### Running scripts and checking dependencies- Pressing Ctrl+C during `pnpm -r run` or `pnpm –filter <pkg> run` nolonger reports `ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL`. pnpm now ends withthe interrupted script's status, such as 130 for a script that SIGINTended on Linux or macOS[#16964](https://redirect.github.com/pnpm/pnpm/issues/16964).- With `enableGlobalVirtualStore`, a Node.js resolve hook that a scriptregisters now sees the importer as `context.parentURL` after pnpm's`NODE_PATH` fallback fails to find a bare specifier. Hooks that resolvetsconfig `paths` aliases from the importer failed with`ERR_MODULE_NOT_FOUND`[#16979](https://redirect.github.com/pnpm/pnpm/issues/16979).- `pnpm run`, `pnpm exec`, and `pnpm restart` now pass the install flagsthey were given, such as `–lockfile-dir`, `–modules-dir`,`–store-dir`, `–offline`, and `–ignore-scripts`, to the `pnpminstall` that `verifyDepsBeforeRun: install` starts. When that installleaves the dependencies out of date, pnpm now prints a warning.- A repeated `pnpm install –filter` now finishes without reinstallingwhen the selected projects are up to date, and so does `pnpm install`once filtered commands have installed every project. After a filteredinstall, `pnpm run` and `pnpm exec` now install a selected project whosedependencies changed in between[#17011](https://redirect.github.com/pnpm/pnpm/issues/17011),require the workspace root when a filtered install with`pruneDirectDependencies: true` skipped it[pnpm/tasks#181](https://redirect.github.com/pnpm/tasks/issues/181), andpreserve the recorded ignored build scripts of unselected projects.- The check that runs before a script now holds the workspace projectsthat the selected project depends on, including with`sharedWorkspaceLockfile: false` and for workspace dependencies declaredwith `link:`. `–filter=<project>…` now selects `link:` dependenciesas well. In a workspace that has no `package.json` at its root, `pnpmrun` and `pnpm exec` no longer reinstall before every command when thedependencies are up to date.- `verifyDepsBeforeRun` and repeat `pnpm install` runs now apply`overrides` before comparing a modified `package.json` with`pnpm-lock.yaml`[#17127](https://redirect.github.com/pnpm/pnpm/issues/17127).`pnpm install` with `optimisticRepeatInstall` now re-runs when`configDependencies` changed, `verifyDepsBeforeRun` reports`node_modules` out of date when `useGitBranchLockfile` is enabled andthe branch lockfile is missing, and in a single-project repository bothchecks record a successful lockfile check so later runs skip it untilthe lockfile changes[#16993](https://redirect.github.com/pnpm/pnpm/issues/16993).- `pnpm install` and `verifyDepsBeforeRun` now compare manifests,lockfiles, and patch files by content hash. They notice an edit thatkept the file's modification time, as `cp -p`, `rsync -a`, or an archiveextraction leave it, and a patch file that was copied or touched withoutchanging its content no longer marks dependencies as outdated[#16988](https://redirect.github.com/pnpm/pnpm/issues/16988).##### Deploying, packing, and other commands- `pnpm deploy` now deploys `file:` dependencies that live outside theworkspace directory. It failed with "Refusing to deploy unsafe lockfilepath"[#16983](https://redirect.github.com/pnpm/pnpm/issues/16983).- `pnpm deploy` now records the peer dependencies of the workspacepackages it copies into the deployed lockfile. Before, pnpm rejectedthat lockfile with `–frozen-lockfile` when a deployed workspace packagedeclared a peer and `injectWorkspacePackages` was off[#17093](https://redirect.github.com/pnpm/pnpm/issues/17093).- `pnpm install –frozen-lockfile` and `verifyDepsBeforeRun` now succeedinside a directory created by `pnpm deploy`. `pnpm deploy` writesself-contained workspace and lockfile settings, prunes unused`patchedDependencies`, and preserves workspace-level dependencyresolutions on deployed directory dependencies.- On macOS, `pnpm deploy` no longer writes a second, unused copy ofevery package to `node_modules/.pnpm/@` in the deploy directory[#17116](https://redirect.github.com/pnpm/pnpm/issues/17116).- `pnpm patch-commit` and `pnpm install` now apply a patch that renamesor moves a file of the patched package. Such a patch failed with"rename/copy operations in patches are not yet supported".- In workspaces with `sharedWorkspaceLockfile: false`, `pnpm patch`,`pnpm patch-commit`, and `pnpm patch-remove` now resolve patch files and`patchedDependencies` entries at the workspace root. `pnpm install`checks configured patches across all workspace projects before reportingunused patches.- `pnpm pack` and `pnpm publish` no longer include editor swap filessuch as `.*.swp`, macOS `._*` files, `.lock-wscript`, `.wafpickle-*`,`build/config.gypi`, or `archived-packages/` in the tarball. Naming oneof these files in `files` still includes it[#16955](https://redirect.github.com/pnpm/pnpm/issues/16955).- `pnpm pack` and `pnpm publish` now support extended glob patterns andbrace ranges such as `part{1..3}.js` and `part{a..c}.js`, includingdescending ranges, steps, and zero padding, in `files`, `.npmignore`,and `.gitignore`. Explicitly listed internal directory symlinks arepreserved below excluded directories, entry points honor nested ignorefiles, ignore negations can re-include default-excluded logs and backupfiles, and nested lockfiles follow the package's file selection rules.- Trusted publishing with OIDC now works with registries whose URL has apath, such as `https://registry.example/npm/private/`. pnpm previouslysent the token exchange request to the root of the registry host.- `pnpm deprecate` and `pnpm unpublish` now work for packages whoseregistry metadata is larger than 10 MiB, such as `typescript`. Theyaccept up to 50 MiB, the same limit as `pnpm owner`.- `pnpm owner ls` now lists the owners of a package on the npm registry.It reported every package as not found.- `pnpm licenses list –prod` now includes optional dependencies,including transitive ones. Pass `–no-optional` to leave them out. `pnpmlicenses list` also reports no licenses for workspace projects notrecorded in the lockfile, errors when `pnpm-lock.yaml` is missing, andformats empty results as the requested text or JSON[pnpm/tasks#174](https://redirect.github.com/pnpm/tasks/issues/174).- `pnpm why` now reads each selected workspace project's lockfile andmodules directory when `sharedWorkspaceLockfile` is `false`[pnpm/tasks#169](https://redirect.github.com/pnpm/tasks/issues/169).- `pnpm pkg fix` now converts a `repository` string such as`github:pnpm/example` to the object form, as `npm pkg fix` does. It alsonormalizes a GitHub, GitLab, or Bitbucket repository URL the way `npmpkg fix` does[#16980](https://redirect.github.com/pnpm/pnpm/issues/16980).##### Configuration and setting up pnpm- Registry credentials and TLS settings passed with `–config`, such as`–config.//registry.example.com/:_authToken=<token>`, are now applied.They take precedence over the same settings in `.npmrc` files.- pnpm now reads only the settings it needs to decide whether to switchto the pnpm version a project pins. A setting outside them can no longerfail that decision or change its outcome. For example, `pnpm –version`no longer fails in a pinned project whose `pnpm-workspace.yaml` has asetting this pnpm cannot read. Projects that pin neither pnpm nor aruntime skip this check without reading any settings.- When pnpm switches to the version a project pins, an option only thepinned pnpm knows now reaches that pnpm when it comes immediately beforethe command name, as in `pnpm –new-flag install`. When switching for`pnpm –version` or an unrecognized command line, pnpm also honors`–color`, `–no-color`, `–reporter`, and `–loglevel` wherever theyappear on the command line.- `pnpm self-update` now updates the project's pnpm pin when Homebrewinstalled pnpm or Corepack runs it, leaving the global pnpm alone[#17001](https://redirect.github.com/pnpm/pnpm/issues/17001). Runinside a workspace package, `pnpm self-update` updates the pin in theworkspace root's manifest, including in `package.yaml` or`package.json5`.- `pnpm setup` now completes when Windows registry environment valuescannot be read or written. It prints PowerShell commands to configure`PNPM_HOME` and `PATH` without registry access[#17167](https://redirect.github.com/pnpm/pnpm/issues/17167).- `pnpm setup` now succeeds when it cannot tell which shellconfiguration file to update, for example in a container where `SHELL`is not set. It installs pnpm and prints the `PNPM_HOME` and `PATH` linesto add yourself. Previously it failed with `ERR_PNPM_UNKNOWN_SHELL`, andso did the installer script at get.pnpm.io[#16973](https://redirect.github.com/pnpm/pnpm/issues/16973).- In StackBlitz WebContainers, `pnpm` no longer crashes intermittentlywith `Parking not supported on this platform`, and running a commandthat does not exist now reports that the command was not found.Previously it sometimes failed with a generic error.<!– sponsors –>##### Platinum Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://bit.cloud/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a> </td> <td align="center" valign="middle"><a href="https://openai.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/openai_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/openai_light.svg" /><img src="https://pnpm.io/img/users/openai_dark.svg" width="160"alt="OpenAI" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://notion.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/notion.svg" width="80" alt="Notion"></a> </td> </tr> <tr> <td align="center" valign="middle"><ahref="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/coderabbit.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/coderabbit_light.svg" /><img src="https://pnpm.io/img/users/coderabbit.svg" width="220"alt="CodeRabbit" /> </picture> </a> </td> </tr> </tbody></table>##### Gold Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://sanity.io/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/sanity.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/sanity_light.svg" /><img src="https://pnpm.io/img/users/sanity.svg" width="120" alt="Sanity"/> </picture> </a> </td> <td align="center" valign="middle"><a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/discord.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/discord_light.svg" /><img src="https://pnpm.io/img/users/discord.svg" width="220"alt="Discord" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite"></a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://serpapi.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/serpapi_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/serpapi_light.svg" /><img src="https://pnpm.io/img/users/serpapi_dark.svg" width="160"alt="SerpApi" /> </picture> </a> </td> <td align="center" valign="middle"><ahref="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/stackblitz.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/stackblitz_light.svg" /><img src="https://pnpm.io/img/users/stackblitz.svg" width="190"alt="Stackblitz" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/workleap.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/workleap_light.svg" /><img src="https://pnpm.io/img/users/workleap.svg" width="190"alt="Workleap" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/nx.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/nx_light.svg" /><img src="https://pnpm.io/img/users/nx.svg" width="50" alt="Nx" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://latitude.so/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/latitude.svg" width="160"alt="Latitude"></a> </td> </tr> </tbody></table><!– sponsors end –></details>—### Configuration📅 **Schedule**: (in timezone Asia/Tokyo)- Branch creation – Only on Wednesday (`* * * * 3`)- Automerge – At any time (no schedule defined)🚦 **Automerge**: Disabled by config. Please merge this manually once youare satisfied.♻ **Rebasing**: Whenever PR is behind base branch, or you tick therebase/retry checkbox.🔕 **Ignore**: Close this PR and you won't be reminded about this updateagain.—- [ ] <!– rebase-check –>If you want to rebase/retry this PR, checkthis box—This PR was generated by [Mend Renovate](https://mend.io/renovate/).View the [repository joblog](https://developer.mend.io/github/FlutterGen/flutter_gen).<!–renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMDQuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIwNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119–>Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> , GitHub upgrade: update pnpm to v12.14.0 (#793)> [!NOTE]> This PR body was truncated due to platform limits.This PR contains the following updates:| Package | Change |[Age](https://docs.renovatebot.com/merge-confidence/) |[Confidence](https://docs.renovatebot.com/merge-confidence/) ||—|—|—|—|| [pnpm](https://pnpm.io)([source](https://redirect.github.com/pnpm/pnpm/tree/HEAD/pnpm/npm/pnpm))| [`12.9.1` →`12.14.0`](https://renovatebot.com/diffs/npm/pnpm/12.9.1/12.14.0) |||—### Release Notes<details><summary>pnpm/pnpm (pnpm)</summary>###[`v12.14.0`](https://redirect.github.com/pnpm/pnpm/releases/tag/v12.14.0):pnpm 12.14.0[CompareSource](https://redirect.github.com/pnpm/pnpm/compare/v12.13.0…v12.14.0)This release adds the `sideEffectsCache.exclude` setting, stops `pnpminstall` from waiting on the daily update check, and keeps pnpm fromaborting with a core dump when the reader of its output exits.##### Minor Changes- Added the `sideEffectsCache.exclude` setting for packages whose builddepends on something pnpm cannot include in the cache key, such as thesystem libraries a native addon links against. pnpm builds the listedpackages in every project and never restores or saves their buildsthrough the side-effects cache, locally or on a `remoteCache` server.Under the global virtual store, each project gets its own copy of thesepackages and of the packages that depend on them. Entries use the same`name`, `@scope/*`, and `name@version` patterns as`minimumReleaseAgeExclude`[#5271](https://redirect.github.com/pnpm/pnpm/issues/5271).- `pnpm login` now prints the `npm-notice` response header duringweb-based login. Registries use it to show the verification code thatcompletes the sign-in in the browser.##### Patch Changes##### Installing packages- `pnpm install` and `pnpm add` no longer wait for the daily updatecheck. If the command finishes first, pnpm skips the update notice andchecks again next time. On a registry that accepted the connection butnever answered, an install that had nothing to do used to take minutes[#16839](https://redirect.github.com/pnpm/pnpm/issues/16839).- `pnpm install`, `pnpm add` and `pnpm update` now reuse`pnpm-lock.yaml` when the workspace configures a catalog entry that nodependency references, such as an unused entry or one whose package an`overrides` entry replaces. Before, every resolution in such a workspaceresolved all dependencies again from the registry[#16923](https://redirect.github.com/pnpm/pnpm/issues/16923).- `pnpm install` now looks up a git dependency's branch or tag once perinstall, even when many workspace projects depend on it. With`linkWorkspacePackages` enabled, it used to run `git ls-remote` once perproject[#16899](https://redirect.github.com/pnpm/pnpm/issues/16899).- A filtered install, such as `pnpm install –filter <pkg>`, now keepsthe `pnpm-lock.yaml` entries of workspace projects that are missing fromdisk, as in a sparse checkout. Their importers, packages, and catalogentries stay even when the filter matches every project on disk[#16931](https://redirect.github.com/pnpm/pnpm/issues/16931).- pnpm now decides whether a dependency that a package also declares asan optional peer is linked as a dependency or as a peer from theshallowest path that reaches the package. When an existing lockfilerecords such a dependency as a regular dependency and a newly addeddependency now provides the peer, pnpm records it as a peer, as a freshinstall does. The lockfile entry of such a package can change on thenext install[#16901](https://redirect.github.com/pnpm/pnpm/issues/16901).- An install that adds nothing to the store no longer changes themodification time of the store directory. CI caches that checkmodification times, such as GitLab's, no longer re-upload an unchangedstore[#16929](https://redirect.github.com/pnpm/pnpm/issues/16929).##### Running commands and scripts- pnpm no longer aborts with a core dump when the reader of its outputhas exited, as in `pnpm list | head -1` or `pnpm start 2>&1 | head -1`.The command finishes with its usual exit code, and a failing script'sexit code is kept. A write to stdout that fails for another reason, suchas a full disk, ends the command with exit code 1[#16904](https://redirect.github.com/pnpm/pnpm/issues/16904)[pnpm/tasks#132](https://redirect.github.com/pnpm/tasks/issues/132).- On Windows, `pnpm exec`, `pnpm run`, and commands such as `pnpm nx`now return when the command they run exits, even if it left a detachedprocess running and pnpm's output is redirected or piped. Previously ashell reading that output waited until the detached process, such as theNx daemon, exited[#16930](https://redirect.github.com/pnpm/pnpm/issues/16930).- Commands that do not write the project manifest now leave a missing`package.json` absent. This covers queries such as `pnpm why` and `pnpmoutdated`, `pnpm fetch`, `pnpm dedupe –check`, and commands that exitwith an error, such as `pnpm rt ls`. These commands used to create onefrom the initialization template. `pnpm sbom` run from a lockfile alonenow reports the root component as `unknown` with version `0.0.0`[#16907](https://redirect.github.com/pnpm/pnpm/issues/16907).- `pnpm run` now reports a failed script as a JSON record under`–reporter=ndjson`. It printed a plain `[ELIFECYCLE]` line to stderr.- `pnpm run` no longer prints `[ELIFECYCLE] Command failed with exitcode N.` to stderr when a script fails under `–reporter=silent`,`–silent`, or `–loglevel=silent`.- `pnpm pipeline –dry-run` no longer writes a run report when noprojects are selected. With `–json` it prints `{"tasks": []}`[pnpm/tasks#126](https://redirect.github.com/pnpm/tasks/issues/126).##### Packing and publishing- `pnpm pack` and `pnpm publish` now ship the whole gitignored directorythat `main`, `browser`, or `bin` points into, as npm does. Previouslyonly the `main` and `bin` files themselves were packed, and a gitignored`browser` file was left out[#16908](https://redirect.github.com/pnpm/pnpm/issues/16908).- `pnpm pack` and `pnpm publish` now honor a `.npmignore` or`.gitignore` inside a subdirectory when `package.json` has a `files`field. The package root's ignore files and those inherited from theworkspace are still skipped[#16909](https://redirect.github.com/pnpm/pnpm/issues/16909).##### Setting up pnpm and toolchains- `–registry`, `–https-proxy`, `–http-proxy`, and `–no-proxy` nowapply when pnpm resolves and downloads the pnpm version a project pinsin `packageManager`. Before, these lookups went to`https://registry.npmjs.org/`, which a firewall that only allows aprivate registry blocks[#16911](https://redirect.github.com/pnpm/pnpm/discussions/16911).- On Windows, `pnpm install` now installs the Rust toolchain forrustup's default host, so a machine set up with `rustup set default-hostx86_64-pc-windows-gnu` gets the MinGW toolchain. Without a default host,pnpm installs the MSVC toolchain for the machine's architecture, asrustup does. This includes a pnpm built for MinGW, such as the MSYS2package, which has installed the MinGW toolchain since 12.13.0. An x64pnpm on ARM64 Windows now installs the ARM64 toolchain[#16854](https://redirect.github.com/pnpm/pnpm/issues/16854).<!– sponsors –>##### Platinum Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://bit.cloud/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a> </td> <td align="center" valign="middle"><a href="https://openai.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/openai_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/openai_light.svg" /><img src="https://pnpm.io/img/users/openai_dark.svg" width="160"alt="OpenAI" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://notion.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/notion.svg" width="80" alt="Notion"></a> </td> </tr> <tr> <td align="center" valign="middle"><ahref="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/coderabbit.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/coderabbit_light.svg" /><img src="https://pnpm.io/img/users/coderabbit.svg" width="220"alt="CodeRabbit" /> </picture> </a> </td> </tr> </tbody></table>##### Gold Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://sanity.io/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/sanity.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/sanity_light.svg" /><img src="https://pnpm.io/img/users/sanity.svg" width="120" alt="Sanity"/> </picture> </a> </td> <td align="center" valign="middle"><a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/discord.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/discord_light.svg" /><img src="https://pnpm.io/img/users/discord.svg" width="220"alt="Discord" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite"></a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://serpapi.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/serpapi_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/serpapi_light.svg" /><img src="https://pnpm.io/img/users/serpapi_dark.svg" width="160"alt="SerpApi" /> </picture> </a> </td> <td align="center" valign="middle"><ahref="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/stackblitz.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/stackblitz_light.svg" /><img src="https://pnpm.io/img/users/stackblitz.svg" width="190"alt="Stackblitz" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/workleap.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/workleap_light.svg" /><img src="https://pnpm.io/img/users/workleap.svg" width="190"alt="Workleap" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/nx.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/nx_light.svg" /><img src="https://pnpm.io/img/users/nx.svg" width="50" alt="Nx" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://latitude.so/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/latitude.svg" width="160"alt="Latitude"></a> </td> </tr> </tbody></table><!– sponsors end –>###[`v12.13.0`](https://redirect.github.com/pnpm/pnpm/releases/tag/v12.13.0):pnpm 12.13.0[CompareSource](https://redirect.github.com/pnpm/pnpm/compare/v12.12.1…v12.13.0)This release adds the `pnpm profile` and `pnpm token` commands, the`storeIndexFormat: files` setting for stores shared over a networkfilesystem, and faster Python dependency resolution.##### Minor Changes- Added the `pnpm profile` command to view and update registry userprofile settings.- Added `pnpm token` to list, create, and revoke authentication tokenson the registry.- Added the `storeIndexFormat` setting. Set it to `files` to keep astore's package index as one file per package instead of the SQLite`index.db`, for a store on a network filesystem that several machinesuse at once. SQLite's locking does not work across machines, soconcurrent installs on such a store could corrupt `index.db`.- Added the `nodePackageMap` setting, which groups the package-mapsettings. `nodePackageMap.mode: write-only` writes`node_modules/.package-map.json` for other tools without making Node.jsload it. `mode: load` also makes Node.js load the map, like`nodeExperimentalPackageMap: true`. `nodePackageMap.type` replaces`nodePackageMapType`. The old settings still work[#14937](https://redirect.github.com/pnpm/pnpm/issues/14937). “`yaml nodePackageMap: mode: write-only type: loose “`##### Patch Changes##### Setting up pnpm- `pnpm setup` now works when pnpm was installed with npm on macOS. Itinstalled pnpm from npm's `bin` directory and left a`$PNPM_HOME/bin/pnpm` that could not run[#16855](https://redirect.github.com/pnpm/pnpm/issues/16855).- pnpm runs again after `pnpm setup` when `globalShims` enables pnpm.Every command failed with "the global target of the pnpm shim pointsback at the shim"[#16874](https://redirect.github.com/pnpm/pnpm/issues/16874).- A pnpm built for the MinGW target on Windows, such as the MSYS2package, now installs the MinGW Rust toolchain that`rust-toolchain.toml` names. It used to install the MSVC toolchain.##### Installing packages- On macOS, `pnpm install` no longer fails with`ERR_PNPM_LOCKFILE_WRITE_FILE` when the project is on a virtiofs or SMBshare. pnpm now falls back to a regular `fsync` when the file systemrejects a full sync[#16846](https://redirect.github.com/pnpm/pnpm/issues/16846).- On macOS, `pnpm install`, `pnpm patch-commit`, and other commands thatload a pnpmfile no longer hang at random.- `pnpm install` now puts the executables of a Python build backend'srequirements on the `PATH` while the backend runs. Projects built with`uv_build` now install. Before, they failed with "uv-build was notproperly installed".- Removing a `link:` dependency now also removes its symlink from`node_modules` when `nodeLinker` is `hoisted`[#16884](https://redirect.github.com/pnpm/pnpm/issues/16884).- `pnpm-lock.yaml` no longer records the tarball URL of a packageinstalled from a scoped registry, such as one set by `@types:registry=`,when pnpm can rebuild the URL from that registry[#16866](https://redirect.github.com/pnpm/pnpm/issues/16866).##### Packing, auditing, and pipelines- `pnpm pack` and `pnpm publish` now pack only `package.json`, theREADME, the license, and the files named in `main` and `bin` when`files` is an empty array. They used to pack every file in the package[#16889](https://redirect.github.com/pnpm/pnpm/issues/16889).- `pnpm audit` and `pnpm audit signatures` no longer check runtimesinstalled through `devEngines.runtime`, such as `node@runtime:24.21.0`,against the npm package of the same name. `pnpm audit signatures`reported these runtimes as having an invalid registry signature[#16869](https://redirect.github.com/pnpm/pnpm/issues/16869).- `pnpm pipeline` now runs the root's tasks when `pnpm-workspace.yaml`lists only the root in `packages` or omits `packages`, as `pnpm -r run`does. A change to a root file in such a workspace no longer triggers afull-run warning. When a full run has no projects to run, `pnpmpipeline` now reports that no projects are selected[#16849](https://redirect.github.com/pnpm/pnpm/issues/16849).##### Performance- `pnpm install` resolves Python dependencies faster. With`–lockfile-only`, a project with 10 dependencies now resolves in about4 seconds, down from about 40. When the index publishes a metadata filebeside each wheel (PEP 658), as PyPI does, pnpm downloads only thewheels of the releases it selects.- A repeat install against an existing lockfile no longer reads registrymetadata for the dependencies it takes from that lockfile. On a warmstore this removes thousands of metadata lookups from a repeat installof a large workspace.- `pnpm install` with `enableModulesDir: false` now verifies thepackages already in the store while the dependencies resolve, and checksa package's files in parallel. On a 5,100-package install with the storeon a network filesystem, this removed a 19-second pause betweenresolution and fetching.<!– sponsors –>#### Platinum Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://bit.cloud/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a> </td> <td align="center" valign="middle"><a href="https://openai.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/openai_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/openai_light.svg" /><img src="https://pnpm.io/img/users/openai_dark.svg" width="160"alt="OpenAI" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://notion.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/notion.svg" width="80" alt="Notion"></a> </td> </tr> <tr> <td align="center" valign="middle"><ahref="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/coderabbit.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/coderabbit_light.svg" /><img src="https://pnpm.io/img/users/coderabbit.svg" width="220"alt="CodeRabbit" /> </picture> </a> </td> </tr> </tbody></table>#### Gold Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://sanity.io/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/sanity.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/sanity_light.svg" /><img src="https://pnpm.io/img/users/sanity.svg" width="120" alt="Sanity"/> </picture> </a> </td> <td align="center" valign="middle"><a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/discord.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/discord_light.svg" /><img src="https://pnpm.io/img/users/discord.svg" width="220"alt="Discord" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite"></a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://serpapi.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/serpapi_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/serpapi_light.svg" /><img src="https://pnpm.io/img/users/serpapi_dark.svg" width="160"alt="SerpApi" /> </picture> </a> </td> <td align="center" valign="middle"><ahref="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/stackblitz.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/stackblitz_light.svg" /><img src="https://pnpm.io/img/users/stackblitz.svg" width="190"alt="Stackblitz" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/workleap.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/workleap_light.svg" /><img src="https://pnpm.io/img/users/workleap.svg" width="190"alt="Workleap" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/nx.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/nx_light.svg" /><img src="https://pnpm.io/img/users/nx.svg" width="50" alt="Nx" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://latitude.so/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/latitude.svg" width="160"alt="Latitude"></a> </td> </tr> </tbody></table><!– sponsors end –>###[`v12.12.1`](https://redirect.github.com/pnpm/pnpm/releases/tag/v12.12.1):pnpm 12.12.1[CompareSource](https://redirect.github.com/pnpm/pnpm/compare/v12.12.0…v12.12.1)This release adds OIDC authentication to `pnpm dist-tag` and the `tool:`protocol. `pnpm publish` now checks which registry an `NPM_ID_TOKEN` wasissued for before using it.##### Patch Changes- `pnpm publish` now uses an `NPM_ID_TOKEN` only if its `aud` claimmatches the selected registry, such as `npm:registry.npmjs.org`. A tokenfor another registry is skipped with a warning, and pnpm falls back tothe configured credentials.- `pnpm dist-tag add`, `rm`, and `ls` now support OIDC authentication inCI. Enable "Allow npm dist-tag" in the package's trusted publishingsettings to manage tags without a stored npm token.- Added the `tool:` protocol for the tools pnpm downloads itself:Node.js, Bun, Deno, and Yarn. `pnpm add bun@tool:1.3.0`, `pnxnode@tool:22`, and `pnx yarn@tool:4` work like the `runtime:` spelling,which stays supported as an alias. A lockfile written for `runtime:`stays up to date when `package.json` switches to `tool:`, and the otherway around. A named registry can no longer be called `tool`.<!– sponsors –>##### Platinum Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://bit.cloud/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a> </td> <td align="center" valign="middle"><a href="https://openai.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/openai_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/openai_light.svg" /><img src="https://pnpm.io/img/users/openai_dark.svg" width="160"alt="OpenAI" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://notion.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/notion.svg" width="80" alt="Notion"></a> </td> </tr> <tr> <td align="center" valign="middle"><ahref="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/coderabbit.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/coderabbit_light.svg" /><img src="https://pnpm.io/img/users/coderabbit.svg" width="220"alt="CodeRabbit" /> </picture> </a> </td> </tr> </tbody></table>##### Gold Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://sanity.io/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/sanity.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/sanity_light.svg" /><img src="https://pnpm.io/img/users/sanity.svg" width="120" alt="Sanity"/> </picture> </a> </td> <td align="center" valign="middle"><a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/discord.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/discord_light.svg" /><img src="https://pnpm.io/img/users/discord.svg" width="220"alt="Discord" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite"></a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://serpapi.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/serpapi_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/serpapi_light.svg" /><img src="https://pnpm.io/img/users/serpapi_dark.svg" width="160"alt="SerpApi" /> </picture> </a> </td> <td align="center" valign="middle"><ahref="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/stackblitz.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/stackblitz_light.svg" /><img src="https://pnpm.io/img/users/stackblitz.svg" width="190"alt="Stackblitz" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/workleap.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/workleap_light.svg" /><img src="https://pnpm.io/img/users/workleap.svg" width="190"alt="Workleap" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/nx.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/nx_light.svg" /><img src="https://pnpm.io/img/users/nx.svg" width="50" alt="Nx" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://latitude.so/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/latitude.svg" width="160"alt="Latitude"></a> </td> </tr> </tbody></table><!– sponsors end –>###[`v12.12.0`](https://redirect.github.com/pnpm/pnpm/releases/tag/v12.12.0):pnpm 12.12.0[CompareSource](https://redirect.github.com/pnpm/pnpm/compare/v12.11.2…v12.12.0)This release shares task results and dependency builds through a remotecache, adds the `addMissingPeerTypes` setting, and lets `pnpm add–config` and `pnpm update` manage configuration dependencies. It alsofixes `dangerouslyAllowAllBuilds` running the build scripts of packagesthat `allowBuilds` denies.##### Minor Changes- `pnpm pipeline` can share task results between machines. A result is asigned artifact stored on a pnpr server or on a server that speaks theTurborepo Remote Cache API, such as Vercel Remote Cache.The remote side-effects cache can also store dependency builds on aTurborepo Remote Cache server. Both caches read the new `remoteCache`setting, which names the server and holds the signing keys. `pnpmpipeline –report` records the run under the organization`remoteCache.org` names.- Added the `addMissingPeerTypes` setting, which links the `@types`package of a peer dependency next to every package that peer-depends onit. For example, a package that peer-depends on `react` gets theproject's `@types/react` linked next to it. This lets TypeScript findthe types of a peer dependency when the global virtual store is on[#15689](https://redirect.github.com/pnpm/pnpm/discussions/15689).- `pnpm add –config` and `pnpm update` now handle configurationdependencies the way they handle other dependencies[#16814](https://redirect.github.com/pnpm/pnpm/issues/16814).`pnpm add –config` saves a version range in `pnpm-workspace.yaml` bythe same rules as `pnpm add`, so `pnpm add –config my-config@latest`saves a range such as `^1.2.0`. It also resolves the package again when`pnpm-lock.yaml` already locks an older version.`pnpm update` updates configuration dependencies within their ranges,and `pnpm update –latest` moves them to their latest version. Aselector such as `pnpm update my-config` updates only the configurationdependencies it names.##### Patch Changes- A package set to `false` in `allowBuilds` no longer runs its buildscripts when `dangerouslyAllowAllBuilds` is `true`. The two settingstogether now allow every build except the denied ones. Previously,`dangerouslyAllowAllBuilds` ignored the denials.- pnpm now switches to the pnpm version a project pins even when itcannot read its configuration. Previously, a setting it rejected in theglobal config file, an `.npmrc` file, or `_auth`, or a`pnpm-workspace.yaml` it could not parse, stopped every command, `pnpm–version` included.- `pnpm update` and `pnpm why` accept `–depth Infinity` again. Theyfailed with `invalid value 'Infinity' for '–depth <DEPTH>'`[#16817](https://redirect.github.com/pnpm/pnpm/issues/16817).- `pnpm deploy` without `injectWorkspacePackages` now binds a peerdependency of a linked workspace package to the version its parentprovides, as an injected install does. Previously the deploy failed with`ERR_PNPM_DEPLOY_AMBIGUOUS_PEER` whenever other packages in the deployedgraph depended on different versions of that peer[#16807](https://redirect.github.com/pnpm/pnpm/issues/16807).- `pnpm deploy –legacy` no longer fails with`ERR_PNPM_SPEC_NOT_SUPPORTED_BY_ANY_RESOLVER` when a workspacedependency of the deployed project declares a `workspace:` peerdependency that the project does not depend on itself. pnpm now copiesthat peer from the workspace into the deploy directory.An auto-installed peer declared with `workspace:` now always resolves tothe workspace project. Previously, `workspace:*` and `workspace:^1.0.0`peers could be installed from the registry[#16806](https://redirect.github.com/pnpm/pnpm/issues/16806).- Repeat installs no longer resolve again when an injected workspacepackage lists a dependency also as a peer dependency.- Sped up frozen installs of unchanged injected workspace packages thatuse hardlinks.- Sped up workspace discovery with subtree exclusions such as`!generated/**`.- A key under a registry URL in the `_auth` setting that does not startwith `@` is now skipped with a warning, so a field a later pnpm versionadds there no longer breaks this one. A key that holds an `authToken`object but lacks its `@`, such as `org` for `@org`, is still an error.<!– sponsors –>#### Platinum Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://bit.cloud/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a> </td> <td align="center" valign="middle"><a href="https://openai.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/openai_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/openai_light.svg" /><img src="https://pnpm.io/img/users/openai_dark.svg" width="160"alt="OpenAI" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://notion.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/notion.svg" width="80" alt="Notion"></a> </td> </tr> <tr> <td align="center" valign="middle"><ahref="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/coderabbit.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/coderabbit_light.svg" /><img src="https://pnpm.io/img/users/coderabbit.svg" width="220"alt="CodeRabbit" /> </picture> </a> </td> </tr> </tbody></table>#### Gold Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://sanity.io/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/sanity.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/sanity_light.svg" /><img src="https://pnpm.io/img/users/sanity.svg" width="120" alt="Sanity"/> </picture> </a> </td> <td align="center" valign="middle"><a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/discord.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/discord_light.svg" /><img src="https://pnpm.io/img/users/discord.svg" width="220"alt="Discord" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite"></a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://serpapi.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/serpapi_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/serpapi_light.svg" /><img src="https://pnpm.io/img/users/serpapi_dark.svg" width="160"alt="SerpApi" /> </picture> </a> </td> <td align="center" valign="middle"><ahref="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/stackblitz.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/stackblitz_light.svg" /><img src="https://pnpm.io/img/users/stackblitz.svg" width="190"alt="Stackblitz" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/workleap.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/workleap_light.svg" /><img src="https://pnpm.io/img/users/workleap.svg" width="190"alt="Workleap" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/nx.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/nx_light.svg" /><img src="https://pnpm.io/img/users/nx.svg" width="50" alt="Nx" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://latitude.so/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/latitude.svg" width="160"alt="Latitude"></a> </td> </tr> </tbody></table><!– sponsors end –>###[`v12.11.2`](https://redirect.github.com/pnpm/pnpm/releases/tag/v12.11.2):pnpm 12.11.2[CompareSource](https://redirect.github.com/pnpm/pnpm/compare/v12.11.1…v12.11.2)This release fixes `–workspace-concurrency=Infinity`, filters set by an`updateConfig` hook, and store fetches with `enable-modules-dir=false`.##### Patch Changes- `–workspace-concurrency=Infinity` now runs workspace projects with noconcurrency limit. It used to fail with `invalid digit found in string`[#16793](https://redirect.github.com/pnpm/pnpm/issues/16793).- `pnpm install` and other recursive commands now apply the `filter` and`filterProd` that an `updateConfig` hook sets. They used to run on everyworkspace project[#16792](https://redirect.github.com/pnpm/pnpm/issues/16792).- `enable-modules-dir=false` now also fetches the packages an installreuses from an existing lockfile, so the store holds every package thelockfile lists.<!– sponsors –>#### Platinum Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://bit.cloud/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a> </td> <td align="center" valign="middle"><a href="https://openai.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/openai_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/openai_light.svg" /><img src="https://pnpm.io/img/users/openai_dark.svg" width="160"alt="OpenAI" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://notion.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/notion.svg" width="80" alt="Notion"></a> </td> </tr> <tr> <td align="center" valign="middle"><ahref="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/coderabbit.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/coderabbit_light.svg" /><img src="https://pnpm.io/img/users/coderabbit.svg" width="220"alt="CodeRabbit" /> </picture> </a> </td> </tr> </tbody></table>#### Gold Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://sanity.io/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/sanity.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/sanity_light.svg" /><img src="https://pnpm.io/img/users/sanity.svg" width="120" alt="Sanity"/> </picture> </a> </td> <td align="center" valign="middle"><a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/discord.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/discord_light.svg" /><img src="https://pnpm.io/img/users/discord.svg" width="220"alt="Discord" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite"></a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://serpapi.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/serpapi_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/serpapi_light.svg" /><img src="https://pnpm.io/img/users/serpapi_dark.svg" width="160"alt="SerpApi" /> </picture> </a> </td> <td align="center" valign="middle"><ahref="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/stackblitz.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/stackblitz_light.svg" /><img src="https://pnpm.io/img/users/stackblitz.svg" width="190"alt="Stackblitz" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/workleap.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/workleap_light.svg" /><img src="https://pnpm.io/img/users/workleap.svg" width="190"alt="Workleap" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/nx.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/nx_light.svg" /><img src="https://pnpm.io/img/users/nx.svg" width="50" alt="Nx" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://latitude.so/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/latitude.svg" width="160"alt="Latitude"></a> </td> </tr> </tbody></table><!– sponsors end –>###[`v12.11.1`](https://redirect.github.com/pnpm/pnpm/releases/tag/v12.11.1):pnpm 12.11.1[CompareSource](https://redirect.github.com/pnpm/pnpm/compare/v12.11.0…v12.11.1)This release fixes two ways `pnpm install` could fail, runs tools of anyRust release through `pnx`, and treats `registry.npmjs.com` as an aliasof the npm registry.##### Patch Changes- `pnpm install` no longer fails when `packageManager` pins the pnpmversion that is already running and the registry does not publish thatversion. pnpm warns and continues. A registry mirror that has not synceda release no longer blocks the commands of a project pinned to it.- `pnpm install` no longer fails with `ERR_PNPM_CMD_SHIM_CHMOD` when`node_modules/.bin` holds a shim that another user created, if everyonecan already execute it and it is not world-writable. This happens whenseveral users share one checkout.- `enable-modules-dir=false` (`enableModulesDir: false` through theNode.js addon) fetches the registry packages the host can install intothe store again, as pnpm v10 did, while still writing nothing under`node_modules`. The setting exists for a `node_modules` that somethingelse mounts from the store, such as a FUSE daemon, and that consumer nolonger has to download each package on first access. A plain`–lockfile-only` run still fetches nothing.- `pnpm pack` and `pnpm publish` no longer put `.npmignore` and`.gitignore` files in the tarball. A `files` entry that names one stillships it.- pnpm now treats `https://registry.npmjs.com/` as an alias of`https://registry.npmjs.org/`. Registry requests, credentials, andtrusted publishing use the canonical hostname.- `pnx –package=rust@<channel> <tool>` runs a tool of that Rustrelease, for example `pnx –package=rust@nightly-2026-01-01 cargobuild`. pnpm installs the release with the components and targets from`rust-toolchain.toml` and the target of each `–target` argument.- `pnpm install` now links agent skills for more coding agents. Itdetects the agent from `ANTIGRAVITY_AGENT`, `COPILOT_AGENT`,`COPILOT_CLI`, `CODEX_THREAD_ID`, `CODEX_SANDBOX`, `AI_AGENT`, and`CLAUDE_CODE`[pnpm/tasks#116](https://redirect.github.com/pnpm/tasks/issues/116).- When the registry rejects `pnpm stage publish`, the error message nowstarts with "Failed to stage package".<!– sponsors –>##### Platinum Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://bit.cloud/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a> </td> <td align="center" valign="middle"><a href="https://openai.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/openai_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/openai_light.svg" /><img src="https://pnpm.io/img/users/openai_dark.svg" width="160"alt="OpenAI" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://notion.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/notion.svg" width="80" alt="Notion"></a> </td> </tr> <tr> <td align="center" valign="middle"><ahref="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/coderabbit.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/coderabbit_light.svg" /><img src="https://pnpm.io/img/users/coderabbit.svg" width="220"alt="CodeRabbit" /> </picture> </a> </td> </tr> </tbody></table>##### Gold Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://sanity.io/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/sanity.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/sanity_light.svg" /><img src="https://pnpm.io/img/users/sanity.svg" width="120" alt="Sanity"/> </picture> </a> </td> <td align="center" valign="middle"><a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/discord.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/discord_light.svg" /><img src="https://pnpm.io/img/users/discord.svg" width="220"alt="Discord" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite"></a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://serpapi.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/serpapi_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/serpapi_light.svg" /><img src="https://pnpm.io/img/users/serpapi_dark.svg" width="160"alt="SerpApi" /> </picture> </a> </td> <td align="center" valign="middle"><ahref="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/stackblitz.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/stackblitz_light.svg" /><img src="https://pnpm.io/img/users/stackblitz.svg" width="190"alt="Stackblitz" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/workleap.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/workleap_light.svg" /><img src="https://pnpm.io/img/users/workleap.svg" width="190"alt="Workleap" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/nx.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/nx_light.svg" /><img src="https://pnpm.io/img/users/nx.svg" width="50" alt="Nx" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://latitude.so/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/latitude.svg" width="160"alt="Latitude"></a> </td> </tr> </tbody></table><!– sponsors end –>###[`v12.11.0`](https://redirect.github.com/pnpm/pnpm/releases/tag/v12.11.0):pnpm 12.11.0[CompareSource](https://redirect.github.com/pnpm/pnpm/compare/v12.10.1…v12.11.0)This release adds Rust toolchain management, links the agent skills thatdependencies ship, adds the `permissions` setting, and keeps the colorsof streamed script output.##### Minor Changes- `pnpm install` now links the agent skills that direct dependenciesship under `skills/<name>/SKILL.md` into the project's agent skilldirectories, such as `.claude/skills`. A package's skills are linkedonly after you approve them with `pnpm approve`. The `skills.dirs`setting chooses the directories[pnpm/rfcs#35](https://redirect.github.com/pnpm/rfcs/pull/35).Added the `permissions` setting, which records what each dependency maydo. Its `build` capability works like `allowBuilds` and takes precedenceover it. `pnpm approve-builds` writes to `permissions` when`pnpm-workspace.yaml` already has it, and to `allowBuilds` otherwise.Added `pnpm permissions`, which lists the granted and denied permissionsand the packages awaiting approval. `pnpm approve` reviews build scriptsand agent skills in one prompt[pnpm/rfcs#36](https://redirect.github.com/pnpm/rfcs/pull/36).- pnpm now installs and runs Rust toolchains.- With `cargo.enabled`, `pnpm install` installs the toolchain named in`rust-toolchain.toml`. pnpm verifies the release signature, stores thetoolchain once per machine, and links it into `.pnpm/rust`. `pnpm run`and `pnpm exec` put its `cargo` and `rustc` on the `PATH`.- `pnpm add -g rust@<channel>` installs a toolchain globally. The`cargo` and `rustc` commands run it outside projects that pin their own.`pnpm update -g`, `pnpm ls -g`, and `pnpm remove -g` manage it like anyglobal package. – I> [!IMPORTANT]> ✂ PR body was truncated to here.</details>—### Configuration📅 **Schedule**: (in timezone Asia/Tokyo)- Branch creation – Only on Wednesday (`* * * * 3`)- Automerge – At any time (no schedule defined)🚦 **Automerge**: Disabled by config. Please merge this manually once youare satisfied.♻ **Rebasing**: Whenever PR is behind base branch, or you tick therebase/retry checkbox.🔕 **Ignore**: Close this PR and you won't be reminded about this updateagain.—- [ ] <!– rebase-check –>If you want to rebase/retry this PR, checkthis box—This PR was generated by [Mend Renovate](https://mend.io/renovate/).View the [repository joblog](https://developer.mend.io/github/FlutterGen/flutter_gen).<!–renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMDQuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIwNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119–>Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> , GitHub upgrade: update pnpm to v12 (#792)> [!NOTE]> This PR body was truncated due to platform limits.This PR contains the following updates:| Package | Change |[Age](https://docs.renovatebot.com/merge-confidence/) |[Confidence](https://docs.renovatebot.com/merge-confidence/) ||—|—|—|—|| [pnpm](https://pnpm.io)([source](https://redirect.github.com/pnpm/pnpm/tree/HEAD/pnpm/npm/pnpm))| [`11.28.6` →`12.9.1`](https://renovatebot.com/diffs/npm/pnpm/11.28.6/12.9.1) |||—### Release Notes<details><summary>pnpm/pnpm (pnpm)</summary>###[`v12.9.1`](https://redirect.github.com/pnpm/pnpm/releases/tag/v12.9.1):pnpm 12.9.1[CompareSource](https://redirect.github.com/pnpm/pnpm/compare/v12.9.0…v12.9.1)This release moves the WebContainer build into a separate `@pnpm/wasm`package, shrinks the `pnpm` package back to about 4 MB, and fixes `pnpmpublish` with provenance from GitLab CI.##### Patch Changes- The WebAssembly build for StackBlitz WebContainers now ships as aseparate `@pnpm/wasm` package. The `pnpm` and `@pnpm/exe` packages nolonger include it, which brings their unpacked size back from about 55MB to about 4 MB. In a WebContainer, install `@pnpm/wasm` with npm toget the `pnpm` command.- `pnpm publish` with provenance from GitLab CI is no longer rejected bythe npm registry with a 422 error. The provenance statement now includesthe GitLab CI variables in `invocation.parameters`, as npm does[#16551](https://redirect.github.com/pnpm/pnpm/issues/16551).- `pnpm audit signatures` now uses the TLS settings of the redirecttarget when a registry redirects its signing-keys request, for exampleto registry.npmjs.org. A `cafile` scoped to a private registry no longermakes the redirected request fail[#16541](https://redirect.github.com/pnpm/pnpm/issues/16541).- Fixed `pnpm install –frozen-lockfile` rejecting an up-to-datelockfile when an injected workspace package uses a catalog entry in`peerDependencies`[#16557](https://redirect.github.com/pnpm/pnpm/issues/16557).- The `[<since>]` filter selector works again with Git 2.24 through 2.27[#16561](https://redirect.github.com/pnpm/pnpm/issues/16561).With Git older than 2.24, the selector now fails with an error thatnames the required Git version.It also detects changes in projects whose directory names containnon-ASCII characters. Such a change used to be credited to the parentproject. `changedFilesIgnorePattern` and `testPattern` now match changedfiles whose names contain non-ASCII characters.- The `pnpm` executable is about 10% smaller. On macOS arm64 it wentfrom 45.1 MB to 40.3 MB.- Sped up trust downgrade checks for packages with long releasehistories.- With `optimisticRepeatInstall: false`, `pnpm install` now runs theprojects' own lifecycle scripts, such as `prepare`, even when`node_modules` is already up to date[#16545](https://redirect.github.com/pnpm/pnpm/issues/16545).- `pnpm self-update` now fails for Homebrew-installed pnpm and printsthe `brew upgrade` command for the installed formula, such as `brewupgrade pnpm` or `brew upgrade pnpm@11`. It used to install a secondcopy of pnpm that the Homebrew one kept shadowing[#16547](https://redirect.github.com/pnpm/pnpm/issues/16547).<!– sponsors –>#### Platinum Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://bit.cloud/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a> </td> <td align="center" valign="middle"><a href="https://openai.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/openai_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/openai_light.svg" /><img src="https://pnpm.io/img/users/openai_dark.svg" width="160"alt="OpenAI" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://notion.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/notion.svg" width="80" alt="Notion"></a> </td> </tr> <tr> <td align="center" valign="middle"><ahref="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/coderabbit.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/coderabbit_light.svg" /><img src="https://pnpm.io/img/users/coderabbit.svg" width="220"alt="CodeRabbit" /> </picture> </a> </td> </tr> </tbody></table>#### Gold Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://sanity.io/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/sanity.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/sanity_light.svg" /><img src="https://pnpm.io/img/users/sanity.svg" width="120" alt="Sanity"/> </picture> </a> </td> <td align="center" valign="middle"><a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/discord.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/discord_light.svg" /><img src="https://pnpm.io/img/users/discord.svg" width="220"alt="Discord" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite"></a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://serpapi.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/serpapi_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/serpapi_light.svg" /><img src="https://pnpm.io/img/users/serpapi_dark.svg" width="160"alt="SerpApi" /> </picture> </a> </td> <td align="center" valign="middle"><ahref="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/stackblitz.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/stackblitz_light.svg" /><img src="https://pnpm.io/img/users/stackblitz.svg" width="190"alt="Stackblitz" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/workleap.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/workleap_light.svg" /><img src="https://pnpm.io/img/users/workleap.svg" width="190"alt="Workleap" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/nx.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/nx_light.svg" /><img src="https://pnpm.io/img/users/nx.svg" width="50" alt="Nx" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://latitude.so/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/latitude.svg" width="160"alt="Latitude"></a> </td> </tr> </tbody></table><!– sponsors end –>###[`v12.9.0`](https://redirect.github.com/pnpm/pnpm/releases/tag/v12.9.0):pnpm 12.9[CompareSource](https://redirect.github.com/pnpm/pnpm/compare/v12.8.2…v12.9.0)This release runs pnpm in StackBlitz WebContainers, adds a per-registry`networkConcurrency` setting, and records every installed project in thestore. It also carries a security fix for `pnpm login`.##### Minor Changes- pnpm now automatically uses WebAssembly in StackBlitz WebContainers,including when installation scripts are disabled. Native installationscontinue to use the native executable when installation scripts areenabled.- A `registries` entry can now set `networkConcurrency`, the mostrequests pnpm keeps in flight to that registry's origin. Requests toother registries keep the overall limit. The setting may live in`pnpm-workspace.yaml` or the global `config.yaml`. “`yaml registries: https://npm.corp.example.com/: scopes: ["@acme"] networkConcurrency: 4 “`- `pnpm install` now records every project it installs in the store's`projects` directory, as a symlink to the project directory. A`–frozen-store` install without the global virtual store still recordsnothing. Only projects that used the global virtual store were recordedbefore[#6929](https://redirect.github.com/pnpm/pnpm/issues/6929).##### Patch Changes- `pnpm login` no longer forwards credentials in its request body toanother origin during redirects.##### Installing packages- Fixed `pnpm install` failing on Android with`ERR_PNPM_STORE_DIR_ACQUIRE_OPERATION_LOCK`[#16508](https://redirect.github.com/pnpm/pnpm/issues/16508).- `pnpm install –frozen-lockfile` again succeeds when a workspaceproject recorded in `pnpm-lock.yaml` has no directory, such as a projectleft out of a Docker build context. It still fails if the project'sdirectory exists without a `package.json`[#16453](https://redirect.github.com/pnpm/pnpm/issues/16453).- `pnpm install –frozen-lockfile` no longer requires a `pnpm-lock.yaml`in a project that has no dependencies. It also succeeds when`pnpm-lock.yaml` records only the pinned pnpm version, as other commandswrite it when they run before the first install[#16477](https://redirect.github.com/pnpm/pnpm/issues/16477).- Fixed `pnpm install –frozen-lockfile` rejecting a fresh lockfile whenan injected workspace dependency has an optional peer supplied byanother workspace project[#16428](https://redirect.github.com/pnpm/pnpm/issues/16428).- With `nodeLinker: hoisted`, a filtered install now keeps the packagesof the workspace projects an earlier install put in `node_modules`. Thisalso covers the install that `pnpm –filter <selector> run` and `pnpm–filter <selector> exec` start before the command. Before, theseinstalls removed every package that only the unselected projects needed[#16483](https://redirect.github.com/pnpm/pnpm/issues/16483).- `pnpm install` with `nodeLinker: hoisted` now refreshes directoriessupplied by custom fetchers when reinstalling. pnpm also keeps thesymlinks inside those directories.- With `enableGlobalVirtualStore` on, scripts can run entry points thata CommonJS require hook loads again, such as `ts-node index.ts`. Theyfailed with `ERR_UNKNOWN_FILE_EXTENSION` on Node.js versions withoutbuilt-in TypeScript support[#16436](https://redirect.github.com/pnpm/pnpm/issues/16436).- pnpm now keeps each project's current lockfile and hidden hoisteddependencies in its own `node_modules/.pnpm` when `virtualStoreDir`points at a shared global virtual store. `–virtual-store-dir` now setsthe global virtual store's location too[pnpm/tasks#47](https://redirect.github.com/pnpm/tasks/issues/47).- `pnpm clean` no longer deletes the project when `virtualStoreDir` or`globalVirtualStoreDir` is set to the project directory. It also leavesa directory outside the project alone when the setting reaches itthrough a symlink. It now removes a global virtual store that`globalVirtualStoreDir` places inside the project, as it does for`virtualStoreDir`.##### Optional dependencies- `pnpm install` no longer fails when a dependency of an optionaldependency is missing from the registry. Like npm, pnpm now leaves outthe nearest optional dependency above it, together with its subtree[#16511](https://redirect.github.com/pnpm/pnpm/issues/16511).- When an optional dependency fails to build, pnpm now removes its linkfrom `node_modules`. A repeat `pnpm install` then reports "Already up todate" and no longer reruns the failing build[#16468](https://redirect.github.com/pnpm/pnpm/issues/16468).- `pnpm install` now prints a warning with the error when an optionaldependency cannot be fetched and is skipped. The skipped package is nolonger counted in the `Packages: +N` summary. The`pnpm:skipped-optional-dependency` log reports the skip with the`fetch_failure` reason[#16514](https://redirect.github.com/pnpm/pnpm/issues/16514).##### Resolving dependencies- Fixed `pnpm install` changing an unchanged project's direct dependencyto a sibling workspace's pinned version when its dependency treecontains a cycle[#16417](https://redirect.github.com/pnpm/pnpm/issues/16417).- With `autoDedupe` enabled, downgrading a dependency in one workspaceproject now moves the other projects to that version when it satisfiestheir ranges. This also applies to a filtered `pnpm –filter <project>add`[#16432](https://redirect.github.com/pnpm/pnpm/issues/16432).- `pnpm install` and `pnpm dedupe` now move an optional peer to theversion already in the dependency graph when no other package providesits locked version anymore. After a bump such as `vue` 3.5.40 to 3.5.43,the lockfile kept a second copy of `@vue/server-renderer` for`@vue/test-utils`[#16443](https://redirect.github.com/pnpm/pnpm/issues/16443).- `pnpm dedupe –check` no longer fails right after `pnpm install` whena project's optional peer is satisfied by a package another workspaceproject installs. `pnpm dedupe` now picks the same versions for thatpackage's dependencies as `pnpm install`[#16447](https://redirect.github.com/pnpm/pnpm/issues/16447).- `pnpm install` no longer re-resolves an up-to-date lockfile on everyrun when a patched package is a peer in a peer cycle[#16418](https://redirect.github.com/pnpm/pnpm/issues/16418).- With `autoDedupe` enabled, `pnpm install –lockfile-only` no longerresolves the dependency graph again when nothing changed since anearlier `–lockfile-only` install deduplicated the lockfile. Such aninstall keeps the lockfile even if versions were published since it waswritten, or if only a setting such as `resolutionMode` changed. Run`pnpm dedupe` to apply such a change[#16458](https://redirect.github.com/pnpm/pnpm/issues/16458).##### Speed and network- A repeat `pnpm install` in a large workspace reports "Already up todate" faster[#16487](https://redirect.github.com/pnpm/pnpm/issues/16487).- Sped up dependency resolution of workspaces with many peerdependencies.- `pnpm install` sends fewer registry metadata requests when thelockfile already decides which version a range resolves to. This nowalso covers ranges that several locked versions satisfy when one of themoutranks the others, and direct dependencies kept at their lockedversion. Packages that `minimumReleaseAgeExclude` lists without aversion now reuse cached registry metadata the same way they do when`minimumReleaseAge` is not set[#16458](https://redirect.github.com/pnpm/pnpm/issues/16458).- pnpm no longer downloads every packument again on each install from aregistry whose metadata responses forbid caching, such as`Cache-Control: no-store`. pnpm revalidates the cached metadata with aconditional request, so a registry that supports conditional requestsanswers with a 304 when the package has not changed[#16528](https://redirect.github.com/pnpm/pnpm/issues/16528).- Cached metadata for a package published within `minimumReleaseAge` isnow revalidated with its ETag, so the npm registry can answer `304 NotModified`. Before, the next install that checked the cache downloadedthe whole document again[#16506](https://redirect.github.com/pnpm/pnpm/issues/16506).- A fetch timeout while other downloads from the same host are stillrunning now lowers concurrency for that host to one connection. Retriesof that request, and later downloads from that host, use the lowerconcurrency. Other hosts keep the configured concurrency[#12791](https://redirect.github.com/pnpm/pnpm/issues/12791).- Sped up `pnpm install –offline` when the version a range picks is notin the store. While it looks for a version the store holds, pnpm nowreads only the versions the range admits[#16495](https://redirect.github.com/pnpm/pnpm/issues/16495).- `pnpm install –offline` now reuses config dependency tarballs thatare already present in the store[pnpm/tasks#46](https://redirect.github.com/pnpm/tasks/issues/46).##### Running scripts- `pnpm -s <script>` runs the script again, with `-s` meaning`–sequential` as it does for `pnpm run -s <script>`. pnpm rejected itwith "unexpected argument '-s' found"[#16446](https://redirect.github.com/pnpm/pnpm/issues/16446).- `pnpm run` and `pnpm exec` now warn and run the command when theinstall that `verifyDepsBeforeRun` starts fails. This lets scripts runin sandboxes where pnpm cannot install, such as containers with aread-only store or no network[#15173](https://redirect.github.com/pnpm/pnpm/issues/15173).- A filtered `pnpm run` or `pnpm exec` now finds dependencies out ofdate when a workspace dependency of a selected project has no`node_modules` directory, as after a filtered install. With`verifyDepsBeforeRun: install`, pnpm installs that dependency beforerunning the command[pnpm/tasks#45](https://redirect.github.com/pnpm/tasks/issues/45).- Scripts run without a terminal no longer start a second `sh` each. Onewatchdog per pnpm command now ends every script's process group if pnpmis killed, so `pnpm -r run` across many projects starts half as manyprocesses[#16489](https://redirect.github.com/pnpm/pnpm/issues/16489).- `Terminate batch job (Y/N)?` no longer appears after pressing Ctrl+Cin a script started with `pnpm` from PowerShell or cmd on Windows[#16502](https://redirect.github.com/pnpm/pnpm/issues/16502).- `pnpm rebuild` and `pnpm approve-builds` refresh command launcherswhen a build changes a command's interpreter or replaces it with anative executable. Dependent packages' build scripts use the refreshedlaunchers.- When `pnpm run <script>` or `pnpm <script>` finds nothing to run and`–filter` follows the script name, the error now suggests putting thefilter option before the script name[#4655](https://redirect.github.com/pnpm/pnpm/issues/4655).- Package-name filters now support `?` to match one character[#2817](https://redirect.github.com/pnpm/pnpm/issues/2817).##### The pinned pnpm and `pnpm self-update`- pnpm no longer downloads the project's pinned pnpm version again onevery command when `nodeVersion` in `pnpm-workspace.yaml` names adifferent Node.js major than the `node` on `PATH`. Before, each of thosecommands took about a second longer and failed without network access[#16497](https://redirect.github.com/pnpm/pnpm/issues/16497).- Several `pnpm` commands started at once in a project that pins`packageManager` no longer fail with `The process cannot access the filebecause it is being used by another process` on Windows while the pinnedpnpm is being installed.- pnpm can now switch to a `packageManager` version below 11 on x64 muslLinux, such as Alpine[#16467](https://redirect.github.com/pnpm/pnpm/issues/16467).- A `devEngines.packageManager` range no longer makes pnpm replace theversion recorded in `pnpm-lock.yaml` with the running pnpm while therecorded version still satisfies the range. When pnpm does record aversion, it records the running pnpm only if it meets`minimumReleaseAge`. Otherwise it records the newest version in therange that meets it, or the running pnpm if none does[#16431](https://redirect.github.com/pnpm/pnpm/issues/16431).- On Windows, `pnpm self-update` now replaces a `pnpm.exe` left in`PNPM_HOME` or in `PNPM_HOME\bin`. Windows ran that executable in placeof the updated `pnpm.cmd` shim, so `pnpm –version` kept printing theold version after a successful update. If the executable was in`PNPM_HOME`, `self-update` now asks you to run `pnpm setup`[#9094](https://redirect.github.com/pnpm/pnpm/issues/9094).- `pnpm self-update` now checks that a version installed as theJavaScript `pnpm` can start before making it the global `pnpm`. IfNode.js is missing, the update fails and the current `pnpm` stays inplace.##### Other commands- `pnpm deploy` now finds patches and local dependencies when the targetdirectory sits under a symlink, such as `/tmp` on macOS. It failed with`ERR_PNPM_PATCH_NOT_FOUND`[#16470](https://redirect.github.com/pnpm/pnpm/issues/16470).- `pnpm deploy –legacy` now resolves the deployed project's relative`file:`, `link:`, and path dependencies from the project's own directory[#16475](https://redirect.github.com/pnpm/pnpm/issues/16475).- `pnpm update –global` now removes hard-linked executables from`PNPM_HOME` when migrating packages from the old global layout[#16420](https://redirect.github.com/pnpm/pnpm/issues/16420).- `pnpm store prune` no longer fails on store index entries that pnpm 11wrote for git-hosted packages without a `package.json`. Entries thatstill cannot be read are kept and counted in the prune summary.- `pnpm store prune` now aborts when an error other than a missingdirectory occurs while scanning project directories in the mark phase.- `pnpm config get` and `pnpm config list` now report a setting given onthe command line with `–config.<name>=<value>`. Before, a value such as`–config.node-linker=hoisted` reached the install but was absent fromthe reported configuration[#16276](https://redirect.github.com/pnpm/pnpm/issues/16276).- `pnpm -r pkg get` now reports every selected project when severalshare a package name. Projects with the same name are keyed by theirdirectory relative to the workspace root. Before, only one of themappeared in the output.- The install summary shows a `link:` dependency as `+ name <- path`,and the Node.js API's `hideLinkedPkgsDiff` reporter option leavesmatching linked dependencies out of the summary.- The `–force` help text of `pnpm install` and `pnpm add` now says that`–force` keeps skipping optional dependencies built for otherplatforms. It points to `forceIgnoresPlatform` and the `–os`, `–cpu`,and `–libc` options for installing them[#16435](https://redirect.github.com/pnpm/pnpm/issues/16435).- The `homepage` field of the published `pnpm` package points to<https://pnpm.io> again.<!– sponsors –>##### Platinum Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://bit.cloud/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a> </td> <td align="center" valign="middle"><a href="https://openai.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/openai_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/openai_light.svg" /><img src="https://pnpm.io/img/users/openai_dark.svg" width="160"alt="OpenAI" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://notion.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/notion.svg" width="80" alt="Notion"></a> </td> </tr> <tr> <td align="center" valign="middle"><ahref="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/coderabbit.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/coderabbit_light.svg" /><img src="https://pnpm.io/img/users/coderabbit.svg" width="220"alt="CodeRabbit" /> </picture> </a> </td> </tr> </tbody></table>##### Gold Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://sanity.io/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/sanity.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/sanity_light.svg" /><img src="https://pnpm.io/img/users/sanity.svg" width="120" alt="Sanity"/> </picture> </a> </td> <td align="center" valign="middle"><a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/discord.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/discord_light.svg" /><img src="https://pnpm.io/img/users/discord.svg" width="220"alt="Discord" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite"></a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://serpapi.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/serpapi_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/serpapi_light.svg" /><img src="https://pnpm.io/img/users/serpapi_dark.svg" width="160"alt="SerpApi" /> </picture> </a> </td> <td align="center" valign="middle"><ahref="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/stackblitz.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/stackblitz_light.svg" /><img src="https://pnpm.io/img/users/stackblitz.svg" width="190"alt="Stackblitz" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/workleap.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/workleap_light.svg" /><img src="https://pnpm.io/img/users/workleap.svg" width="190"alt="Workleap" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/nx.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/nx_light.svg" /><img src="https://pnpm.io/img/users/nx.svg" width="50" alt="Nx" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://latitude.so/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/latitude.svg" width="160"alt="Latitude"></a> </td> </tr> </tbody></table><!– sponsors end –>###[`v12.8.2`](https://redirect.github.com/pnpm/pnpm/releases/tag/v12.8.2):pnpm 12.8.2[CompareSource](https://redirect.github.com/pnpm/pnpm/compare/v12.8.1…v12.8.2)pnpm 12.8.2 fixes a startup crash on Linux ppc64le and `UnknownIssuer`errors on systems without CA certificates. `pnpm run` no longer installsbefore every script on CI when `autoDedupe` is enabled, and resolutionand hoisted installs on macOS are faster.##### Patch Changes##### Platforms and environments- Fixed pnpm crashing on startup on Linux ppc64le[#16380](https://redirect.github.com/pnpm/pnpm/issues/16380).- Fixed installs failing with `UnknownIssuer` on Linux systems withoutCA certificates, such as `node:24-slim`, when `NODE_EXTRA_CA_CERTS` isset. The extra certificates now extend the bundled CA roots[#16365](https://redirect.github.com/pnpm/pnpm/issues/16365).- pnpm now creates its store operation locks and other per-user lockfiles in `$XDG_RUNTIME_DIR` when it points to a directory only the usercan write to. Otherwise, pnpm still uses `/tmp` on Linux and macOS.Sandboxes that block writes to `/tmp` can point `XDG_RUNTIME_DIR` at awritable directory[#16390](https://redirect.github.com/pnpm/pnpm/issues/16390).- POSIX bin shims and the `pnpm`, `pn`, `pnpx`, and `pnx` launchers nowrun inside a Nix build, where the system default path holds none of theutilities they call. Installing again replaces the shims already in`node_modules`[#16377](https://redirect.github.com/pnpm/pnpm/issues/16377).- In a project that pins another pnpm version, pnpm now passes a commandwith an option it does not know to the pinned version. Before, pnpmrejected the option before switching, so `pnpm install –auto-dedupe`failed with "Unknown option" even though the pinned pnpm supports it[#16353](https://redirect.github.com/pnpm/pnpm/issues/16353).##### Installing and resolving dependencies- `pnpm install –frozen-lockfile` now fails when `Cargo.lock` does notsatisfy a dependency requirement in `Cargo.toml`. The error names thecrate and the version the lockfile holds[#16355](https://redirect.github.com/pnpm/pnpm/issues/16355).- `pnpm install` returns "Already up to date" again in a workspace withinjected workspace dependencies and a shared lockfile. Since 12.7.0every repeat install in such a workspace ran the full install and copiedthe injected projects again.- With `injectWorkspacePackages: true`, a fresh `pnpm install` nowrecords a workspace dependency as `link:` when its injected copy differsfrom the project only by an optional peer that peer-dependent dedupemerges. It was recorded as a peer-suffixed `file:` copy[#16354](https://redirect.github.com/pnpm/pnpm/issues/16354).- `pnpm dedupe –check` now passes right after `pnpm dedupe` whendeduplication merges variants of a package that differ only in theirpeers. A lockfile key whose peer suffix named a merged variant now namesthe variant that replaced it[#16356](https://redirect.github.com/pnpm/pnpm/issues/16356).- When `minimumReleaseAge` hides the version that `latest` points to,pnpm now falls back to a prerelease of the same major before a stableversion of an older major. A stable version of the same major is stillpreferred. Before, while a new `1.0.0` was too new, `latest` fell backto an old `0.0.1` even though `1.0.0-beta.4` had been `latest` untilthen[#16388](https://redirect.github.com/pnpm/pnpm/issues/16388).- Git-hosted dependencies now respect `pmOnFail`. If it is set toanything other than `download`, a git-hosted dependency that pins a pnpmversion is prepared by the running pnpm, and pnpm does not download thepinned version[#16376](https://redirect.github.com/pnpm/pnpm/issues/16376).- pnpmfile hooks such as `readPackage` now run once for a dependencythat several packages request at the same time. They could run twice forit before.- `childConcurrency` now defaults to 5, the documented value. It used tobe capped at 4 and to follow the host's CPU count.##### Running scripts- `pnpm run` and `pnpm exec` no longer install dependencies before everyscript on CI when `autoDedupe` is enabled. `pnpm install–frozen-lockfile` now keeps the deduplication record left by an earlierinstall[#16374](https://redirect.github.com/pnpm/pnpm/issues/16374).- On macOS and Linux, lifecycle scripts and `pnpm run` now always get`PATH` from the `PATH` variable. When the environment also held a `Path`variable, a script sometimes got `Path`'s value, and failed with `node:not found`[#16308](https://redirect.github.com/pnpm/pnpm/issues/16308).- `pnpm run` now exits after a `SIGTERM` in a container where pnpm isPID 1 and the script runs pnpm again, as `"start": "pnpm serve"` does.Since 12.6.0 it kept waiting after the script had shut down, until thecontainer runtime killed it.##### Other commands and settings- `pnpm config get globalShims`, `pnpm shim list`, and global installsno longer read `globalShims` from a project's `pnpm-workspace.yaml`.Only the global config file, the pnpm home's own `pnpm-workspace.yaml`,and `PNPM_CONFIG_GLOBAL_SHIMS` set it, so a repository cannot choosewhich globally installed packages get project-aware shims.- `pnpm config set –location=project` refuses a machine-level settingsuch as `stateDir` or `scope` with`ERR_PNPM_CONFIG_SET_NOT_A_PROJECT_SETTING`, which names where thesetting belongs. `pnpm config delete` still clears such a key from aproject's `pnpm-workspace.yaml`.- `pnpm deploy` no longer fails with `ERR_PNPM_DEPLOY_AMBIGUOUS_PEER` ina workspace with `injectWorkspacePackages: true` when a workspacepackage lists its peer dependency as a dev dependency too[#16375](https://redirect.github.com/pnpm/pnpm/issues/16375).- `pnpm deploy` no longer copies the workspace root's `packageManager`and `devEngines.packageManager` fields into the deployed `package.json`[#16403](https://redirect.github.com/pnpm/pnpm/issues/16403).- `pnpm publish` now includes bare `README` files and README files withMarkdown extensions such as `readme.markdown` in registry metadata[#12704](https://redirect.github.com/pnpm/pnpm/issues/12704).- `pnpm store prune` now removes the packages that only expired `pnpmdlx` cache entries used. They were left in the store until the next`pnpm store prune`[#16383](https://redirect.github.com/pnpm/pnpm/discussions/16383).##### Performance- Sped up dependency resolution in large workspaces, and when manydependencies request different ranges of the same package. Resolutionalso uses less memory.- Sped up `pnpm install` with `nodeLinker: hoisted` on macOS when thelockfile is re-resolved, such as with `autoDedupe` enabled[#16397](https://redirect.github.com/pnpm/pnpm/issues/16397).- Sped up extracting package tarballs.- `pnpm install` without `–frozen-lockfile` is faster on some machinesin projects with a `pnpm-workspace.yaml`. Those installs linked with oneworker thread per core, half of what a frozen install uses.- On Windows, warm `pnpm install –frozen-lockfile` runs are 4-5% fasteron 4- and 8-core machines. pnpm now links with one worker thread percore on Windows, between 4 and 16. This changes frozen installs andinstalls in projects without a `pnpm-workspace.yaml` on machines with 3to 15 cores.<!– sponsors –>#### Platinum Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://bit.cloud/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a> </td> <td align="center" valign="middle"><a href="https://openai.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/openai_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/openai_light.svg" /><img src="https://pnpm.io/img/users/openai_dark.svg" width="160"alt="OpenAI" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://notion.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/notion.svg" width="80" alt="Notion"></a> </td> </tr> <tr> <td align="center" valign="middle"><ahref="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/coderabbit.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/coderabbit_light.svg" /><img src="https://pnpm.io/img/users/coderabbit.svg" width="220"alt="CodeRabbit" /> </picture> </a> </td> </tr> </tbody></table>#### Gold Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://sanity.io/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/sanity.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/sanity_light.svg" /><img src="https://pnpm.io/img/users/sanity.svg" width="120" alt="Sanity"/> </picture> </a> </td> <td align="center" valign="middle"><a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/discord.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/discord_light.svg" /><img src="https://pnpm.io/img/users/discord.svg" width="220"alt="Discord" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite"></a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://serpapi.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/serpapi_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/serpapi_light.svg" /><img src="https://pnpm.io/img/users/serpapi_dark.svg" width="160"alt="SerpApi" /> </picture> </a> </td> <td align="center" valign="middle"><ahref="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/stackblitz.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/stackblitz_light.svg" /><img src="https://pnpm.io/img/users/stackblitz.svg" width="190"alt="Stackblitz" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/workleap.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/workleap_light.svg" /><img src="https://pnpm.io/img/users/workleap.svg" width="190"alt="Workleap" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/nx.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/nx_light.svg" /><img src="https://pnpm.io/img/users/nx.svg" width="50" alt="Nx" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://latitude.so/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/latitude.svg" width="160"alt="Latitude"></a> </td> </tr> </tbody></table><!– sponsors end –>###[`v12.8.1`](https://redirect.github.com/pnpm/pnpm/releases/tag/v12.8.1):pnpm 12.8.1[CompareSource](https://redirect.github.com/pnpm/pnpm/compare/pnpm@12.8.0…v12.8.1)pnpm 12.8.1 fixes `pnpm install –frozen-lockfile` rejecting lockfileswith injected workspace packages that have peers, restores theexecutable bit on files of local directory dependencies, makes `pnpmdedupe` converge, and uses less CPU on many-core machines.##### Patch Changes- `pnpm install –frozen-lockfile` no longer rejects a freshly generatedlockfile when an injected workspace package has peer dependencies[#16332](https://redirect.github.com/pnpm/pnpm/issues/16332).- Executable files in a `file:` directory dependency or an injectedworkspace package keep their executable bit again. Since 12.8.0, pnpminstalled these files without the permissions they have in theirproject.- `pnpm dedupe` now reaches a stable lockfile when a package's peersuffix is long enough to be hashed. Before, each run could switch thatpackage's key between the hashed and the spelled-out suffix, so `pnpmdedupe –check` always failed[#16331](https://redirect.github.com/pnpm/pnpm/issues/16331).- `pnpm install –frozen-lockfile`, the default in CI, now uses less CPUon machines with more than 8 cores. Warm installs on many-core Windowsmachines got up to 10% faster. Frozen installs now link with at most 16worker threads.- `verifyDepsBeforeRun` no longer reports dependencies as outdated aftera filtered install just because `pnpm-lock.yaml` has a newermodification time. It checks the lockfile against the packages thatinstall put in place. Before, `pnpm run` reinstalled the whole workspacewith lifecycle scripts on, for example after a Docker `COPY` brought ina lockfile with a newer mtime[#16322](https://redirect.github.com/pnpm/pnpm/issues/16322).After a filtered install, `verifyDepsBeforeRun` now also checks that theinstall put the selected projects' dependencies in place. A`node_modules` directory alone no longer counts as proof.- `pnpm run` and `pnpm exec` no longer install a project that has neverbeen installed and has nothing to install. Such a project declares nodependencies, no peer dependencies that `autoInstallPeers` would fetch,and no install lifecycle scripts. The command now runs without writing`node_modules` or `pnpm-lock.yaml`[#16313](https://redirect.github.com/pnpm/pnpm/issues/16313).- `pnpm update -g –latest` now upgrades globally installed packagesbeyond their saved version ranges[#16320](https://redirect.github.com/pnpm/pnpm/issues/16320).<!– sponsors –>#### Platinum Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://bit.cloud/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a> </td> <td align="center" valign="middle"><a href="https://openai.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/openai_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/openai_light.svg" /><img src="https://pnpm.io/img/users/openai_dark.svg" width="160"alt="OpenAI" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://notion.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/notion.svg" width="80" alt="Notion"></a> </td> </tr> <tr> <td align="center" valign="middle"><ahref="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/coderabbit.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/coderabbit_light.svg" /><img src="https://pnpm.io/img/users/coderabbit.svg" width="220"alt="CodeRabbit" /> </picture> </a> </td> </tr> </tbody></table>#### Gold Sponsors<table> <tbody> <tr> <td align="center" valign="middle"><a href="https://sanity.io/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/sanity.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/sanity_light.svg" /><img src="https://pnpm.io/img/users/sanity.svg" width="120" alt="Sanity"/> </picture> </a> </td> <td align="center" valign="middle"><a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/discord.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/discord_light.svg" /><img src="https://pnpm.io/img/users/discord.svg" width="220"alt="Discord" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite"></a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://serpapi.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/serpapi_dark.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/serpapi_light.svg" /><img src="https://pnpm.io/img/users/serpapi_dark.svg" width="160"alt="SerpApi" /> </picture> </a> </td> <td align="center" valign="middle"><ahref="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/stackblitz.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/stackblitz_light.svg" /><img src="https://pnpm.io/img/users/stackblitz.svg" width="190"alt="Stackblitz" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/workleap.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/workleap_light.svg" /><img src="https://pnpm.io/img/users/workleap.svg" width="190"alt="Workleap" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"><a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"> <picture><source media="(prefers-color-scheme: light)"srcset="https://pnpm.io/img/users/nx.svg" /><source media="(prefers-color-scheme: dark)"srcset="https://pnpm.io/img/users/nx_light.svg" /><img src="https://pnpm.io/img/users/nx.svg" width="50" alt="Nx" /> </picture> </a> </td> <td align="center" valign="middle"><a href="https://latitude.so/?utm_source=pnpm&utm_medium=release_notes"target="_blank" rel="noopener noreferrer"><imgsrc="https://pnpm.io/img/users/latitude.svg" width="160"alt="Latitude"></a> </td> </tr> </tbody></table><!– sponsors end –>###[`v12.8.0`](https://redirect.github.com/pnpm/pnpm/releases/tag/v12.8.0):pnpm 12.8[CompareSource](https://redirect.github.com/pnpm/pnpm/compare/v12.7.0…pnpm@12.8.0)pnpm 12.8.0 warns when `pnpm pack` or `pnpm publish` would ship a `.env`file that `files` does not list, installs `sharedWorkspaceLockfile:false` workspaces concurrently, applies every setting passed as`–config.<name>=<value>`, and no longer leaves the Windows terminalstuck after Ctrl+C in a script.##### Minor Changes- `pnpm pack` and `pnpm publish` now warn when the tarball includes a`.env` or `.env.*` file that the `files` field of `package.json` doesnot list. Templates such as `.env.example` are not reported. List thefile in `files` to publish it on purpose, or exclude it in `.npmignore`or `.gitignore`[#7826](https://redirect.github.com/pnpm/pnpm/issues/7826).- `pnpm pack` now honors `–silent`, `–reporter=silent`, and`–loglevel=silent` to hide the tarball contents and summary. With`–json`, lifecycle script output and the final JSON output remainvisible[#10297](https://redirect.github.com/pnpm/pnpm/issues/10297).##### Patch Changes##### Installing packages- Installing through a `pnpr` server now records the pnpmfile checksumin the lockfile, so a later `pnpm install –frozen-lockfile` acceptsthat lockfile[#14460](https://redirect.github.com/pnpm/pnpm/issues/14460). Afrozen install through the pnpr server now fails if the pnpmfilechanged. If the pnpmfile defines a `readPackage`, `afterAllResolved` or`preResolution` hook or custom resolvers, pnpm resolves dependencieslocally and prints a warning that the pnpr server was not used.Installing through a `pnpr` server also links a workspace project at thedirectory its `publishConfig.directory` names. A server that does notforward the setting makes the install fail with`ERR_PNPM_PNPR_PUBLISH_DIRECTORY_MISMATCH`, so pnpm never writes alockfile that points at the wrong directory. The server rejects a`publishConfig.directory` that points outside its project.- Installing a git-hosted dependency that has to be built no longerfails when that dependency's own dependencies have build scripts nobodyapproved. pnpm skips those builds while preparing the dependency, as itdoes without `strictDepBuilds`[#9764](https://redirect.github.com/pnpm/pnpm/issues/9764).- A git-hosted dependency that is a pnpm workspace with no committedlockfile is now detected as a pnpm project[#14011](https://redirect.github.com/pnpm/pnpm/issues/14011).- `pnpm install –dev` and `pnpm fetch –dev` now install the optionaldependencies of devDependencies, such as the platform binaries of Biomeand oxlint. The project's own `optionalDependencies` are still skipped[#9678](https://redirect.github.com/pnpm/pnpm/issues/9678).- `pnpm install –offline` and `pnpm add –offline` now resolve aversion range to the newest matching version whose tarball is already inthe store. They used to pick the newest version in the cached metadataand fail with `ERR_PNPM_NO_OFFLINE_TARBALL` when its tarball was missing[#10715](https://redirect.github.com/pnpm/pnpm/issues/10715).- If an offline install fails because the registry metadata cache usesthe layout from before pnpm 11.27 and 12.4, the error now names theolder mirror on disk and explains that one online install repopulatesthe cache. The error also carries the `ERR_PNPM_NO_OFFLINE_META` code.`pnpm cache prune –help` now says that pnpm 11.26 and earlier, and pnpm12.3 and earlier, depend on the directories it removes[#15656](https://redirect.github.com/pnpm/pnpm/issues/15656).- Running `pnpm install` now refreshes dependencies when a packagedeclared with a local `file:` directory changes its dependencies[#4623](https://redirect.github.com/pnpm/pnpm/issues/4623).- A repeat `pnpm install` now keeps its fast up-to-date check when anoverride replaces a declared local `file:` dependency[#12892](https://redirect.github.com/pnpm/pnpm/issues/12892).- `pnpm install` now removes an optional dependency from `node_modules`if its install script fails. Code that checks whether the package isinstalled no longer finds a package that cannot load[#8756](https://redirect.github.com/pnpm/pnpm/issues/8756).- With `nodeLinker: hoisted`, `pnpm install` now restores a workspaceproject's `node_modules` after it was deleted. Before, the installprinted "Already up to date" and left the project without thedependencies nested under it. On Windows, the install also no longerfails with "Access is denied" when another project's copy of a shareddependency links to the deleted directory.- Under `nodeLinker: hoisted`, `pnpm install` now clears orphanedpackage directories that an interrupted or failed install leaves in aproject's `node_modules`. A directory recorded by the previous installis removed, while an unrecorded directory is moved to`node_modules/.ignored`. A copy already in `.ignored` is neveroverwritten[#13676](https://redirect.github.com/pnpm/pnpm/issues/13676).- Concurrent installs no longer fail when they replace the same stalehoisted dependency link. Virtual store cleanup now keeps the temporarylockfiles that concurrent installs write.##### Resolving and linking dependencies- `pnpm install` no longer aborts on a failed allocation of manygigabytes when peer dependency ranges combine overlapping `||`alternatives[#15867](https://redirect.github.com/pnpm/pnpm/issues/15867).- `pnpm install` no longer fails when a package from the registrydeclares a `file:` dependency on a directory inside itself, such as`"@types/css-tree": "file:./typings/css-tree"`. pnpm links thatdependency to the directory inside the package, as npm and Yarn do. Thelockfile records it as `link:<root>/typings/css-tree`[#9141](https://redirect.github.com/pnpm/pnpm/issues/9141).- An `npm:` alias written by `overrides` now stays in p> [!IMPORTANT]> ✂ PR body was truncated to here.</details>—### Configuration📅 **Schedule**: (in timezone Asia/Tokyo)- Branch creation – Only on Wednesday (`* * * * 3`)- Automerge – At any time (no schedule defined)🚦 **Automerge**: Disabled by config. Please merge this manually once youare satisfied.♻ **Rebasing**: Whenever PR is behind base branch, or you tick therebase/retry checkbox.🔕 **Ignore**: Close this PR and you won't be reminded about this updateagain.—- [ ] <!– rebase-check –>If you want to rebase/retry this PR, checkthis box—This PR was generated by [Mend Renovate](https://mend.io/renovate/).View the [repository joblog](https://developer.mend.io/github/FlutterGen/flutter_gen).<!–renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMDQuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIwNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119–>Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> , GitHub upgrade: update node.js to v24.22.1 (#781)> [!NOTE]> This PR body was truncated due to platform limits.This PR contains the following updates:| Package | Update | Change | Pending ||—|—|—|—|| [node](https://nodejs.org)([source](https://redirect.github.com/nodejs/node)) | minor | `24.18.0`→ `24.22.1` | `v24.22.2` |—### Release Notes<details><summary>nodejs/node (node)</summary>###[`v24.22.1`](https://redirect.github.com/nodejs/node/releases/tag/v24.22.1):2026-10-21, Version 24.22.1 'Krypton' (LTS), @aduh95[CompareSource](https://redirect.github.com/nodejs/node/compare/v24.22.0…v24.22.1)This is a security release.##### Notable Changes- (CVE-2026-105481) http: ensure agent data guard works without I/O(James M Snell)- (CVE-2026-105482) dns: validate resolve inputs for null bytes (James MSnell)- (CVE-2026-105483) tls: fix ip normalization regression (James M Snell)- (CVE-2026-106069) tls: reject non-canonical IP addresses (MatteoCollina)- (CVE-2026-106073) permission: check permission model in realpathSync(RafaelGSS)- (CVE-2026-106074) crypto: reset random caches across snapshots (FilipSkokan)- (CVE-2026-111497) src: expose`BROTLI_DECODER_ERROR_FORMAT_BLOCK_SWITCH` (Antoine du Hamel)- (CVE-2026-111497) deps: brotli: cherry-pick[`0ed4268`](https://redirect.github.com/nodejs/node/commit/0ed4268a4401abcb44720963)(Evgenii Kliuchnikov)- crypto: update root certificates to NSS 3.131.1 (Antoine du Hamel)- deps: update c-ares to 1.34.9 (Node.js GitHub Bot)- deps: update timezone to 2026e (Node.js GitHub Bot)- deps: upgrade openssl sources to openssl-3.5.9 (Node.js GitHub Bot)- deps: update undici to 7.30.1 (Node.js GitHub Bot)##### Commits-\[[`2a73ee5a89`](https://redirect.github.com/nodejs/node/commit/2a73ee5a89)]- **crypto**: update root certificates to NSS 3.131.1 (Antoine du Hamel)[#66877](https://redirect.github.com/nodejs/node/pull/66877)-\[[`4d6990b33c`](https://redirect.github.com/nodejs/node/commit/4d6990b33c)]- **crypto**: reset random caches across snapshots (Filip Skokan)[nodejs-private/node-private#987](https://redirect.github.com/nodejs-private/node-private/pull/987)-\[[`4b3c9bbf9f`](https://redirect.github.com/nodejs/node/commit/4b3c9bbf9f)]- **crypto**: harden X.509 conversion and formatting (Filip Skokan)[nodejs-private/node-private#1007](https://redirect.github.com/nodejs-private/node-private/pull/1007)-\[[`9243b105b6`](https://redirect.github.com/nodejs/node/commit/9243b105b6)]- **crypto**: update root certificates to NSS 3.129 (Node.js GitHub Bot)[#66496](https://redirect.github.com/nodejs/node/pull/66496)-\[[`1e39cd53c7`](https://redirect.github.com/nodejs/node/commit/1e39cd53c7)]- **deps**: update c-ares to 1.34.9 (Node.js GitHub Bot)[#66868](https://redirect.github.com/nodejs/node/pull/66868)-\[[`49dff6f57a`](https://redirect.github.com/nodejs/node/commit/49dff6f57a)]- **deps**: brotli: cherry-pick[`0ed4268`](https://redirect.github.com/nodejs/node/commit/0ed4268a4401abcb44720963)(Evgenii Kliuchnikov)[nodejs-private/node-private#1002](https://redirect.github.com/nodejs-private/node-private/pull/1002)-\[[`fca511adc5`](https://redirect.github.com/nodejs/node/commit/fca511adc5)]- **deps**: V8: backport[`93cd21e`](https://redirect.github.com/nodejs/node/commit/93cd21e8254b)(Joyee Cheung)[nodejs-private/node-private#1008](https://redirect.github.com/nodejs-private/node-private/pull/1008)-\[[`18711c7567`](https://redirect.github.com/nodejs/node/commit/18711c7567)]- **deps**: update timezone to 2026e (Node.js GitHub Bot)[#66419](https://redirect.github.com/nodejs/node/pull/66419)-\[[`fa77cfb1ad`](https://redirect.github.com/nodejs/node/commit/fa77cfb1ad)]- **deps**: update timezone to 2026d (Node.js GitHub Bot)[#66333](https://redirect.github.com/nodejs/node/pull/66333)-\[[`b84f9f186b`](https://redirect.github.com/nodejs/node/commit/b84f9f186b)]- **deps**: update archs files for openssl-3.5.9 (Node.js GitHub Bot)[#66396](https://redirect.github.com/nodejs/node/pull/66396)-\[[`ff0664c3ba`](https://redirect.github.com/nodejs/node/commit/ff0664c3ba)]- **deps**: upgrade openssl sources to openssl-3.5.9 (Node.js GitHubBot) [#66396](https://redirect.github.com/nodejs/node/pull/66396)-\[[`1d4c89ef87`](https://redirect.github.com/nodejs/node/commit/1d4c89ef87)]- **deps**: update undici to 7.30.1 (Node.js GitHub Bot)[#66764](https://redirect.github.com/nodejs/node/pull/66764)-\[[`843a1627dc`](https://redirect.github.com/nodejs/node/commit/843a1627dc)]- **dns**: validate resolve inputs for null bytes (James M Snell)[nodejs-private/node-private#984](https://redirect.github.com/nodejs-private/node-private/pull/984)-\[[`96c3ccb1fc`](https://redirect.github.com/nodejs/node/commit/96c3ccb1fc)]- **http**: ensure agent data guard works without I/O (James M Snell)[nodejs-private/node-private#983](https://redirect.github.com/nodejs-private/node-private/pull/983)-\[[`8dc18a6218`](https://redirect.github.com/nodejs/node/commit/8dc18a6218)]- **permission**: check permission model in realpathSync (RafaelGSS)[nodejs-private/node-private#973](https://redirect.github.com/nodejs-private/node-private/pull/973)-\[[`b5f41529df`](https://redirect.github.com/nodejs/node/commit/b5f41529df)]- **src**: expose `BROTLI_DECODER_ERROR_FORMAT_BLOCK_SWITCH` (Antoine duHamel)[nodejs-private/node-private#1002](https://redirect.github.com/nodejs-private/node-private/pull/1002)-\[[`01acf0ee74`](https://redirect.github.com/nodejs/node/commit/01acf0ee74)]- **tls**: reject chains containing blocked public keys (Ulises Gascón)[#66871](https://redirect.github.com/nodejs/node/pull/66871)-\[[`935918e342`](https://redirect.github.com/nodejs/node/commit/935918e342)]- **tls**: reject non-canonical IP addresses (Matteo Collina)[nodejs-private/node-private#982](https://redirect.github.com/nodejs-private/node-private/pull/982)-\[[`de49c913f2`](https://redirect.github.com/nodejs/node/commit/de49c913f2)]- **tls**: fix ip normalization regression (James M Snell)[nodejs-private/node-private#985](https://redirect.github.com/nodejs-private/node-private/pull/985)-\[[`9dc4bb57f0`](https://redirect.github.com/nodejs/node/commit/9dc4bb57f0)]- **tools**: retry Gatekeeper check and stapling after notarization(Ryan Aslett)[#66855](https://redirect.github.com/nodejs/node/pull/66855)###[`v24.22.0`](https://redirect.github.com/nodejs/node/releases/tag/v24.22.0):2026-10-14, Version 24.22.0 'Krypton' (LTS), @richardlau preparedby @aduh95[CompareSource](https://redirect.github.com/nodejs/node/compare/v24.21.0…v24.22.0)##### Notable Changes-\[[`ddbf974b47`](https://redirect.github.com/nodejs/node/commit/ddbf974b47)]- **(SEMVER-MINOR)** **crypto**: add `crypto.parsePKCS12()` (BrianMuenzenmeyer)[#65627](https://redirect.github.com/nodejs/node/pull/65627)-\[[`c162c68ff0`](https://redirect.github.com/nodejs/node/commit/c162c68ff0)]- **(SEMVER-MINOR)** **crypto**: add a generic MAC API (Filip Skokan)[#65553](https://redirect.github.com/nodejs/node/pull/65553)-\[[`a4ab3d84d7`](https://redirect.github.com/nodejs/node/commit/a4ab3d84d7)]- **(SEMVER-MINOR)** **crypto**: discover ciphers from OpenSSL providers(Filip Skokan)[#65484](https://redirect.github.com/nodejs/node/pull/65484)-\[[`c2f1e829ea`](https://redirect.github.com/nodejs/node/commit/c2f1e829ea)]- **(SEMVER-MINOR)** **crypto**: discover hashes from OpenSSL providers(Filip Skokan)[#65484](https://redirect.github.com/nodejs/node/pull/65484)-\[[`51aad5a80d`](https://redirect.github.com/nodejs/node/commit/51aad5a80d)]- **(SEMVER-MINOR)** **crypto**: enable SIV and GCM-SIV modes inCipher/Decipher APIs (Filip Skokan)[#63411](https://redirect.github.com/nodejs/node/pull/63411)-\[[`d11c65d2f2`](https://redirect.github.com/nodejs/node/commit/d11c65d2f2)]- **doc**: add araujogui to collaborators (Guilherme Araújo)[#66090](https://redirect.github.com/nodejs/node/pull/66090)-\[[`acc1578179`](https://redirect.github.com/nodejs/node/commit/acc1578179)]- **doc**: deprecate `Server.prototype._listen2` in `node:net` (Antoinedu Hamel)[#65593](https://redirect.github.com/nodejs/node/pull/65593)-\[[`a7f8de6362`](https://redirect.github.com/nodejs/node/commit/a7f8de6362)]- **(SEMVER-MINOR)** **net**: support sending `net.BoundSocket` tothreads and child processes (Guy Bedford)[#64725](https://redirect.github.com/nodejs/node/pull/64725)-\[[`60c3eb61bd`](https://redirect.github.com/nodejs/node/commit/60c3eb61bd)]- **(SEMVER-MINOR)** **perf_hooks**: implement `SlidingWindowHistogram`(James M Snell)[#65825](https://redirect.github.com/nodejs/node/pull/65825)-\[[`6b3e6f9d5c`](https://redirect.github.com/nodejs/node/commit/6b3e6f9d5c)]- **(SEMVER-MINOR)** **perf_hooks**: implement qrde analysis support inHistogram (James M Snell)[#65806](https://redirect.github.com/nodejs/node/pull/65806)-\[[`75456a3512`](https://redirect.github.com/nodejs/node/commit/75456a3512)]- **(SEMVER-MINOR)** **perf_hooks**: implement Histogram `meanCI` API(James M Snell)[#65606](https://redirect.github.com/nodejs/node/pull/65606)-\[[`72d1b40c56`](https://redirect.github.com/nodejs/node/commit/72d1b40c56)]- **(SEMVER-MINOR)** **perf_hooks**: add CBOR export/import forhistogram exchange (James M Snell)[#65434](https://redirect.github.com/nodejs/node/pull/65434)-\[[`41161dda87`](https://redirect.github.com/nodejs/node/commit/41161dda87)]- **(SEMVER-MINOR)** **sqlite**: add `StatementSync.prototype.close()`(Guilherme Araújo)[#64232](https://redirect.github.com/nodejs/node/pull/64232)-\[[`adbc757d70`](https://redirect.github.com/nodejs/node/commit/adbc757d70)]- **(SEMVER-MINOR)** **sqlite**: add`StatementSync.prototype[Symbol.dispose]()` (Guilherme Araújo)[#64232](https://redirect.github.com/nodejs/node/pull/64232)-\[[`241339f072`](https://redirect.github.com/nodejs/node/commit/241339f072)]- **(SEMVER-MINOR)** **src,lib**: add `util.markPromiseAsHandled` (JamesM Snell)[#65805](https://redirect.github.com/nodejs/node/pull/65805)-\[[`63b0974d9e`](https://redirect.github.com/nodejs/node/commit/63b0974d9e)]- **(SEMVER-MINOR)** **util**: implement `util.throttle` (James M Snell)[#65899](https://redirect.github.com/nodejs/node/pull/65899)-\[[`a3bbb5a26f`](https://redirect.github.com/nodejs/node/commit/a3bbb5a26f)]- **(SEMVER-MINOR)** **util**: implement `debounce` (James M Snell)[#65899](https://redirect.github.com/nodejs/node/pull/65899)##### Commits-\[[`e6832b2cb1`](https://redirect.github.com/nodejs/node/commit/e6832b2cb1)]- **assert**: fix TypeError on deepStrictEqual with null Map key or Setmember (Sergey Sannikov)[#64449](https://redirect.github.com/nodejs/node/pull/64449)-\[[`a079177d9f`](https://redirect.github.com/nodejs/node/commit/a079177d9f)]- **benchmark**: add –csv option to compare.js with –analyze (James MSnell)[#65922](https://redirect.github.com/nodejs/node/pull/65922)-\[[`10b1a0f70f`](https://redirect.github.com/nodejs/node/commit/10b1a0f70f)]- **benchmark**: fix max-regressions detection in compare.js (James MSnell)[#65587](https://redirect.github.com/nodejs/node/pull/65587)-\[[`e0c7ba8ad5`](https://redirect.github.com/nodejs/node/commit/e0c7ba8ad5)]- **benchmark**: add –analyze option to benchmark/scatter.js (James MSnell)[#65594](https://redirect.github.com/nodejs/node/pull/65594)-\[[`21fed10bb0`](https://redirect.github.com/nodejs/node/commit/21fed10bb0)]- **benchmark**: add crypto class benchmarks (Filip Skokan)[#65518](https://redirect.github.com/nodejs/node/pull/65518)-\[[`fa912242b7`](https://redirect.github.com/nodejs/node/commit/fa912242b7)]- **buffer**: fix unaligned UTF-16LE decoding (Matteo Collina)[#65905](https://redirect.github.com/nodejs/node/pull/65905)-\[[`a6bd0c1413`](https://redirect.github.com/nodejs/node/commit/a6bd0c1413)]- **build**: suppress OpenSSL asm warnings with clang (Richard Lau)[#66023](https://redirect.github.com/nodejs/node/pull/66023)-\[[`94e12139ee`](https://redirect.github.com/nodejs/node/commit/94e12139ee)]- **build**: derive V8_LOGGING_LEVEL from dcheck_always_on (JoyeeCheung)[#65744](https://redirect.github.com/nodejs/node/pull/65744)-\[[`7a2f322943`](https://redirect.github.com/nodejs/node/commit/7a2f322943)]- **build**: fix quiet default for make builds (Shelley Vohr)[#65826](https://redirect.github.com/nodejs/node/pull/65826)-\[[`c280d650b0`](https://redirect.github.com/nodejs/node/commit/c280d650b0)]- **build**: allow linking shared dependencies in the GN build (ShelleyVohr)[#65797](https://redirect.github.com/nodejs/node/pull/65797)-\[[`4b23a4472c`](https://redirect.github.com/nodejs/node/commit/4b23a4472c)]- **build**: enable the V8 sandbox in shared-cage builds (Shelley Vohr)[#62237](https://redirect.github.com/nodejs/node/pull/62237)-\[[`676e15c003`](https://redirect.github.com/nodejs/node/commit/676e15c003)]- **build**: define V8_CONTIGUOUS_COMPRESSED_RO_SPACE for shared cage(Shelley Vohr)[#65464](https://redirect.github.com/nodejs/node/pull/65464)-\[[`f784058482`](https://redirect.github.com/nodejs/node/commit/f784058482)]- **build**: remove obsolete configure flags (Chengzhong Wu)[#65456](https://redirect.github.com/nodejs/node/pull/65456)-\[[`f63f37d243`](https://redirect.github.com/nodejs/node/commit/f63f37d243)]- **build**: activate correct default flags for riscv64 (Stewart XAddison)[#65708](https://redirect.github.com/nodejs/node/pull/65708)-\[[`da46ac075d`](https://redirect.github.com/nodejs/node/commit/da46ac075d)]- **build**: derive NODE_ARCH from target_cpu in the GN build (ShelleyVohr)[#65491](https://redirect.github.com/nodejs/node/pull/65491)-\[[`249e9a16dd`](https://redirect.github.com/nodejs/node/commit/249e9a16dd)]- **build,src**: gate jspi flag on V8_ENABLE_WEBASSEMBLY (Piotr Kubaj)[#66082](https://redirect.github.com/nodejs/node/pull/66082)-\[[`146f00f64b`](https://redirect.github.com/nodejs/node/commit/146f00f64b)]- **child_process**: clear timeout timer on spawn-time error too(kishore280)[#65506](https://redirect.github.com/nodejs/node/pull/65506)-\[[`13987f4418`](https://redirect.github.com/nodejs/node/commit/13987f4418)]- **crypto**: remove redundent `std::move` call (Antoine du Hamel)[#66111](https://redirect.github.com/nodejs/node/pull/66111)-\[[`ef957ac85f`](https://redirect.github.com/nodejs/node/commit/ef957ac85f)]- **crypto**: skip private RSA parameters in key details (Filip Skokan)[#66108](https://redirect.github.com/nodejs/node/pull/66108)-\[[`8feccc5e22`](https://redirect.github.com/nodejs/node/commit/8feccc5e22)]- **crypto**: use provider EC group names (Filip Skokan)[#66108](https://redirect.github.com/nodejs/node/pull/66108)-\[[`764e0d1120`](https://redirect.github.com/nodejs/node/commit/764e0d1120)]- **crypto**: fetch ciphers for private-key encoding (Filip Skokan)[#66108](https://redirect.github.com/nodejs/node/pull/66108)-\[[`50ffed1979`](https://redirect.github.com/nodejs/node/commit/50ffed1979)]- **crypto**: decode[PKCS#1](https://redirect.github.com/PKCS/node/issues/1) keys throughproviders (Filip Skokan)[#66108](https://redirect.github.com/nodejs/node/pull/66108)-\[[`56c16b2fd6`](https://redirect.github.com/nodejs/node/commit/56c16b2fd6)]- **crypto**: derive keys through EVP_KDF (Filip Skokan)[#66108](https://redirect.github.com/nodejs/node/pull/66108)-\[[`a4effe6809`](https://redirect.github.com/nodejs/node/commit/a4effe6809)]- **crypto**: use names for asymmetric key algorithms (Filip Skokan)[#65966](https://redirect.github.com/nodejs/node/pull/65966)-\[[`ddbf974b47`](https://redirect.github.com/nodejs/node/commit/ddbf974b47)]- **(SEMVER-MINOR)** **crypto**: add crypto.parsePKCS12() (BrianMuenzenmeyer)[#65627](https://redirect.github.com/nodejs/node/pull/65627)-\[[`8e631aa48f`](https://redirect.github.com/nodejs/node/commit/8e631aa48f)]- **crypto**: add Hybrid KEMs to Web Cryptography (Filip Skokan)[#65759](https://redirect.github.com/nodejs/node/pull/65759)-\[[`5c51129e16`](https://redirect.github.com/nodejs/node/commit/5c51129e16)]- **crypto**: optimize private EC JWK import (Filip Skokan)[#65908](https://redirect.github.com/nodejs/node/pull/65908)-\[[`c2ec40c2d7`](https://redirect.github.com/nodejs/node/commit/c2ec40c2d7)]- **crypto**: disable non-FIPS WebCrypto paths in FIPS mode (FilipSkokan)[#65172](https://redirect.github.com/nodejs/node/pull/65172)-\[[`e198aa0f79`](https://redirect.github.com/nodejs/node/commit/e198aa0f79)]- **crypto**: read RSA-PSS restrictions from provider (Filip Skokan)[#66108](https://redirect.github.com/nodejs/node/pull/66108)-\[[`253784f0e9`](https://redirect.github.com/nodejs/node/commit/253784f0e9)]- **crypto**: optimize and benchmark key preparation (Filip Skokan)[#65892](https://redirect.github.com/nodejs/node/pull/65892)-\[[`80a6ad509b`](https://redirect.github.com/nodejs/node/commit/80a6ad509b)]- **crypto**: avoid EC reconstruction for signature sizing (FilipSkokan)[#65908](https://redirect.github.com/nodejs/node/pull/65908)-\[[`5b592b772c`](https://redirect.github.com/nodejs/node/commit/5b592b772c)]- **crypto**: avoid EC raw export reconstruction (Filip Skokan)[#65908](https://redirect.github.com/nodejs/node/pull/65908)-\[[`ee956ae3bf`](https://redirect.github.com/nodejs/node/commit/ee956ae3bf)]- **crypto**: export EC JWK coordinates directly (Filip Skokan)[#65908](https://redirect.github.com/nodejs/node/pull/65908)-\[[`684008be58`](https://redirect.github.com/nodejs/node/commit/684008be58)]- **crypto**: read EC curve metadata directly (Filip Skokan)[#65908](https://redirect.github.com/nodejs/node/pull/65908)-\[[`f4665f1c41`](https://redirect.github.com/nodejs/node/commit/f4665f1c41)]- **crypto**: validate the limit of PBKDF2 iterations (Filip Skokan)[#65704](https://redirect.github.com/nodejs/node/pull/65704)-\[[`624abbecd7`](https://redirect.github.com/nodejs/node/commit/624abbecd7)]- **crypto**: use primordials in HKDF info validation (Filip Skokan)[#65704](https://redirect.github.com/nodejs/node/pull/65704)-\[[`e4d916f175`](https://redirect.github.com/nodejs/node/commit/e4d916f175)]- **crypto**: add mgf1Hash for RSA-OAEP (Adam Mcgrath)[#65073](https://redirect.github.com/nodejs/node/pull/65073)-\[[`db8a9162a8`](https://redirect.github.com/nodejs/node/commit/db8a9162a8)]- **crypto**: fix multi-prime RSA JWKs (Filip Skokan)[#65649](https://redirect.github.com/nodejs/node/pull/65649)-\[[`022ac83504`](https://redirect.github.com/nodejs/node/commit/022ac83504)]- **crypto**: cache valid ECDH key pairs (Filip Skokan)[#65615](https://redirect.github.com/nodejs/node/pull/65615)-\[[`c61953ebcc`](https://redirect.github.com/nodejs/node/commit/c61953ebcc)]- **crypto**: add strict mode to –force-fips (Filip Skokan)[#65645](https://redirect.github.com/nodejs/node/pull/65645)-\[[`db6ea132a5`](https://redirect.github.com/nodejs/node/commit/db6ea132a5)]- **crypto**: add FIPS indicator diagnostics channel (Filip Skokan)[#65645](https://redirect.github.com/nodejs/node/pull/65645)-\[[`c162c68ff0`](https://redirect.github.com/nodejs/node/commit/c162c68ff0)]- **(SEMVER-MINOR)** **crypto**: add a generic MAC API (Filip Skokan)[#65553](https://redirect.github.com/nodejs/node/pull/65553)-\[[`2b62aafd20`](https://redirect.github.com/nodejs/node/commit/2b62aafd20)]- **crypto**: validate JWK usages before key_ops (Filip Skokan)[#65550](https://redirect.github.com/nodejs/node/pull/65550)-\[[`ec7819db69`](https://redirect.github.com/nodejs/node/commit/ec7819db69)]- **crypto**: fix RSA-PSS oversized salt handling (Filip Skokan)[#65550](https://redirect.github.com/nodejs/node/pull/65550)-\[[`a4ab3d84d7`](https://redirect.github.com/nodejs/node/commit/a4ab3d84d7)]- **(SEMVER-MINOR)** **crypto**: discover ciphers from OpenSSL providers(Filip Skokan)[#65484](https://redirect.github.com/nodejs/node/pull/65484)-\[[`c2f1e829ea`](https://redirect.github.com/nodejs/node/commit/c2f1e829ea)]- **(SEMVER-MINOR)** **crypto**: discover hashes from OpenSSL providers(Filip Skokan)[#65484](https://redirect.github.com/nodejs/node/pull/65484)-\[[`51aad5a80d`](https://redirect.github.com/nodejs/node/commit/51aad5a80d)]- **(SEMVER-MINOR)** **crypto**: enable SIV and GCM-SIV modes inCipher/Decipher APIs (Filip Skokan)[#63411](https://redirect.github.com/nodejs/node/pull/63411)-\[[`5a46a9acbb`](https://redirect.github.com/nodejs/node/commit/5a46a9acbb)]- **crypto**: improve SubtleCrypto.supports() accuracy (Filip Skokan)[#65222](https://redirect.github.com/nodejs/node/pull/65222)-\[[`191ebfb26c`](https://redirect.github.com/nodejs/node/commit/191ebfb26c)]- **crypto**: fix public PKCS8 export error (한국)[#65609](https://redirect.github.com/nodejs/node/pull/65609)-\[[`b6d7ed372b`](https://redirect.github.com/nodejs/node/commit/b6d7ed372b)]- **crypto**: fix private SPKI export error (Filip Skokan)[#65550](https://redirect.github.com/nodejs/node/pull/65550)-\[[`79509c25a4`](https://redirect.github.com/nodejs/node/commit/79509c25a4)]- **crypto**: correct CCM decryption FIPS error message (kyungrae)[#65450](https://redirect.github.com/nodejs/node/pull/65450)-\[[`9adc87bc16`](https://redirect.github.com/nodejs/node/commit/9adc87bc16)]- **crypto**: harden X509Certificate state (Filip Skokan)[#65518](https://redirect.github.com/nodejs/node/pull/65518)-\[[`c63aa331b4`](https://redirect.github.com/nodejs/node/commit/c63aa331b4)]- **crypto**: optimize key slot caching (Filip Skokan)[#65518](https://redirect.github.com/nodejs/node/pull/65518)-\[[`87daea43a7`](https://redirect.github.com/nodejs/node/commit/87daea43a7)]- **crypto**: add null checks for OPENSSL_INIT_new() (Nora Dossche)[#63457](https://redirect.github.com/nodejs/node/pull/63457)-\[[`98ca5e9358`](https://redirect.github.com/nodejs/node/commit/98ca5e9358)]- **crypto**: prevent Hmac.digest() from returning uninitialized memory(Matteo Collina)[#65112](https://redirect.github.com/nodejs/node/pull/65112)-\[[`0c090a28cd`](https://redirect.github.com/nodejs/node/commit/0c090a28cd)]- **crypto**: avoid throwing CryptoKey brand checks (Filip Skokan)[#65503](https://redirect.github.com/nodejs/node/pull/65503)-\[[`a13cc3f723`](https://redirect.github.com/nodejs/node/commit/a13cc3f723)]- **crypto**: avoid throwing KeyObject brand checks (Filip Skokan)[#65503](https://redirect.github.com/nodejs/node/pull/65503)-\[[`b8db0045ef`](https://redirect.github.com/nodejs/node/commit/b8db0045ef)]- **deps**: V8: cherry-pick[`ea9c016`](https://redirect.github.com/nodejs/node/commit/ea9c016f26ad)(Gundepalli Sravani)[#66570](https://redirect.github.com/nodejs/node/pull/66570)-\[[`ba09b53487`](https://redirect.github.com/nodejs/node/commit/ba09b53487)]- **deps**: V8: backport[`c355350`](https://redirect.github.com/nodejs/node/commit/c3553509f460)(Jakob Linke)[#66089](https://redirect.github.com/nodejs/node/pull/66089)-\[[`9ce8ef405b`](https://redirect.github.com/nodejs/node/commit/9ce8ef405b)]- **deps**: V8: backport[`8901c79`](https://redirect.github.com/nodejs/node/commit/8901c793e439)(Toon Verwaest)[#66089](https://redirect.github.com/nodejs/node/pull/66089)-\[[`fb0d0ca289`](https://redirect.github.com/nodejs/node/commit/fb0d0ca289)]- **deps**: V8: backport[`0b94a9f`](https://redirect.github.com/nodejs/node/commit/0b94a9fd23ba)(Ruan Gustavo)[#65753](https://redirect.github.com/nodejs/node/pull/65753)-\[[`2faca508c0`](https://redirect.github.com/nodejs/node/commit/2faca508c0)]- **deps**: update googletest to[`8eff9e3`](https://redirect.github.com/nodejs/node/commit/8eff9e336692fc95961e096564f1044c600b881d)(Node.js GitHub Bot)[#66009](https://redirect.github.com/nodejs/node/pull/66009)-\[[`4396c9bffe`](https://redirect.github.com/nodejs/node/commit/4396c9bffe)]- **deps**: update googletest to[`283c175`](https://redirect.github.com/nodejs/node/commit/283c17563fe7a1111cd7f581aa5d541e8baeff2f)(Node.js GitHub Bot)[#65833](https://redirect.github.com/nodejs/node/pull/65833)-\[[`8a5b12570c`](https://redirect.github.com/nodejs/node/commit/8a5b12570c)]- **deps**: update simdjson to 4.6.11 (Node.js GitHub Bot)[#65834](https://redirect.github.com/nodejs/node/pull/65834)-\[[`c47feb09e8`](https://redirect.github.com/nodejs/node/commit/c47feb09e8)]- **deps**: update zlib to 1.3.2.1-motley-285e94b (Node.js GitHub Bot)[#65835](https://redirect.github.com/nodejs/node/pull/65835)-\[[`9f0d905286`](https://redirect.github.com/nodejs/node/commit/9f0d905286)]- **deps**: upgrade npm to 11.19.1 (npm team)[#65573](https://redirect.github.com/nodejs/node/pull/65573)-\[[`373cd332d8`](https://redirect.github.com/nodejs/node/commit/373cd332d8)]- **deps**: update googletest to[`36ba75f`](https://redirect.github.com/nodejs/node/commit/36ba75f0ad5383a9759f17f3f72fd4661c72cb6d)(Node.js GitHub Bot)[#65654](https://redirect.github.com/nodejs/node/pull/65654)-\[[`aeed6132a7`](https://redirect.github.com/nodejs/node/commit/aeed6132a7)]- **deps**: update simdjson to 4.6.9 (Node.js GitHub Bot)[#65655](https://redirect.github.com/nodejs/node/pull/65655)-\[[`2583571342`](https://redirect.github.com/nodejs/node/commit/2583571342)]- **deps**: update zlib to 1.3.2.1-motley-5eb4d7e (Node.js GitHub Bot)[#65494](https://redirect.github.com/nodejs/node/pull/65494)-\[[`d11c65d2f2`](https://redirect.github.com/nodejs/node/commit/d11c65d2f2)]- **doc**: add araujogui to collaborators (Guilherme Araújo)[#66090](https://redirect.github.com/nodejs/node/pull/66090)-\[[`0a4a8d602a`](https://redirect.github.com/nodejs/node/commit/0a4a8d602a)]- **doc**: fix duplicate 'the' typo in `node_platform.cc` (MuhammadAl-Muzahid)[#66058](https://redirect.github.com/nodejs/node/pull/66058)-\[[`b6538138ef`](https://redirect.github.com/nodejs/node/commit/b6538138ef)]- **doc**: clarify sub-1000ms behavior in socket.setKeepAlive (HaramJeong)[#65869](https://redirect.github.com/nodejs/node/pull/65869)-\[[`d319fa7de4`](https://redirect.github.com/nodejs/node/commit/d319fa7de4)]- **doc**: remove obsolete mentioning of cl.exe on windows (ChengzhongWu) [#66038](https://redirect.github.com/nodejs/node/pull/66038)-\[[`67cb305b59`](https://redirect.github.com/nodejs/node/commit/67cb305b59)]- **doc**: note that default signal handling resets the signal mask(Shelley Vohr)[#65877](https://redirect.github.com/nodejs/node/pull/65877)-\[[`160d44e025`](https://redirect.github.com/nodejs/node/commit/160d44e025)]- **doc**: clarify QUIC async write backpressure (John Finnerty)[#65947](https://redirect.github.com/nodejs/node/pull/65947)-\[[`ffd47a7ee5`](https://redirect.github.com/nodejs/node/commit/ffd47a7ee5)]- **doc**: clarify permission model scope for output paths (RafaelGonzaga)[#66004](https://redirect.github.com/nodejs/node/pull/66004)-\[[`2e1772a8ab`](https://redirect.github.com/nodejs/node/commit/2e1772a8ab)]- **doc**: fill in missing zstd docs (James M Snell)[#65867](https://redirect.github.com/nodejs/node/pull/65867)-\[[`9f88c6f8dc`](https://redirect.github.com/nodejs/node/commit/9f88c6f8dc)]- **doc**: add inoway46 as triager (Yuya Inoue)[#65565](https://redirect.github.com/nodejs/node/pull/65565)-\[[`c2620d01f3`](https://redirect.github.com/nodejs/node/commit/c2620d01f3)]- **doc**: document windowsHide for child_process.fork (ChristopherBuss)[#65887](https://redirect.github.com/nodejs/node/pull/65887)-\[[`6076111e1a`](https://redirect.github.com/nodejs/node/commit/6076111e1a)]- **doc**: qualify directory read ordering for native fs (TrivikramKamat)[#65868](https://redirect.github.com/nodejs/node/pull/65868)-\[[`7bf048a336`](https://redirect.github.com/nodejs/node/commit/7bf048a336)]- **doc**: add DOMException section to errors API reference (Avocado)[#65206](https://redirect.github.com/nodejs/node/pull/65206)-\[[`414b6bfa62`](https://redirect.github.com/nodejs/node/commit/414b6bfa62)]- **doc**: expand revert commit collaborator instructions (MikeMcCready)[#65848](https://redirect.github.com/nodejs/node/pull/65848)-\[[`c8ac91692c`](https://redirect.github.com/nodejs/node/commit/c8ac91692c)]- **doc**: note that FreeEnvironment() runs a shared event loop (ShelleyVohr)[#65691](https://redirect.github.com/nodejs/node/pull/65691)-\[[`cc47cc0983`](https://redirect.github.com/nodejs/node/commit/cc47cc0983)]- **doc**: clarify security triage dispositions and permissionboundaries (Rafael Gonzaga)[#65436](https://redirect.github.com/nodejs/node/pull/65436)-\[[`8b79a71e78`](https://redirect.github.com/nodejs/node/commit/8b79a71e78)]- **doc**: fix default limit of maxHeadersCount (Aryn H)[#65472](https://redirect.github.com/nodejs/node/pull/65472)-\[[`56b1252a54`](https://redirect.github.com/nodejs/node/commit/56b1252a54)]- **doc**: fix return types for sync methods (Chiang Fong Lee)[#58575](https://redirect.github.com/nodejs/node/pull/58575)-\[[`da0d32a333`](https://redirect.github.com/nodejs/node/commit/da0d32a333)]- **doc**: document REPL DEP0185 throws and uncaught-exception behavior(Adrián Estrada)[#64993](https://redirect.github.com/nodejs/node/pull/64993)-\[[`f8ab3619b6`](https://redirect.github.com/nodejs/node/commit/f8ab3619b6)]- **doc**: document close() error when in a sqlite callback (TrivikramKamat)[#65090](https://redirect.github.com/nodejs/node/pull/65090)-\[[`131f1db302`](https://redirect.github.com/nodejs/node/commit/131f1db302)]- **doc**: clarify return type of `fs.mkdtemp*` (Antoine du Hamel)[#65743](https://redirect.github.com/nodejs/node/pull/65743)-\[[`7755e98183`](https://redirect.github.com/nodejs/node/commit/7755e98183)]- **doc**: update `changelog-maker` instructions for releasing (JuanJosé)[#65707](https://redirect.github.com/nodejs/node/pull/65707)-\[[`f982a53433`](https://redirect.github.com/nodejs/node/commit/f982a53433)]- **doc**: add stability status to `crypto.setEngine` (Antoine du Hamel)[#65746](https://redirect.github.com/nodejs/node/pull/65746)-\[[`17be003f7c`](https://redirect.github.com/nodejs/node/commit/17be003f7c)]- **doc**: remove outdated TLS authorized warning (Tim Perry)[#65597](https://redirect.github.com/nodejs/node/pull/65597)-\[[`424002232d`](https://redirect.github.com/nodejs/node/commit/424002232d)]- **doc**: fix stale TOC in maintaining-dependencies (greenhead)[#65523](https://redirect.github.com/nodejs/node/pull/65523)-\[[`dddb9b57a5`](https://redirect.github.com/nodejs/node/commit/dddb9b57a5)]- **doc**: refactor the AI guidelines (Joyee Cheung)[#65269](https://redirect.github.com/nodejs/node/pull/65269)-\[[`397b58e113`](https://redirect.github.com/nodejs/node/commit/397b58e113)]- **doc**: fix triggerAsyncId() comment in async_hooks example(soreavis)[#64583](https://redirect.github.com/nodejs/node/pull/64583)-\[[`338ec94d83`](https://redirect.github.com/nodejs/node/commit/338ec94d83)]- **doc**: fix fsPromises.watch overflow value (Matt Radbourne)[#64605](https://redirect.github.com/nodejs/node/pull/64605)-\[[`f18be21b14`](https://redirect.github.com/nodejs/node/commit/f18be21b14)]- **doc**: clarify stream direction in options.stdio note (Avocado)[#65236](https://redirect.github.com/nodejs/node/pull/65236)-\[[`f07c6acd8b`](https://redirect.github.com/nodejs/node/commit/f07c6acd8b)]- **doc**: clarify signal listener behavior (Som Samantray)[#65243](https://redirect.github.com/nodejs/node/pull/65243)-\[[`8bc17b0c7a`](https://redirect.github.com/nodejs/node/commit/8bc17b0c7a)]- **doc**: add test reporter event lifecycle diagram (sangwook)[#63780](https://redirect.github.com/nodejs/node/pull/63780)-\[[`452e7477d4`](https://redirect.github.com/nodejs/node/commit/452e7477d4)]- **doc**: discourage AbortSignal cleanup for long-lived resources (EfeKarasakal)[#64342](https://redirect.github.com/nodejs/node/pull/64342)-\[[`acc1578179`](https://redirect.github.com/nodejs/node/commit/acc1578179)]- **doc**: deprecate `Server.prototype._listen2` in `node:net` (Antoinedu Hamel)[#65593](https://redirect.github.com/nodejs/node/pull/65593)-\[[`e7ed4361d6`](https://redirect.github.com/nodejs/node/commit/e7ed4361d6)]- **doc,test**: account for OpenSSL 4.1 behaviours (Filip Skokan)[#65956](https://redirect.github.com/nodejs/node/pull/65956)-\[[`c65fafeab4`](https://redirect.github.com/nodejs/node/commit/c65fafeab4)]- **errors**: validate constructor name (Christian Aurich)[#65607](https://redirect.github.com/nodejs/node/pull/65607)-\[[`f6b47938b7`](https://redirect.github.com/nodejs/node/commit/f6b47938b7)]- **events**: fix weak listener retention overwrite (Aryan)[#64024](https://redirect.github.com/nodejs/node/pull/64024)-\[[`a27db42c3e`](https://redirect.github.com/nodejs/node/commit/a27db42c3e)]- **fs**: coerce FileHandle.read length like fs.read (Xia Chao)[#65521](https://redirect.github.com/nodejs/node/pull/65521)-\[[`f3019b522a`](https://redirect.github.com/nodejs/node/commit/f3019b522a)]- **fs**: throw on existing dir in cpSync with errorOnExist (DaijiroWachi)[#64124](https://redirect.github.com/nodejs/node/pull/64124)-\[[`cd1011458f`](https://redirect.github.com/nodejs/node/commit/cd1011458f)]- **fs**: support removing read-only files in rmSync on Windows (Sparsh:)) [#64453](https://redirect.github.com/nodejs/node/pull/64453)-\[[`d659dd8cd8`](https://redirect.github.com/nodejs/node/commit/d659dd8cd8)]- **fs**: give directories created by cpSync the source directory's mode(Shelley Vohr)[#65488](https://redirect.github.com/nodejs/node/pull/65488)-\[[`1dfb047293`](https://redirect.github.com/nodejs/node/commit/1dfb047293)]- **fs**: handle recursive watch setup races (Filip Skokan)[#65699](https://redirect.github.com/nodejs/node/pull/65699)-\[[`bc431c8413`](https://redirect.github.com/nodejs/node/commit/bc431c8413)]- **fs**: apply nocase to literal glob exclude patterns (Yusuke Hayashi)[#64817](https://redirect.github.com/nodejs/node/pull/64817)-\[[`dd5662e641`](https://redirect.github.com/nodejs/node/commit/dd5662e641)]- **fs**: do not descend into symlinks for \*\* unless followingsymlinks (RafaelGSS)[#65435](https://redirect.github.com/nodejs/node/pull/65435)-\[[`ac4cf54292`](https://redirect.github.com/nodejs/node/commit/ac4cf54292)]- **fs**: watch directories, not files, in recursive fs.watch fallback(Shelley Vohr)[#65486](https://redirect.github.com/nodejs/node/pull/65486)-\[[`7804bfbd71`](https://redirect.github.com/nodejs/node/commit/7804bfbd71)]- **fs**: preserve directory timestamps in cp (Abhinandan Kumar)[#65540](https://redirect.github.com/nodejs/node/pull/65540)-\[[`ba5ca5a1a5`](https://redirect.github.com/nodejs/node/commit/ba5ca5a1a5)]- **fs**: fix recursive watch error handling (Filip Skokan)[#65635](https://redirect.github.com/nodejs/node/pull/65635)-\[[`b71c4c0551`](https://redirect.github.com/nodejs/node/commit/b71c4c0551)]- **fs**: fix rmSync error messages for non-ASCII paths (Yeaseen)[#61233](https://redirect.github.com/nodejs/node/pull/61233)-\[[`53b4700892`](https://redirect.github.com/nodejs/node/commit/53b4700892)]- **http**: don't destroy socket after request completes (Barath Raj)[#65952](https://redirect.github.com/nodejs/node/pull/65952)-\[[`96d4c23f17`](https://redirect.github.com/nodejs/node/commit/96d4c23f17)]- **http**: fast-forward teardown of unread messages (Matteo Collina)[#65732](https://redirect.github.com/nodejs/node/pull/65732)-\[[`742b4bf5a6`](https://redirect.github.com/nodejs/node/commit/742b4bf5a6)]- **http**: coalesce chunked writes during auto-corking (GetThatCookie)[#64987](https://redirect.github.com/nodejs/node/pull/64987)-\[[`8921108175`](https://redirect.github.com/nodejs/node/commit/8921108175)]- **http2**: settle pending write callbacks on destroy (Matteo Collina)[#66016](https://redirect.github.com/nodejs/node/pull/66016)-\[[`9a2f77a3fc`](https://redirect.github.com/nodejs/node/commit/9a2f77a3fc)]- **http2**: fix onread assert when destroying session from streamhandler (Sankalp Thakur)[#65116](https://redirect.github.com/nodejs/node/pull/65116)-\[[`99e41eb43a`](https://redirect.github.com/nodejs/node/commit/99e41eb43a)]- **http2**: error for incomplete reads on RST, auto-drain, deprecateaborted (Tim Perry)[#63249](https://redirect.github.com/nodejs/node/pull/63249)-\[[`d520b9601c`](https://redirect.github.com/nodejs/node/commit/d520b9601c)]- **http2**: fix write deadlock exposed by larger window sizes (TimPerry)[#65440](https://redirect.github.com/nodejs/node/pull/65440)-\[[`86b2497aae`](https://redirect.github.com/nodejs/node/commit/86b2497aae)]- **http2**: fix async context loss when trailers carry END_STREAM(Orgad Shaneh)[#63814](https://redirect.github.com/nodejs/node/pull/63814)-\[[`536ccc7daf`](https://redirect.github.com/nodejs/node/commit/536ccc7daf)]- **https**: limit proxy CONNECT response headers (Matteo Collina)[#64545](https://redirect.github.com/nodejs/node/pull/64545)-\[[`fe6147832b`](https://redirect.github.com/nodejs/node/commit/fe6147832b)]- **inspector**: fix abort when two Environments own the inspector(Shelley Vohr)[#65877](https://redirect.github.com/nodejs/node/pull/65877)-\[[`843a27782a`](https://redirect.github.com/nodejs/node/commit/843a27782a)]- **inspector**: fix crash when the IsolateData has no platform (ShelleyVohr)[#65818](https://redirect.github.com/nodejs/node/pull/65818)-\[[`3f0b6d3308`](https://redirect.github.com/nodejs/node/commit/3f0b6d3308)]- **lib**: avoid repeat internal receiver checks (Filip Skokan)[#65910](https://redirect.github.com/nodejs/node/pull/65910)-\[[`0039479b4a`](https://redirect.github.com/nodejs/node/commit/0039479b4a)]- **lib**: fix shared buffer growability validation (Filip Skokan)[#65845](https://redirect.github.com/nodejs/node/pull/65845)-\[[`e7907130ae`](https://redirect.github.com/nodejs/node/commit/e7907130ae)]- **lib**: use Web IDL interface brand checks (Filip Skokan)[#65846](https://redirect.github.com/nodejs/node/pull/65846)-\[[`7ae085552b`](https://redirect.github.com/nodejs/node/commit/7ae085552b)]- **lib**: fix AbortSignal.any() abort propagation (Yuya Inoue)[#66014](https://redirect.github.com/nodejs/node/pull/66014)-\[[`01032f4fdc`](https://redirect.github.com/nodejs/node/commit/01032f4fdc)]- **lib**: fix for FileHandle.readableWebStream (Patrick Dähne)[#58842](https://redirect.github.com/nodejs/node/pull/58842)-\[[`60a9a28206`](https://redirect.github.com/nodejs/node/commit/60a9a28206)]- **lib**: avoid unsafe array iteration in cli table (Donghoon Kang)[#65838](https://redirect.github.com/nodejs/node/pull/65838)-\[[`230a7fcef0`](https://redirect.github.com/nodejs/node/commit/230a7fcef0)]- **lib**: optimize internal Web IDL dictionaries (Filip Skokan)[#65857](https://redirect.github.com/nodejs/node/pull/65857)-\[[`7cc02b14ec`](https://redirect.github.com/nodejs/node/commit/7cc02b14ec)]- **lib**: validate sequence iterator objects (Filip Skokan)[#65844](https://redirect.github.com/nodejs/node/pull/65844)-\[[`c2bb3aeccc`](https://redirect.github.com/nodejs/node/commit/c2bb3aeccc)]- **lib**: defer source map payload decoding until first use (ShelleyVohr)[#65490](https://redirect.github.com/nodejs/node/pull/65490)-\[[`c4b390cf17`](https://redirect.github.com/nodejs/node/commit/c4b390cf17)]- **lib**: optimize async context frame activation (Tim Perry)[#65519](https://redirect.github.com/nodejs/node/pull/65519)-\[[`3e4fc50a4f`](https://redirect.github.com/nodejs/node/commit/3e4fc50a4f)]- **lib**: use validateArray for array arguments (JunHwan Choi)[#65344](https://redirect.github.com/nodejs/node/pull/65344)-\[[`b351ac9cd4`](https://redirect.github.com/nodejs/node/commit/b351ac9cd4)]- **meta**: bump step-security/harden-runner from 2.21.0 to 2.21.1(dependabot\[bot])[#66044](https://redirect.github.com/nodejs/node/pull/66044)-\[[`693e890fec`](https://redirect.github.com/nodejs/node/commit/693e890fec)]- **meta**: bump github/codeql-action/upload-sarif from 4.37.9 to 4.38.0(dependabot\[bot])[#66046](https://redirect.github.com/nodejs/node/pull/66046)-\[[`9c2abc13c2`](https://redirect.github.com/nodejs/node/commit/9c2abc13c2)]- **meta**: bump github/codeql-action/init from 4.37.9 to 4.38.0(dependabot\[bot])[#66048](https://redirect.github.com/nodejs/node/pull/66048)-\[[`b3c5c2b91d`](https://redirect.github.com/nodejs/node/commit/b3c5c2b91d)]- **meta**: bump github/codeql-action/analyze from 4.37.9 to 4.38.0(dependabot\[bot])[#66049](https://redirect.github.com/nodejs/node/pull/66049)-\[[`2428b13b02`](https://redirect.github.com/nodejs/node/commit/2428b13b02)]- **meta**: bump github/codeql-action/autobuild from 4.37.9 to 4.38.0(dependabot\[bot])[#66050](https://redirect.github.com/nodejs/node/pull/66050)-\[[`eff5d15041`](https://redirect.github.com/nodejs/node/commit/eff5d15041)]- **meta**: add joyeecheung as v8 currency strategic initiative champion(Joyee Cheung)[#65965](https://redirect.github.com/nodejs/node/pull/65965)-\[[`aa549fed0d`](https://redirect.github.com/nodejs/node/commit/aa549fed0d)]- **meta**: expand on collaborator restoration process (Chengzhong Wu)[#65962](https://redirect.github.com/nodejs/node/pull/65962)-\[[`593b40eb2b`](https://redirect.github.com/nodejs/node/commit/593b40eb2b)]- **meta**: add web-standards as webidl owners (Filip Skokan)[#65856](https://redirect.github.com/nodejs/node/pull/65856)-\[[`e711d3fef3`](https://redirect.github.com/nodejs/node/commit/e711d3fef3)]- **meta**: bump actions/checkout from 7.0.0 to 7.0.1 (dependabot\[bot])[#65718](https://redirect.github.com/nodejs/node/pull/65718)-\[[`0fc8a38f5b`](https://redirect.github.com/nodejs/node/commit/0fc8a38f5b)]- **meta**: cleanup targos emeritus changes (Antoine du Hamel)[#65738](https://redirect.github.com/nodejs/node/pull/65738)-\[[`2ca2fd566d`](https://redirect.github.com/nodejs/node/commit/2ca2fd566d)]- **meta**: bump github/codeql-action/init from 4.37.3 to 4.37.9(dependabot\[bot])[#65714](https://redirect.github.com/nodejs/node/pull/65714)-\[[`325709818e`](https://redirect.github.com/nodejs/node/commit/325709818e)]- **meta**: bump github/codeql-action/autobuild from 4.37.3 to 4.37.9(dependabot\[bot])[#65717](https://redirect.github.com/nodejs/node/pull/65717)-\[[`8481d22f72`](https://redirect.github.com/nodejs/node/commit/8481d22f72)]- **meta**: bump actions/setup-node from 6.4.0 to 7.0.0(dependabot\[bot])[#65720](https://redirect.github.com/nodejs/node/pull/65720)-\[[`cd2bd5d9fd`](https://redirect.github.com/nodejs/node/commit/cd2bd5d9fd)]- **meta**: bump step-security/harden-runner from 2.20.0 to 2.21.0(dependabot\[bot])[#65721](https://redirect.github.com/nodejs/node/pull/65721)-\[[`fdec747105`](https://redirect.github.com/nodejs/node/commit/fdec747105)]- **meta**: bump github/codeql-action/upload-sarif from 4.37.3 to 4.37.9(dependabot\[bot])[#65722](https://redirect.github.com/nodejs/node/pull/65722)-\[[`34c2fca088`](https://redirect.github.com/nodejs/node/commit/34c2fca088)]- **meta**: bump github/codeql-action/analyze from 4.37.3 to 4.37.9(dependabot\[bot])[#65723](https://redirect.github.com/nodejs/node/pull/65723)-\[[`46d4549938`](https://redirect.github.com/nodejs/node/commit/46d4549938)]- **meta**: document collaborator automation (Filip Skokan)[#65671](https://redirect.github.com/nodejs/node/pull/65671)-\[[`a7f8de6362`](https://redirect.github.com/nodejs/node/commit/a7f8de6362)]- **(SEMVER-MINOR)** **net**: support sending net.BoundSocket to threadsand child processes (Guy Bedford)[#64725](https://redirect.github.com/nodejs/node/pull/64725)-\[[`466f1f8e62`](https://redirect.github.com/nodejs/node/commit/466f1f8e62)]- **net**: fix BlockList.fromJSON for IPv4-mapped IPv6 rules (DaijiroWachi)[#64125](https://redirect.github.com/nodejs/node/pull/64125)-\[[`cd04cb10d6`](https://redirect.github.com/nodejs/node/commit/cd04cb10d6)]- **net**: recognize bare IPv6 loopback addresses in isLoopback (DaijiroWachi)[#63619](https://redirect.github.com/nodejs/node/pull/63619)-\[[`d983942636`](https://redirect.github.com/nodejs/node/commit/d983942636)]- **node-api**: make object property arrays const (Yilong Li)[#65621](https://redirect.github.com/nodejs/node/pull/65621)-\[[`cc124394cc`](https://redirect.github.com/nodejs/node/commit/cc124394cc)]- **path**: remove `StringPrototypeCharCodeAt` from some methods of`posix` (Wiyeong Seo)[#54668](https://redirect.github.com/nodejs/node/pull/54668)-\[[`60c3eb61bd`](https://redirect.github.com/nodejs/node/commit/60c3eb61bd)]- **(SEMVER-MINOR)** **perf_hooks**: implement SlidingWindowHistogram(James M Snell)[#65825](https://redirect.github.com/nodejs/node/pull/65825)-\[[`6b3e6f9d5c`](https://redirect.github.com/nodejs/node/commit/6b3e6f9d5c)]- **(SEMVER-MINOR)** **perf_hooks**: implement qrde analysis support inHistogram (James M Snell)[#65806](https://redirect.github.com/nodejs/node/pull/65806)-\[[`8aa870940c`](https://redirect.github.com/nodejs/node/commit/8aa870940c)]- **perf_hooks**: reuse buffer for uv metrics (Donghoon Kang)[#65985](https://redirect.github.com/nodejs/node/pull/65985)-\[[`9cfbfae660`](https://redirect.github.com/nodejs/node/commit/9cfbfae660)]- **perf_hooks**: validate import normalization offset (Matteo Collina)[#65950](https://redirect.github.com/nodejs/node/pull/65950)-\[[`75456a3512`](https://redirect.github.com/nodejs/node/commit/75456a3512)]- **(SEMVER-MINOR)** **perf_hooks**: implement Histogram meanCI API(James M Snell)[#65606](https://redirect.github.com/nodejs/node/pull/65606)-\[[`127cb31864`](https://redirect.github.com/nodejs/node/commit/127cb31864)]- **perf_hooks**: add missing resource timing attributes (greenhead)[#65017](https://redirect.github.com/nodejs/node/pull/65017)-\[[`72d1b40c56`](https://redirect.github.com/nodejs/node/commit/72d1b40c56)]- **(SEMVER-MINOR)** **perf_hooks**: add CBOR export/import forhistogram exchange (James M Snell)[#65434](https://redirect.github.com/nodejs/node/pull/65434)-\[[`847fe4d049`](https://redirect.github.com/nodejs/node/commit/847fe4d049)]- **permission**: block FileHandle fsync and fdatasync (Rafael Gonzaga)[#65431](https://redirect.github.com/nodejs/node/pull/65431)-\[[`fa9188bd63`](https://redirect.github.com/nodejs/node/commit/fa9188bd63)]- **quic**: fix two small bugs in HTTP/3 stream internals (Tim Perry)[#65970](https://redirect.github.com/nodejs/node/pull/65970)-\[[`ee80beaa9f`](https://redirect.github.com/nodejs/node/commit/ee80beaa9f)]- **quic**: fix crash in onStreamClose (Marten Richter)[#65861](https://redirect.github.com/nodejs/node/pull/65861)-\[[`98486dd764`](https://redirect.github.com/nodejs/node/commit/98486dd764)]- **quic**: reject zero addressLRUSize (Christian Aurich)[#65827](https://redirect.github.com/nodejs/node/pull/65827)-\[[`97516fc256`](https://redirect.github.com/nodejs/node/commit/97516fc256)]- **quic**: stop guarding ngtcp2_recv_stop_sending callback field (René)[#65688](https://redirect.github.com/nodejs/node/pull/65688)-\[[`024bef25eb`](https://redirect.github.com/nodejs/node/commit/024bef25eb)]- **quic**: remove unused fin flag from blob reader wakeup (trivenay)[#65315](https://redirect.github.com/nodejs/node/pull/65315)-\[[`5468337456`](https://redirect.github.com/nodejs/node/commit/5468337456)]- **quic**: release stream arenas before cleanup (Trivikram Kamat)[#65410](https://redirect.github.com/nodejs/node/pull/65410)-\[[`a794e36970`](https://redirect.github.com/nodejs/node/commit/a794e36970)]- **sqlite**: throw on invalid URL path instead of abort (GuilhermeAraújo)[#66026](https://redirect.github.com/nodejs/node/pull/66026)-\[[`f58a55b8d0`](https://redirect.github.com/nodejs/node/commit/f58a55b8d0)]- **sqlite**: add diagnostic channel (Guilherme Araújo)[#62241](https://redirect.github.com/nodejs/node/pull/62241)-\[[`be849bc6af`](https://redirect.github.com/nodejs/node/commit/be849bc6af)]- **sqlite**: reject connection access from authorizer callbacks (TrevorBurnham)[#65156](https://redirect.github.com/nodejs/node/pull/65156)-\[[`41161dda87`](https://redirect.github.com/nodejs/node/commit/41161dda87)]- **(SEMVER-MINOR)** **sqlite**: add StatementSync.prototype.close()(Guilherme Araújo)[#64232](https://redirect.github.com/nodejs/node/pull/64232)-\[[`adbc757d70`](https://redirect.github.com/nodejs/node/commit/adbc757d70)]- **(SEMVER-MINOR)** **sqlite**: addStatementSync.prototype\[Symbol.dispose]\() (Guilherme Araújo)[#64232](https://redirect.github.com/nodejs/node/pull/64232)-\[[`b7b18fdbc9`](https://redirect.github.com/nodejs/node/commit/b7b18fdbc9)]- **sqlite**: run backup completion in callback scope (Filip Skokan)[#65666](https://redirect.github.com/nodejs/node/pull/65666)-\[[`59827acd7f`](https://redirect.github.com/nodejs/node/commit/59827acd7f)]- **sqlite**: isolate applyChangeset filter errors (Trivikram Kamat)[#64823](https://redirect.github.com/nodejs/node/pull/64823)-\[[`5a01df2d15`](https://redirect.github.com/nodejs/node/commit/5a01df2d15)]- **sqlite**: reject deserialize() while in a callback (Trivikram Kamat)[#64796](https://redirect.github.com/nodejs/node/pull/64796)-\[[`c9b6e75a2e`](https://redirect.github.com/nodejs/node/commit/c9b6e75a2e)]- **sqlite**: refactor error helpers and user function pointers (AliHassan)[#62794](https://redirect.github.com/nodejs/node/pull/62794)-\[[`d4eb6c62a9`](https://redirect.github.com/nodejs/node/commit/d4eb6c62a9)]- **sqlite**: prevent database close during callbacks (Matteo Collina)[#64743](https://redirect.github.com/nodejs/node/pull/64743)-\[[`83b3431c25`](https://redirect.github.com/nodejs/node/commit/83b3431c25)]- **src**: detach cppgc wrappers from their Realm before it is freed(Shelley Vohr)[#65778](https://redirect.github.com/nodejs/node/pull/65778)-\[[`13ed7e35e7`](https://redirect.github.com/nodejs/node/commit/13ed7e35e7)]- **src**: list scripts when `–run` has no command (James Ross)[#64606](https://redirect.github.com/nodejs/node/pull/64606)-\[[`0f62f2b2df`](https://redirect.github.com/nodejs/node/commit/0f62f2b2df)]- **src**: print exception thrown during primordial initialization(Joyee Cheung)[#65991](https://redirect.github.com/nodejs/node/pull/65991)-\[[`70117640f7`](https://redirect.github.com/nodejs/node/commit/70117640f7)]- **src**: don't kill own process group on failed spawn (LazizbekErgashev)[#65054](https://redirect.github.com/nodejs/node/pull/65054)-\[[`64649abfd4`](https://redirect.github.com/nodejs/node/commit/64649abfd4)]- **src**: keep the first snapshot blob alive for later isolates(Shelley Vohr)[#65779](https://redirect.github.com/nodejs/node/pull/65779)-\[[`3c814e8c3c`](https://redirect.github.com/nodejs/node/commit/3c814e8c3c)]- **src**: fix Stop() terminating the next Environment on the isolate(Shelley Vohr)[#65819](https://redirect.github.com/nodejs/node/pull/65819)-\[[`a3ababcebb`](https://redirect.github.com/nodejs/node/commit/a3ababcebb)]- **src**: fix null pointer call when running without a startup snapshot(Shelley Vohr)[#65820](https://redirect.github.com/nodejs/node/pull/65820)-\[[`7331f5cfcc`](https://redirect.github.com/nodejs/node/commit/7331f5cfcc)]- **src**: stop leaking a CppHeap in CommonEnvironmentSetup (ShelleyVohr)[#65792](https://redirect.github.com/nodejs/node/pull/65792)-\[[`5570a84048`](https://redirect.github.com/nodejs/node/commit/5570a84048)]- **src**: fix use-after-free in CleanupHookThunkRun (Caleb Everett)[#65630](https://redirect.github.com/nodejs/node/pull/65630)-\[[`abe1b673e9`](https://redirect.github.com/nodejs/node/commit/abe1b673e9)]- **src**: keep global list of addon-provided cleanup hooks (AnnaHenningsen)[#63985](https://redirect.github.com/nodejs/node/pull/63985)-\[[`2203ac9382`](https://redirect.github.com/nodejs/node/commit/2203ac9382)]- **src**: fix startup snapshot reproducibility of InternalFieldInfo(Chengzhong Wu)[#65684](https://redirect.github.com/nodejs/node/pull/65684)-\[[`b282765d99`](https://redirect.github.com/nodejs/node/commit/b282765d99)]- **src**: fix live lock between environments with blocked requests(Ilyas Shabi)[#65520](https://redirect.github.com/nodejs/node/pull/65520)-\[[`61ca3ba93c`](https://redirect.github.com/nodejs/node/commit/61ca3ba93c)]- **src**: apply IsolateSettings when using a snapshot (Shelley Vohr)[#65407](https://redirect.github.com/nodejs/node/pull/65407)-\[[`33b8d6e10f`](https://redirect.github.com/nodejs/node/commit/33b8d6e10f)]- **src**: add re-entrancy guard to TriggerUncaughtException (TemuulenUndrakhbayar)[#64327](https://redirect.github.com/nodejs/node/pull/64327)-\[[`49232db71e`](https://redirect.github.com/nodejs/node/commit/49232db71e)]- **src**: reuse cached strings in CompileSerializeMain (agape1225)[#65453](https://redirect.github.com/nodejs/node/pull/65453)-\[[`e3f52b80a5`](https://redirect.github.com/nodejs/node/commit/e3f52b80a5)]- **src**: report libuv error when openAsBlob cannot stat (Paul Bouchon)[#65517](https://redirect.github.com/nodejs/node/pull/65517)-\[[`42a5a19027`](https://redirect.github.com/nodejs/node/commit/42a5a19027)]- **src**: shave about 20 bytes off each TLSWrap instance (James MSnell)[#65144](https://redirect.github.com/nodejs/node/pull/65144)-\[[`a06bb51e22`](https://redirect.github.com/nodejs/node/commit/a06bb51e22)]- **src**: use UTF-8 for task runner filesystem paths (Archkon)[#64868](https://redirect.github.com/nodejs/node/pull/64868)-\[[`241339f072`](https://redirect.github.com/nodejs/node/commit/241339f072)]- **(SEMVER-MINOR)** **src,lib**: add util.markPromiseAsHandled (James MSnell)[#65805](https://redirect.github.com/nodejs/node/pull/65805)-\[[`1260642ace`](https://redirect.github.com/nodejs/node/commit/1260642ace)]- **stream**: destroy Duplex.from async function on early return (AmanChadha(IVIXMMI))[#65963](https://redirect.github.com/nodejs/node/pull/65963)-\[[`5f06defdbd`](https://redirect.github.com/nodejs/node/commit/5f06defdbd)]- **stream**: make share budget failures detach before throwing (James MSnell)[#66028](https://redirect.github.com/nodejs/node/pull/66028)-\[[`d1c60d898d`](https://redirect.github.com/nodejs/node/commit/d1c60d898d)]- **stream**: update broadcast to retain buffered data with zeroconsumers (James M Snell)[#66028](https://redirect.github.com/nodejs/node/pull/66028)-\[[`bbb00558c5`](https://redirect.github.com/nodejs/node/commit/bbb00558c5)]- **stream**: avoid promise allocation for parked transform writes(Matteo Collina)[#65625](https://redirect.github.com/nodejs/node/pull/65625)-\[[`3216bc3912`](https://redirect.github.com/nodejs/node/commit/3216bc3912)]- **stream**: keep webstream stream states in fast-mode objects (MatteoCollina)[#65625](https://redirect.github.com/nodejs/node/pull/65625)-\[[`70c1415686`](https://redirect.github.com/nodejs/node/commit/70c1415686)]- **stream**: reject closed only after sink abort settles (LazizbekErgashev)[#65727](https://redirect.github.com/nodejs/node/pull/65727)-\[[`f8737b8ee5`](https://redirect.github.com/nodejs/node/commit/f8737b8ee5)]- **stream**: fix ERR_INVALID_STATE when cancelling Readable.toWeb()(Richard Scarrott)[#62773](https://redirect.github.com/nodejs/node/pull/62773)- \[[`faa16f671c`](http> [!IMPORTANT]> ✂ PR body was truncated to here.</details>—### Configuration📅 **Schedule**: (in timezone Asia/Tokyo)- Branch creation – Only on Wednesday (`* * * * 3`)- Automerge – At any time (no schedule defined)🚦 **Automerge**: Disabled by config. Please merge this manually once youare satisfied.♻ **Rebasing**: Whenever PR is behind base branch, or you tick therebase/retry checkbox.🔕 **Ignore**: Close this PR and you won't be reminded about this updateagain.—- [ ] <!– rebase-check –>If you want to rebase/retry this PR, checkthis box—This PR was generated by [Mend Renovate](https://mend.io/renovate/).View the [repository joblog](https://developer.mend.io/github/FlutterGen/flutter_gen).<!–renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4zOS4wIiwidXBkYXRlZEluVmVyIjoiNDQuMjAyLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=–>Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> , GitHub upgrade: update dependency lint-staged to v17.6.0 (#780)This PR contains the following updates:| Package | Change |[Age](https://docs.renovatebot.com/merge-confidence/) |[Confidence](https://docs.renovatebot.com/merge-confidence/) ||—|—|—|—|| [lint-staged](https://redirect.github.com/lint-staged/lint-staged) |[`17.2.0` →`17.6.0`](https://renovatebot.com/diffs/npm/lint-staged/17.2.0/17.6.0) |||—### Release Notes<details><summary>lint-staged/lint-staged (lint-staged)</summary>###[`v17.6.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1760)[CompareSource](https://redirect.github.com/lint-staged/lint-staged/compare/v17.5.1…v17.6.0)##### Minor Changes-[#1850](https://redirect.github.com/lint-staged/lint-staged/pull/1850)[`938d3f4`](https://redirect.github.com/lint-staged/lint-staged/commit/938d3f43d07cbd74f08052dfb8a7380ce8868180)- Task functions like `{ title, task }` can now use a logger function`log()` to emit output while the task runs. By default, the output willonly be visible if the task fails, unless the `–verbose` option wasused. Additionally, when the task rejects, the error will be shown inthe output. “`js import { defineConfig } from 'lint-staged/config' export default defineConfig({ '*': { title: 'Fail if PDF files are committed', task: async (filepaths, { log }) => {const pdfFiles = filepaths.filter((f) =>f.toLowerCase().endsWith('.pdf')) if (pdfFiles.length > 0) { log('PDF files should not be committed: %s', pdfFiles) throw new Error('Failed') } }, }, }) “`-[#1854](https://redirect.github.com/lint-staged/lint-staged/pull/1854)[`30562bc`](https://redirect.github.com/lint-staged/lint-staged/commit/30562bcbc5267bdb733c257c79c0a65c34465ba3)- *lint-staged* now stages changes to **all tracked files modified bytasks**, including files that weren’t originally staged or didn’t matchthe configured globs. This can happen when your task has side-effects,or it's a function that ignores the staged files like `() => "prettier–write ."`.If you have unstaged changes in a file and the task also edits thatfile, your unstaged changes will be staged too. Use `–hide-unstaged` tohide your changes while tasks run.##### Patch Changes-[#1860](https://redirect.github.com/lint-staged/lint-staged/pull/1860)[`4296532`](https://redirect.github.com/lint-staged/lint-staged/commit/4296532155fb893ab8f754a47f3518f691fd4d98)- The assignment of staged files to *lint-staged* configuration files(when using multiple, for example in a monorepo) has been rewritten tobe more efficient. As a reminder, each staged file is assigned toexactly one configuration (the closest one), even if that config doesn'tmatch the file in its globs.-[#1861](https://redirect.github.com/lint-staged/lint-staged/pull/1861)[`c45f28a`](https://redirect.github.com/lint-staged/lint-staged/commit/c45f28af47a540730de2bf22fddedeb8fac5952a)- Fix running parallel tasks for a single glob, when tasks are createdby a function. Nesting one level of arrays inside an array of tasks willresult in the inner tasks running in parallel. This behavior should nowbe consistent when creating tasks using functions. In the followingexample `eslint` and `prettier` will run in parallel (for all files,when any JS files are staged): “`js import { defineConfig } from 'lint-staged/config' export default defineConfig({'*.js': () => [['eslint –max-warnings=0 .', 'prettier –list-different.']], }) “`-[#1859](https://redirect.github.com/lint-staged/lint-staged/pull/1859)[`f0ea69d`](https://redirect.github.com/lint-staged/lint-staged/commit/f0ea69dc67399e504a08db67594f697d4c24df6d)- Various performance improvements from skipping redundant internal Gitcalls.-[#1856](https://redirect.github.com/lint-staged/lint-staged/pull/1856)[`69d7d17`](https://redirect.github.com/lint-staged/lint-staged/commit/69d7d17ca6d3b10f2ececf8b2756c1927a627821)- Partially staged changes are hidden in a uniquely-named patch file toavoid multiple invocations of *lint-staged* overwriting it. This makesit safer to run *lint-staged* in multiple worktrees at the same time.###[`v17.5.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1751)[CompareSource](https://redirect.github.com/lint-staged/lint-staged/compare/v17.5.0…v17.5.1)##### Patch Changes-[#1852](https://redirect.github.com/lint-staged/lint-staged/pull/1852)[`bfcca94`](https://redirect.github.com/lint-staged/lint-staged/commit/bfcca94e61aef7078a7a0ec8165c0cc2c9baca99)- Fix TypeScript issue `TS1254` from `defineConfig()` by changing thesignature from `const` to a `function`:> A 'const' initializer in an ambient context must be a string ornumeric literal or literal enum reference.###[`v17.5.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1750)[CompareSource](https://redirect.github.com/lint-staged/lint-staged/compare/v17.4.1…v17.5.0)##### Minor Changes-[#1847](https://redirect.github.com/lint-staged/lint-staged/pull/1847)[`f9063b7`](https://redirect.github.com/lint-staged/lint-staged/commit/f9063b7d71857cb8893ee1bb5b63da05b2819b23)- *Lint-staged* now refuses to run when files were staged with`–intent-to-add`, because Git stash doesn't support them. Previouslythis was an unhandled error.##### Patch Changes-[#1848](https://redirect.github.com/lint-staged/lint-staged/pull/1848)[`d718ccc`](https://redirect.github.com/lint-staged/lint-staged/commit/d718ccc59cf73bf7d333135826270b5742fefec1)- *Lint-staged* now handles color support better in non-TTY streams, andhonors the `FORCE_COLOR` environment variable.-[#1845](https://redirect.github.com/lint-staged/lint-staged/pull/1845)[`7e5ece8`](https://redirect.github.com/lint-staged/lint-staged/commit/7e5ece8408097994bd1dfcfbf395aa9838782d19)- Update `tinyexec@1.3.1` so that local binaries from`node_modules/.bin` are resolved starting from the directory of each*lint-staged* configuration file (in monorepo setups). This behavior wasbroken in `lint-staged@16.3.0` where they were only resolved from thecurrent working directory and up.-[#1845](https://redirect.github.com/lint-staged/lint-staged/pull/1845)[`eb8a4e3`](https://redirect.github.com/lint-staged/lint-staged/commit/eb8a4e3ae1bbdf648b647ff3a17a6205870b27be)- Do not try to restore untracked files when using `–hide-all` andthere is no initial commit yet.###[`v17.4.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1741)[CompareSource](https://redirect.github.com/lint-staged/lint-staged/compare/v17.3.0…v17.4.1)##### Patch Changes-[#1840](https://redirect.github.com/lint-staged/lint-staged/pull/1840)[`efe5b63`](https://redirect.github.com/lint-staged/lint-staged/commit/efe5b63cc4961c80b6363fe40bac3c145e3ddbb2)- This is a version-bump-only release because the previous version`17.4.0` was not published to npmjs.com due to problems with GitHubActions and Changesets.###[`v17.3.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1730)[CompareSource](https://redirect.github.com/lint-staged/lint-staged/compare/v17.2.0…v17.3.0)##### Minor Changes-[#1825](https://redirect.github.com/lint-staged/lint-staged/pull/1825)[`16b3f74`](https://redirect.github.com/lint-staged/lint-staged/commit/16b3f74850e5d2811b5fbaea6c136733a71ad3e4)- It is now possible to run multiple tasks in parallel for a single globby configuring it with an array of tasks (which run sequentially), andthen placing another array inside it (where the tasks will run inparallel). The following demonstrates the order tasks will start in: “`json { "*.ts": ["first", "second", ["third", "third"], "fourth"] } “` As a concrete example, *lint-staged*'s own configuration is: “`js /** @type {import('./lib/index.js').Configuration} */ export default { '*': [['oxfmt –check –no-error-on-unmatched-pattern', 'oxlint–no-error-on-unmatched-pattern'], ], '*.ts': () => 'tsc', } “` which means:1. for all staged files, run the two commands in parallel with stagedfilenames appended, for example: – `oxfmt –check –no-error-on-unmatched-pattern lib/index.js` – `oxlint –no-error-on-unmatched-pattern lib/index.js`2. additionally, if any `*.ts` files are staged, run `tsc` withoutappending any arguments 3. The two sets of commands also run in parallel##### Patch Changes-[#1829](https://redirect.github.com/lint-staged/lint-staged/pull/1829)[`15f7e53`](https://redirect.github.com/lint-staged/lint-staged/commit/15f7e5314b4afe4702808d978758b22d42437f43)- During an in-progress merge, files that are unchanged from the branchbeing merged are now skipped. Technically, files are only included ifthere are staged changes against both `HEAD` and `MERGE_HEAD`.</details>—### Configuration📅 **Schedule**: (in timezone Asia/Tokyo)- Branch creation – Only on Wednesday (`* * * * 3`)- Automerge – At any time (no schedule defined)🚦 **Automerge**: Disabled by config. Please merge this manually once youare satisfied.♻ **Rebasing**: Whenever PR is behind base branch, or you tick therebase/retry checkbox.🔕 **Ignore**: Close this PR and you won't be reminded about this updateagain.—- [ ] <!– rebase-check –>If you want to rebase/retry this PR, checkthis box—This PR was generated by [Mend Renovate](https://mend.io/renovate/).View the [repository joblog](https://developer.mend.io/github/FlutterGen/flutter_gen).<!–renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4zOS4wIiwidXBkYXRlZEluVmVyIjoiNDQuMTg0LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=–>Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> , GitHub
Provides the list of the opensource Flutter apps collection with GitHub repository.