All notable changes to this project will be documented in this file.
11.0.10 (2023-04-24)
- include logo in repo (5dc9751)
- deps: bump coverallsapp/github-action from 2.0.0 to 2.1.2 (#1293) (03610cc)
- deps: bump peter-evans/create-pull-request from 4 to 5 (#1292) (6e402b1)
- license: add somerset nhsft (cbb93a3)
- rename repo to reflect organisation change (#1289) (9f62487)
- replace ydh nhsft branding and links with somerset nhsft (#1288) (8978551)
- scripts/license-checker: resolve eslint jsdoc warning (a7e4c69)
- update ydh email domain (4c7776b)
- deps-dev: bump @commitlint/cli from 17.5.1 to 17.6.1 (#1298) (848b3e8)
- deps-dev: bump @commitlint/config-conventional (#1299) (9178075)
- deps-dev: bump esbuild from 0.17.15 to 0.17.18 (e62f6b3)
- deps-dev: bump eslint from 8.37.0 to 8.39.0 (#1294) (884b135)
- deps-dev: bump eslint-plugin-jsdoc from 40.1.1 to 43.0.7 (#1296) (a01bc6b)
- deps-dev: bump glob from 9.3.4 to 10.2.2 (#1297) (1072c60)
- deps-dev: bump playwright from 1.32.2 to 1.32.3 (#1303) (3646d4b)
- deps-dev: bump prettier from 2.8.7 to 2.8.8 (#1295) (61aa64b)
- deps: bump @fastify/static from 6.10.0 to 6.10.1 (#1302) (0e301b7)
- deps: bump fastify-disablecache from 3.1.1 to 3.1.2 (#1300) (f139421)
- deps: bump fastify-floc-off from 2.1.1 to 2.1.2 (#1304) (f4a14d4)
- deps: bump fastify-json-to-xml from 1.1.1 to 1.1.2 (#1301) (4e7c48c)
- deps: bump transistive dependencies (98e18bc)
11.0.9 (2023-04-04)
- dependabot: change commit message prefix for gh actions to
ci
(#1254) (83ef8e1) - dependabot: correct property type (#1261) (2f1d34d)
- dependabot: ignore esm major versions (#1253) (3739885)
- config: ensure
_ARRAY
env variables match array patterns (#1278) (bea10be) - remove redundant multi line regex flags (#1266) (f0722d5)
- routes/admin/access: check req object is not falsey (#1263) (fc017e7)
- contributing: add link to conventional config (#1255) (6ce8279)
- contributing: note
build
script (53b7c33)
- deps-dev: bump @commitlint/cli from 17.4.4 to 17.5.0 (#1258) (b864e8b)
- deps-dev: bump @commitlint/cli from 17.5.0 to 17.5.1 (#1271) (cad155d)
- deps-dev: bump esbuild from 0.17.10 to 0.17.15 (#1283) (e669c80)
- deps-dev: bump eslint from 8.36.0 to 8.37.0 (#1268) (5361717)
- deps-dev: bump eslint-plugin-jsdoc from 40.1.0 to 40.1.1 (#1270) (bb9831c)
- deps-dev: bump glob from 9.3.1 to 9.3.2 (#1257) (3060e51)
- deps-dev: bump glob from 9.3.2 to 9.3.4 (#1281) (7ce98a6)
- deps-dev: bump nodemon from 2.0.21 to 2.0.22 (#1256) (cbee4c7)
- deps-dev: bump playwright from 1.31.2 to 1.32.0 (#1259) (b432357)
- deps-dev: bump playwright from 1.32.0 to 1.32.1 (#1273) (b56062b)
- deps-dev: bump playwright from 1.32.1 to 1.32.2 (#1279) (95ca223)
- deps-dev: bump prettier from 2.8.6 to 2.8.7 (#1267) (516f8cc)
- deps: bump @fastify/compress from 6.2.0 to 6.2.1 (#1272) (3955852)
- deps: bump @fastify/static from 6.9.0 to 6.10.0 (#1280) (1e4de9e)
- deps: bump fastify-disablecache from 3.1.0 to 3.1.1 (#1282) (b71c5f1)
- deps: bump fastify-floc-off from 2.1.0 to 2.1.1 (#1274) (1221c46)
- deps: bump fastify-json-to-xml from 1.1.0 to 1.1.1 (#1269) (e639d81)
- deps: bump transistive dependencies (#1284) (01668d0)
11.0.8 (2023-03-21)
- server: premature closes crashing server (daa9c29)
- migrate: use
path.joinSafe()
overpath.join()
(afe0fd4) - remove optional chaining for first level properties (#1244) (7ea5704)
- server: convert sync async notfoundhandler to sync only (#1242) (50a3778)
- routes: update schema inline comment re injection attacks (#1245) (4e95dbe)
- scripts: move esbuild to script dir (#1241) (a5678b2)
- scripts: remove redundant export (9ae884a)
- scripts: use js script to check licenses (#1238) (c050e92)
- server: inline comment re internal server error handling (ce80e53)
- deps-dev: bump eslint-config-prettier from 8.7.0 to 8.8.0 (#1251) (557f110)
- deps-dev: bump eslint-plugin-jsdoc from 40.0.2 to 40.1.0 (#1250) (c636fd9)
- deps-dev: bump glob from 9.3.0 to 9.3.1 (#1252) (782296c)
- deps-dev: bump prettier from 2.8.4 to 2.8.6 (#1249) (dccd51f)
- deps: bump @fastify/cors from 8.2.0 to 8.2.1 (#1247) (7328a7e)
- deps: bump coverallsapp/github-action from 1.2.4 to 2.0.0 (#1246) (ef6174e)
- deps: bump fastify from 4.14.1 to 4.15.0 (#1248) (b0db424)
- deps: bump webpack from 5.75.0 to 5.76.1 (#1239) (d69ec04)
11.0.7 (2023-03-14)
- readme: replace nhs digital mention with nhs england (3f148ca)
- ignore bun lockfile (#1220) (c703218)
- package: add funding url (1ab6cbc)
- plugins/clean-object: ignore false eslint obj injection warnings (#1223) (7a2d6ca)
- remove redundant sql distinct keywords (#1222) (d2920fc)
- routes/admin/access/bearer-token: use array map over push (9edbcd5)
- routes/documents/register: do not recreate array (eb2501c)
- routes/preferences/user: use filter over foreach (c39ce8d)
- routes: create new arrays over single pushes (dd0bf73)
- routes: use optional chaining (#1225) (3a6a020)
- deps-dev: bump eslint from 8.35.0 to 8.36.0 (#1237) (39f5e94)
- deps-dev: bump eslint-config-prettier from 8.6.0 to 8.7.0 (#1227) (4cafc51)
- deps-dev: bump eslint-plugin-jsdoc from 40.0.0 to 40.0.2 (#1236) (7f5e9ba)
- deps-dev: bump glob from 9.1.0 to 9.3.0 (#1228) (87f6ddb)
- deps-dev: bump jest from 29.4.3 to 29.5.0 (#1234) (03163f1)
- deps-dev: bump nodemon from 2.0.20 to 2.0.21 (#1230) (409af78)
- deps-dev: bump pino-pretty from 9.4.0 to 10.0.0 (#1229) (ac39d35)
- deps-dev: bump playwright from 1.31.1 to 1.31.2 (#1232) (e2a313a)
- deps: bump @fastify/rate-limit from 7.6.0 to 8.0.0 (#1231) (991b654)
- deps: bump coverallsapp/github-action from 1.2.3 to 1.2.4 (#1219) (9e4b71a)
- deps: bump fastify from 4.13.0 to 4.14.1 (#1235) (02707f2)
- deps: bump pg from 8.9.0 to 8.10.0 (#1233) (8a25998)
11.0.6 (2023-03-01)
- deps-dev: bump esbuild from 0.17.5 to 0.17.10 (#1217) (b3e1687)
- deps-dev: bump eslint from 8.34.0 to 8.35.0 (#1212) (6118d9f)
- deps-dev: bump glob from 8.1.0 to 9.1.0 (8d1ba77)
- deps-dev: bump pino-pretty from 9.3.0 to 9.4.0 (#1216) (aae54fa)
- deps-dev: bump playwright from 1.31.0 to 1.31.1 (#1214) (a0529f9)
- deps: bump coverallsapp/github-action from 1.1.3 to 1.2.3 (#1211) (b576c59)
- deps: bump pino from 8.10.0 to 8.11.0 (#1213) (9358336)
- deps: bump transistive dependencies (#1218) (c59f950)
11.0.5 (2023-02-22)
- images: update api documentation screenshot (0afea86)
- config: correct jsdoc param types (71c16e7)
- plugins/hashed-bearer-auth: add message to logged client name (#1197) (f540905)
- prefix unused params with underscores (07cb706)
- config: misleading thrown error message (427463a)
- deps-dev: bump @commitlint/cli from 17.4.3 to 17.4.4 (#1201) (ca5a7b0)
- deps-dev: bump @commitlint/config-conventional (#1202) (26ae640)
- deps-dev: bump jest from 29.4.2 to 29.4.3 (#1200) (aca8c8c)
- deps-dev: bump pino-pretty from 9.2.0 to 9.3.0 (#1203) (a2095d0)
- deps-dev: bump playwright from 1.30.0 to 1.31.0 (#1206) (1a95a7f)
- deps: bump fastify-disablecache from 3.0.6 to 3.1.0 (#1205) (a9005d9)
- deps: bump fastify-floc-off from 2.0.6 to 2.1.0 (#1199) (8542b9b)
- deps: bump fastify-json-to-xml from 1.0.2 to 1.1.0 (#1204) (28e2f49)
11.0.4 (2023-02-15)
- readme: use more inclusive language (15e71d3)
- config: convert cors params to lowercase (230e7a7)
- openapi title and doc page description (e53d71d)
- routes/admin/access/bearer-token: search schema response key (#1174) (76515f7)
- routes: only add 401 response to schema when auth enabled (#1175) (d484646)
- cd: use sentence case for changelog headings (85e9941)
- config: add comment re openapi
components
object (#1176) (db85610) - config: correct inline comment (dab9474)
- config: use consistent style across api repos (5a813bc)
- rename master branch to main (#1178) (fbb2644)
- use sentence case over ap style for titles and headings (a342f24)
- deps-dev: bump @commitlint/cli from 17.4.2 to 17.4.3 (#1190) (ac5c2d3)
- deps-dev: bump @commitlint/config-conventional (#1184) (edb85f6)
- deps-dev: bump eslint from 8.33.0 to 8.34.0 (#1187) (21e8a99)
- deps-dev: bump eslint-plugin-jsdoc from 39.7.5 to 40.0.0 (#1183) (952723e)
- deps-dev: bump eslint-plugin-security from 1.7.0 to 1.7.1 (#1182) (df23795)
- deps-dev: bump jest from 29.4.1 to 29.4.2 (#1186) (c89eaef)
- deps-dev: bump pino-pretty from 9.1.1 to 9.2.0 (#1185) (c389da3)
- deps-dev: bump prettier from 2.8.3 to 2.8.4 (#1194) (cdd145c)
- deps: bump @fastify/static from 6.8.0 to 6.9.0 (#1181) (5230aeb)
- deps: bump @fastify/swagger from 8.3.0 to 8.3.1 (#1189) (60b355e)
- deps: bump fastify from 4.12.0 to 4.13.0 (#1180) (d48b4e3)
- deps: bump fastify-disablecache from 3.0.5 to 3.0.6 (#1191) (15fa715)
- deps: bump fastify-floc-off from 2.0.5 to 2.0.6 (#1192) (c3a6079)
- deps: bump fastify-json-to-xml from 1.0.0 to 1.0.2 (#1195) (e2ca666)
- deps: bump fluent-json-schema from 4.0.0 to 4.1.0 (#1193) (7adbacc)
- deps: bump pino from 8.8.0 to 8.10.0 (#1188) (2de0ddc)
11.0.3 (2023-02-01)
- pagination skipping concurrently created records (#1144) (8c851a4)
- routes: missing 400 response in openapi schema (#1145) (76c1799)
- server: response headers for static and 404 routes (#1146) (e8306f1)
- routes/docs/openapi: reduce cache max-age from 60 to 30 minutes (7cc11bc)
- routes/docs: increase cache max-age from 3 to 5 minutes (9f7373b)
- deps-dev: bump @commitlint/cli from 17.4.0 to 17.4.1 (#1140) (9642d84)
- deps-dev: bump @commitlint/cli from 17.4.1 to 17.4.2 (#1158) (b6163c6)
- deps-dev: bump @commitlint/config-conventional (#1156) (5ea66fc)
- deps-dev: bump esbuild from 0.16.16 to 0.17.5 (76f8c5c)
- deps-dev: bump eslint from 8.31.0 to 8.33.0 (#1153) (8cceb3a)
- deps-dev: bump eslint-plugin-import from 2.26.0 to 2.27.5 (#1165) (d643adf)
- deps-dev: bump eslint-plugin-jest from 27.2.0 to 27.2.1 (#1142) (fb64a96)
- deps-dev: bump eslint-plugin-jsdoc from 39.6.4 to 39.7.5 (#1166) (c5dab9f)
- deps-dev: bump eslint-plugin-security from 1.5.0 to 1.7.0 (#1164) (0bd3c5b)
- deps-dev: bump glob from 8.0.3 to 8.1.0 (#1160) (201789f)
- deps-dev: bump jest from 29.3.1 to 29.4.1 (#1155) (2e2cf6e)
- deps-dev: bump playwright from 1.29.1 to 1.29.2 (#1141) (a4ad532)
- deps-dev: bump playwright from 1.29.2 to 1.30.0 (#1152) (b58c8e2)
- deps-dev: bump prettier from 2.8.1 to 2.8.2 (#1143) (a6e9955)
- deps-dev: bump prettier from 2.8.2 to 2.8.3 (#1151) (d95638e)
- deps: bump @fastify/autoload from 5.7.0 to 5.7.1 (#1161) (2fdb090)
- deps: bump @fastify/static from 6.6.0 to 6.8.0 (#1167) (5b59257)
- deps: bump @fastify/swagger from 8.2.1 to 8.3.0 (#1162) (eb6e46e)
- deps: bump fastify from 4.11.0 to 4.12.0 (#1150) (2b873b2)
- deps: bump fastify-disablecache from 3.0.4 to 3.0.5 (#1163) (33e2d78)
- deps: bump fastify-floc-off from 2.0.4 to 2.0.5 (#1154) (b6d5bf3)
- deps: bump hadolint/hadolint-action from 3.0.0 to 3.1.0 (#1149) (bd901a6)
- deps: bump mssql from 9.0.1 to 9.1.1 (#1168) (b8676ac)
- deps: bump pg from 8.8.0 to 8.9.0 (#1157) (fe2582a)
- deps: bump secure-json-parse from 2.6.0 to 2.7.0 (#1138) (53433ac)
- deps: bump transistive dependencies (7912c35)
- use esbuild to compile (#1137) (053ef2b)
- cd: add missing install step (af4b9f7)
11.0.2 (2023-01-05)
- routes/docs: limit files served from redoc module (12ef711)
- routes/docs: do not expand 200 response by default (b14e2cc)
- routes/docs: remove search web worker and blob (7f084a4)
- grammar and clarity fixes (c3b7af2)
- license: update license year (3342d38)
- plugins: rename plugin to use british english spelling (ed490e0)
- route/docs: remove
x-ua-compatible
meta tag (d33d097) - route/docs: remove redundant html comment (3d4d7b3)
- routes: ignore false eslint regex warnings (b3a49c6)
- update contact details (2a8ab28)
- deps-dev: bump @commitlint/cli from 17.3.0 to 17.4.0 (#1132) (3ad0033)
- deps-dev: bump @commitlint/config-conventional (#1134) (8f0c6e4)
- deps-dev: bump eslint from 8.29.0 to 8.31.0 (#1125) (02012ec)
- deps-dev: bump eslint-config-prettier from 8.5.0 to 8.6.0 (#1135) (7488e47)
- deps-dev: bump eslint-plugin-jest from 27.1.6 to 27.2.0 (#1123) (c337ecf)
- deps-dev: bump husky from 8.0.2 to 8.0.3 (#1130) (f2c4ac9)
- deps-dev: bump playwright from 1.28.1 to 1.29.1 (#1126) (e45ecae)
- deps: bump @fastify/autoload from 5.6.0 to 5.7.0 (#1133) (707b838)
- deps: bump fastify from 4.10.2 to 4.11.0 (#1131) (2328014)
- deps: bump pino from 8.7.0 to 8.8.0 (#1124) (3beaf8a)
- deps: bump transistive dependencies (#1136) (35c0c38)
11.0.1 (2022-12-12)
- dependabot: remove docker auto-updates (#1097) (3803428)
- deps-dev: bump eslint from 8.28.0 to 8.29.0 (#1119) (0ff6460)
- deps-dev: bump eslint-plugin-jest from 27.1.5 to 27.1.6 (#1102) (532372f)
- deps-dev: bump eslint-plugin-jsdoc from 39.6.2 to 39.6.4 (#1099) (f9436f8)
- deps-dev: bump playwright from 1.28.0 to 1.28.1 (#1104) (56ec816)
- deps-dev: bump prettier from 2.8.0 to 2.8.1 (#1114) (4dff5fa)
- deps: bump @fastify/accepts from 4.0.1 to 4.1.0 (#1100) (8dffd9b)
- deps: bump @fastify/autoload from 5.5.0 to 5.6.0 (#1103) (2f0e187)
- deps: bump @fastify/basic-auth from 4.0.0 to 5.0.0 (#1109) (857cd76)
- deps: bump @fastify/bearer-auth from 8.0.1 to 9.0.0 (#1111) (24257c8)
- deps: bump @fastify/compress from 6.1.1 to 6.2.0 (#1105) (7d65fe8)
- deps: bump @fastify/helmet from 10.0.2 to 10.1.0 (#1101) (47743cc)
- deps: bump @fastify/rate-limit from 7.5.0 to 7.6.0 (#1108) (31e5055)
- deps: bump @fastify/sensible from 5.1.1 to 5.2.0 (#1118) (d759b1b)
- deps: bump @fastify/static from 6.5.1 to 6.6.0 (#1121) (f1f1fcf)
- deps: bump @fastify/swagger from 8.1.0 to 8.2.0 (#1110) (2718724)
- deps: bump @fastify/swagger from 8.2.0 to 8.2.1 (#1116) (144a51d)
- deps: bump @fastify/under-pressure from 8.1.0 to 8.2.0 (#1117) (889c2a2)
- deps: bump env-schema from 5.1.1 to 5.2.0 (#1115) (1734b34)
- deps: bump fastify-plugin from 4.3.0 to 4.4.0 (#1113) (7c7ead8)
- deps: bump secure-json-parse from 2.5.0 to 2.6.0 (#1120) (2af1e15)
- deps: bump transistive dependencies (#1122) (b6b6696)
11.0.0 (2022-11-23)
- minimum required version of node increased from 16.0.0 to 18.12.1
- Node 16 becomes EOL in September 2023, which is the same time that Yeovil District Hospital NHS Foundation Trust is due to merge with Somerset NHS Foundation Trust. Development will be focused on the merger at that point in time, so this PR preemptively drops support to reduce work load in the future
- config: use port 3000 if
PORT
env variable unset (#1074) - deps:
LOG_ROTATION_FREQUENCY
env variable accepted values changed from "daily, custom, or test" to "daily, date, [1-12]h, or [1-30]m"
- config: use port 3000 if
PORT
env variable unset (#1074) (0a19fa9) - routes: add
HEAD
to cors allowed methods (#1066) (abe07c6)
- *.ignore: fix test log entry (c7a48ba)
- clean up multi-line comments (96b3d53)
- drop support for node 16 (#1075) (57f950c)
- update inline documentation links (239a17b)
- deps-dev: bump @commitlint/cli from 17.2.0 to 17.3.0 (#1093) (154d904)
- deps-dev: bump @commitlint/config-conventional (#1094) (4f66e58)
- deps-dev: bump eslint from 8.26.0 to 8.27.0 (#1079) (917c8e6)
- deps-dev: bump eslint from 8.27.0 to 8.28.0 (#1092) (0988707)
- deps-dev: bump eslint-plugin-jest from 27.1.3 to 27.1.5 (#1082) (c108ddb)
- deps-dev: bump eslint-plugin-jsdoc from 39.4.0 to 39.6.2 (#1084) (99fe9db)
- deps-dev: bump husky from 8.0.1 to 8.0.2 (#1081) (55f0d7e)
- deps-dev: bump jest from 29.2.2 to 29.3.1 (#1083) (d8bca20)
- deps-dev: bump playwright from 1.27.1 to 1.28.0 (#1078) (aa081f3)
- deps-dev: bump prettier from 2.7.1 to 2.8.0 (#1095) (a56c9e0)
- deps-dev: remove @faker-js/faker (#1068) (d2f2802)
- deps: bump @fastify/autoload from 5.4.1 to 5.5.0 (#1090) (9e3a61e)
- deps: bump @fastify/cors from 8.1.1 to 8.2.0 (#1086) (dec0dab)
- deps: bump @fastify/static from 6.5.0 to 6.5.1 (#1091) (78873f2)
- deps: bump actions/dependency-review-action from 2 to 3 (#1076) (6b9b5a8)
- deps: bump env-schema from 5.1.0 to 5.1.1 (#1085) (4766dbf)
- deps: bump fastify from 4.10.0 to 4.10.2 (#1089) (796f990)
- deps: bump fastify from 4.9.2 to 4.10.0 (#1080) (d3b9480)
- deps: bump file-stream-rotator from 0.6.1 to 1.0.0 (#1072) (e456017)
- deps: bump hadolint/hadolint-action from 2.1.0 to 3.0.0 (#1077) (365f885)
- deps: bump transistive dependencies (#1096) (0fac2a2)
- docker: remove dev values from
package.json
(a663af1) - docker: reorder instructions for build caching (7641f89)
10.1.2 (2022-11-01)
- deps-dev: bump @commitlint/cli from 17.1.2 to 17.2.0 (#1064) (0bbe8a8)
- deps-dev: bump @commitlint/config-conventional (#1063) (75c6a18)
- deps-dev: bump eslint from 8.25.0 to 8.26.0 (#1058) (c5350a3)
- deps-dev: bump eslint-plugin-jest from 27.1.2 to 27.1.3 (#1057) (9d42daf)
- deps-dev: bump eslint-plugin-jsdoc from 39.3.13 to 39.4.0 (#1055) (2024fc5)
- deps-dev: bump eslint-plugin-promise from 6.1.0 to 6.1.1 (#1051) (3b1a501)
- deps-dev: bump jest from 29.2.0 to 29.2.2 (#1059) (512754c)
- deps: bump @fastify/cors from 8.1.0 to 8.1.1 (#1060) (82f1c40)
- deps: bump @fastify/swagger from 8.0.0 to 8.1.0 (#1052) (607851f)
- deps: bump fastify from 4.9.1 to 4.9.2 (#1061) (2ff9b50)
- deps: bump fastify-disablecache from 3.0.3 to 3.0.4 (#1053) (99776c4)
- deps: bump fastify-floc-off from 2.0.3 to 2.0.4 (#1054) (66fda61)
- deps: bump pino from 8.6.1 to 8.7.0 (#1056) (74194dc)
- deps: bump transistive dependencies (#1065) (afc5925)
10.1.1 (2022-10-18)
- server: remove reference to hardcoded dir (767212e)
- deps-dev: bump @faker-js/faker from 7.5.0 to 7.6.0 (#1035) (55dd11d)
- deps-dev: bump eslint from 8.24.0 to 8.25.0 (#1043) (dfe2c90)
- deps-dev: bump eslint-plugin-jest from 27.1.1 to 27.1.2 (#1034) (253bdf1)
- deps-dev: bump eslint-plugin-jsdoc from 39.3.6 to 39.3.13 (#1045) (41d93e9)
- deps-dev: bump eslint-plugin-promise from 6.0.1 to 6.1.0 (#1038) (fd9036f)
- deps-dev: bump jest from 29.1.2 to 29.2.0 (#1040) (835898b)
- deps-dev: bump playwright from 1.26.1 to 1.27.1 (#1041) (02253d2)
- deps: bump @fastify/autoload from 5.4.0 to 5.4.1 (#1042) (ed77423)
- deps: bump @fastify/helmet from 10.0.1 to 10.0.2 (#1037) (af02562)
- deps: bump @fastify/rate-limit from 7.4.0 to 7.5.0 (#1044) (99e398e)
- deps: bump @fastify/swagger from 7.6.1 to 8.0.0 (#1033) (bf70fff)
- deps: bump fastify from 4.7.0 to 4.8.1 (#1030) (abbea63)
- deps: bump fastify from 4.8.1 to 4.9.1 (#1036) (d83d56a)
- deps: bump fastify-plugin from 4.2.1 to 4.3.0 (#1039) (9ac2b5e)
10.1.0 (2022-10-06)
- cd: create release asset (e80a36b)
- .dockerignore: add
SECURITY.md
(1dcaff1) - .dockerignore: fix
CODE_OF_CONDUCT
entry (#1024) (5fdefff) - deps-dev: bump eslint-plugin-jest from 27.0.4 to 27.1.1 (#1026) (393e74a)
- deps-dev: bump pino-pretty from 9.1.0 to 9.1.1 (#1027) (037c79a)
- deps: bump fluent-json-schema from 3.1.0 to 4.0.0 (#1028) (bb2a62a)
10.0.0 (2022-10-03)
- routes/admin/access: bcrypt now used for hashing stored bearer tokens
- config:
SERVICE_HOST
andSERVICE_PORT
env variables renamed toHOST
andPORT
respectively.
- config: use
HOST
andPORT
env variables for cloud services (68c36f6) - plugins/serialize-json-to-xml: rep invalid xml chars with U+FFFD (#1000) (e63bfee)
- link-check: skip checking ydh domain (3bb16fb)
- use shorter urls; fix fastify links (148d875)
- .env.template: remove service section (a0d88c0)
- .vscode: add
redhat.vscode-xml
as default xml formatter (c595b5b) - *.ignore: add clinicjs directory (49cbc9a)
- import destructuring (#999) (f001fa3)
- LICENSE: remove trailing whitespace (ee2f5a5)
- prefer object destructuring (c8607f5)
- sort imports alphabetically (c0e6276)
- plugins/serialize-json-to-xml: minify xml responses (10c453e)
- public/image/icons: compress mask-icon (9f3a98b)
- routes/admin/access: use faster bcrypt over scrypt (47c7086)
- routes/docs: remove redundant html elem attributes (c45f239)
- routes: shallow-copy req.query rather than reference (6ad4c58)
- deps-dev: bump autocannon from 7.9.0 to 7.10.0 (#1009) (96616e6)
- deps-dev: bump eslint from 8.23.0 to 8.24.0 (#1002) (e465744)
- deps-dev: bump eslint-plugin-jest from 27.0.1 to 27.0.4 (#1015) (e07a199)
- deps-dev: bump jest from 29.0.2 to 29.1.2 (#1013) (9a0cc8b)
- deps-dev: bump nodemon from 2.0.19 to 2.0.20 (#1007) (49443e9)
- deps-dev: bump playwright from 1.25.1 to 1.26.1 (#1003) (493990c)
- deps: bump @fastify/autoload from 5.3.1 to 5.4.0 (#1012) (0eba02b)
- deps: bump @fastify/helmet from 10.0.0 to 10.0.1 (#1011) (62c174d)
- deps: bump @fastify/swagger from 7.5.0 to 7.6.1 (#1017) (03a8b5c)
- deps: bump dotenv from 16.0.2 to 16.0.3 (#1004) (4423fa3)
- deps: bump env-schema from 5.0.0 to 5.1.0 (#1005) (53ff27d)
- deps: bump fastify from 4.5.3 to 4.7.0 (#1008) (c2041ac)
- deps: bump fastify-disablecache from 3.0.2 to 3.0.3 (#1019) (d60bfec)
- deps: bump fastify-floc-off from 2.0.2 to 2.0.3 (#1020) (0dc053a)
- deps: bump js2xmlparser from 4.0.2 to 5.0.0 (#1014) (4aa9b1c)
- deps: bump pino from 8.5.0 to 8.6.1 (#1016) (037ed70)
- deps: bump redoc from 2.0.0-rc.76 to 2.0.0 (#1006) (78903ff)
- deps: bump transistive dependencies (#1021) (1ccfc71)
9.0.7 (2022-09-05)
- config:
default
throws exceptions when used inanyOf
schemas (e484456) - plugins/shared-schemas: replace 500 response message const (cddf1da)
- routes/docs/openapi: ensure response is openapi object (42332e0)
- routes: remove additional properties from req queries (1c9d507)
- .husky: shell path and arg updates (#967) (704e5c1)
- .vscode/extensions: remove unmaintained extension (8895114)
- config: remove redundant todo inline comment (13745f2)
- deps-dev: bump @commitlint/cli from 17.0.3 to 17.1.2 (#978) (b305c4a)
- deps-dev: bump @commitlint/config-conventional (#973) (7f391b2)
- deps-dev: bump @faker-js/faker from 7.4.0 to 7.5.0 (#983) (c17aea6)
- deps-dev: bump eslint from 8.22.0 to 8.23.0 (#981) (cef8f42)
- deps-dev: bump eslint-plugin-jest from 26.8.4 to 27.0.1 (#985) (df2ef43)
- deps-dev: bump eslint-plugin-promise from 6.0.0 to 6.0.1 (#976) (0e78056)
- deps-dev: bump jest from 28.1.3 to 29.0.1 (#984) (28e2a23)
- deps-dev: bump jest from 29.0.1 to 29.0.2 (#992) (62370c5)
- deps-dev: bump pino-pretty from 9.0.1 to 9.1.0 (#970) (cf8cf03)
- deps-dev: bump playwright from 1.25.0 to 1.25.1 (#988) (cf2b17f)
- deps: bump @fastify/accepts from 4.0.0 to 4.0.1 (#971) (26ba135)
- deps: bump @fastify/autoload from 5.2.0 to 5.3.0 (#982) (857fccf)
- deps: bump @fastify/autoload from 5.3.0 to 5.3.1 (#990) (137463f)
- deps: bump @fastify/compress from 6.1.0 to 6.1.1 (#986) (7d1ae20)
- deps: bump @fastify/helmet from 9.1.0 to 10.0.0 (#991) (fdab9b9)
- deps: bump @fastify/rate-limit from 7.3.0 to 7.4.0 (#975) (856b599)
- deps: bump @fastify/sensible from 5.1.0 to 5.1.1 (#980) (0963232)
- deps: bump @fastify/swagger from 7.4.1 to 7.5.0 (#979) (9e5c9e6)
- deps: bump @fastify/under-pressure from 8.0.0 to 8.1.0 (#972) (55ca85b)
- deps: bump dotenv from 16.0.1 to 16.0.2 (#987) (6cdb73b)
- deps: bump fastify from 4.5.2 to 4.5.3 (#977) (8284f5b)
- deps: bump fastify-plugin from 4.2.0 to 4.2.1 (#989) (4d22ddf)
- deps: bump pg from 8.7.3 to 8.8.0 (#974) (a148e62)
- deps: bump transistive dependencies (f92c4ec)
9.0.6 (2022-08-20)
- deps-dev: bump eslint-plugin-jest from 26.8.3 to 26.8.4 (#965) (68caf91)
- deps: bump fastify from 4.5.0 to 4.5.2 (#964) (8af1527)
- deps: bump mssql from 9.0.0 to 9.0.1 (#962) (8e7097d)
- deps: bump pino from 8.4.1 to 8.4.2 (#966) (119ef10)
- deps: bump redoc from 2.0.0-rc.75 to 2.0.0-rc.76 (#963) (0ad4f8a)
9.0.5 (2022-08-18)
- check accept header is supported before parsing req body (dbb7ee2)
- convert sync async handlers to sync only (6bdec2d)
- plugins/serialize-json-to-xml: consolidate if statements (17b2d6a)
- remove redundant returns (a3857e1)
- routes/admin/access/bearer-token: remove reassignment of var (046044e)
- deps-dev: bump eslint from 8.21.0 to 8.22.0 (#958) (e116177)
- deps-dev: bump eslint-plugin-jest from 26.8.2 to 26.8.3 (#954) (f5eacc4)
- deps-dev: bump pino-pretty from 8.1.0 to 9.0.1 (#953) (20920b9)
- deps-dev: bump playwright from 1.24.2 to 1.25.0 (#952) (87baeaf)
- deps: bump @fastify/under-pressure from 7.0.0 to 8.0.0 (#957) (6633d5d)
- deps: bump fastify from 4.4.0 to 4.5.0 (#955) (f9c4c6f)
- deps: bump fastify-plugin from 4.1.0 to 4.2.0 (#950) (33c7678)
- deps: bump mssql from 8.1.3 to 9.0.0 (#949) (b18a65d)
- deps: bump pino from 8.4.0 to 8.4.1 (#956) (782cebb)
- deps: bump redoc from 2.0.0-rc.74 to 2.0.0-rc.75 (#951) (610855e)
- deps: bump sub-dependencies (#959) (7a777be)
9.0.4 (2022-08-09)
- deps-dev: bump @faker-js/faker from 7.3.0 to 7.4.0 (#936) (9bb85f5)
- deps-dev: bump eslint-plugin-jest from 26.7.0 to 26.8.2 (#943) (b22fb7c)
- deps-dev: bump eslint-plugin-jsdoc from 39.3.4 to 39.3.6 (#941) (152406b)
- deps: bump @fastify/autoload from 5.1.0 to 5.2.0 (#938) (abac682)
- deps: bump fastify from 4.3.0 to 4.4.0 (#939) (df91e44)
- deps: bump fastify-disablecache from 3.0.1 to 3.0.2 (#935) (46e74cf)
- deps: bump fastify-floc-off from 2.0.1 to 2.0.2 (#944) (576b1d3)
- deps: bump mssql from 8.1.2 to 8.1.3 (#937) (02eadef)
- deps: bump pino from 8.3.1 to 8.4.0 (#942) (e5631a8)
9.0.3 (2022-08-04)
- routes: invalid openapi shared schema definitions (#929) (d4ce95c)
- server: reduce
content-security-policy
for options routes (#931) (4f793ce)
9.0.2 (2022-08-01)
- ci: audit npm package signatures (aa6e88f)
- deps-dev: bump eslint from 8.20.0 to 8.21.0 (#927) (aa470a3)
- deps-dev: bump eslint-plugin-jest from 26.6.0 to 26.7.0 (#922) (2750cd1)
- deps-dev: bump eslint-plugin-jsdoc from 39.3.3 to 39.3.4 (#924) (54bf4ef)
- deps-dev: bump playwright from 1.24.1 to 1.24.2 (#923) (32009bf)
- deps: bump @fastify/static from 6.4.1 to 6.5.0 (#926) (46698b7)
- deps: bump fastify-disablecache from 3.0.0 to 3.0.1 (#919) (95d02f8)
- deps: bump fastify-floc-off from 2.0.0 to 2.0.1 (#917) (1b7be43)
- deps: bump pino from 8.3.0 to 8.3.1 (#918) (b71278e)
- deps: bump redoc from 2.0.0-rc.72 to 2.0.0-rc.74 (#921) (9d0afe3)
- deps: bump secure-json-parse from 2.4.0 to 2.5.0 (#925) (8cb00ca)
- deps: bump sub-dependencies (#928) (81aba30)
9.0.1 (2022-07-14)
- dependabot: increase
open-pull-requests-limit
from 5 to 20 (bb8e006) - deps-dev: bump @commitlint/cli from 17.0.2 to 17.0.3 (#902) (86b6c16)
- deps-dev: bump @commitlint/config-conventional (#900) (106979c)
- deps-dev: bump @faker-js/faker from 7.2.0 to 7.3.0 (#892) (d507ef5)
- deps-dev: bump eslint from 8.18.0 to 8.19.0 (#899) (868ca4d)
- deps-dev: bump jest from 28.1.1 to 28.1.2 (#894) (d0e643b)
- deps-dev: bump jest from 28.1.2 to 28.1.3 (#912) (4619804)
- deps-dev: bump nodemon from 2.0.16 to 2.0.19 (#896) (55dd849)
- deps-dev: bump pino-pretty from 8.0.0 to 8.1.0 (#893) (53e5750)
- deps-dev: bump playwright from 1.22.2 to 1.23.2 (#898) (5cadef8)
- deps-dev: bump playwright from 1.23.2 to 1.23.3 (#911) (5169629)
- deps: bump @fastify/autoload from 4.0.1 to 5.1.0 (#904) (8e08931)
- deps: bump fastify-plugin from 3.0.1 to 4.0.0 (#907) (3d38d67)
- deps: bump moment from 2.29.3 to 2.29.4 (#901) (8ee8d8b)
- deps: bump pino from 8.0.0 to 8.1.0 (#903) (6332c9b)
- deps: bump sub-dependencies (#913) (4761fe8)
9.0.0 (2022-06-20)
- package: drop support for non-lts node 15
- plugins/hashed-bearer-auth: Dropped support for node 14 to be able to use
Promise.any()
- scrypt now used for hashing stored bearer tokens
- plugins/serialize-json-to-xml: ignore swagger and openapi specs (#887) (f836b0f)
- routes: pagination count returning as string for postgres conns (#886) (a4bbaa6)
- plugins/hashed-bearer-auth: replace blocking
for()
loop (e76b8ee) - replace pbkdf2 with scrypt (f565d57)
- routes/preferences/user: remove
await
inPromise.all()
(f8d88f0)
- .github/funding: remove comments (6d3645d)
- .github: add
FUNDING.yml
(dda4d78) - .github: tidy files (ccbddd6)
- .gitignore: use latest github ignore template (d20313d)
- .prettierignore: add new paths from
.gitignore
(445d9bb) - package: drop support for non-lts node 15 (19beb34)
- remove redundant
async
keywords (2d2f001)
- readme: grammar fixes (fec30f2)
- readme: update minimum node version required (b95f547)
- readme: use block quotes for notes to enable github md highlights (3e42ebb)
- deps-dev: add missing caret range for prettier (bc719b9)
- deps-dev: bump @faker-js/faker from 7.1.0 to 7.2.0 (#880) (91bf14b)
- deps-dev: bump eslint from 8.16.0 to 8.17.0 (#871) (fb09c54)
- deps-dev: bump eslint from 8.17.0 to 8.18.0 (#889) (cf65857)
- deps-dev: bump eslint-plugin-jest from 26.4.6 to 26.5.3 (#874) (e3de5a9)
- deps-dev: bump eslint-plugin-jsdoc from 39.3.2 to 39.3.3 (#888) (5f40050)
- deps-dev: bump jest from 28.1.0 to 28.1.1 (#870) (b779f5e)
- deps-dev: bump prettier from 2.6.2 to 2.7.1 (#876) (e382617)
- deps: bump actions/dependency-review-action from 1 to 2 (#867) (bf19626)
- deps: bump pino from 7.11.0 to 8.0.0 (#859) (b84d800)
- deps: bump pino-pretty from 7.6.1 to 8.0.0 (#858) (2b275b3)
- deps: bump redoc from 2.0.0-rc.71 to 2.0.0-rc.72 (#879) (fdabcf1)
- deps: bump sub-dependencies (#890) (d1bdc09)
- deps: bump wagoid/commitlint-github-action from 4 to 5 (#866) (3cf62c0)
- deps: move pino-pretty to dev dependencies (c058cf7)
8.0.4 (2022-06-01)
- plugins/serialize-json-to-xml: 204 resps do not have content types (f1815fe)
- routes: time and timezone suffix are case-sensitive (18e5251)
- routes: timestamptz data type does not support
YYYY
patterns (41a07c6)
- ci: add node 18 to test matrix (#814) (8816b94)
- remove git credentials after checkout (#836) (10f740b)
- deps-dev: bump @commitlint/cli from 17.0.0 to 17.0.2 (#846) (9041474)
- deps-dev: bump @commitlint/config-conventional (#851) (d9137b8)
- deps-dev: bump @faker-js/faker from 6.3.1 to 7.1.0 (#852) (07006df)
- deps-dev: bump eslint from 8.15.0 to 8.16.0 (#855) (5b93b82)
- deps-dev: bump eslint-plugin-jest from 26.2.2 to 26.4.6 (#843) (5dd3f22)
- deps-dev: bump eslint-plugin-jsdoc from 39.2.9 to 39.3.2 (#847) (67c7138)
- deps-dev: bump playwright from 1.22.1 to 1.22.2 (#845) (da88bac)
- deps: bump @fastify/helmet from 8.0.1 to 8.1.0 (#848) (9c7656e)
- deps: bump @fastify/rate-limit from 6.0.0 to 6.0.1 (#849) (d8e2b7f)
- deps: bump env-schema from 4.0.0 to 5.0.0 (#854) (a4a82e8)
- deps: bump mssql from 8.1.1 to 8.1.2 (#850) (2b8173c)
- deps: bump redoc from 2.0.0-rc.70 to 2.0.0-rc.71 (#853) (391d161)
- deps: bump sub-dependencies (f155618)
- plugins/serialize-json-to-xml: correct inline comments (ebd77fe)
- remove redundant eslint comments (#840) (36c8d48)
- server: fix inline comment (025e718)
8.0.3 (2022-05-18)
- routes/admin/access/bearer-token: missing record url path (e0e9b67)
- server: do not transform 503 http err into 500 http err response (0278102)
- update deployment steps to use
npm ci
(2a25e2b)
- .eslintrc: enable
plugin:jest/style
rules (9440d20) - .github/codeql-config: remove quotation marks (196279d)
- bug_report: use node 18 as placeholder for
node-version
(447422d) - server: use optional chaining for error message logging (b8b3b3c)
- automerge: fix context (1c59f9b)
- check
user.login
is dependabot instead ofactor
(ff8c54a) - ci: require
unit-tests
job to pass forsave-pr-number
job to run (de58477) - ci: use
lts/*
for node setup in lint job (55a22eb) - ci: use
node-version
for node matrix key (1b1b004) - codeql: only run on pr changes to
.html
,.js
, and.yml
files (981e1d3) - codeql: resolve missing analyses (85d6eb5)
- codeql: specify which files to scan during analysis (e3f2452)
- deps-dev: bump @commitlint/cli from 16.2.4 to 17.0.0 (#830) (9bd7a6b)
- deps-dev: bump @commitlint/config-conventional (#831) (45a7727)
- deps-dev: bump autocannon from 7.8.1 to 7.9.0 (#819) (c2d1af8)
- deps-dev: bump eslint from 8.14.0 to 8.15.0 (#818) (0b998a2)
- deps-dev: bump eslint-plugin-jest from 26.1.5 to 26.2.2 (#825) (44cebd2)
- deps-dev: bump glob from 8.0.1 to 8.0.3 (#832) (cf09671)
- deps-dev: bump husky from 7.0.4 to 8.0.1 (#833) (46e0dbe)
- deps-dev: bump jest from 28.0.3 to 28.1.0 (#824) (710749f)
- deps-dev: bump playwright from 1.21.1 to 1.22.1 (#829) (1767427)
- deps: bump @fastify/basic-auth from 3.0.1 to 3.0.2 (#820) (64e4e4a)
- deps: bump @fastify/helmet from 8.0.0 to 8.0.1 (#821) (61f5afb)
- deps: bump @fastify/sensible from 4.0.0 to 4.1.0 (#826) (2321c5e)
- deps: bump @fastify/static from 5.0.1 to 5.0.2 (#828) (2f15ccd)
- deps: bump dotenv from 16.0.0 to 16.0.1 (#823) (1244eee)
- deps: bump mssql from 8.1.0 to 8.1.1 (#834) (f5ce96c)
- deps: bump redoc from 2.0.0-rc.67 to 2.0.0-rc.70 (#822) (b7454f7)
- deps: bump sub-dependencies (6384ee0)
- access
fs/promises
api via newer route (69c90c0)
8.0.2 (2022-05-04)
- add dependency-review job (1680253)
- link-check: replace
npx linkinator
call with github action (8842588) - only trigger dependency-review on pr (c62594c)
- use shorter arg aliases for lockfile lint step (0b2b94a)
- validate that resolved url matches the package name (925f84c)
- readme: add mention of insomnia example requests (6bc9499)
- readme: remove
db:migrate
step, now runs on start of api (bce2bf3) - readme: remove snyk badge (bea3ec4)
- deps-dev: bump @commitlint/cli from 16.2.3 to 16.2.4 (#801) (c883f33)
- deps-dev: bump @commitlint/config-conventional (#797) (b0068b6)
- deps-dev: bump @faker-js/faker from 6.1.2 to 6.2.0 (#792) (5679539)
- deps-dev: bump @faker-js/faker from 6.2.0 to 6.3.1 (#804) (c711688)
- deps-dev: bump eslint from 8.13.0 to 8.14.0 (#796) (2cf8fc7)
- deps-dev: bump eslint-plugin-jest from 26.1.4 to 26.1.5 (#798) (ce1974e)
- deps-dev: bump eslint-plugin-jsdoc from 39.1.1 to 39.2.9 (#790) (11f0e69)
- deps-dev: bump eslint-plugin-security from 1.4.0 to 1.5.0 (#800) (83827d9)
- deps-dev: bump jest from 27.5.1 to 28.0.3 (#794) (d586ab7)
- deps-dev: bump nodemon from 2.0.15 to 2.0.16 (#803) (b300561)
- deps-dev: bump playwright from 1.20.2 to 1.21.1 (#799) (d36fb31)
- deps: bump @fastify/autoload from 4.0.0 to 4.0.1 (#808) (164d486)
- deps: bump @fastify/basic-auth from 3.0.0 to 3.0.1 (#805) (59ba9d2)
- deps: bump @fastify/bearer-auth from 7.0.0 to 7.0.1 (#809) (b2c7a99)
- deps: bump @fastify/static from 5.0.0 to 5.0.1 (#806) (0374f2d)
- deps: bump fastify from 3.28.0 to 3.29.0 (#802) (ea40746)
- deps: bump github/codeql-action from 1 to 2 (#789) (b2717f8)
- deps: bump pino from 7.10.0 to 7.11.0 (#791) (119ba82)
- deps: bump redoc from 2.0.0-rc.66 to 2.0.0-rc.67 (#795) (760a08c)
- deps: bump sub-dependencies (6ec9989)
- deps: bump under-pressure from 5.8.0 to 5.8.1 (#807) (d71a627)
- use new
[@fastify](https://github.com/fastify)
org dependencies (#787) (de8f603)
- .github/workflows/link-check: use
skip
input (83af11b) - ci: remove quotation marks from step name (95cf20b)
- server: add missing asterisk to inline comment block (4127583)
- use npm install alias (c2e656d)
8.0.1 (2022-04-12)
- stop npm from swallowing exit signals; run migrations on launch (c152909)
- automerge: squash automerge prs (c76b8e8)
- cd: update org name for release-please-action (afc30e2)
- reduce workflow permissions to minimum (e601476)
- replace workflow-run-cleanup-action with github concurrency (d52b642)
- test migrations (#765) (8fc3392)
- migrate: convert callback to async (0db24e8)
- migrate: replace path with upath (ea7cfbc)
- plugins/db: remove case declaration (d7501b2)
- server: call reply object over raw when overwriting header (#753) (0739fc5)
- deps-dev: bump @faker-js/faker from 6.1.1 to 6.1.2 (#764) (870dd68)
- deps-dev: bump eslint from 8.12.0 to 8.13.0 (#776) (f40fe20)
- deps-dev: bump eslint-plugin-import from 2.25.4 to 2.26.0 (#778) (8928ed9)
- deps-dev: bump eslint-plugin-jest from 26.1.3 to 26.1.4 (#779) (0069c6d)
- deps-dev: bump eslint-plugin-jsdoc from 38.1.4 to 38.1.6 (#761) (7f608d7)
- deps-dev: bump eslint-plugin-jsdoc from 38.1.6 to 39.1.1 (#780) (f55f5c5)
- deps-dev: bump glob from 7.2.0 to 8.0.1 (#772) (934638c)
- deps-dev: bump playwright from 1.20.1 to 1.20.2 (#773) (b3b88bd)
- deps-dev: bump prettier from 2.6.1 to 2.6.2 (#762) (bde1552)
- deps: bump actions/upload-artifact from 2 to 3 (#771) (793d028)
- deps: bump fastify from 3.27.4 to 3.28.0 (#763) (1c3c667)
- deps: bump fastify-floc-off from 1.0.5 to 1.0.6 (811410c)
- deps: bump hadolint/hadolint-action from 2.0.0 to 2.1.0 (#755) (e067f80)
- deps: bump moment from 2.29.1 to 2.29.2 (#768) (ae97d2e)
- deps: bump mssql from 8.0.2 to 8.1.0 (#774) (1ba46cd)
- deps: bump pino from 7.9.2 to 7.10.0 (#777) (2183c2e)
- deps: bump pino-pretty from 7.6.0 to 7.6.1 (#775) (7e00ceb)
- deps: bump redoc from 2.0.0-rc.65 to 2.0.0-rc.66 (dc406f9)
- docker: install production deps only (#769) (b2d4367)
8.0.0 (2022-03-30)
- routes: datetime search params require timezone if time provided
- migrations:
DATETIME2
replaced withDATETIMEOFFSET
in MSSQL.TIMESTAMP
replaced withTIMESTAMPTZ
in Postgres - routes/docs:
docs/json
route renamed todocs/openapi
- migrations: datetime with timezone data types now used (52feaaa)
- routes/docs/json: add cors support (#736) (8795e77)
- routes: datetime search params require timezone if time provided (1d14735)
- server: enable xml serialisation api-wide; fix missing route elem (bb3d839)
- routes/docs: rename
docs/json
todocs/openapi
(#739) (5ffa882) - routes/documents/receipt: add example for
timestamp
param (3f50f54)
- deps-dev: bump @faker-js/faker from 6.0.0 to 6.1.1 (cc68f57)
- deps-dev: bump autocannon from 7.8.0 to 7.8.1 (27a011b)
- deps-dev: bump eslint from 8.11.0 to 8.12.0 (a35fc90)
- deps-dev: bump eslint-plugin-jsdoc from 38.0.6 to 38.1.4 (469e30c)
- deps-dev: bump prettier from 2.6.0 to 2.6.1 (9130c98)
- deps: bump fastify-disablecache from 2.0.6 to 2.0.7 (0e1f975)
- deps: bump hadolint/hadolint-action from 1.7.0 to 2.0.0 (655ffe7)
- deps: bump pino-pretty from 7.5.4 to 7.6.0 (a29b1af)
- deps: replace
jstoxml
withjs2xmlparser
(0db4d85)
- chain response functions (e8b917c)
- plugins/serialize-json-to-xml: target application/json only (#751) (de60eac)
- routes: clean
accept
header conditionals (1c87715) - server: add error handler (38f9f29)
- server: move xml serialisation to plugin (5272c73)
- use
type()
alias function to set content-type (279124a) - use secure-json-parse for json parsing (2940748)
7.1.0 (2022-03-25)
- routes/docs: add ie unsupported script (403b99e)
- routes/docs: resolve cwe-676 (0b5047b)
- server: disable cache for all routes besides documentation (89f4e43)
- server: return instead of break in switch statement (03556cf)
- server: use new hook config option for rate-limit plugin (dab601b)
- .github/workflows/optimise-images: reorder event list (399f9eb)
- scripts: remove redundant gitkraken fix from prepare script (941ac63)
- scripts: use shorter arg aliases; remove debugging args from jest (dbe6c7e)
- add job step names, workflow comments, and whitespace (7148a32)
- codeql-analysis: remove unused autobuild step (ed2152a)
- codeql: grant minimum permissions to run; rename file (#714) (76682c5)
- only save pr number artifact for dependabot (75431a7)
- use docker compose v2 (87d2e18)
- deps-dev: bump @commitlint/cli from 16.2.1 to 16.2.3 (431123e)
- deps-dev: bump autocannon from 7.7.0 to 7.8.0 (3a02930)
- deps-dev: bump eslint from 8.10.0 to 8.11.0 (49dab66)
- deps-dev: bump eslint-plugin-jest from 26.1.1 to 26.1.3 (5169f60)
- deps-dev: bump eslint-plugin-jsdoc from 37.9.7 to 38.0.6 (87cf527)
- deps-dev: bump playwright from 1.19.2 to 1.20.1 (0966f34)
- deps-dev: bump prettier from 2.5.1 to 2.6.0 (812a91b)
- deps-dev: replace
faker
with@faker-js/faker
(#732) (f0e778f) - deps: bump env-schema from 3.5.2 to 4.0.0 (6c36a7d)
- deps: bump fastify-accepts from 2.1.0 to 2.2.0 (485bdd5)
- deps: bump fastify-static from 4.5.0 to 4.6.1 (0d37fee)
- deps: bump hadolint/hadolint-action from 1.6.0 to 1.7.0 (3065cec)
- deps: bump jstoxml from 3.2.0 to 3.2.2 (f717f93)
- deps: bump minimist from 1.2.5 to 1.2.6 (5940bd8)
- deps: bump peter-evans/create-pull-request from 3 to 4 (1a3bc0f)
- deps: bump pino from 7.8.1 to 7.9.2 (53eefaf)
- deps: bump pino-pretty from 7.5.3 to 7.5.4 (144ad21)
- deps: bump redoc from 2.0.0-rc.64 to 2.0.0-rc.65 (0d87c0e)
- deps: bump sub-dependencies (#733) (3667511)
7.0.0 (2022-03-10)
- routes:
admin/access
route moved toadmin/access/bearer-token
- admin/access:
access.scopes
search param no longer case-insensitive - config:
ADMIN_PASSWORD
env variable now has minimum length of 8 characters - routes/admin:
AUTH_BEARER_TOKEN_ARRAY
env variable removed - migrations/mssql: merge
create schema
queries
- routes/admin: add access route (6a4332c)
- admin/access: searching using
access.scopes
(0bfa647) - config: enforce minimum length for
ADMIN_PASSWORD
env variable (bf93742) - plugins/hashed-bearer-auth: log client name (6484723)
- plugins/db: whitespace in switch statement (53c18f4)
- routes/schemas: update
produces
andconsumes
values (39050af)
- deps: bump fastify from 3.27.3 to 3.27.4 (9a14063)
- deps: bump jstoxml from 3.1.0 to 3.2.0 (69bd77d)
- deps: bump pino from 7.8.0 to 7.8.1 (ab24c5f)
- migrate: use db variable in switch statement (6a6cd98)
- migrations/mssql: merge
create schema
queries (e7d939d) - routes/admin/access/b-t: remove unused param (674b6cd)
- routes: move
admin/access
toadmin/access/bearer-token
(072dafb)
6.4.1 (2022-03-08)
- config: redact request auth header from logs (72249fd)
- docker-compose: declare
DB_CLIENT
env variable (e262791) - document/register/schema: expand datetime search pattern (65f8274)
- plugins/shared-schemas: use
examples
notenum
for 404 responses (3e20854)
- public/images/icons: compress apple-touch-icons (#685) (980d619)
- routes/docs: move html and redoc out of root context (8e18bf7)
- routes: add
preValidation
hooks directly into routes (adf3f85) - server: move db and db util functions to root context (6333aa8)
- readme: move api docs access to usage section (ae050a7)
- add image optimisation workflow (#688) (cf99a27)
- only install chromium and firefox with playwright (3a9123f)
- deps-dev: bump eslint-config-prettier from 8.4.0 to 8.5.0 (7db0c86)
- deps-dev: bump eslint-plugin-jsdoc from 37.9.4 to 37.9.5 (27977c9)
- deps-dev: bump eslint-plugin-jsdoc from 37.9.5 to 37.9.7 (f99dad1)
- deps: bump actions/checkout from 2 to 3 (0092287)
- deps: bump fastify from 3.27.2 to 3.27.3 (89a31ec)
- deps: bump fluent-json-schema from 3.0.1 to 3.1.0 (b4d6469)
- deps: bump jstoxml from 2.2.9 to 3.1.0 (7d8faa2)
- deps: bump pino-pretty from 7.5.1 to 7.5.3 (b7d39a4)
6.4.0 (2022-02-28)
- config: renew rate-limit if user attempts req in limit time window (#640) (0d51e3a)
- migrate: catch errors thrown (c00d9cf)
- public/docs: add x-ua-compatible meta tag (8a5effe)
- config: call
Error
as constructor, not function (10a4587) - migrate: allow for function to be exported (e4ccc9a)
- public: remove unused web app manifest and icons (9be9162)
- public: add more apple-touch-icon sizes (d0a4986)
- public: rename mask-icon (092a7d0)
- remove trailing whitespace (e869ba7)
- routes: update cors inline comment (#643) (4806ae5)
- dependabot: major tags no longer need ignore support (f2d5388)
- deps-dev: bump @commitlint/cli from 16.1.0 to 16.2.1 (ee56a03)
- deps-dev: bump @commitlint/config-conventional (1109daa)
- deps-dev: bump autocannon from 7.6.0 to 7.7.0 (8471e9e)
- deps-dev: bump eslint from 8.8.0 to 8.9.0 (b7f1747)
- deps-dev: bump eslint from 8.9.0 to 8.10.0 (3f08f10)
- deps-dev: bump eslint-config-prettier from 8.3.0 to 8.4.0 (14bb6c8)
- deps-dev: bump eslint-plugin-jest from 26.0.0 to 26.1.1 (3074783)
- deps-dev: bump eslint-plugin-jsdoc from 37.7.0 to 37.9.4 (03c6e40)
- deps-dev: bump jest from 27.4.7 to 27.5.1 (40d14e1)
- deps-dev: bump playwright from 1.18.1 to 1.19.1 (ca80625)
- deps-dev: bump playwright from 1.19.1 to 1.19.2 (3fa50e5)
- deps: bump actions/github-script from 5 to 6 (dcb8015)
- deps: bump actions/setup-node from 2 to 3 (4dade2e)
- deps: bump dotenv from 15.0.0 to 16.0.0 (0cab74d)
- deps: bump fastify from 3.27.0 to 3.27.2 (44f257f)
- deps: bump fastify-autoload from 3.10.0 to 3.11.0 (c6f0040)
- deps: bump fastify-bearer-auth from 6.1.0 to 6.2.0 (dcd14a1)
- deps: bump fastify-cors from 6.0.2 to 6.0.3 (79643cf)
- deps: bump fastify-disablecache from 2.0.5 to 2.0.6 (6885228)
- deps: bump fastify-floc-off from 1.0.4 to 1.0.5 (87c3c93)
- deps: bump fastify-rate-limit from 5.7.0 to 5.7.2 (0f9e124)
- deps: bump fastify-swagger from 4.12.0 to 4.15.0 (1d2420e)
- deps: bump follow-redirects from 1.14.7 to 1.14.8 (7791310)
- deps: bump mssql from 8.0.1 to 8.0.2 (385310c)
- deps: bump pg from 8.7.1 to 8.7.3 (728b558)
- deps: bump pino from 7.6.5 to 7.8.0 (610b221)
- deps: bump postgrator from 5.0.0 to 5.0.1 (c82ff40)
- deps: bump prismjs from 1.26.0 to 1.27.0 (143ecf8)
- deps: bump redoc from 2.0.0-rc.63 to 2.0.0-rc.64 (a9f5933)
- deps: bump simple-get from 3.1.0 to 3.1.1 (7b11ead)
- deps: bump sub-dependencies (#681) (ea94d3d)
6.3.12 (2022-02-01)
- migrations: database value for mssql (38398ae)
- migrations: remove mention of database; use one set by deployer (69d15eb)
- plugins/db: log error if connection fails (#629) (875751e)
- routes/docs: resolve
token "definitions" does not exist
error (#604) (cac071e) - routes/preferences/user: add 415 response to schema (fe0858c)
- routes: escape single-quote characters (c3bf8cb)
- routes: ignore additional props in req and res body objects (b411b7f)
- config: update doc page description (#607) (9f9168f)
- migrations: ignore func-names eslint rule (1e84360)
- move test records sql to test_resources folder (4b0d33f)
- plugins/convert-date-param-operator: update param description (ae3925a)
- install playwright (dfd1f3c)
- dependabot: ignore minor and patch commit-lint updates (#611) (241dc19)
- dependabot: use default open-pull-requests-limit value (c3c9146)
- deps-dev: add playwright (5492849)
- deps-dev: bump @commitlint/cli from 16.0.2 to 16.1.0 (63ea052)
- deps-dev: bump autocannon from 7.5.1 to 7.6.0 (82904ef)
- deps-dev: bump eslint from 8.6.0 to 8.7.0 (bd389df)
- deps-dev: bump eslint from 8.7.0 to 8.8.0 (38d77e1)
- deps-dev: bump eslint-plugin-jest from 25.3.4 to 26.0.0 (253a97c)
- deps-dev: bump eslint-plugin-jsdoc from 37.6.1 to 37.7.0 (cbdd1ac)
- deps-dev: bump eslint-plugin-security-node from 1.1.0 to 1.1.1 (0152191)
- deps-dev: pin faker version (b262584)
- deps: bump dotenv from 10.0.0 to 14.3.2 (da8c0d7)
- deps: bump dotenv from 14.3.2 to 15.0.0 (8165123)
- deps: bump env-schema from 3.5.1 to 3.5.2 (81638ae)
- deps: bump fastify from 3.25.3 to 3.27.0 (90cbf5f)
- deps: bump fastify-helmet from 5.3.2 to 7.0.1 (#627) (27929a3)
- deps: bump fastify-plugin from 3.0.0 to 3.0.1 (df57f6c)
- deps: bump file-stream-rotator from 0.5.7 to 0.6.1 (99f9196)
- deps: bump mssql from 7.3.0 to 8.0.1 (7bd7784)
- deps: bump pino from 7.6.2 to 7.6.4 (7395abc)
- deps: bump pino from 7.6.4 to 7.6.5 (13945cc)
- deps: bump pino-pretty from 7.3.0 to 7.5.0 (faec636)
- deps: bump pino-pretty from 7.5.0 to 7.5.1 (5472012)
- deps: bump redoc from 2.0.0-rc.59 to 2.0.0-rc.61 (db4178b)
- deps: bump redoc from 2.0.0-rc.61 to 2.0.0-rc.63 (#634) (504fa56)
- deps: bump sub-dependencies (#639) (89bdb16)
6.3.11 (2022-01-10)
- readme: update intro (ab9c15e)
- add postgrator to deployment process (f5b0766)
- deps-dev: bump @commitlint/cli from 16.0.1 to 16.0.2 (b185a6d)
- deps-dev: bump eslint-plugin-jsdoc from 37.5.1 to 37.6.1 (92cb71e)
- deps: add pg-connection-string (d6bcb7b)
- deps: add postgrator (8e0ed6c)
- deps: bump fastify-autoload from 3.9.0 to 3.10.0 (518a42e)
- deps: bump fastify-disablecache from 2.0.4 to 2.0.5 (66609e7)
- deps: bump fastify-floc-off from 1.0.3 to 1.0.4 (cb339f6)
- deps: bump fastify-swagger from 4.13.0 to 4.13.1 (6f164e2)
- docker-compose: connect to postgresql image (ed9a0b5)
- docker-compose: fix healthcheck test script (8360a6c)
6.3.10 (2022-01-06)
- routes/docs: remove cors support (137744f)
- contributing: add mention of husky pre-commit hook (0175f8b)
- contributing: add step for
lint:licenses
script (a7261be)
- add istanbul inline comments (334eb9d)
- fix
server
jsdoc tag param type (dc4ceb0) - scripts: remove invalid license identifier from
lint:licenses
(2eb73ba) - scripts: remove non-permissive bsd license from accepted list (#587) (c328596)
- scripts: remove unused package from excluded list (571481a)
- server: update inline comment re helmet defaults (8052725)
- deps-dev: bump @commitlint/cli from 15.0.0 to 16.0.1 (e8fe2ac)
- deps-dev: bump @commitlint/config-conventional (ba081df)
- deps-dev: bump autocannon from 7.5.0 to 7.5.1 (bc64379)
- deps-dev: bump eslint from 8.5.0 to 8.6.0 (7418d23)
- deps-dev: bump eslint-plugin-import from 2.25.3 to 2.25.4 (c19f5d5)
- deps-dev: bump eslint-plugin-jest from 25.3.0 to 25.3.3 (d0141d4)
- deps-dev: bump eslint-plugin-jest from 25.3.3 to 25.3.4 (4926ca1)
- deps-dev: bump eslint-plugin-jsdoc from 37.4.0 to 37.5.0 (24c555c)
- deps-dev: bump eslint-plugin-jsdoc from 37.5.0 to 37.5.1 (e1b16eb)
- deps-dev: bump jest from 27.4.5 to 27.4.7 (032e021)
- deps: bump fastify from 3.25.1 to 3.25.3 (1112626)
- deps: bump fastify-bearer-auth from 6.0.0 to 6.1.0 (32e8126)
- deps: bump GoogleCloudPlatform/release-please-action from 2 to 3 (f218248)
- deps: bump pino from 7.6.0 to 7.6.2 (4098ca8)
- deps: bump sub-dependencies (#593) (93ce8f8)
6.3.9 (2021-12-21)
- husky/pre-commit: add
lint:licenses
script (#540) (b2e9da7) - ignore
.yarnclean
andyarn.lock
(#542) (7945ee7)
- coc: reduce verbosity (32bdaae)
- contributing: add mention of husky pre-commit hook (85595ad)
- fix broken docker links (de6011a)
- readme: tidy prerequisite and deployment steps (5c9bc8d)
- dependabot: ignore minor and patch github-actions updates (#536) (92909e9)
- dependabot: ignore minor and patch release-please-action updates (#554) (277106c)
- deps-dev: bump @commitlint/cli from 14.1.0 to 15.0.0 (aa4aa32)
- deps-dev: bump @commitlint/config-conventional (8d68071)
- deps-dev: bump eslint from 8.2.0 to 8.3.0 (b256ffa)
- deps-dev: bump eslint from 8.3.0 to 8.5.0 (b394385)
- deps-dev: bump eslint-plugin-jest from 25.2.4 to 25.3.0 (3397476)
- deps-dev: bump eslint-plugin-jsdoc from 37.0.3 to 37.1.0 (881950b)
- deps-dev: bump eslint-plugin-jsdoc from 37.1.0 to 37.4.0 (af371d3)
- deps-dev: bump eslint-plugin-promise from 5.1.1 to 5.2.0 (24a6aec)
- deps-dev: bump eslint-plugin-promise from 5.2.0 to 6.0.0 (a7e61f0)
- deps-dev: bump eslint-plugin-security-node from 1.0.14 to 1.1.0 (b482495)
- deps-dev: bump jest from 27.3.1 to 27.4.3 (dca3cb6)
- deps-dev: bump jest from 27.4.3 to 27.4.5 (17f5447)
- deps-dev: bump prettier from 2.4.1 to 2.5.0 (77eb1de)
- deps-dev: bump prettier from 2.5.0 to 2.5.1 (35045a4)
- deps: bump env-schema from 3.5.0 to 3.5.1 (fca9a9f)
- deps: bump fastify from 3.24.0 to 3.24.1 (dca61b6)
- deps: bump fastify from 3.24.1 to 3.25.1 (94411e0)
- deps: bump fastify-compress from 3.6.1 to 3.7.0 (03766ca)
- deps: bump fastify-compress from 3.7.0 to 4.0.1 (36fc729)
- deps: bump fastify-rate-limit from 5.6.2 to 5.7.0 (37b6a1f)
- deps: bump fastify-swagger from 4.12.6 to 4.13.0 (81f954a)
- deps: bump GoogleCloudPlatform/release-please-action (595aa1c)
- deps: bump mssql from 7.2.1 to 7.3.0 (ccc030c)
- deps: bump pino from 7.2.0 to 7.5.1 (b3f1092)
- deps: bump pino from 7.5.1 to 7.6.0 (8f6bb7e)
- deps: bump pino-pretty from 7.2.0 to 7.3.0 (309fcb5)
- deps: bump redoc from 2.0.0-rc.57 to 2.0.0-rc.58 (ca6ca39)
- deps: bump redoc from 2.0.0-rc.58 to 2.0.0-rc.59 (7f90513)
6.3.8 (2021-11-16)
- routes: link errors to requests in logs (#531) (6c19071)
- routes: throw errors not return (#528) (457f10d)
- deps-dev: bump eslint-plugin-import from 2.25.2 to 2.25.3 (9a7d007)
- deps-dev: bump nodemon from 2.0.14 to 2.0.15 (ba6a67f)
- deps: bump fastify from 3.23.1 to 3.24.0 (324a312)
- deps: bump pino from 7.1.0 to 7.2.0 (f721296)
6.3.7 (2021-11-09)
- .env.template: add note regarding required logging variables (686979d)
- config: rename
fsp
variable tofs
(478e293)
- deps-dev: bump eslint from 8.1.0 to 8.2.0 (4bb6c5a)
- deps-dev: bump eslint-config-airbnb-base from 14.2.1 to 15.0.0 (b658259)
- deps-dev: bump eslint-plugin-jest from 25.2.2 to 25.2.4 (9c3d337)
- deps: bump env-schema from 3.4.0 to 3.5.0 (1e05469)
- deps: bump fastify from 3.22.1 to 3.23.1 (eb0e67c)
- config: normalize https cert file paths (01bd2ec)
- config: normalize logging filepath (e1637ca)
- plugins/db:
default
clause as last clause (#526) (22f0789) - routes: throw
notAcceptable
errors not return (#520) (edcc1f2) - server: use
path.joinSafe()
overpath.join()
(#519) (a0d9bc5)
- ci: do not run clean-up on draft prs (e3c3821)
- spell-check: do not run on draft prs (e796ae9)
- use actions/setup-node's cache option (#517) (1bb48cc)
6.3.6 (2021-11-04)
- deps-dev: bump @commitlint/cli from 13.2.1 to 14.1.0 (37c845d)
- deps-dev: bump @commitlint/config-conventional (4823ac9)
- deps-dev: bump eslint from 7.32.0 to 8.1.0 (a561f82)
- deps: bump actions/checkout from 2.3.5 to 2.4.0 (6329d55)
- deps: bump fastify-sensible from 3.1.1 to 3.1.2 (98c1ae4)
- deps: bump fastify-static from 4.4.2 to 4.5.0 (4607117)
- deps: bump pino from 7.0.5 to 7.1.0 (dc6635e)
- deps: bump pino-pretty from 7.1.0 to 7.2.0 (13beb8e)
- docker: update postgres image from 13-alpine to 14-alpine (#484) (d68a696)
6.3.5 (2021-10-29)
- config: remove additional env variables (#483) (5961977)
- routes: remove additional properties from req body and query (#482) (3cebeaa)
- use secure-json-parse for json parsing (0f37252)
- .eslintrc: remove redundant
impliedStrict
option (#477) (a81f1c0) - routes/redirect: use raw regex over string for pattern (#481) (0fceac1)
- routes: update inline comment re injection attacks (e6b5848)
- deps-dev: bump autocannon from 7.4.0 to 7.5.0 (665deb5)
- deps-dev: bump eslint-plugin-jest from 25.0.5 to 25.2.2 (9a9f0a8)
- deps-dev: bump eslint-plugin-jsdoc from 36.1.1 to 37.0.3 (d03646e)
- deps-dev: bump eslint-plugin-promise from 5.1.0 to 5.1.1 (0cacd47)
- deps-dev: bump husky from 7.0.2 to 7.0.4 (fede292)
- deps-dev: bump jest from 27.2.5 to 27.3.1 (214ff6e)
- deps-dev: bump nodemon from 2.0.13 to 2.0.14 (57a1e18)
- deps: add secure-json-parse (a3e2c5a)
- deps: bump actions/checkout from 2.3.4 to 2.3.5 (d24c79e)
- deps: bump fastify from 3.22.0 to 3.22.1 (966a329)
- deps: bump fastify-compress from 3.6.0 to 3.6.1 (7f7f182)
- deps: bump fastify-disablecache from 2.0.3 to 2.0.4 (c6ded7f)
- deps: bump fastify-floc-off from 1.0.2 to 1.0.3 (12e02eb)
- deps: bump fastify-swagger from 4.12.4 to 4.12.6 (56b687b)
- deps: bump pino from 6.13.3 to 7.0.5 (95ade14)
- deps: bump pino-pretty from 7.0.1 to 7.1.0 (be246c6)
- update lockfile from v1 to v2; bump sub-dependencies (#500) (8718884)
6.3.4 (2021-10-13)
- routes/docs: remove cors support (45b7352)
- .eslintrc: remove inaccurate sourcetype (#463) (b7765ab)
- .vscode: remove deprecated settings (#465) (4f78b55)
- apply eslint rules per line, not file-wide (bd94d52)
- routes: add missing jsdoc tag for
options.bearertokenauthkeys
(3153173) - server: update inline comment re clickjacking (8dcc748)
- deps-dev: bump @commitlint/cli from 13.2.0 to 13.2.1 (28c12ce)
- deps-dev: bump eslint-plugin-import from 2.24.2 to 2.25.2 (2e124a5)
- deps-dev: bump eslint-plugin-jest from 24.5.2 to 25.0.5 (3551ac5)
- deps-dev: bump eslint-plugin-jsdoc from 36.1.0 to 36.1.1 (38c9bb4)
- deps-dev: bump jest from 27.2.4 to 27.2.5 (f86a5a2)
- deps: bump fastify-static from 4.2.4 to 4.4.1 (9cde05e)
- deps: bump fastify-static from 4.4.1 to 4.4.2 (684f8da)
- deps: bump redoc from 2.0.0-rc.56 to 2.0.0-rc.57 (6d14f72)
- deps: bump wagoid/commitlint-github-action from 4.1.5 to 4.1.9 (a876377)
6.3.3 (2021-10-06)
- routes/docs/json: add missing cache-control header (a05d22b)
- deps-dev: bump eslint-plugin-jest from 24.5.0 to 24.5.2 (7f6b749)
- deps: bump fastify-static from 4.2.3 to 4.2.4 (59d8d70)
- deps: bump fastify-swagger from 4.12.3 to 4.12.4 (8fadab5)
- deps: bump GoogleCloudPlatform/release-please-action (5b3e8e4)
- deps: bump hadolint/hadolint-action from 1.5.0 to 1.6.0 (c3c4458)
- deps: bump under-pressure from 5.7.0 to 5.8.0 (340dbd3)
- deps: bump wagoid/commitlint-github-action from 4.1.4 to 4.1.5 (ccaa392)
- public/docs: move css from inline to own file (#462) (173860a)
- routes/docs: allow for html to be cached for 3 minutes (5c6ddd9)
- server: allow for redoc js to be cached for 1 day (23ffcf2)
- server: use aggressive caching for static files (4200ecc)
6.3.2 (2021-10-01)
- routes: move cors options route config to config file (b878dd7)
- server: exclude all html and xml responses from transform (#440) (c690d7c)
- server: move helmet config to config file (fe8ff21)
- server: reduce globbing use when registering routes (#439) (cad0505)
- server: reduce response header size (66928cc)
- automerge: update location of octokit rest methods (d22545e)
- ignore hadolint rule DL3018 (6347770)
- update hadolint-action namespace (74418c9)
- deps-dev: bump @commitlint/cli from 13.1.0 to 13.2.0 (24fe35c)
- deps-dev: bump @commitlint/config-conventional (1ae4b5c)
- deps-dev: bump eslint-plugin-jest from 24.4.2 to 24.5.0 (08fbf93)
- deps-dev: bump jest from 27.2.1 to 27.2.4 (ee3bd1b)
- deps: bump actions/github-script from 4.1 to 5 (0c3852c)
- deps: bump actions/setup-node from 2.4.0 to 2.4.1 (ee604fb)
- deps: bump fastify from 3.21.6 to 3.22.0 (d967b63)
- deps: bump fastify-swagger from 4.12.0 to 4.12.3 (712eb24)
- docker: remove package versioning (a4c2e01)
- .prettierrc: enable
bracketsameline
option (#450) (5153c8e) - tidy inline comments re plugins (e90727b)
6.3.1 (2021-09-24)
- public/site.webmanifest: set name values (a5495df)
- routes/docs: add missing content-type response header (d415cac)
- deps-dev: add eslint-plugin-security-node (#427) (795561b)
- deps-dev: bump eslint-plugin-jest from 24.4.0 to 24.4.2 (e4bfb96)
- deps-dev: bump glob from 7.1.7 to 7.2.0 (a5fc0e9)
- deps-dev: bump jest from 27.2.0 to 27.2.1 (cfb93c1)
- deps-dev: bump nodemon from 2.0.12 to 2.0.13 (182dd0d)
- deps-dev: bump prettier from 2.4.0 to 2.4.1 (5092647)
- deps: bump fastify from 3.21.1 to 3.21.3 (bb21557)
- deps: bump fastify from 3.21.3 to 3.21.6 (782f4a2)
- deps: bump fastify-accepts from 2.0.1 to 2.1.0 (40b849f)
- deps: bump GoogleCloudPlatform/release-please-action (6bf035e)
- deps: bump pino from 6.13.2 to 6.13.3 (dbda534)
- deps: bump pino-pretty from 7.0.0 to 7.0.1 (72c0681)
- deps: bump prismjs from 1.24.1 to 1.25.0 (e5e58c6)
- docker: bump curl from 7.79.0-r0 to 7.79.1-r0 (#428) (93ddc31)
- .env.template: document
SERVICE_HOST
default (#416) (94f96e8) - config: tidy openapi description (#420) (7520a55)
- plugins/clean-object: remove outdated eslint comment (97e90f0)
- plugins/db: correct jsdoc tag (b094020)
- public/docs: add
-moz-tab-size
css property (2c908fb) - public: move icons from public/ to public/images/icons (2ed8917)
- server: update inline comments re child contexts (8db14db)
- public/docs: defer redoc script loading (d08bf30)
- routes/docs: enable caching of static files (01d4cf6)
- routes/documents/register: remove param reassign (bdfb4d5)
- routes/documents/register: Replace use of of global
isNaN
(907a77e) - routes/prefers/user: use optional chaining (75a20f1)
- server: move loading of static files into public context (8befc51)
6.3.0 (2021-09-15)
- async/await usage (8d85fe6)
- .dockerignore: ignore development documentation (fa7fc2a)
- .husky/.gitignore: remove now redundant file (245bffe)
- package: update benchmark script (65c64a7)
- deps-dev: bump jest from 27.1.1 to 27.2.0 (0fd7ea6)
- deps: bump env-schema from 3.3.0 to 3.4.0 (7ecd88c)
- deps: bump fastify from 3.21.0 to 3.21.1 (1975461)
- deps: bump fastify-autoload from 3.8.1 to 3.9.0 (3962213)
- deps: bump fastify-swagger from 4.11.0 to 4.12.0 (ef41b0e)
- deps: bump GoogleCloudPlatform/release-please-action (78a7d3f)
- deps: bump sub-dependencies (#415) (6d68b87)
- deps: bump wagoid/commitlint-github-action from 4.1.1 to 4.1.4 (e9039f1)
- docker: bump curl from 7.67.0-r5 to 7.79.0-r0 (22a6e89)
6.2.1 (2021-09-09)
- ci: revert to workflow-run-clean-action from github concurrency (e02950f)
- link-check: ignore link to
./sql/
directory (#391) (4e08b3f)
- .prettierrc: override defaults for html, css, and scss files (#392) (0ced595)
- .vscode: add
mhutchie.git-graph
extension (cf549a4)
- deps-dev: bump eslint-plugin-jsdoc from 36.0.8 to 36.1.0 (2daa7b0)
- deps-dev: bump jest from 27.1.0 to 27.1.1 (f5933c6)
- deps-dev: bump prettier from 2.3.2 to 2.4.0 (0308e38)
- deps: bump axios from 0.21.1 to 0.21.4 (d86ab71)
- deps: bump fastify from 3.20.2 to 3.21.0 (c3535bf)
- deps: bump fastify-swagger from 4.9.1 to 4.11.0 (4930d26)
- deps: bump GoogleCloudPlatform/release-please-action (8980729)
- deps: bump pino from 6.13.1 to 6.13.2 (99e7e45)
- deps: bump pino-pretty from 6.0.0 to 7.0.0 (95cc6d7)
- plugins: convert
clean-objects
util to server plugin (0a57d54) - plugins: convert date param util to server plugin (1db0c40)
- routes: use opt chaining over switches (#393) (2e34cda)
6.2.0 (2021-09-06)
- server: rate limit all 4xx and 5xx responses (9e7e99e)
- .env.template: clarify on required variables (debdbb2)
- .env.template: remove api key array value (#381) (e61f962)
- .env.template: remove rate limit value (0b33e58)
- .github: use new YAML configured GitHub issue forms (#384) (60853ba)
- deps: bump fastify-disablecache from 2.0.2 to 2.0.3 (6107ff6)
- deps: bump fastify-floc-off from 1.0.1 to 1.0.2 (f5cb009)
6.1.2 (2021-09-01)
- deps-dev: bump jest from 27.0.6 to 27.1.0 (c07aa62)
- deps: bump fastify-rate-limit from 5.6.1 to 5.6.2 (ab907c0)
- deps: bump fastify-swagger from 4.9.0 to 4.9.1 (ec0c869)
6.1.1 (2021-08-26)
- add 401 shared response schema (90b4a18)
- plugin/shared-schemas: remove enum for 500 error messages (fe402ce)
- server: rate-limiting not affecting 406 responses (3c7e6d6)
- server: standardise 401 response schema (92aa2a9)
6.1.0 (2021-08-25)
- add 503 response schema (67f9a16)
- readme: add note regarding log retention for nhs digital (fe194d0)
- add clearer summaries and descriptions for route schemas (bf908cb)
- add shared 406 and 429 response schemas (dcbe29f)
- move 404 and 500 responses to
shared-schema
plugin (d7b7825)
- config: remove excess word in inline comment (35d7fd7)
- deps-dev: bump eslint-plugin-import from 2.24.0 to 2.24.2 (f19ad66)
- deps-dev: bump eslint-plugin-jsdoc from 36.0.7 to 36.0.8 (b9d312a)
- deps-dev: bump husky from 7.0.1 to 7.0.2 (efb4c0b)
- deps: bump actions/github-script from 4.0.2 to 4.1 (7c357cb)
- deps: bump fastify-autoload from 3.8.0 to 3.8.1 (2f3c5d7)
- deps: bump mssql from 7.2.0 to 7.2.1 (222f423)
- deps: bump pino from 6.13.0 to 6.13.1 (e624a0c)
- deps: bump pino-pretty from 5.1.3 to 6.0.0 (ae6909d)
- deps: bump sub dependencies (1bfe809)
6.0.1 (2021-08-19)
- server: allow bearer token auth to be disabled (8f9c93f)
- add
postgres
andmssql
services; only test on ubuntu (af81bec)
- declare postgres db name (a38d0b7)
- docker-compose: add postgresql image (eb21290)
- env.template: use double quotes (2afc0fb)
- package: add docker test db scripts (1e7c006)
- sql/mssql: add database creation and use statements (e7896bc)
- contributing: add links to mentioned applications (219c3ca)
- contributing: add mention of docker test db scripts (13e0566)
- readme: add mention of docker container images (fbcab9d)
- deps: bump fastify-rate-limit from 5.6.0 to 5.6.1 (3618358)
- deps: bump fastify-swagger from 4.8.4 to 4.9.0 (d40b315)
6.0.0 (2021-08-17)
- routes:
/healthcheck
moved to/admin/healthcheck
- routes/admin/healthcheck: add cors header support (0faffb0)
- config: allow for empty logger env variables (af25ce9)
- config: defaults for undeclared variables (048da35)
- routes/documents/receipt: set 404 response to correct method (59d66b0)
- routes/preferences/user/schema: remove unused 400 response (6c54df9)
- server: ignore admin route in secured context (fc2188f)
- config: consolidate logger pretty print conditional (9e6adc3)
- replace
http-errors
withfastify-sensible
plugin (d939694) - routes/redirect/schema: consolidate
required
keywords (a4e93d4) - routes:
/healthcheck
moved to/admin/healthcheck
(341df76)
- deps-dev: bump eslint-plugin-jsdoc from 36.0.6 to 36.0.7 (27f82e9)
- deps: bump env-schema from 3.2.0 to 3.3.0 (3aa169b)
- deps: bump fastify from 3.20.1 to 3.20.2 (ab1a704)
- deps: bump pino-pretty from 5.1.2 to 5.1.3 (04434d0)
- config: sort process load variables alphabetically ascending (451c41b)
- env: document default logger values (f4c90c8)
- env: standardise, sort, and group env variables (f36b4bb)
- routes/documents/receipt: sort route registers alphabetically (25f9213)
5.0.0 (2021-08-09)
- plugins/db: add support for postgresql client
- sql: camel case column and tables names have been replaced with lower case snake case names, to allow for the API to more easily be used with other databases like PostgreSQL and MySQL. Existing tables and columns will need to be renamed or rebuilt
- env: update example tables (f330aab)
- plugins/db: rename
mssql
plugin to db agnosticdb
(6a98f4d) - plugins/db: update plugin name in metadata (6baac9d)
- plugins/mssql: rename
mssql
decorator to db agnosticdb
(2cf30a8) - routes: add jsdoc tags for query functions (b0e0415)
- sql: add test record insert statement for documents register (513eecc)
- sql: rename query files to reflect t-sql syntax contained (b3535dd)
- sql: use snake case for column and table names (74054f6)
- utils/clean-objects: resolve
Expected no lines between tags
(bf8791e)
- plugins/db: log on opening/closing connections (cb9a796)
- plugins/mssql: decouple from config; increase portability (9a0dc92)
- sql: add index to guid column of register.documents table (#333) (7bc297d)
- deps-dev: bump eslint-plugin-import from 2.23.4 to 2.24.0 (7be7b21)
- deps: bump actions/setup-node from 2.3.0 to 2.3.1 (5658bf0)
- deps: bump actions/setup-node from 2.3.1 to 2.3.2 (d85731c)
- deps: bump actions/setup-node from 2.3.2 to 2.4.0 (b219c69)
- deps: bump env-schema from 3.1.0 to 3.2.0 (a97151f)
- deps: bump fastify from 3.19.2 to 3.20.1 (d2f7835)
- deps: bump fastify-swagger from 4.8.3 to 4.8.4 (5e842a4)
- deps: bump pg from 8.6.0 to 8.7.1 (89e23d7)
4.0.0 (2021-08-02)
- minimum required version of node increased from 12 to 14 to allow for new ECMAScript syntax to be used
- docker-compose: wrap variables in quotes (#304) (418d6ca)
- server: remove test response header (#302) (03a790f)
- deps-dev: bump eslint from 7.31.0 to 7.32.0 (f1be11e)
- deps: bump actions/setup-node from 2.2.0 to 2.3.0 (4b08671)
- deps: bump dependencies (#315) (d65ed82)
- deps: bump GoogleCloudPlatform/release-please-action (416bde9)
- deps: bump mssql from 7.1.3 to 7.2.0 (a65c9e2)
- docker: bump curl from 7.67.0-r4 to 7.67.0-r5 (#314) (a55f174)
- grammar fixes for jsdoc tags (#317) (72bc832)
- increase minimum required version of node from 12 to 14 (#320) (e51c2d3)
3.2.6 (2021-07-19)
- routes/healthcheck: do not treat routes as plugin (b2bdbce)
- routes/healthcheck: move
Accept
header handling back to hook (51d6db9) - server: use full media type for
Accept
header filtering (db66901)
- deps-dev: bump eslint from 7.30.0 to 7.31.0 (a50aab8)
- deps-dev: bump eslint-plugin-jsdoc from 35.4.3 to 35.4.5 (e159355)
- deps: bump fastify from 3.19.0 to 3.19.1 (df2c4a9)
- deps: bump fastify-cors from 6.0.1 to 6.0.2 (1061cab)
- deps: bump wagoid/commitlint-github-action from 3.1.4 to 4.1.1 (1171fb7)
- change mentions of "MIME type" to "media type" (#290) (f114fc8)
- env.template: use double quotes (e00a4c9)
- server: sort plugin registering alphabetically ascending (06a7de5)
- test_resources: fix name of test requests file (e53bcb4)
- test_resources: minor header tweaks (add6319)
- test_resources: update test calls with new headers (3bc9915)
- update jsdoc tag comments (#301) (7aeb792)
- update plugin metadata for server dependency graph (1ff74b6)
3.2.5 (2021-07-12)
- vscode: remove user space config setting (63df0ad)
- deps-dev: bump eslint-plugin-jsdoc from 35.4.2 to 35.4.3 (fecb242)
- deps-dev: bump nodemon from 2.0.10 to 2.0.12 (9a44dd6)
- deps: bump env-schema from 3.0.1 to 3.1.0 (8f99ce3)
- deps: bump fastify-swagger from 4.8.2 to 4.8.3 (c1d7a9c)
- deps: bump fluent-json-schema from 3.0.0 to 3.0.1 (472aa2d)
- deps: bump pino from 6.11.3 to 6.12.0 (2cb11e2)
3.2.4 (2021-07-09)
- routes/healthcheck: add
Accept
request header handling (a9d7a48)
- server: clarify on accept request header handling (3caae5c)
- vscode: disable redhat telemetry (6b52968)
- deps-dev: bump autocannon from 7.3.0 to 7.4.0 (1319036)
- deps-dev: bump eslint from 7.29.0 to 7.30.0 (b532323)
- deps-dev: bump eslint-plugin-jsdoc from 35.4.0 to 35.4.1 (b3a6160)
- deps-dev: bump eslint-plugin-jsdoc from 35.4.1 to 35.4.2 (61e2542)
- deps-dev: bump husky from 6.0.0 to 7.0.0 (3fe468f)
- deps-dev: bump husky from 7.0.0 to 7.0.1 (8d4ee30)
- deps-dev: bump jest from 27.0.5 to 27.0.6 (b24365e)
- deps-dev: bump nodemon from 2.0.7 to 2.0.9 (7c3471d)
- deps-dev: bump nodemon from 2.0.9 to 2.0.10 (b7b589d)
- deps-dev: bump pino-pretty from 5.0.2 to 5.1.0 (b6e26fc)
- deps-dev: bump pino-pretty from 5.1.0 to 5.1.1 (17455d4)
- deps-dev: bump prettier from 2.3.1 to 2.3.2 (b14ce27)
- deps: bump actions/setup-node from 2.1.5 to 2.2.0 (37155d8)
- deps: bump coverallsapp/github-action from 1.1.2 to 1.1.3 (e77554c)
- deps: bump fastify from 3.18.0 to 3.18.1 (074c9dd)
- deps: bump fastify from 3.18.1 to 3.19.0 (247fc5c)
- deps: bump fastify-helmet from 5.3.1 to 5.3.2 (3df5f6c)
- deps: bump fastify-swagger from 4.8.0 to 4.8.2 (add1e99)
3.2.3 (2021-06-22)
- server: increase
Strict-Transport-Security
max age to 365 days (052fb0f) - server: revert
Referrer-Policy
directives to "no-referrer" only (c0e5017) - server: use stricter
Content-Security-Policy
values (888ea32)
- server: clarify on what each registered plugin does (439341a)
- deps-dev: bump eslint from 7.28.0 to 7.29.0 (698d4eb)
- deps-dev: bump eslint-plugin-jsdoc from 35.3.0 to 35.4.0 (6d0b65e)
- deps-dev: bump jest from 27.0.4 to 27.0.5 (4b540f1)
- deps: bump fastify-autoload from 3.7.1 to 3.8.0 (0a18dab)
- deps: bump fastify-bearer-auth from 5.1.0 to 6.0.0 (feda524)
- deps: bump fastify-swagger from 4.7.0 to 4.8.0 (46b3f97)
- deps: bump under-pressure from 5.6.0 to 5.7.0 (651c05c)
3.2.2 (2021-06-17)
- deps: bump actions/upload-artifact from 2.2.3 to 2.2.4 (c8c2225)
- deps: bump fastify from 3.17.0 to 3.18.0 (68d4858)
- deps: bump fastify-disablecache from 2.0.1 to 2.0.2 (12edee1)
3.2.1 (2021-06-16)
- deps-dev: bump eslint-plugin-jsdoc from 35.1.3 to 35.3.0 (e46c14c)
- deps: bump fastify-compress from 3.5.0 to 3.6.0 (cf43d57)
- deps: bump fastify-disablecache from 2.0.0 to 2.0.1 (a3375b6)
3.2.0 (2021-06-11)
- deps: bump mssql from 7.1.0 to 7.1.3 (521b08c)
3.1.3 (2021-06-09)
- server: remove swagger from csp for all routes apart from doc route (dbdbf3b)
- server: set
frame-ancestors
csp to'none'
; addchild-src
csp (debc025)
- deps-dev: bump eslint from 7.27.0 to 7.28.0 (8dad2f3)
- deps-dev: bump eslint-plugin-jsdoc from 35.1.2 to 35.1.3 (c78756c)
- deps-dev: bump jest from 27.0.3 to 27.0.4 (1816d23)
- deps-dev: bump prettier from 2.3.0 to 2.3.1 (4f1a013)
- deps: bump glob-parent from 5.1.1 to 5.1.2 (130e5b8)
- deps: bump normalize-url from 4.5.0 to 4.5.1 (d65535d)
- deps: bump trim-newlines from 3.0.0 to 3.0.1 (b20a9a2)
3.1.2 (2021-06-02)
- remove redundant docker build job (a919aab)
- readme: add note regarding using
docker compose up
(fd09508) - readme: grammar and wordiness fixes (a5b9987)
- readme: update contributing section (7ab1851)
- deps-dev: bump eslint-plugin-import from 2.23.3 to 2.23.4 (72ebee6)
- deps-dev: bump eslint-plugin-jsdoc from 35.0.0 to 35.1.2 (56dd3f8)
- deps-dev: bump jest from 27.0.1 to 27.0.3 (20491c0)
- deps-dev: bump pino-pretty from 5.0.0 to 5.0.1 (3211cf9)
- deps-dev: bump pino-pretty from 5.0.1 to 5.0.2 (06e8fa2)
- deps: bump actions/cache from 2.1.5 to 2.1.6 (fa2f514)
- deps: bump fastify from 3.16.2 to 3.17.0 (11e1d6d)
- docker-compose: use oci labels (e60f447)
- dockerignore: add test and dev files (9cb7808)
- docker: update workdir; install curl (bfa9067)
- docker: use correct curl version (5035e9b)
- docker: use native logging, healthcheck, restart and res handling (68128b2)
3.1.1 (2021-05-27)
- workflows: remove
stale.yml
(ba47733)
- deps-dev: bump jest from 27.0.0 to 27.0.1 (34a9ecc)
- deps-dev: bump pino-pretty from 4.8.0 to 5.0.0 (5d2d881)
- deps: bump fastify from 3.15.1 to 3.16.2 (c12e11f)
- cd: move perf optimizations and refactoring into same section (659c4c0)
3.1.0 (2021-05-25)
- routes/documents/register: support multiple
lastModified
params (0116bf1)
- fix key usage in
action/setup-node
(b47430c)
- ci: replace
node-version
key with shorternode
(#198) (1ea352d) - dockerfile: consolidate consecutive
run
instructions (#200) (d50ada2) - env: remove pre-filled process load env values in template (#203) (8ec0afc)
- routes/documents/register: remove redundant branches (db40ded)
- deps-dev: bump @commitlint/cli from 12.1.1 to 12.1.4 (b37b72e)
- deps-dev: bump @commitlint/config-conventional (3f7c1d6)
- deps-dev: bump eslint from 7.26.0 to 7.27.0 (cc58fbc)
- deps-dev: bump eslint-plugin-import from 2.22.1 to 2.23.3 (caf4b0c)
- deps-dev: bump eslint-plugin-jsdoc from 34.0.1 to 35.0.0 (17e3f8f)
- deps-dev: bump jest from 26.6.3 to 27.0.0 (31d1211)
- deps: bump actions/stale from 3.0.18 to 3.0.19 (4014ec6)
- deps: bump dotenv from 9.0.2 to 10.0.0 (59fed6f)
- deps: bump mssql from 7.0.0 to 7.1.0 (7216d3a)
- deps: bump wagoid/commitlint-github-action from 3.1.3 to 3.1.4 (a9db0c2)
3.0.3 (2021-05-11)
- config:
LOG_LEVEL
env variable validation (d36fd1f)
- link-check: run once a week on monday (cf86213)
- deps-dev: bump autocannon from 7.2.0 to 7.3.0 (77554b3)
- deps-dev: bump eslint from 7.25.0 to 7.26.0 (34efbf4)
- deps-dev: bump eslint-plugin-jsdoc from 33.1.0 to 34.0.1 (3f67485)
- deps-dev: bump pino-pretty from 4.7.1 to 4.8.0 (ae530f9)
- deps-dev: bump prettier from 2.2.1 to 2.3.0 (#194) (647a42b)
- deps: bump brpaz/hadolint-action from 1.4.0 to 1.5.0 (c5541fc)
- deps: bump dotenv from 9.0.0 to 9.0.2 (fadebb9)
- deps: bump fastify-cors from 6.0.0 to 6.0.1 (c137f1e)
- deps: bump fluent-json-schema from 2.0.4 to 3.0.0 (90feb81)
- deps: bump wagoid/commitlint-github-action from 3.1.1 to 3.1.3 (85f04df)
3.0.2 (2021-05-07)
- deps-dev: bump eslint-plugin-jsdoc from 33.0.0 to 33.1.0 (0676da0)
- deps-dev: bump glob from 7.1.6 to 7.1.7 (4debfbc)
- deps: bump dotenv from 8.2.0 to 9.0.0 (84c74f5)
- deps: bump fastify-floc-off from 1.0.0 to 1.0.1 (f76dcb4)
- deps: bump GoogleCloudPlatform/release-please-action (7ff79b4)
- deps: bump lodash from 4.17.20 to 4.17.21 (6f37b8d)
- deps: bump mssql from 6.3.1 to 7.0.0 (6eaca11)
- deps: bump wagoid/commitlint-github-action from v3.1.0 to v3.1.1 (8854095)
3.0.1 (2021-05-04)
- deps: bump fastify from 3.15.0 to 3.15.1 (ad964d6)
- deps: bump GoogleCloudPlatform/release-please-action (eba9923)
3.0.0 (2021-04-30)
- remove support for nodejs v10, as it is EOL as of 2021-04-30
- config: allow for rate and process limits to be user configured (82d1ced)
- server: add process-load/503 handling (78aa4b4)
- server: add rate limiter (8d183cd)
- server: disable google floc support (8dfce45)
- config: plugin defaults (50c8b9c)
- config: re-add removed defaults (13d1ff0)
- routes: hide options routes from swagger docs (08a1ae7)
- config: remove redundant conditionals (4d07d2e)
- env: add whitespace (3a48c7c)
- remove support for nodejs v10 (53a5d81)
- routes: replace snakecase with camelcase (9c9d1d6)
- add nodejs v16 to unit test matrix (11d08c3)
- do not run coveralls steps/jobs on forks (7318ad9)
- link-check: fix skip regex (4089a2c)
- typoci: add "pino" to excluded words (57765fb)
- grammar and readability fixes (e2b56ea)
- deps-dev: bump autocannon from 7.0.5 to 7.2.0 (fdf4315)
- deps-dev: bump eslint from 7.23.0 to 7.25.0 (1899a0a)
- deps-dev: bump eslint-config-prettier from 8.1.0 to 8.3.0 (f431b26)
- deps-dev: bump eslint-plugin-jest from 24.3.4 to 24.3.6 (471f419)
- deps-dev: bump eslint-plugin-jsdoc from 32.3.0 to 33.0.0 (80060da)
- deps-dev: bump eslint-plugin-promise from 4.3.1 to 5.1.0 (044600d)
- deps-dev: bump faker from 5.5.2 to 5.5.3 (d13abb3)
- deps: bump actions/cache from v2.1.4 to v2.1.5 (7c1edee)
- deps: bump actions/github-script from v3.1.1 to v4.0.2 (45dd861)
- deps: bump actions/upload-artifact from v2.2.2 to v2.2.3 (19dc231)
- deps: bump brpaz/hadolint-action from v1.3.1 to v1.4.0 (7b60048)
- deps: bump fastify from 3.14.1 to 3.15.0 (49ef354)
- deps: bump fastify-autoload from 3.6.0 to 3.7.1 (584e0ce)
- deps: bump fastify-cors from 5.2.0 to 6.0.0 (7b59a98)
- deps: bump fastify-disablecache from 1.0.6 to 2.0.0 (416fef3)
- deps: bump fastify-swagger from 4.5.0 to 4.7.0 (864bfb0)
- deps: bump GoogleCloudPlatform/release-please-action (0c84fc9)
- deps: bump pino from 6.11.2 to 6.11.3 (0e761ed)
- deps: bump typoci/spellcheck-action from v0.4.0 to v1.1.0 (514fe6f)
2.0.0 (2021-04-06)
CORS_METHODS
env variable removed
- add support for cors preflight requests (c27d9f5)
- config: support
access-control-allow-credentials
cors header (860ee55)
- config: comma-delimited string support for cors origin value (883fe36)
- config: remove cors_methods from schema validation (28a2f08)
- env.template: add default cors settings (a98703b)
- env.template: add note discouraging reflecting cors origin (155fec3)
- env.template: remove bad example (6bb158a)
- tests: standardise test file names (92cf197)
- add cleanup-run job (d48eb7a)
- deps-dev: bump @commitlint/cli from 12.0.1 to 12.1.1 (e35fa57)
- deps-dev: bump @commitlint/config-conventional (4e6b57e)
- deps-dev: bump eslint-plugin-jest from 24.3.2 to 24.3.4 (1b09191)
- deps-dev: bump faker from 5.5.1 to 5.5.2 (99d3887)
- deps: bump actions/github-script from v3.1.0 to v3.1.1 (14972f0)
- deps: bump fastify-swagger from 4.4.2 to 4.5.0 (1b77758)
- deps: bump wagoid/commitlint-github-action from v3.0.6 to v3.1.0 (cf782ae)
1.4.0 (2021-03-30)
- server: use
strict-origin-when-cross-origin
referrer policy (c99058e)
- config: move
pino-pretty
config out of script (29bbbb7) - prettierignore: add yarn lock file (a743252)
- readme: replace jpg ydh logo with svg (357c52e)
- remove contraction usage in comments (af86ff9)
- server: tidy inline comments (d5cfe1c)
- workflows: rename ci and perf sections (6be7b4a)
- automerge: move automerge job into new workflow (c068ef0)
- ci: ignore dependabot prs for commit message linting (ff9b9ac)
- stale: shorten workflow name (68c393f)
- workflows: run only on push and pulls to master branch (8f9eece)
- deps-dev: bump autocannon from 7.0.4 to 7.0.5 (2678053)
- deps-dev: bump eslint from 7.21.0 to 7.23.0 (5c0a892)
- deps-dev: bump eslint-plugin-jest from 24.1.5 to 24.3.2 (41d59e1)
- deps-dev: bump eslint-plugin-jsdoc from 32.2.0 to 32.3.0 (e13d796)
- deps-dev: bump faker from 5.4.0 to 5.5.1 (cb89b27)
- deps-dev: bump husky from 4.3.8 to 6.0.0 (db042d8)
- deps-dev: bump pino-pretty from 4.5.0 to 4.7.1 (4707c30)
- deps: bump actions/stale from v3.0.17 to v3.0.18 (e36eb74)
- deps: bump env-schema from 2.1.0 to 3.0.1 (4cb508b)
- deps: bump fastify from 3.12.0 to 3.14.1 (b22aeba)
- deps: bump fastify-autoload from 3.5.2 to 3.6.0 (060395b)
- deps: bump fastify-disablecache from 1.0.4 to 1.0.5 (71fd4c8)
- deps: bump fastify-disablecache from 1.0.5 to 1.0.6 (f0b4493)
- deps: bump fastify-helmet from 5.2.0 to 5.3.1 (b85a03a)
- deps: bump fastify-swagger from 4.3.1 to 4.4.2 (0ae302f)
- deps: bump GoogleCloudPlatform/release-please-action (eca8b5e)
- deps: bump pino from 6.11.1 to 6.11.2 (98ec081)
- deps: bump typoci/spellcheck-action from v0.3.0 to v0.4.0 (ec9048b)
- deps: bump wagoid/commitlint-github-action from v3.0.1 to v3.0.6 (0e48dd1)
- deps: bump xmldom from 0.4.0 to 0.5.0 (59bca47)
- docker: remove now optional
version
value (33906d2)
1.3.1 (2021-03-03)
- dependabot: set commit message prefix; lower pull limit (3b43a82)
- deps: specify minor and hotfix versions (a0b17b2)
- add link check workflow (f78af85)
- automate release and changelog generation (6e4f646)
- codeql: remove autobuild action (b6786d3)
- dependabot: ignore husky updates (a9cb7de)
- deps-dev: bump @commitlint/cli from 11.0.0 to 12.0.1 (#88) (0aea501)
- deps-dev: bump @commitlint/config-conventional (12961ad)
- deps-dev: bump autocannon from 7.0.3 to 7.0.4 (#94) (efc7a9d)
- deps-dev: bump eslint from 7.19.0 to 7.20.0 (#81) (193e803)
- deps-dev: bump eslint from 7.20.0 to 7.21.0 (#91) (197e69b)
- deps-dev: bump eslint-config-prettier from 7.2.0 to 8.1.0 (f0b2a2b)
- deps-dev: bump eslint-plugin-jest from 24.1.3 to 24.1.5 (547efe5)
- deps-dev: bump eslint-plugin-jsdoc from 31.6.1 to 32.0.1 (#76) (57ffd33)
- deps-dev: bump eslint-plugin-jsdoc from 32.0.1 to 32.2.0 (#93) (5279ed4)
- deps: bump env-schema from 2.0.1 to 2.1.0 (#78) (d646cf8)
- deps: bump fastify from 3.11.0 to 3.12.0 (#80) (36e29f0)
- deps: bump fastify-autoload from 3.4.2 to 3.5.2 (#90) (73f8e24)
- deps: bump fastify-bearer-auth from 5.0.2 to 5.1.0 (#77) (e916877)
- deps: bump fastify-swagger from 4.3.0 to 4.3.1 (#79) (3869656)
- deps: bump fluent-json-schema from 2.0.3 to 2.0.4 (#86) (3e5ad36)
- deps: bump wagoid/commitlint-github-action from v2.0.3 to v2.2.3 (#75) (b294c7b)
- deps: bump wagoid/commitlint-github-action from v2.2.3 to v3.0.1 (f9c582f)
- linkcheck: add name (5c907e0)
- linkcheck: extend ignored urls (e1fdd42)
- lint-check: compress patterns (46d2d7a)
- prettier: create separate files to allow for CI/CD to use prettier config (#96) (d798a2c)
- remove link check action and replace with npx (537eb46)
- replace stalebot with github action (ef024e6)
- require
commit-lint
job to pass before automerge (d4a943d) - update link check workflow (02627f9)
- vscode: remove conflicting prettier ext setting (b5fb4c4)
- workflows: move release steps into
cd
workflow (03f809f) - workflows: remove redundant comments (9e935b4)
- workflows: rename spellcheck workflow (317f7de)
- workflows: tidy node-version syntax (07ae4c3)
- fix: missing dependencies (ff69f63)
- fix(routes/documents/register): set format to uri for uri values (e530f23)
- feat(routes/documents/register): add new columns (7d3f4c3)
- build(deps-dev): pin husky major version (f25c78e)
- style: shorten husky pre-push script (b999a60)
- style(readme): add linebreaks between badges (361082d)
- style(scripts): rename
jest-coverage
tojest:coverage
(17f920a) - style(tests): use apa header style for describe name params (bd02d99)
- ci: add commit-lint job (67421c4)
- ci: replace typo ci app with action (ec8ea13)
- chore: add bsd to list of allowed licenses (29e5dac)
- chore: add commitlint husky
commit-msg
hook (390f258) - chore: add documentation style link to pr template (1b9a961)
- chore: set allowed list of licenses (6a99abb)
- chore(deps-dev): bump eslint-plugin-jsdoc from 31.6.0 to 31.6.1 (#69) (a89faed), closes #69
- chore(deps-dev): bump eslint-plugin-promise from 4.2.1 to 4.3.1 (#70) (cb40ab1), closes #70
- chore(deps-dev): bump faker from 5.2.0 to 5.4.0 (#66) (222334e), closes #66
- chore(deps-dev): bump husky from 4.3.8 to 5.0.9 (#71) (9428a2a), closes #71
- chore(deps): bump actions/cache from v2 to v2.1.4 (#65) (a702776), closes #65
- chore(deps): bump fastify-swagger from 4.0.1 to 4.3.0 (#68) (bc6e058), closes #68
- chore(deps): bump pino from 6.11.0 to 6.11.1 (#67) (be58180), closes #67
- chore(vscode): add
redhat.vscode-yaml
as recommended extension (e848ce0) - chore(vscode): add
updateImportsOnFileMove
setting (6d6c39c) - chore(vscode): add workspace settings and extensions (b605620)
- docs(changelog): escape star (69eac75)
- docs(contributing): add documentation style (f3135bf)
- docs(readme): add ignore scripts arg (500b1b5)
- test(config): delete test files (2933009)
- test(config): log stream key (38a2f40)
- chore(deps-dev): bump pino-pretty from 4.4.0 to 4.5.0 (#62) (c6a6d22), closes #62
- fix(config): stop rotatinglogstream flooding stdout (8cce824)
- refactor(config): update openapi docs from v2.*.* to v3.*.* (5928e61)
- chore: add insomnia example requests (aeaed49)
- chore: check direct dependency licenses only (9d7c724)
- chore: stop excess coverage files being generated (57efb55)
- chore(deps-dev): bump eslint from 7.18.0 to 7.19.0 (#55) (677f7fd), closes #55
- chore(deps-dev): bump eslint-plugin-jsdoc from 31.4.0 to 31.6.0 (#51) (e719ceb), closes #51
- chore(deps-dev): bump pino-pretty from 4.3.0 to 4.4.0 (#53) (87ccfd0), closes #53
- chore(deps): bump fastify-disablecache from 1.0.3 to 1.0.4 (#57) (a7e7b23), closes #57
- chore(deps): bump fastify-helmet from 5.1.0 to 5.2.0 (#54) (5b4ecf1), closes #54
- chore(deps): bump fastify-swagger from 4.0.0 to 4.0.1 (#52) (3ae4a57), closes #52
- chore(routes): specify further openapi spec values (52978a4)
- chore(sql): update example patient ids (74a882a)
- style: rename
license-checker
tolint:licenses
(95d55c2) - style(readme): capitalise sql server subheading (08670cf)
- refactor(server): use new exposed CSP dir from
fastify-helmet
(15bcb46) - fix(docker): use node command over npm (2ccfd85)
- docs(readme): remove superfluous text in pm2 install instructions (b9f0b4d)
- build(deps-dev): remove coveralls, replaced by github action (2f441ce)
- build(deps-dev): remove lodash (b9f342b)
- chore: add pull request template (774b207)
- chore(deps-dev): bump eslint-plugin-jsdoc from 31.0.8 to 31.4.0 (#44) (2d0fe12), closes #44
- chore(deps-dev): bump faker from 5.1.0 to 5.2.0 (#46) (ea77258), closes #46
- chore(deps): bump fastify from 3.10.1 to 3.11.0 (#47) (573711b), closes #47
- chore(deps): bump fastify-autoload from 3.4.0 to 3.4.2 (#45) (b00264c), closes #45
- chore(deps): bump fastify-cors from 5.1.0 to 5.2.0 (#42) (c91356c), closes #42
- chore(deps): bump fastify-swagger from 3.5.0 to 4.0.0 (#43) (46c9aaa), closes #43
- feat(config): allow configurable cors headers (6bdad58)
- style: capitalise headings correctly (0b1255d)
- style(ci): capitalise jobs and job step names (f017968)
- style(readme): capitalise headings correctly (9ba6ad0)
- style(readme): prettier badge shape (82361a9)
- fix(config): add required properties (6394b40)
- ci: cache on
node-version
as well asos
(59c03de) - ci(github-actions): set
flag-name
for parallel coverage tests (85a21ca) - ci(github-actions): set semver for coverallsapp (c9e9a25)
- build(deps-dev): add husky for git hook handling (81ca50d)
- docs: bump coc from v1.4.0 to v2.0.0 (1c6a345)
- refactor(pm2): use repo name for instances; remove redundant env setting (1255e92)
- refactor(routes/documents): clean regex (b4ac403)
- refactor(server): use default helmet referrer policy (1cd2d24)
- chore(deps-dev): bump autocannon from 7.0.2 to 7.0.3 (#38) (bc416a7), closes #38
- chore(pm2): rename pm2 instances (3a2855b)
- build(docker): speed up install by using
npm ci
overnpm install
(84156d3) - fix(config): add
node_env
to schema (80869bf) - fix(server): reject unsupported content-types in
Accept
req header (1c4e352) - test(routes/healthcheck): correct description (d1771b9)
- test(routes/preferences/user): 415 error res on unsupported content (834024c)
- chore: rename repo to better reflect content (1667997)
- chore(deps-dev): bump autocannon from 7.0.1 to 7.0.2 (#36) (a6238e7), closes #36
- fix(routes): remove heavy-handed required responses (ae89b16)
- docs(readme): update name of app supported (0644883)
- build(docker): add
--ignore-scripts
arg (1b3ecfb) - chore(deps-dev): bump eslint-plugin-jsdoc from 31.0.7 to 31.0.8 (#34) (c76a228), closes #34
- fix(routes): set min and max items for arrays; set unique items (7a0b6d0)
- fix(routes/documents/receipt): schema type from number to string (9d131f1)
- fix(routes/documents/register): set querystring per_page max to 100 (57bb639)
- fix(routes/documents/register): set regex pattern for returned json (03fc722)
- fix(routes/preferences/user): validate body of request (dc7a58f)
- fix(routes/preferences/user): validate returned json (f15fc16)
- chore(deps-dev): bump eslint-config-prettier from 7.1.0 to 7.2.0 (#31) (6235796), closes #31
- chore(deps-dev): bump eslint-plugin-jsdoc from 31.0.6 to 31.0.7 (#29) (a386f5d), closes #29
- chore(deps): bump fastify-disablecache from 1.0.1 to 1.0.3 (#30) (81cea00), closes #30
- chore(deps): bump helmet from 4.3.1 to 4.4.1 (#32) (ca85e6f), closes #32
- chore(package): add homepage and bug urls (5edf454)
- chore(routes/documents): update example guid (a9dac38)
- fix(routes/documents/receipt): limit id param length to max of 36 (dd3f2fc)
- fix(routes/preferences/user): limit id param length to max of 10 (e5c49ad)
- ci: lint lockfile (dc85e75)
- ci(typo-ci): add
ydh
to list of excluded words (2861af2) - test(routes): fix injection usage (86d31bb)
- refactor(routes/healthcheck): remove unused
options
param (5ac0a52) - docs(readme): correct script (8992ccb)
- build: remove
yarn
as package manager, revert tonpm
(7d872d8) - style: rename
querystring
toquery
(60c8c7a)
- chore: convert missed headers to uppercase (5cd7765)
- chore(deps-dev): bump eslint-plugin-jsdoc from 31.0.3 to 31.0.5 (#26) (54b6227), closes #26
- chore(deps): bump fastify from 3.9.2 to 3.10.1 (#25) (bdeea5b), closes #25
- chore(plugins): add missing param descriptions (f68f8e9)
- fix(routes/preferences/user): set accepted pattern for id param (40fe971)
- fix(server): set referrer policy with fallback (83e0e0a)
- style(server): rename plugin variable (a1678dd)
- chore: disable cors in template (3a2b770)
- fix(routes/documents/register): add missing table columns (81ece65)
- docs(readme): clarify on api documentation location (1831643)
- ci: remove redundant javascript dictionary (623ca92)
- chore: add metadata to api schema (b7c635f)
- chore: add securitydefinitions and tags (e841359)
- chore: update license holder (804973c)
- chore(deps-dev): bump eslint-plugin-jsdoc from 31.0.2 to 31.0.3 (#18) (87022ea), closes #18
- chore(deps): bump fastify-disablecache from 1.0.0 to 1.0.1 (#19) (d0cdaba), closes #19
- chore(sql): add
register.documents
table creation (3dfbc06) - test: set resetmocks option in jest config (2940577)
- fix(routes): correct schema to be nullable string (3d0dfb6)
- fix(env): set default cors to wildcard as boolean option broken (ed8754f)
- fix(server): add form-action csp directive (c7d241c)
- fix(server): disable caching (4a18b30)
- build(docker): ignore test_resources directory (3a1c391)
- docs(readme): correct badge links (34c4ff5)
- chore: rename repository (7c76a6c)
- chore: add benchmark script (5c96a32)
- chore(deps-dev): bump eslint-plugin-jsdoc from 30.7.13 to 31.0.1 (#14) (bbebc1a), closes #14
- chore(deps): bump pino from 6.9.0 to 6.10.0 (#13) (2b9af96), closes #13
- refactor(routes/preferences/options): removed unused branch (c306093)
- refactor(routes/preferences/user): removed unused branch (f7e7d32)
- refactor(server): use helmet default csp directives function (2a45afa)
- style: rename fastifyplugin variable to fp (44963d1)
- style(routes/preferences): rename variables to be meaningful (f163946)
- style(server): rename child server param to be clearer (4aea194)
- fix(routes): export of schemas (a67da6e)
- fix(routes/documents/register): key casing (c92cfa2)
- feat(routes): add healthcheck route (b640424)
- build: add typoci config file (67e7650)
- docs(contributing): rename
main
tomaster
(11182f6)
- chore: commit template (d1a95fc)
- chore(deps-dev): bump nodemon from 2.0.6 to 2.0.7 (#4) (9ab89a1), closes #4
- chore(deps): bump fastify-helmet from 5.0.3 to 5.1.0 (#5) (0869eee), closes #5
- chore(routes): remove unused variables (585ae91)
- chore(routes/preferences): tidy response schema (57f314e)
- chore(scripts): tidy license-checker options (dfab5a0)
- docs(readme): add docker and pm2 deploy steps (6358d4e)
- docs(readme): add sql deployment section (b3af0c0)
- docs(readme): clarify on backend api for what (3717c31)
- docs(readme): update yarn link (4125e90)
- test: skip tests that require a db connection (54e45aa)
- test(config): add bearer token test (4c664b2)
- test(plugins/mssql): add unit test (d30f386)
- test(plugins/mssql): update sql query (3c854ef)
- test(routes): remove excess tests (a016129)
- test(routes/documents/receipt): add test requests (3251fac)
- test(routes/documents/register): add test requests (be109bd)
- test(routes/preferences/user): add test requests (70161c4)
- test(server): add unit test (d2ef5d6)
- feat: add pm2 config file (b8ff7e2)
- feat(plugins): add mssql decorator plugin (2816ab9)
- feat(routes/documents): add functionality to
/receipt
routes (2970d3c) - feat(routes/documents): add functionality to
/register
route (aaea116) - feat(routes/documents): add route schemas (958296b)
- feat(routes/preferences): add functionality to all routes (4664590)
- feat(routes/preferences): add route schemas (ff3506e)
- feat(server): add bearer token auth (768b9ff)
- refactor(plugins): rename mssql plugin, alter accepted options object (559c1af)
- refactor(routes): remove redundant header schema (9fc7217)
- refactor(routes): tidy route structure (ddeb258)
- refactor(routes): use fluent json schema for other objects (9c55e94)
- refactor(routes/documents): remove duplicate code (fee2a9e)
- refactor(routes/documents): use fluent json schema for header object (a3c7953)
- refactor(routes/documents/receipt): move queries into own functions (d43d50f)
- refactor(routes/documents/register): consolidate sql queries (4fdf27b)
- refactor(routes/preferences/options): consolidate sql queries (3d63616)
- refactor(routes/preferences/user): consolidate sql queries (cae6c68)
- refactor(routes/preferences/user): remove redundant branch (90b23cf)
- style(routes/documents): tidy test names (79429a5)
- style(routes/documents/receipt): fix name of test (50d2983)
- fix(routes): add semicolons to end of sql query strings (cd68282)
- fix(routes/documents): fix expected type of id param (9f775f3)
- fix(routes/documents/receipt): add catch for missing records (51014f0)
- fix(server): set missing content-security-policy directives (85d68e6)
- Initial commit (78d5e0f)