Skip to content

Releases: hmcts/one-per-page

v6.0.1

17 Sep 12:40
aa6be22
Compare
Choose a tag to compare

What's Changed

Full Changelog: 6.0.0...6.0.1

v6.0.0

17 Sep 11:42
637041f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.4.0...6.0.0

v5.4.0

05 Jan 15:45
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.3.0...v5.4.0

Restore Special Characters After Sanitisation

20 Sep 09:25
Compare
Choose a tag to compare

This release adds a new unescapeHtmlEntities call to the santize flow, so that special characters such as & or < and >, will be returned as is instead of encoded in HTML format.

Update npm dependencies

10 Jul 10:45
Compare
Choose a tag to compare

Update npm dependencies

Date validations updated

24 Apr 20:38
Compare
Choose a tag to compare
5.2.2

date validation updated

ability to bind custom routes to app

09 Apr 12:16
Compare
Choose a tag to compare

ability to bind custom routes to app by adding following to config:

const customRoute = {
  bind: theApp => {
    theApp.use('/my-custom-route', (req, res) => {
      // do some stuff
      res.send();
    });
  }
};

journey(app, {
  routes: [customRoute],
  ....

Remove emoji

04 Apr 14:33
Compare
Choose a tag to compare

Remove emoji's from all post body requests

Add ability to watch session properties and remove data

04 Mar 16:48
Compare
Choose a tag to compare

Add ability to watch session properties and remove data. For example:

    const SimpleQuestion = class extends Question {
      get form() {
        return form({ name: text });
      }
      get template() {
        return 'question_views/simpleQuestion';
      }

      next() {
        return goTo({ path: '/next-step' });
      }
    };

    const SimpleQuestion2 = class extends Question {
      get watches() {
        return {
          'SimpleQuestion.name': (previousValue, currentValue, remove) => {
            remove('SimpleQuestion2.name');
          }
        };
      }

      get form() {
        return form({ name: text });
      }

      get template() {
        return 'question_views/simpleQuestion';
      }

      next() {
        return goTo({ path: '/next-step' });
      }
    };

Added parseBool util

23 Jan 16:48
Compare
Choose a tag to compare
5.0.1

String conversion