This upgrade includes CMS and Framework version 4.2.1.

Upgrade to Recipe 2.1.1 is optional, but is recommended for all CWP sites.

This upgrade can be carried out by any development team familiar with SilverStripe CMS, but if you would like SilverStripe's assistance, please let us know.

Upgrading Instructions

In order to update an existing site to use the new basic recipe the following changes to your composer.json can be made:

"require": {
    "cwp/cwp-recipe-core": "2.1.1@stable",
    "cwp/cwp-recipe-cms": "2.1.1@stable",
    "silverstripe/recipe-blog": "1.1.1@stable",
    "silverstripe/recipe-form-building": "1.1.1@stable",
    "silverstripe/recipe-authoring-tools": "1.1.1@stable",
    "silverstripe/recipe-collaboration": "1.1.1@stable",
    "silverstripe/recipe-reporting-tools": "1.1.1@stable",
    "cwp/cwp-recipe-search": "2.1.1@stable",
    "silverstripe/recipe-services": "1.1.1@stable",
    "silverstripe/subsites": "2.1.1@stable",
    "tractorcow/silverstripe-fluent": "4.1.4@stable",
    "cwp/starter-theme": "2.0.2@stable"
"prefer-stable": true

Security fixes

No security issues have been discovered since the previous CWP Recipe Release (2.1.0).

Change Log


  • 2018-08-01 8927721 Ensure alterQuery is compatible with silverstripe/fulltextsearch <3.3 (Robbie Averill)
  • 2018-08-01 140f054 deprecated filter method in SearchVariant (Sander Hagenaars)
  • 2018-07-16 65e1847 linting issues (Damian Mooyman)
  • 2018-07-13 0be2919 up regex logic and unit tests (Damian Mooyman)
  • 2018-07-05 d533744 mobile search form action going to wrong route (Mikaela Young)
  • 2018-06-29 9b95e8b Various fixes to banner blocks (Guy Marriott)
  • 2018-06-15 ed80e1c Prevent form's toolbar from extending into the preview (Raissa North)
  • 2018-05-18 d81d7cd Implement localisable order by clause (Robbie Averill)
  • 2018-04-15 4d333b2 Move directory controller template into correct location (Robbie Averill)

Other changes

  • 2018-07-19 72eae39 Add content field to news and events holder page templates (Mikaela Young)
  • 2018-07-13 605c05b Multi-byte characters in URLs are now supported. (Mojmir Fendek)
  • 2018-07-05 ede0b7f Hide page showcase background if no features/quicklinks exist (Mikaela Young)
  • 2018-07-05 592e021 Change event dates to NZ format (Mikaela Young)
  • 2018-06-01 d65ae5c Add tests for composite sorting on array of strings and subqueries (Robbie Averill)
  • 2018-06-01 b6ef038 Add more sorting tests (Robbie Averill)
  • 2018-05-31 3a34d8b Refactor tests for writing to current locale to be more indicative of the behaviour they actually test (Robbie Averill)
  • 2018-05-18 be16f72 Add tests for localised sorting support (Robbie Averill)
  • 2018-04-18 560e98f [SS-2018-11] Fix search term escaping to prevent possible SQL injection attack (Robbie Averill)
  • 2018-04-06 1e40d07 Set "title field" at a meaningful point in TagField instantiation (Jackson)

Was this article helpful?