Skip to main content

Migration guide to v0.4.x

Lyra v0.4.0 introduces a few breaking changes. This guide will help you migrate your codebase. The breaking changes are minimal, and should be easy to fix.

If you find any major problem, please feel free to open an issue at https://github.com/lyrasearch/lyra.

Lyra v0.4.0 introduces the following breaking changes:

  • All the Lyra methods are now async
  • CommonJS is supported via @lyrasearch/lyra/cjs instead of @lyrasearch/lyra
  • Components
  • Default IDs
  • Simplified imports
  • TypeScript imports