Home / Companies / Prismic / Blog / Post Details
Content Deep Dive

Updated JavaScript Client and Helpers

Blog post from Prismic

Post Details
Company
Date Published
Author
Angelo Ashmore
Word Count
920
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

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.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

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.