TL;DR
- Node.js 22 is now the minimum required version.
- TypeScript 5.0.1 is the new minimum for development.
- Packages now exclusively use ECMAScript Modules (ESM).
Key Changes
Breaking Changes
- Node.js & TypeScript Minimums: The minimum required Node.js version has been updated to 22 (following a prior bump to 20.19). TypeScript 5.0.1 is also now a minimum requirement. This ensures compatibility with modern JavaScript features and tooling.
- ESM Only: All packages have transitioned to ECMAScript Modules (ESM) exclusively. This is a significant architectural shift, moving away from CommonJS.
Features
- The move to ESM only (as mentioned above) is also highlighted as a feature, streamlining module management and aligning with modern JavaScript standards.
For full details, refer to the official changelog.
Impact for QA Teams
QA teams using Puppeteer ng-schematics for test automation must update their Node.js and TypeScript environments to avoid compatibility issues. The shift to ESM requires reviewing existing test setups, especially for projects still relying on CommonJS. This update aligns Puppeteer with current JavaScript ecosystem standards, potentially improving performance and maintainability in the long run. For a broader perspective on browser automation tools, consider our Puppeteer vs. Playwright comparison.
FAQ
- Q: What is the most critical change in v0.8.0?
- A: The most critical changes are the mandatory upgrade to Node.js 22 and the exclusive use of ECMAScript Modules (ESM).
- Q: Do I need to update my Node.js version?
- A: Yes, you must update to Node.js 22 (or at least 20.19) to use Puppeteer ng-schematics v0.8.0.
- Q: How does the ESM-only change affect my tests?
- A: If your existing tests or project setup use CommonJS (
require()), you will need to refactor them to use ESM (import).
- A: If your existing tests or project setup use CommonJS (
