We just released our new suite of JavaScript packages. This repository contains the updated packages for our JavaScript, React, Vue, and Vite plugins.
What's new?
All packages have been updated so they can also run in a Node.js environment as they don't depend on browser APIs anymore. This is useful if you want to report errors from a Node server or during server side rendering. In addition, the default reporting endpoint has changed from flareapp.io/api/reports to reporting.flareapp.io/api/reports. Our reporting endpoint now runs through CloudFlare. The old one still works, but redirects to the new one. After upgrading, error notifications will land in your inbox approximately 200ms faster than before!
Upgrading
To upgrade, remove the previous @flareapp/* packages from your project's package.json. Then, install @flareapp/js:
npm i @flareapp/js --save
If you're using React or Vue, install one of our framework plugins too:
npm i @flareapp/react --save
npm i @flareapp/vue --save
If you're building assets with Vite, install our Vite plugin to upload your sourcemaps to Flare:
npm i @flareapp/vite --save-dev
All packages have the same API as their predecessors/ For detailed installation instructions, please refer to our documentation.
With this new foundation, we're excited to add more features and framework integrations in the future. Stay tuned!
Continue reading
Version 2 of our JavaScript client libraries
We shipped v2 of @flareapp/js, @flareapp/react, @flareapp/vue, and @flareapp/vite. The framework packages now handle error boundaries, automatic context collection, and component prop capture out of the box. The core client talks to a new, faster ingestion endpoint, and the Vite plugin got retry logic and smarter sourcemap handling.
Sébastien
Flare ❤️ Livewire
Flare has deep Livewire visibility: components nested in traces with full hierarchy, per-phase timing (mount, hydrate, render, dehydrate), aggregated component views with bidirectional links, rich error context, and a lot more. Let us show you how Flare can assist in debugging your Livewire project.
Ruben
Subscribe to Backtrace, our quarterly Flare newsletter
No spam, just news & product updates