All notable changes to this project will be documented in this file, per the Keep a Changelog standard, and will adhere to Semantic Versioning.
Unreleased - TBD
2.7.1 - 2024-06-03
- The missing Text Domain (props @alexclassroom, @dkotter via #199).
- The "Testing" section in the
CONTRIBUTING.md
file (props @kmgalanakis, @jeffpaul via #202).
- Bump WordPress "tested up to" version 6.5 (props @jeffpaul, @sudip-md, @dkotter via #201).
- Bump WordPress minimum from 5.7 to 6.3 (props @jeffpaul, @sudip-md, @dkotter via #201).
- Fixed error in call to
get_walked_pages
for custom post types (props @sissibieber, @zachgibb, @peterwilsoncc, @mjot, @jeffpaul via #200).
2.7.0 - 2024-04-03
- Ability to modify the page hierarchy (props @amityweb, @jeffpaul, @peterwilsoncc, @shannonmfisher, @ankitguptaindia, @faisal-alvi via #172).
- Support for the WordPress.org plugin preview (props @dkotter, @jeffpaul via #183).
- Replaced custom HTML entity decoding code in favor of the
@wordpress/html-entities
package (props @helen, @jeffpaul, @psorensen, @peterwilsoncc via #189). - Bump minimum
node
version from16
to20
and clean up NPM dependencies (props @Sidsector9, @dkotter via #188). - Updated CODEOWNERS (props @jeffpaul, @dkotter via #186).
- Upgrade the download-artifact from v3 to v4 (props @iamdharmesh, @jeffpaul via #194).
- Replaced lee-dohm/no-response with actions/stale to help with closing no-response/stale issues (props @jeffpaul, @dkotter via @195).
- Disabled auto sync pull requests with target branch (props @iamdharmesh, @jeffpaul via #196).
- Bump
@babel/traverse
from7.20.12
to7.23.6
(props @dependabot, @ravinderk via #184). - Bump
sharp
from0.30.7
to0.32.1
(props @dependabot, @Sidsector9 via #182). - Bump
10up-toolkit
from4.3.1
to5.2.2
(props @dependabot, @Sidsector9 via #182).
2.6.3 - 2023-11-09
- Deployment issue with version 2.6.2 (props @Sidsector9, @dkotter via #181)
2.6.2 - 2023-11-09
- Update the
wp-compat-validation-tool
composer package to version0.3.1
which properly removes the.git
directory (props @Sidsector9, @dkotter via #180).
2.6.1 - 2023-11-08
- Bump WordPress "tested up to" version 6.4 (props @jeffpaul, @qasumitbagthariya, @faisal-alvi via #177).
- Remove the .git directory from the
10up-lib
directory (props @Sidsector9, @dkotter via #175).
- Bumps
@babel/traverse
from7.20.12
to7.23.2
(props @peterwilsoncc via #170).
2.6.0 - 2023-10-25
- A check for minimum required PHP version before loading the plugin (props @vikrampm1, @kmgalanakis, @Sidsector9 via #153).
- Mochawesome reporter added for Cypress test report (props @iamdharmesh, @jayedul, @faisal-alvi via #146).
- Repo Automator GitHub Action (props @iamdharmesh, @jeffpaul via #158).
- Bump WordPress "tested up to" version 6.3 (props @jeffpaul, @QAharshalkadu via #156).
- Slightly change how some of our text is translated, passing in the post type (props @dkotter, @ravinderk via #149).
- Updates the Dependency Review GitHub Action to check for GPL-compatible licenses (props @jeffpaul, @Sidsector9 via #147).
- Updated 10up Cypress Utilities to 0.2.0 (props @iamdharmesh, @peterwilsoncc via #160).
- The "Are you sure..." popup text to be translatable (props @kebbet, @bmarshall511, @dkotter via #148).
- Remove code that was no longer needed (props @dkotter, @ravinderk via #149).
- Add missing escaping (props @dkotter, @ravinderk via #149).
- Fatal error following the introduction of a namespace (props @peterwilsoncc, @iamdharmesh, @dkotter via #162).
- Hidden pagination in admin screen when Sort by Order is clicked (props @tlovett1, @dkotter, @Sidsector9 via #165).
- Fatal errors on PHP 5.6 (props @peterwilsoncc, @Sidsector9, @iamdharmesh via #166).
- Bump
word-wrap
from 1.2.3 to 1.2.4 (props @dependabot, @peterwilsoncc via #). - Bump
tough-cookie
from 4.1.2 to 4.1.3 (props @faisal-alvi via #152). - Bump
node-sass
from 7.0.3 to 9.0.0 (props @faisal-alvi via #152). - Bump
@cypress/request
from 2.88.11 to 3.0.0 to resolve SSRF issue (props @faisal-alvi, @iamdharmesh, @peterwilsoncc, @dkotter via #152, #160).
2.5.1 - 2023-05-16
- Ensure we check user permissions properly in our REST endpoint (props @mikhail-net, @dkotter, @peterwilsoncc).
2.5.0 - 2023-04-18
Note that this release bumps the minimum required versions of PHP from 5.6 to 7.4 and WordPress from 3.8 to 5.7.
- Feature to reset page order (props @pattonwebz, @ruscoe, @Sidsector9, @dkotter) via #129.
- JS linting GitHub Action (props @Sidsector9, @kmgalanakis, @peterwilsoncc) via #136.
- Bump minimum PHP version to 7.4 (props @vikrampm1, @Sidsector9, @ravinderk, @cadic) via #111.
- Bump minimum required WordPress version from 3.8 to 5.7 (props @vikrampm1, @Sidsector9, @ravinderk, @cadic) via #111.
- Bump WordPress "tested up to" version 6.2 (props @av3nger via #138).
- Run E2E tests on the zip generated by "Build release zip" action (props @iamdharmesh, @jayedul, @dkotter) via #135.
- Removed a typo in a REST response message (props @ruscoe, @Sidsector9) via #133.
- Removed vulnerable NPM dependencies (props @vikrampm1, @Sidsector9, @ravinderk, @cadic) via #111.
- Bump
cypress
from9.5.2
to11.2.0
(props @iamdharmesh, @jayedul, @Sidsector9) via #120. - Bump
http-cache-semantics
from 4.1.0 to 4.1.1 (props @peterwilsoncc via #131). - Bump
webpack
from5.75.0
to5.76.1
(props @Sidsector9) via #134.
2.4.4 - 2023-01-10
- Update Support Level from
Active
toStable
(props @jeffpaul, @dkotter via #123). - Bump WordPress "tested up to" version to 6.1 (props @jayedul, @dkotter via #118).
- Update the "Build release zip" workflow to use 10up's
build-zip
action (props @iamdharmesh, @faisal-alvi, @dkotter via #119).
- Bump
loader-utils
from 2.0.3 to 2.0.4 (props @dependabot via #115). - Bump
simple-git
from 3.12.0 to 3.15.1 (props @dependabot via #121).
2.4.3 - 2022-11-08
- Allow hierarchical post types that don't have
page-attributes
set to be sorted properly (props @dkotter, @peterwilsoncc via #108).
- Bump
got
from 10.7.0 to 11.8.5 (props @dependabot via #106). - Bump
@wordpress/env
from 4.9.0 to 5.3.0 (props @dependabot via #106). - Bump
scss-tokenizer
from 0.3.0 to 0.4.3 (props @dependabot via #107). - Bump
node-sass
from 7.0.1 to 7.0.3 (props @dependabot via #107).
2.4.2 - 2022-09-28
- Replaced our Grunt build process with
10up-toolkit
(props @cadic, @peterwilsoncc, @dinhtungdu via #97).
- Disable reordering for CPTs that don't support
page-attributes
(props @dhanendran, @dinhtungdu, @peterwilsoncc via #103).
2.4.1 - 2022-06-21
- Condition in REST page sorting logic in
rest_page_ordering
method (props @szepeviktor, @iamdharmesh via #94). - PHP Coding standards (props @szepeviktor, @dinhtungdu via #93).
- Bump WordPress "tested up to" version to 6.0 (props @peterwilsoncc, @vikrampm1, @Sidsector9, @jeffpaul via #95, #98).
- Bump
grunt
from 1.5.2 to 1.5.3 (props @dependabot via #99).
2.4.0 - 2022-04-28
- REST API for reordering posts:
/wp-json/simplepageordering/v1/page_ordering/
(props @rmccue, @ciprianimike, @cadic, @lkraav, @dinhtungdu via #74). - REST Endpoint Documentation.
- Documentation to exclude post types (props @dzulfriday @dinhtungdu, @jeffpaul via #60).
- PHP8 compatibility testing GitHub Action (props @Sidsector9, @iamdharmesh via #84).
- Cypress E2E tests (props @dinhtungdu, @iamdharmesh, @faisal-alvi via #82).
- Dependency security scanning GiHhub Action (props @jeffpaul, Sidsector9 via #86).
PLUGIN_VERSION
toSIMPLE_PAGE_ORDERING_VERSION
(props @dinhtungdu, @dkotter via #81).- Bump WordPress "tested up to" version to 5.9 (props @ankitguptaindia, @phpbits, @sudip-10up via #69, #72, #76).
- Bump
rmccue/requests
from 1.7.0 to 1.8.0 (props @dependabot via #70). - Bump
async
from 2.6.3 to 2.6.4 (props @dependabot via #87).
2.3.4 - 2020-04-07
- Acceptance testing using WP Acceptance (props @dinhtungdu via #42).
- Avoid failed reordering introduced in v2.3.3 when handling a large number of non-hierarchical items (props @dinhtungdu via #51).
- Bump WordPress version support to 5.4 (props @tmoorewp via #50).
- Ensure titles of reordered items appear in a human-readable way (props @dinhtungdu via #53).
2.3.3 - 2020-03-04
- Nonce verify for AJAX requests (props @pattonwebz, @dtbaker via #23).
- Disable Post Revisions now using the correct action of
post_updated
(props @jakejackson1 via #26). - Bump WordPress version "tested up to" 5.3 (props @adamsilverstein, @dinhtungdu via #30, #36).
- Documentation updates (props @jeffpaul via #31, #33).
- Mismatched localized data variable name (props @dinhtungdu via #36).
- VIP Go coding standards (props @asharirfan, @dinhtungdu, @pereirinha, @brentvr via #38).
2.3.2 - 2018-05-08
- Allow cancellation of drag operation by pressing escape key.
- Allow form input elements added to a row by plugins to be interacted with.
2.3.1 - 2018-04-13
- Prevent rows with hidden columns from jumping around while dragging.
2.3.0 - 2018-03-05
- Use WordPress core's spinner class.
- Grunt-based build process with Sass.
- Use
WP_Query
instead ofget_posts()
for better performance. - Remove bundled translations in favor of WordPress.org language packs.
- Avoid exceeding PHP's max input variables, which could cause incorrectly assigned page order.
- Malformed URL that would take you to posts instead of pages.
- PHPDoc and coding standards to align with 10up's Engineering Best Practices.
2.2.4 - 2015-02-08
- Redundant URL encoding when sorting in admin page list.
- Ordering in WordPress 4.0 following core changes to
ORDER BY
inWP_Query
.
- German localization (props @glueckpress).
- Column widths no longer change when dragging a row (partial props @thomasgriffin).
- Closed obscure XSS vulnerability related to Sort by Order link (props @SimonWaters).
- Brazilian translation (props to "felds").
- Bring back translations / text domain (yikes!).
- Look and feel to better match WordPress 3.8 admin redesign.
- Improved awareness of and compatibility with Quick Edit (inline editor).
- Prevent collisions with themes and plugins bundling Simple Page Ordering.
- Extreme edge case where post columns did not include the post title now supported.
- Custom post types with page-attributes or hierarchical properties, but not both, breaking ordering.
- Awareness of custom user capabilities for post types, in addition to a filter (
simple_page_ordering_edit_rights
) for overriding reordering rights (previously usededit_others_pages
globally). - Awareness of custom post statuses (so they are not skipped during backend ordering operation).
- UI refinements: Better "spinner" positioning (and HiDPI), translucent row when.moving, improved appearance of "drop" placeholder, wait till row dragged by at least 5px to start sorting.
- Major JavaScript refactoring and simplification (combined with new stylesheet) for better performance.
- Drag pages into any part of the page hierarchy! No longer limited to same branch of tree!
- Big performance improvements under the hood: leaner queries, batched requests, less processing.
- New filters and hooks to extend / override default functionality.
- Scales much more reliably in situations with very high page counts due to batching of requests.
- Order of the first page is now set to "1" instead of "0", so pages added after ordering are added at the top (instead of second).
- Removed "number of pages" drop down, which is repetitive of a field accessible under Screen Options.
- Improved compatibility with newer versions of WordPress.
- Support for ordering non-hierarchical post types that have "page-attributes" support.
- New filter link for "Sort by Order" to restore (hierarchical) or set (non-hierarchical, page attributes support) post list sort to menu order.
- Users are now forced to wait for current sort operation to finish before they can sort another item.
- Smarter about "not sortable" view states.
- Localization ready! Rough Spanish translation included.
- Assorted other performance and code improvements.
- Unexpected page ordering results when pages have not been explictly ordered yet (sorts by menu_order, then title, not just menu_order).
- "Per page" drop down filter selection not saving between page loads (was broken in 3.1).
- Items are always ordered with positive integers (potential negative sort orders had some performance benefits in last version, but sometimes caused issues).
- Broken inline editing (quick edit) fields in Firefox.
- Smarter awareness of "sorted" modes in WordPress 3.1 (can only use when sorted by menu order).
- Smarter awareness of "quick edit" mode (can't drag).
- Generally simplified / better organized code.
- Further directions in the plug-in description (some users were confused about how to use it).
- Basic compatibility with 3.1 RC (prevent clashes with post list sorting).
- "Move" cursor only set if JavaScript enabled.
- Page count display always showing "0" on non-hierarchical post types (Showing 1-X of X).
- Hidden menu order not updating after sort (causing Quick Edit to reset order when used right after sorting).
- Loosened constraints on drag and drop to ease dropping into top and bottom position.
- Improved some terminology (with custom post types in mind).
- Row background staying "white" after dropping into a new position.
- Double border on the bottom of the row while dragging.
- Simplified code - consolidated hooks.
- Updated version requirements.