Updated JavaScript Client and Helpers
Blog post from Prismic
Major updates have been released for Prismic's core JavaScript packages, including @prismicio/client and @prismicio/helpers, which now feature refreshed APIs, built-in TSDoc documentation, and enhanced functions, although they include breaking changes necessitating the use of Migration Guides. The updates make the @prismicio/client v6 package approximately 25% smaller and more intuitive, offering new methods like queryByType() and queryByTag(), with first-class TypeScript support, while the @prismicio/helpers v2 package is now 50% smaller than its predecessor and 40 times faster in Rich Text HTML serialization, also providing more idiomatic import names. Additionally, @prismicio/types offers TypeScript types for various Prismic data to ensure compatibility with these updated libraries. Users are encouraged to check out the comprehensive documentation and Migration Guides to effectively update their projects, and feedback or issues can be reported through community forums and GitHub repositories.
No tracked trend matches for this post yet.
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.