Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.2
->3.8.6
Release Notes
yarnpkg/berry (yarn)
v3.8.6
Compare Source
v3.8.5
Compare Source
v3.8.4
Compare Source
v3.8.3
Compare Source
v3.8.2
Compare Source
v3.8.1
Compare Source
v3.8.0
Compare Source
v3.7.0
Compare Source
v3.6.4
Compare Source
v3.6.3
Compare Source
v3.6.2
Compare Source
v3.6.1
Compare Source
v3.6.0
Compare Source
v3.5.1
Compare Source
v3.5.0
Compare Source
v3.4.1
Compare Source
yarn init
.v3.4.0
Compare Source
Node.js parity
--conditions
flag.--watch
flag on Node 18 (it previously only supported it on Node 19).Bugfixes
pnpapi
) can now be imported from ESM modules.ZipFS.prototype.getBufferAndClose
will not error on empty archives resulting from an unlink after write.YN0000
) fromyarn workspaces foreach
.Compatibility
v3.3.1
Compare Source
v3.3.0
Compare Source
Installs
hardlinks-global
node-modules
linker mode by 1.5xCompatibility
v3.2.4
Compare Source
Compatibility
v3.2.3
Compare Source
Bugfixes
Compatibility
v3.2.2
Compare Source
Compatibility
ftruncate
.fchmod
.throwIfNoEntry
.npm_package_json
environment variable is now set by Yarn.v3.2.1
Compare Source
Installs
node_modules
directory, whennode-modules
linker is activesupportedArchitectures
Bugfixes
v3.2.0
Compare Source
Various improvements have been made in the core to improve performance. Additionally:
Commands
yarn workspaces foreach run
command is now able to run binaries.yarn npm info
command now supports displaying information about a tagged version of a package (e.g.yarn npm info vue@next
).yarn explain
command has been added. It can be used to explain an error code, or list all available error codes.yarn explain YN0002
.yarn npm publish
command now accepts a new--otp
option, to set the One-Time Password from the CLI.yarn upgrade-interactive
now has improved paging:Installs
node_modules
is a symbolic link, and doesn't recreate it.cpu
andarch
fields, Yarn now support a newlibc
field which can be used in tandem withoptionalDependencies
to avoid downloading packages that have been linked against incompatible standard libraries (we currently support two values:glibc
andmusl
).node_modules/.store
andnode_modules
folders if they are empty.node_modules/@​yarnpkg
) if they are empty or after removing a scoped dependency..pnp.cjs
files with inlined data will now store the data in a JSON string literal instead of an object literal to improve startup performance.Compatibility
${FOO:+}
.read
andreadSync
using options.path
property on streams created bycreateReadStream()
and obtained from zip archives.ERR_REQUIRE_ESM
error when attempting to require an ES Module, matching the default Node.js behaviour.Bugfixes
@yarnpkg/pnpify
now escapes paths correctly.node
field inside thenpm_config_user_agent
Yarn sets will now include a leadingv
.platform
isn't set to Node.YARN_IGNORE_NODE
environment variable will now be parsed using the same mechanism as env variable configuration settings (i.e. both1
/0
andtrue
/false
will be accepted)ZipFS Extension
Miscellaneous Features
wrapNetworkRequest
hook now lets you wrap network requests (for example to log them).v3.1.1
Compare Source
v3.1.0
Commands
yarn workspaces list
andyarn workspaces foreach
commands now both support a new--since
option that lets you filter the workspace list by changes (only workspaces that changed since the specified commit will be iterated on). This feature is still a little experimental, especially when used with-R,--recursive
.yarn workspaces foreach
command now handles the fact that a script containing:
only becomes global if it exists in exactly one workspace.yarn workspaces foreach
command now supports--jobs 1
and--jobs unlimited
.yarn init -2
command will now add thepackageManager
field to your project manifest.Settings
pattern
matcher fromlogFilters
will now match any part of the log entry.Installs
nodeLinker: pnpm
mode will let you install packages using the pnpm install strategy, where packages are stored flat and referenced by each others through symlinks. This mode is still a little experimental, so please send our way bugs you might find.supportedArchitectures
field to manually enforce the presence of specific architectures.nmMode: hardlinks-global
setting will now be automatically downgraded tonmMode: hardlinks-local
when global caches and install folders are kept on different devices, thus letting the install continue normally. A warning will still be produced explaining this behaviour.node_modules
linker maximizes chances to end-up with only one top-level node_modules in the case of using workspacesnmSelfReferences
setting has been added to the nm linker to control whether workspaces are allowed to require themselves - results in creation of self-referencing symlinks.yarn workspaces focus
will not create self-referencing symlinks for excluded workspaces anymore.node_modules
installs.Miscellaneous Features
workspace:^
andworkspace:~
. When published, those markers will turn into the actual version (just like what used to happen withworkspace:*
), except that they'll be prefixed with the relevant semver prefix (respectively^
and~
).npmAuditRegistry
setting will let you define which registry to use when running audits. If unset, we'll fallback to the currently configured publish registry (we'll likely change this behavior in Yarn 4 to rather use the fetch registry).Bugfixes
node_modules
installs will now be given priority during hoisting, preventing cases when indirect regular dependencies would block the way for direct portal dependencies.pnpify
binary can now be used from inside directories containing spaces.--version
string.node-modules
linker.node-modules
linker, since they cannot be used from the code anyway.fs
module, allowing users to patch it.require.resolve('pnpapi')
will be handled correctly even when usingexports
.yarn run
immediately after adding or removing dependencies inside large monorepos.@types
version. This matches the behaviour for peer dependencies.Compatibility
pnpEnableEsmLoader
.resolve
will no longer resolve missing modules to a file with the same name that would happen to be located next to the issuer.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.