From bdabca52e9a41bfa7e4ab624a29a491c4094c3f9 Mon Sep 17 00:00:00 2001 From: Josh Crawford Date: Sat, 7 May 2022 11:05:09 +1000 Subject: [PATCH] version 4.0.0 --- CHANGELOG.md | 36 ++++++++++-------------------------- composer.json | 6 +++--- 2 files changed, 13 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d14d513..451369b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,25 +1,6 @@ # Changelog -## 4.0.0-beta.4 - 2022-05-03 - -### Added -- Add `project-config/rebuild` support. -- Add `archiveTableIfExists()` to install migration. - -### Changed -- Rename service classes. -- Rename base plugin methods. - -### Fixed -- Fix menu items to expand if two similarly-named pages exist and one is active. -- Fix an error where some new navigation items weren’t created if they had similar handles to other items. - -## 4.0.0-beta.3 - 2022-04-13 - -### Fixed -- Remove leftover debug badges. - -## 4.0.0-beta.2 - 2022-04-12 +## 4.0.0 - 2022-05-05 ### Added - Added the ability to create and manage subnav items. @@ -28,8 +9,12 @@ - Added plugin setting to control default subnav behaviour for all navigations. - Minor UI polish inline with Craft 4 (spinners, colours, shadows, etc). - Added better support for Craft font-icons, which now parses their icon font files for available glyphs. +- Added `project-config/rebuild` support. +- Added `archiveTableIfExists()` to install migration. ### Changed +- Now requires PHP `8.0.2+`. +- Now requires Craft `4.0.0+`. - Improved performance when rendering navigation items. - Revamped UI for navigations to allow for nested items. - Plugin and Craft subpages can now be managed in the navigation builder. @@ -39,6 +24,8 @@ - Navigation items without a URL now render as a heading. - Navigation items with "New window" enabled now add `rel="noopener"` to the anchor tag. - Now requires CP Nav `3.0.17` in order to update from Craft 3. +- Renamed service classes. +- Renamed base plugin methods. ### Fixed - Fixed an issue where in some cases, menu items were still being shown in the user didn't have permission to access it. @@ -46,16 +33,13 @@ - Fixed issues comparing the normal Craft-generated navigation with your custom one. - Fixed an issue where project config wouldn't be kept up to date correctly for navigation items. - Fixed default layout not always being created on-install. +- Fixed menu items to expand if two similarly-named pages exist and one is active. +- Fixed an error where some new navigation items weren’t created if they had similar handles to other items. +- Removed leftover debug badges. ### Removed - Removed `cpnav_pending_navigations` database table. -## 4.0.0-beta.1 - 2022-03-10 - -### Changed -- Now requires PHP `^8.0.2`. -- Now requires Craft `^4.0.0-beta.1`. - ## 3.0.17 - 2021-06-30 ### Fixed diff --git a/composer.json b/composer.json index e229b14..c40cf1c 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "verbb/cp-nav", "description": "Control Panel Nav helps you managing your Control Panel navigation.", "type": "craft-plugin", - "version": "4.0.0-beta.4", + "version": "4.0.0", "keywords": [ "craft", "cms", @@ -28,8 +28,8 @@ ], "require": { "php": "^8.0.2", - "craftcms/cms": "^4.0.0-beta.1", - "verbb/base": "^2.0.0-beta" + "craftcms/cms": "^4.0.0", + "verbb/base": "^2.0.0" }, "autoload": { "psr-4": {