diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bac92b..33f4b1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,15 @@ All notable changes to this project will be documented in this file, per [the Ke ## [Unreleased] - TBD -## [2.6.0] - TBD +## [2.6.1] - 2023-11-08 +### Changed +- Bump WordPress "tested up to" version 6.4 (props [@jeffpaul](https://github.com/jeffpaul), [@qasumitbagthariya](https://github.com/qasumitbagthariya), [@faisal-alvi](https://github.com/faisal-alvi) via [#177](https://github.com/10up/simple-page-ordering/pull/177)). +- Remove the .git directory from the `10up-lib` directory (props [@Sidsector9](https://github.com/Sidsector9), [@dkotter](https://github.com/dkotter) via [#175](https://github.com/10up/simple-page-ordering/pull/175)). + +### Security +- Bumps `@babel/traverse` from `7.20.12` to `7.23.2` (props [@peterwilsoncc](https://github.com/peterwilsoncc) via [#170](https://github.com/10up/simple-page-ordering/pull/170)). + +## [2.6.0] - 2023-10-25 ### Added - A check for minimum required PHP version before loading the plugin (props [@vikrampm1](https://github.com/vikrampm1), [@kmgalanakis](https://github.com/kmgalanakis), [@Sidsector9](https://github.com/Sidsector9) via [#153](https://github.com/10up/simple-page-ordering/pull/153)). - Mochawesome reporter added for Cypress test report (props [@iamdharmesh](https://github.com/iamdharmesh), [@jayedul](https://github.com/jayedul), [@faisal-alvi](https://github.com/faisal-alvi) via [#146](https://github.com/10up/simple-page-ordering/pull/146)). @@ -278,6 +286,7 @@ All notable changes to this project will be documented in this file, per [the Ke - Updated version requirements. [Unreleased]: https://github.com/10up/simple-page-ordering/compare/trunk...develop +[2.6.1]: https://github.com/10up/simple-page-ordering/compare/2.6.0...2.6.1 [2.6.0]: https://github.com/10up/simple-page-ordering/compare/2.5.1...2.6.0 [2.5.1]: https://github.com/10up/simple-page-ordering/compare/2.5.0...2.5.1 [2.5.0]: https://github.com/10up/simple-page-ordering/compare/2.4.4...2.5.0 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2657903..acfb18a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -64,7 +64,7 @@ Head to the Pages list table and drag and drop pages to change the order. Refres ### Release instructions 1. Branch: Starting from `develop`, cut a release branch named `release/X.Y.Z` for your changes. -2. Version bump: Bump the version number in `package.json`, `package-lock.json`, `readme.txt`, and `simple-page-ordering.php` if it does not already reflect the version being released. In `simple-page-ordering.php` update both the plugin "Version:" property and the plugin `SIMPLE_PAGE_ORDERING_VERSION` constant. +2. Version bump: Bump the version number in `class-simple-page-ordering.php`, `package.json`, `package-lock.json`, `readme.txt`, and `simple-page-ordering.php` if it does not already reflect the version being released. In `simple-page-ordering.php` update both the plugin "Version:" property and the plugin `SIMPLE_PAGE_ORDERING_VERSION` constant. 3. Changelog: Add/update the changelog in `readme.txt` and `CHANGELOG.md`. 4. Props: update `CREDITS.md` file with any new contributors, confirm maintainers are accurate. 5. New files: Check to be sure any new files/paths that are unnecessary in the production version are included in `.distignore`. diff --git a/class-simple-page-ordering.php b/class-simple-page-ordering.php index 9bc2491..42ba021 100644 --- a/class-simple-page-ordering.php +++ b/class-simple-page-ordering.php @@ -8,7 +8,7 @@ use WP_Query; // Useful global constants. -define( 'SIMPLE_PAGE_ORDERING_VERSION', '2.5.1' ); +define( 'SIMPLE_PAGE_ORDERING_VERSION', '2.6.1' ); if ( ! class_exists( 'Simple_Page_Ordering' ) ) : diff --git a/composer.lock b/composer.lock index 959d045..bcca02e 100644 --- a/composer.lock +++ b/composer.lock @@ -12,7 +12,7 @@ "source": { "type": "git", "url": "https://github.com/10up/wp-compat-validation-tool.git", - "reference": "4ce23b31bb65a0ce23190139d0099118203948cb" + "reference": "bb0d2a3f0e6c9e3df5f95c366abcaeaf2e1a05d3" }, "require": { "composer/installers": "^2.2" @@ -39,7 +39,7 @@ ], "description": "Perform PHP and WP version compatibility checks in your plugin.", "homepage": "https://github.com/10up/wp-compat-validation-tool", - "time": "2023-10-09T06:28:24+00:00" + "time": "2023-10-25T13:12:17+00:00" }, { "name": "composer/installers", @@ -711,5 +711,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "2.1.0" + "plugin-api-version": "2.6.0" } diff --git a/package-lock.json b/package-lock.json index a32e461..4ef635f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,13 +1,13 @@ { "name": "simple-page-ordering", - "version": "2.6.0", + "version": "2.6.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "simple-page-ordering", - "version": "2.6.0", - "license": "GPLv2 ( or later )", + "version": "2.6.1", + "license": "GPL-2.0-or-later", "devDependencies": { "@10up/babel-preset-default": "^2.0.4", "@10up/cypress-wp-utils": "^0.2.0", diff --git a/package.json b/package.json index d61292d..9de506f 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "simple-page-ordering", "description": "Order your pages and other hierarchical post types with simple drag and drop right from the standard page list.", - "version": "2.6.0", - "author": "10up ", - "license": "GPLv2 ( or later )", + "version": "2.6.1", + "author": "10up (https://10up.com)", + "license": "GPL-2.0-or-later", "devDependencies": { "@10up/babel-preset-default": "^2.0.4", "@10up/cypress-wp-utils": "^0.2.0", diff --git a/readme.txt b/readme.txt index 0438905..82d5518 100644 --- a/readme.txt +++ b/readme.txt @@ -4,8 +4,8 @@ Donate link: http://10up.com/plugins/simple-page-ordering-wordpress/ Tags: order, re-order, ordering, pages, page, manage, menu_order, hierarchical, ajax, drag-and-drop, admin Requires at least: 5.7 Requires PHP: 7.4 -Tested up to: 6.3 -Stable tag: 2.6.0 +Tested up to: 6.4 +Stable tag: 2.6.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -110,7 +110,12 @@ Yes. The plugin registers the REST endpoint `simple-page-ordering/v1/page_orderi == Changelog == -= 2.6.0 - TBD = += 2.6.1 - 2023-11-08 = +* **Changed:** Bump WordPress "tested up to" version 6.4 (props [@jeffpaul](https://github.com/jeffpaul), [@qasumitbagthariya](https://github.com/qasumitbagthariya), [@faisal-alvi](https://github.com/faisal-alvi) via [#177](https://github.com/10up/simple-page-ordering/pull/177)). +* **Changed:** Remove the .git directory from the `10up-lib` directory (props [@Sidsector9](https://github.com/Sidsector9), [@dkotter](https://github.com/dkotter) via [#175](https://github.com/10up/simple-page-ordering/pull/175)). +* **Security:** Bumps `@babel/traverse` from `7.20.12` to `7.23.2` (props [@peterwilsoncc](https://github.com/peterwilsoncc) via [#170](https://github.com/10up/simple-page-ordering/pull/170)). + += 2.6.0 - 2023-10-25 = * **Added:** A check for minimum required PHP version before loading the plugin (props [@vikrampm1](https://github.com/vikrampm1), [@kmgalanakis](https://github.com/kmgalanakis), [@Sidsector9](https://github.com/Sidsector9) via [#153](https://github.com/10up/simple-page-ordering/pull/153)). * **Added:** Mochawesome reporter added for Cypress test report (props [@iamdharmesh](https://github.com/iamdharmesh), [@jayedul](https://github.com/jayedul), [@faisal-alvi](https://github.com/faisal-alvi) via [#146](https://github.com/10up/simple-page-ordering/pull/146)). * **Added:** Repo Automator GitHub Action (props [@iamdharmesh](https://github.com/iamdharmesh), [@jeffpaul](https://github.com/jeffpaul) via [#158](https://github.com/10up/simple-page-ordering/pull/158)). diff --git a/simple-page-ordering.php b/simple-page-ordering.php index eb48fd7..30ade66 100644 --- a/simple-page-ordering.php +++ b/simple-page-ordering.php @@ -3,7 +3,7 @@ * Plugin Name: Simple Page Ordering * Plugin URI: http://10up.com/plugins/simple-page-ordering-wordpress/ * Description: Order your pages and hierarchical post types using drag and drop on the built in page list. For further instructions, open the "Help" tab on the Pages screen. - * Version: 2.6.0 + * Version: 2.6.1 * Requires at least: 5.7 * Requires PHP: 7.4 * Author: 10up diff --git a/tests/cypress/integration/admin.test.js b/tests/cypress/integration/admin.test.js index 8b139d3..43af1a5 100644 --- a/tests/cypress/integration/admin.test.js +++ b/tests/cypress/integration/admin.test.js @@ -27,14 +27,14 @@ describe('Admin can login and make sure plugin is activated', () => { cy.login(); cy.visit( '/wp-admin/edit.php?post_type=page' ); cy.get( '#show-settings-link' ).click(); - cy.get( '#edit_page_per_page' ).clear().type( '2' ); + cy.get( '#edit_page_per_page' ).type( '{selectAll}{del}2' ); cy.get( '#screen-options-apply' ).click(); cy.get( '.byorder' ).click(); cy.get( '.pagination-links' ).should( 'be.visible' ); // Restore default pagination. cy.get( '#show-settings-link' ).click(); - cy.get( '#edit_page_per_page' ).clear().type( '10' ); + cy.get( '#edit_page_per_page' ).type( '{selectAll}{del}10' ); cy.get( '#screen-options-apply' ).click(); }); });