diff --git a/CHANGELOG.md b/CHANGELOG.md index aa5b29796..ccca3f170 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,6 +72,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Removed constants such as SMARTY_DIR to prevent global side effects. - Removed direct access to `$smarty->template_dir`. Use `$smarty->setTemplateDir()`. - Removed direct access to `$smarty->cache_dir`. Use `$smarty->setCacheDir()`. +- Removed direct access to `$smarty->compile_dir`. Use `$smarty->setCompileDir()`. - Removed `$smarty->loadPlugin()`, use `$smarty->registerPlugin()` instead. - Removed `$smarty->appendByRef()` and `$smarty->assignByRef()`. - Removed `$smarty->_current_file` diff --git a/docs/upgrading.md b/docs/upgrading.md index 3b08a816d..b538ec9eb 100644 --- a/docs/upgrading.md +++ b/docs/upgrading.md @@ -71,6 +71,7 @@ In many cases, these properties have been made private, and you should now use t - `$smarty->autoload_filters` should be replaced with `$smarty->registerFilter()` - `$smarty->template_dir` should be replaced with `$smarty->setTemplateDir()` - `$smarty->cache_dir` should be replaced with `$smarty->setCacheDir()` +- `$smarty->compile_dir` should be replaced with `$smarty->setCompileDir()` Other public properties have been removed altogether, and you should no longer access them: