Skip to content

Conversation

@lihbr
Copy link
Collaborator

@lihbr lihbr commented Dec 24, 2025

Description

⚠️ Breaking: Dependencies

  • @prismicio/client is now a peer dependency and needs to be installed explicitly.
  • @prismicio/vue v6 is now used and comes with breaking changes.

⚠️ Breaking: File proxy

  • ~/prismic/richTextSerializer (deprecated), ~/prismic/linkRel, ~/prismic/sliceZoneDefaultComponent are no longer proxied (and supported as defaults by @prismicio/vue). Create your own components with defaults instead if you need them.

⚠️ Breaking: DevTools

  • The DevTools integration was removed (unfortunately, the benefits were little compared to the overhead and complexity it added)

Checklist

  • If my changes require tests, I added them.
  • If my changes affect backward compatibility, it has been discussed.
  • If my changes require an update to the CONTRIBUTING.md guide, I updated it.

Preview

How to QA 1

Footnotes

  1. Please use these labels when submitting a review:
    ❓ #ask: Ask a question.
    💡 #idea: Suggest an idea.
    ⚠️ #issue: Strongly suggest a change.
    🎉 #nice: Share a compliment.

@lihbr lihbr marked this pull request as ready for review December 30, 2025 02:30
Copy link

@angeloashmore angeloashmore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to see so many lines removed! I left a few minor suggestion, but it looks good to me overall.

components.richTextComponents is now configured at componentsConfig.defaultComponents, it now defaults to ~/prismic/defaultComponents instead of ~/prismic/richTextComponents previously (renamed as it also configures <PrismicTable> components)

I think it's okay to leave it as richTextComponents to avoid a breaking change. Tables contain rich text, so the name isn't invalid IMO.

@lihbr
Copy link
Collaborator Author

lihbr commented Dec 31, 2025

I think it's okay to leave it as richTextComponents to avoid a breaking change. Tables contain rich text, so the name isn't invalid IMO.

Agreed, I reverted it on @prismicio/vue also, I'm not happy with defaultComponents anyway.

@lihbr lihbr merged commit edbdc91 into master Jan 5, 2026
10 checks passed
@lihbr lihbr deleted the lh/simplify-module branch January 5, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants