PHP SDK stable version


#1

Hi,
When you approximately going to release a stable version of Sentry PHP SDK?

Because at the current moment there are some problems in our case with running command composer update --prefer-dist --no-dev within deployment.

We’ve got:

Problem 1

  • package1 dev-new_master requires sentry/sentry 2.0.0-beta1 -> satisfiable by sentry/sentry[2.0.0-beta1].

  • package1 dev-new_master requires sentry/sentry 2.0.0-beta1 -> satisfiable by sentry/sentry[2.0.0-beta1].

  • Conclusion: don’t install sentry/sentry 2.0.0-beta1

  • Installation request for package1 dev-new_master -> satisfiable by package1[dev-new_master].

composer.json of project:

{

   "require": {

      "sentry/sentry": "@dev",

      "package1": "dev-new_master"

    }

}

composer.json of package1:


{

    "require": {

         "sentry/sentry": "2.0.0-beta1",

     }

}

Without –no-dev key it works ok.


#2

Which version of Composer are you using? Latest one has some important bug fix I think.

Also, if without --no-dev is working, that means that you may have some require-dev dep that is hindering your update. I would also suggest to use a more strict constraint for Sentry, something like ^2.0-beta which would allow all beta tagged versions.


#3

Also, we probably make a “stable” release in 1-2 weeks.


#4

Thanks for a quick response.

We’ve solved the problem with adding lines:

"minimum-stability": "beta",
"prefer-stable": true,

to project composer.json for now.