Change8

@yarnpkg/cli/4.7.0

📦 yarnView on GitHub →
1 features🐛 8 fixes🔧 6 symbols

Summary

This release primarily includes bug fixes, an improvement to the yarn init command, and an upgrade of ESLint to version 9 with required configuration migration.

Migration Steps

  1. Update ESLint configuration to the new flat config format as described in the ESLint v9 migration guide.
  2. Run the test suite after migration to ensure E2E tests pass with the new configuration.
  3. If using CRA in E2E tests, note that it has been removed; adjust tests accordingly.

✨ New Features

  • Improved yarn init command with enhanced defaults and prompts.

🐛 Bug Fixes

  • Fixed typo in yarn pack command.
  • Fixed error handling when looking for configuration files.
  • Adjusted test runner to not use .ts for unknown extension tests.
  • Removed CRA from the E2E tests.
  • Fixed integration test failures on big endian CI.
  • Fixed repository URL handling to use a format supported by npm.
  • Fixed undefined checksums after merge conflict resolution (issue #6029).
  • Fixed pack command creating sub-directories (fix #6706).

🔧 Affected Symbols

yarn packyarn initeslint configurationE2E test runnerchecksum resolution logicrepository URL handling