From 16beb8c4cf34d997976e1f12bafedb1c1b524196 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 21:36:25 +1300 Subject: [PATCH 1/3] Bump cross-spawn from 7.0.3 to 7.0.6 (#796) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 2b20646b..295a45e2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2258,9 +2258,9 @@ cosmiconfig@^9.0.0: parse-json "^5.2.0" cross-spawn@^7.0.2, cross-spawn@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + version "7.0.6" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" + integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== dependencies: path-key "^3.1.0" shebang-command "^2.0.0" From dbd9d7921fd51459ecebae912a06d5c56339d2ed Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:30:30 +1300 Subject: [PATCH 2/3] API Deprecate API that's changing in CMS 6 (#799) --- src/Model/Blog.php | 5 ++++- src/Model/BlogPost.php | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Model/Blog.php b/src/Model/Blog.php index 27f16099..3df9906d 100644 --- a/src/Model/Blog.php +++ b/src/Model/Blog.php @@ -131,12 +131,15 @@ class Blog extends Page implements PermissionProvider /** * @var string - * @deprecated 5.4.0 use class_description instead. + * @deprecated 4.4.0 use class_description instead. */ private static $description = 'Adds a blog to your website.'; private static $class_description = 'Adds a blog to your website.'; + /** + * @deprecated 4.4.0 Will be renamed to cms_icon_class + */ private static $icon_class = 'font-icon-p-posts'; /** diff --git a/src/Model/BlogPost.php b/src/Model/BlogPost.php index a14824b0..14b0d5e6 100644 --- a/src/Model/BlogPost.php +++ b/src/Model/BlogPost.php @@ -58,6 +58,7 @@ class BlogPost extends Page /** * @var string + * @deprecated 4.4.0 Will be renamed to cms_icon_class */ private static $icon_class = 'font-icon-p-post'; From 439cb19b203607969f22e9fa3476a90728381088 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:29:21 +1300 Subject: [PATCH 3/3] API Update API to reflect changes in silverstripe/cms (#798) --- src/Model/Blog.php | 5 +---- src/Model/BlogPost.php | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/Model/Blog.php b/src/Model/Blog.php index bd76e4a2..fb04ae9a 100644 --- a/src/Model/Blog.php +++ b/src/Model/Blog.php @@ -142,10 +142,7 @@ class Blog extends Page implements PermissionProvider private static $class_description = 'Adds a blog to your website.'; - /** - * @deprecated 4.4.0 Will be renamed to cms_icon_class - */ - private static $icon_class = 'font-icon-p-posts'; + private static $cms_icon_class = 'font-icon-p-posts'; /** * {@inheritdoc} diff --git a/src/Model/BlogPost.php b/src/Model/BlogPost.php index 6f0aaae7..676653be 100644 --- a/src/Model/BlogPost.php +++ b/src/Model/BlogPost.php @@ -51,11 +51,7 @@ class BlogPost extends Page */ private static $table_name = 'BlogPost'; - /** - * @var string - * @deprecated 4.4.0 Will be renamed to cms_icon_class - */ - private static $icon_class = 'font-icon-p-post'; + private static $cms_icon_class = 'font-icon-p-post'; /** * @var array