New ProcessWire 3.x master version

ProcessWire 3.0.61

This week we've merged the dev branch to the master branch for ProcessWire version 3.0.61 master. This replaces the existing master version 3.0.42. What's the difference between 3.0.42 and 3.0.61? Quite a lot! In fact, we might usually call this a major version and just name it ProcessWire 3.1, but we're saving that version number for when we get at least the new Regular site profile included (and perhaps the new admin theme), after Uikit 3.0 is out of beta. In this post, we'll cover some of what's new with ProcessWire 3.0.61 relative to the previous master version…

API methods

Selectors

  • Add support for negative "limit" and "start" values in selectors, where negative values reference the end of the set rather than the beginning.
  • Add support for "eq=n" (or alias "index=n") selectors (both WireArray and PageFinder) for pulling a specific n'th item, can also specify "first" or "last" for "n".
  • Improved "custom (field=value)" selector support added to InputfieldSelector module.
  • Major code refactoring and optimization in the Selectors class.

Admin and UI

  • Add support for Pages > Tree navigation: drill down through the page tree within the top navigation dropdowns. This works in AdminThemeDefault and AdminThemeUikit but not in AdminThemeReno (which just shows the first level, per its nav setup).
  • Update CKEditor version to 4.6.2 – this is a relatively major upgrade that changes the default look/feel of the CKEditor theme.
  • Add the Vex library for nicer looking Javascript alert and confirm boxes, which we use to confirm "clone" and "delete all" operations in repeaters, and will use elsewhere.
  • Add a “Publish and Add Another” option to the Submit button options in the “page add” process. Applies when selected page template contains only a title.
  • Added drag/drop protection so that if you accidentally drag/drop a file outside of the specified drop zone, it gets ignored, rather than loading the file in the browser.
  • Updated admin themes to use current logo (via Pete).
  • Upgrades to the "details" and "input" configuration screens of Page fields.
  • Improvements to the usability of our dropdown submit buttons (like in the page editor).
  • Add new Admin Theme Framework support, which is currently being developed independently via the AdminThemeUikit module.
  • Improvements to touch device support.

Repeaters

  • Add support for repeater depth.
  • Add new repeater item “clone” feature.
  • Add support for maximum items.
  • Add support for minimum items.
  • Add double-click trash icon to “delete all” feature.
  • Add support for “accordion mode” where only one repeater item is open at a time.
  • Add open all/close all function. It's kind of hidden–to use it, double click the "on/off" toggle icon that appears next to the trash icon.
  • All of the above also apply to ProFields Repeater Matrix.

Optimizations

  • Make each page's parent page lazy loading for Page objects, so that it doesn't load the parent Page until a $page->parent() call is requested.
  • Upgrades and optimizations to the FileCompiler class.
  • Optimization to reduce overhead during Page saving operations.
  • Numerous optimizations to our hooks system.

Other

  • Add support for markup regions, a simple new template file output strategy that bridges the gap between direct and delayed output. This is perhaps one of the biggest additions to this new master version, and we've got a documentation page in the works, coming next week!
  • Updates to support multiple template selections for Page fields.
  • Add option to exclude files from FileCompiler directly via include() and require() function calls. See 3.0.43 blog post for details.
  • Numerous core modules updated to support customization by AdminTheme modules.
  • Improved support for language locale settings on front-end.
  • Add support for load-time filtering of Page fields (FieldtypePage).
  • Add detection and warning for problematic locale settings (appears on superuser login).
  • Updated HTML Purifier to latest version 4.9.2.
  • Updated Font Awesome icons to latest version 4.7.
  • Numerous code documentation improvements.
  • Hundreds of bug fixes and other minor adjustments.
  • Pull requests from @LostKobrakai, @adrianbj, @gmclelland, @rolandtoth, @owzim, @notanotherdotcom, @derixithy, @jofalk, and others. Thanks for your contributions!

As you can see there is quite a lot in ProcessWire 3.0.61! We hope that you enjoy using this new version and please let us know how it works for you. Thanks for reading, hope you have a great weekend, and hope to see you at the next issue of ProcessWire Weekly soon.

Comments

  • Joe Regan

    Joe Regan

    • 3 years ago
    • 20
    Very excited for a number of these features!

    Page import/export will be huge. $pages->findMany() will be very nice.

    Repeater changes are huge! if you only want x number to show, you can keep a client within those limits.

    (One thing that hurt me on using repeaters more is the field / template export and import feature didnt play well with repeaters. Has this been fixed so I don't have to reconnect if I import from another website?)

  • Bernhard

    Bernhard

    • 2 years ago
    • 00
    I wrote a little tutorial in the forum on how to use VEX dialogs: https://processwire.com/talk/topic/19199-how-to-use-beautiful-alertconfirmprompt-dialog-boxes-in-the-backend/
 

Twitter updates

  • New ProcessWire query expansion search operators can now add automatic word inflections and lemmatisation, enabling you to build even smarter search engines with ProcessWire. More
    3 July 2020
  • ProcessWire 3.0.161 adds support for selector operator stacking, enabling you automatically broaden searches in a single pages.find() call— More
    26 June 2020
  • ProcessWire 3.0.160 adds powerful new text-searching operators, bringing a new level of power to page-finding API calls, especially when it comes to search engine type queries. Post also includes a demo search engine where you can test it all out live— More
    19 June 2020

Latest news

  • ProcessWire Weekly #321
    In the 321st issue of ProcessWire Weekly we're going to check out the latest core updates, introduce two new third party modules, and check out a brand new site of the week. Read on!
    Weekly.pw / 4 July 2020
  • Powerful new text-searching abilities in 3.0.160
    In ProcessWire 3.0.160 we’ve got some major upgrades and additions to our text-search abilities. This brings a whole new level of power to $pages->find() and similar API calls, especially when it comes to search engine type queries.
    Blog / 19 June 2020
  • Subscribe to weekly ProcessWire news

“Indeed, if ProcessWire can be considered as a CMS in its own right, it also offers all the advantages of a CMF (Content Management Framework). Unlike other solutions, the programmer is not forced to follow the proposed model and can integrate his/her ways of doing things.” —Guy Verville, Spiria Digital Inc.