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
Introducing Flare’s next big feature: performance monitoring
Flare's new Performance Monitoring feature is now live, giving you complete visibility into your Laravel app's HTTP routes, queued jobs, Artisan commands, and database queries.
Freek
Lessons from the deep end
20 months ago, we started building Performance Monitoring as Flare’s next big feature, never expecting Laravel’s rapid commercial growth to put us in direct competition with their own tools. This is our honest take on those 20 months went, how we’re adapting to this new reality, and where we’re heading next while staying true to who we are. A dive into the deep end, without knowing how far down it goes.
Alex
Subscribe to Backtrace, our quarterly Flare newsletter
No spam, just news & product updates