v3.17.1

payloadcms/payloadv3.17.1Jan 14, 2025by denolfe

AI Summary

This release addresses a dependency issue with the rich text editor library, upgrading lexical from 0.20.0 to 0.21.0 to resolve richtext-lexical errors and dependency checker failures.

Key Highlights

  • Upgraded lexical dependency from 0.20.0 to 0.21.0
  • Fixed incorrect lexical version in dependency checker
  • Instructions provided to reinstall node_modules and lockfiles if errors persist

Full Release Notes

## [v3.17.1](https://github.com/payloadcms/payload/compare/v3.17.0...v3.17.1) (2025-01-14)

## Important
This release upgrades the lexical dependency from `0.20.0` to `0.21.0`. If you installed lexical manually, update it to `0.21.0`. Installing lexical manually is not recommended, as it may break between updates, and our re-exported versions should be used. See the [yellow banner box](https://payloadcms.com/docs/rich-text/custom-features) for details.

If you still encounter richtext-lexical errors, delete `node_modules` and your lockfile (e.g. `pnpm-lock.json`), then reinstall (e.g. `pnpm install`). Some package managers do not update the lexical peerdep automatically, likely due to a bug on their end.

### 🐛 Bug Fixes

* **richtext-lexical:** incorrect lexical version in dependency checker ([#10559](https://github.com/payloadcms/payload/issues/10559)) ([878763b](https://github.com/payloadcms/payload/commit/878763b))

### 🤝 Contributors

- Alessio Gravili (@AlessioGr)