Comments (4)
Hi @mvynhb,
You can also set the BUGSNAG_APP_VERSION environment variable, or set this within config/bugsnag.php:
https://docs.bugsnag.com/platforms/php/laravel/configuration-options/#app-version
It's worth mentioning you do not have to set this but the idea is that it would follow along with whatever versioning scheme you are using.
How do you determine a version number for your next release? Are you setting this somewhere else within your app?
from bugsnag-laravel.
hi @johnkiely1
Currently I don't maintain any version number for my releases. I do not want to have to update this version number manually every time, cause I could forget to do so.
Could I do something like below when deploying to use the timestamp as an automatic version? I am not sure if below works. Is it common to always manually update your app version in the source code before releasing? Just wondering what others are doing.
php artisan bugsnag:deploy --version date +%s
from bugsnag-laravel.
You don't need to set this at all, and it's off by default. Your events will still appear on the dashboard, just without a app version. Setting an app version could be useful to help debugging errors. For example if all events of an error are reported with v2.0 and was never seen for v1.0 you may have introduced a bug in v2.0 so narrows down the places in the code to look.
I can't say with any authority what others are doing within the industry but I imagine it varies and is mainly down to personal preference and company procedures and workflows.
from bugsnag-laravel.
I understand the app version is not required, but if not set I can't really use options like Mark as fixed
, since that uses the version to determine if error happens again in new release.
I will think of some solution, most likely using the timestamp. Thanks for the support though 👍
from bugsnag-laravel.
Related Issues (20)
- PHP 8.1 Deprecated messages HOT 7
- Session tracker throttling not working with some cache drivers (eg. Redis) HOT 3
- Prepare for Laravel 9 support HOT 5
- Ignore Exceptions in Laravel HOT 2
- Fails composer install for Laravel 9 HOT 2
- Laravel service provider: config is null HOT 5
- Updating minor version HOT 1
- setMetaData doesn't clear between horizon jobs HOT 2
- Unable to create configured logger HOT 6
- PHP Fatal error: Declaration of Bugsnag\PsrLogger\BugsnagLogger::log HOT 4
- Vulnerable versions of Akaunting and Bookstack packages are used HOT 2
- Bugsnag Shows js stack trace and php error codes but no php stacktrace. HOT 2
- Delay session delivery to "after the response is sent" HOT 1
- Error with PHP8.1, Laravel 9.x HOT 2
- laravel 10 compatibility HOT 2
- Update to Laravel 10 HOT 1
- Integrate with Pennant feature flags HOT 1
- [OomBootstrapper] BindingResolutionException: Target class [bugsnag] does not exist. HOT 3
- Ability to cancel error notifications before they are sent to Bugsnag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bugsnag-laravel.