From 57d5d59ffa67e8621eefd26aad9c9a6398b81562 Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Thu, 31 Oct 2024 08:53:39 +0100 Subject: [PATCH] Add a list of deprecations and removals that occurred during the deprecation of `DateUtil::format()`. --- docs/migration/wsc61/deprecations_removals.md | 24 +++++++++++++++++++ mkdocs.yml | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 docs/migration/wsc61/deprecations_removals.md diff --git a/docs/migration/wsc61/deprecations_removals.md b/docs/migration/wsc61/deprecations_removals.md new file mode 100644 index 00000000..e2d9a0af --- /dev/null +++ b/docs/migration/wsc61/deprecations_removals.md @@ -0,0 +1,24 @@ +# Migrating from WoltLab Suite 6.1 - Deprecations and Removals + +With version 6.2, we have deprecated certain components and removed several other components that have been deprecated for many years. + +## Deprecations + +### PHP + +#### Methods + +- `wcf\util\DateUtil::format()` ([WoltLab/WCF#6042](https://github.com/WoltLab/WCF/pull/6042/)) + +## Removals + +### PHP + +#### Methods + +- `wcf\util\CLIUtil::formatTime()` ([WoltLab/WCF#6042](https://github.com/WoltLab/WCF/pull/6042/)) +- `wcf\util\CLIUtil::formatDate()` ([WoltLab/WCF#6042](https://github.com/WoltLab/WCF/pull/6042/)) + +#### Properties + +- `wcf\system\option\user\DateUserOptionOutput::$dateFormat` ([WoltLab/WCF#6042](https://github.com/WoltLab/WCF/pull/6042/)) diff --git a/mkdocs.yml b/mkdocs.yml index 7b0dadb4..75acd5a3 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -125,6 +125,8 @@ nav: - 'Database PHP API': 'package/database-php-api.md' - 'Migration': + - 'From WoltLab Suite 6.1': + - 'Deprecations and Removals': 'migration/wsc61/deprecations_removals.md' - 'From WoltLab Suite 6.0': - 'PHP API': 'migration/wsc60/php.md' - 'Templates': 'migration/wsc60/templates.md' -- 2.20.1