src/State/Scope.php by removing the public methods:this change broke the upstream as predicted on https://github.com/getsentry/sentry-symfony/issues/239
Don't know what's the versioning schema over here, but maybe you guys could revert it and schedule the deprecation for 3.0.0, as most upstreams probably use semver
All those methods were marked as @internal and their only purpose was to make unit tests work. When we rewrote the mentioned tests to not use them they became useless. As the documentation about the tag says, code marked as internal should not be used by the public and if you do you do it at your own risk. There is indeed a technical BC here, but not in the way you are supposed to be interested in. Summarizing: everything marked as @internal does not fall into the BC promise. We usually follow the BC promise of Symfony as it's pretty clear and explanatory of what can and can not be done (of course some things may not apply to our project). I will quote some documentation excerpts here for future reference:
The
@internaltag can be used as counterpart of the@apitag, indicating that the associated Structural Elements are used purely for the internal workings of this piece of software.
Experimental Features and code marked with the
@internaltags are excluded from our Backward Compatibility promise.
My bad, I hadn't noticed the @internal on those diffs. 😅
Sorry about the bother, I'll follow up on sentry-symfony
sentry-symfony is ready to go, we will tag a new version that will include getsentry/sentry-symfony#239 ASAP. Right now the last tagged version just triggers a few deprecations; those removed methods where used just in tests there too.
TYSM @Jean85 ✌
A good idea may be to update the README to specify the fact that we strive to follow Semver and also that we try to follow as close as possible the BC Promise document from Symfony. Any contribution is more than welcome on this :smile:
Most helpful comment
sentry-symfonyis ready to go, we will tag a new version that will include getsentry/sentry-symfony#239 ASAP. Right now the last tagged version just triggers a few deprecations; those removed methods where used just in tests there too.