From acdea1ba55aeb4ce78a2cb991c801b1820ff46c2 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 13 Aug 2026 11:35:41 +1200 Subject: [PATCH] DOC Deprecate Director:is_cli() --- en/08_Changelogs/6.3.0.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/en/08_Changelogs/6.3.0.md b/en/08_Changelogs/6.3.0.md index 640a4780..ef970d74 100644 --- a/en/08_Changelogs/6.3.0.md +++ b/en/08_Changelogs/6.3.0.md @@ -116,6 +116,16 @@ Note that these legacy class components are provided as a short-term migration a The new functional components provide exports (for example `getInputProps()`, `handleChange()`, and `render()`) that were previously provided via class inheritance. If you previously extended class components, migrate to functional components by composing the exported helpers in your own components. +## API changes + +### Deprecated API + +The following API has been deprecated in this release, and will be removed or replaced in a future major release. + +It's best practice to avoid using deprecated code where possible, but sometimes it's unavoidable. This API will all continue to be available at least until the next major release. + +- The [`Director::is_cli()`](api:SilverStripe\Control\Director::is_cli()) method has been deprecated. Use [`Environment::isCli()`](api:SilverStripe\Core\Environment::isCli()) instead. + ## Bug fixes This release includes a number of bug fixes to improve a broad range of areas. Check the change logs for full details of these fixes split by module. Thank you to the community members that helped contribute these fixes as part of the release!