GithubHelp home page GithubHelp logo

Comments (4)

johnkiely1 avatar johnkiely1 commented on May 25, 2024

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.

mvynhb avatar mvynhb commented on May 25, 2024

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.

johnkiely1 avatar johnkiely1 commented on May 25, 2024

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.

mvynhb avatar mvynhb commented on May 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.