Hello guys,
just played around with the deprecation class introduced with SS 3.0, but got confused a bit.
Currently testing on a clean "SS 3.1-beta3". Inside my module "_config.php" I set "GD::set_default_quality(95)" to increase the thumbnail image quality. The GD class was renamed to GDBackend in SS 3.1 and will throw a deprecation notice from SS 3.2 onwards (activated via code at bottom of "framework/filesystem/GD.php").
When I try to force a deprecation notice (with SS 3.1-beta3) by setting the notification version in "mysite/_config.php" to Deprecation::notification_version('3.2') or 3.3, no notice is thrown at all. Dito for changing notification version in "framework/_config.php". My environment is set to DEV mode, flush=all was excecuted after I changed settings.
Q1: Is it possible to trigger a notification for the GD class this way?
Q2: What is the purpose of the file "framework/silverstripe_version", its not used for the deprecation stuff - right?
Cheers cwsoft