Change record status: 
Project: 
Introduced in branch: 
8.x
Description: 

The DRUPAL_CORE_COMPATIBILITY and VERSION constants previously defined in bootstrap.inc have been converted to class constants on the Drupal class.

Drupal 7:

<?php
$release
= VERSION;
$core = DRUPAL_CORE_COMPATIBILITY;
?>

Drupal 8:

<?php
// When not in a namespace
$release = Drupal::VERSION;
$core = Drupal::CORE_COMPATIBILITY
// When in a namespace
$release = \Drupal::VERSION;
$core = \Drupal::CORE_COMPATIBILITY
?>
Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done