Change8

@yarnpkg/cli/4.11.0

📦 yarn
6 features🐛 2 fixes🔧 7 symbols

Summary

Yarn 4.11.0 adds PnP read support for TypedArray/DataView, resolvesFilename conditions, a DURATION settings type, environment variable escaping, and catalog improvements, while fixing publish JSON output and GitLab CI OIDC detection.

✨ New Features

  • PnP now supports FileHandle#read into TypedArray and DataView objects.
  • Added support for the 'conditions' option in _resolveFilename.
  • Introduced a new DURATION settings type in the core configuration.
  • Environment values can now escape template variables.
  • Catalogs can now work with descriptors that lack resolvers.
  • Migrated TypeScript dependencies to the catalog system.

🐛 Bug Fixes

  • Fixed publish command to use the correct workspace name in JSON output.
  • Corrected environment variable detection for GitLab CI when using OIDC.

🔧 Affected Symbols

FileHandle.read_resolveFilenamepublish command JSON outputGitLab CI OIDC detectionDURATION settings typeenvironment variable escaping logiccatalog descriptor handling