Releases: hmcts/one-per-page
Releases · hmcts/one-per-page
v6.0.1
v6.0.0
v5.4.0
What's Changed
- Add continuous ping to prevent connection going idle by @timja in #222
- Switch to GitHub actions by @timja in #211
- Update dependencies to latest in semver range by @timja in #215
- Update deps by @timja in #219
- Deprecate one per page by @timja in #220
- Fix compose file for newer versions by @timja in #221
- Remove package-lock by @timja in #223
Full Changelog: 5.3.0...v5.4.0
Restore Special Characters After Sanitisation
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
Update npm dependencies
Date validations updated
5.2.2 date validation updated
ability to bind custom routes to app
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
Remove emoji's from all post body requests
Add ability to watch session properties and remove data
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
5.0.1 String conversion