From a80d43c5108f7f1d616b1c99330a64be07232b0c Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Wed, 7 Feb 2024 20:45:29 +0100 Subject: [PATCH 1/2] Deprecate `BuildService::transferMediaAssets()` This method will be replaced by a build task in v2.0. See https://github.com/hydephp/develop/issues/1499 --- packages/framework/src/Framework/Services/BuildService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/framework/src/Framework/Services/BuildService.php b/packages/framework/src/Framework/Services/BuildService.php index 83c2686e011..ba74adf851c 100644 --- a/packages/framework/src/Framework/Services/BuildService.php +++ b/packages/framework/src/Framework/Services/BuildService.php @@ -48,6 +48,7 @@ public function compileStaticPages(): void }); } + /** @deprecated This method will be replaced by a build task in v2.0 */ public function transferMediaAssets(): void { $this->needsDirectory(Hyde::siteMediaPath()); From e3ff4292be797691f27548cd2d5cf630d8544d8c Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Thu, 8 Feb 2024 15:31:29 +0100 Subject: [PATCH 2/2] Update RELEASE_NOTES.md --- RELEASE_NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 2ea1dadff8b..84e1f53b946 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -28,7 +28,7 @@ This serves two purposes: - HydeFront: Changed `` styling to display as inline instead of inline-block in https://github.com/hydephp/develop/pull/1525 ### Deprecated -- for soon-to-be removed features. +- Deprecated the `BuildService::transferMediaAssets()` method in https://github.com/hydephp/develop/pull/1533, as it will be moved into a build task in v2.0. ### Removed - for now removed features.