Skip to Content
🎉 Coral x Panda has been released 🎉 Read the Migration Guide
DocumentationReleasesv41.0.0

v41.0.0

meme saying okay all together now

Breaking Changes

This release brings all packages under one main package. This means that instead of installing multiple packages for different parts of Coral, you can now just install one package and import everything from there.

No more version mismatches between packages.

Steps to upgrade:

Upgrade your Coral dependencies to version 41

Remove any other coral-* package you have installed, except for coral-design

Use our codemod to update all of your imports

npx @krakentech/codemods coral-imports-to-subpaths

This will do a find and replace for all of your imports, for example:

Manually update CoralConfigProvider import location

Manually update hooks import location

  • The following hooks now import from @.../coral/hooks
    • useHeaderHeight
    • useCoralBreakpoints
    • useCoralStripe

Run your site and check everything is working as expected

Last updated on