This repository was archived by the owner on Jan 28, 2024. It is now read-only.
Releases: Fdawgs/yh-community-contacts-api
Releases · Fdawgs/yh-community-contacts-api
v7.1.4
7.1.4 (2023-03-14)
Documentation
- readme: replace nhs digital mention with nhs england (a976b0a)
Miscellaneous
- ignore bun lockfile (#623) (945c8ba)
- package: add funding url (6037f40)
- plugins/clean-object: ignore false eslint obj injection warnings (#627) (73f1837)
Improvements
- remove redundant sql distinct keywords (#626) (7084b89)
- routes/admin/access/bearer-token: use array map over push (8381c52)
- routes/contact: use array map over push (f6c4ef1)
- routes: create new arrays over single pushes (30b2e46)
- routes: use optional chaining (#628) (736369f)
Dependencies
- deps-dev: bump eslint from 8.35.0 to 8.36.0 (#633) (6c02b1d)
- deps-dev: bump eslint-config-prettier from 8.6.0 to 8.7.0 (#637) (b628d12)
- deps-dev: bump eslint-plugin-jsdoc from 40.0.0 to 40.0.2 (#640) (f679d94)
- deps-dev: bump glob from 9.1.0 to 9.3.0 (#632) (1138cc9)
- deps-dev: bump jest from 29.4.3 to 29.5.0 (#630) (685c9a4)
- deps-dev: bump nodemon from 2.0.20 to 2.0.21 (#638) (a76277f)
- deps-dev: bump pino-pretty from 9.4.0 to 10.0.0 (#639) (de27e0e)
- deps-dev: bump playwright from 1.31.1 to 1.31.2 (#635) (ee6c513)
- deps: bump @fastify/rate-limit from 7.6.0 to 8.0.0 (#636) (6812f38)
- deps: bump coverallsapp/github-action from 1.2.3 to 1.2.4 (#622) (d4b1fe7)
- deps: bump fastify from 4.13.0 to 4.14.1 (#631) (5523a41)
- deps: bump pg from 8.9.0 to 8.10.0 (#634) (6fbd957)
v7.1.3
7.1.3 (2023-03-01)
Improvements
Miscellaneous
Dependencies
- deps-dev: bump esbuild from 0.17.5 to 0.17.10 (#620) (6619c6e)
- deps-dev: bump eslint from 8.34.0 to 8.35.0 (#618) (1868160)
- deps-dev: bump glob from 8.1.0 to 9.1.0 (442dbdd)
- deps-dev: bump pino-pretty from 9.3.0 to 9.4.0 (#615) (6e4fba3)
- deps-dev: bump playwright from 1.31.0 to 1.31.1 (#617) (b245ff3)
- deps: bump coverallsapp/github-action from 1.1.3 to 1.2.3 (#614) (8ee53a4)
- deps: bump pino from 8.10.0 to 8.11.0 (#616) (9bbf3b2)
- deps: bump transistive dependencies (#621) (44f42d7)
v7.1.2
7.1.2 (2023-02-22)
Documentation
- images: update api documentation screenshot (a3e64fd)
Miscellaneous
- config: correct jsdoc param types (f934bba)
- plugins/hashed-bearer-auth: add message to logged client name (#600) (fc422f0)
- prefix unused params with underscores (0ff36d5)
Bug fixes
- config: misleading thrown error message (b024464)
Dependencies
- deps-dev: bump @commitlint/cli from 17.4.3 to 17.4.4 (#604) (880a9ff)
- deps-dev: bump @commitlint/config-conventional (#605) (cddb09e)
- deps-dev: bump jest from 29.4.2 to 29.4.3 (#607) (14c401d)
- deps-dev: bump pino-pretty from 9.2.0 to 9.3.0 (#603) (45e63bd)
- deps-dev: bump playwright from 1.30.0 to 1.31.0 (#602) (ca3d1be)
- deps: bump fastify-disablecache from 3.0.6 to 3.1.0 (#609) (e6c0b28)
- deps: bump fastify-floc-off from 2.0.6 to 2.1.0 (#606) (fc18ed0)
- deps: bump fastify-json-to-xml from 1.0.2 to 1.1.0 (#608) (03f34d7)
v7.1.1
7.1.1 (2023-02-15)
Improvements
- plugins: replace xml plugin with dedicated dependency (#575) (e08821a)
- routes/contact: use json object over fluent schema (#578) (618874a)
Documentation
- readme: use more inclusive language (c7cdf16)
Bug fixes
- config: convert cors params to lowercase (0aafa64)
- openapi title and doc page description (3617c56)
- routes/contact: only add 401 response to schema when auth enabled (7a74c6f)
- routes: search schema response key (ef53e51)
Continuous integration
- cd: use sentence case for changelog headings (d805afe)
Miscellaneous
- config: add comment re openapi
components
object (#579) (d5b781e) - config: correct inline comment (771d49e)
- config: use consistent style across api repos (fea9684)
- rename master branch to main (#581) (d71cf63)
- use sentence case over ap style for titles and headings (438a038)
Dependencies
- deps-dev: bump @commitlint/cli from 17.4.2 to 17.4.3 (#597) (189df23)
- deps-dev: bump @commitlint/config-conventional (#593) (cc2cca8)
- deps-dev: bump eslint from 8.33.0 to 8.34.0 (#594) (095f424)
- deps-dev: bump eslint-plugin-jsdoc from 39.7.5 to 40.0.0 (#595) (0d7387f)
- deps-dev: bump eslint-plugin-security from 1.7.0 to 1.7.1 (#590) (02586d5)
- deps-dev: bump jest from 29.4.1 to 29.4.2 (#598) (0850c60)
- deps-dev: bump pino-pretty from 9.1.1 to 9.2.0 (#589) (d0a15bf)
- deps-dev: bump prettier from 2.8.3 to 2.8.4 (#583) (ecfd641)
- deps: bump @fastify/static from 6.8.0 to 6.9.0 (#588) (3d389ef)
- deps: bump @fastify/swagger from 8.3.0 to 8.3.1 (#591) (370c999)
- deps: bump fastify from 4.12.0 to 4.13.0 (#596) (e26d5a9)
- deps: bump fastify-disablecache from 3.0.5 to 3.0.6 (#586) (d07a392)
- deps: bump fastify-floc-off from 2.0.5 to 2.0.6 (#584) (17d0b9f)
- deps: bump fastify-json-to-xml from 1.0.0 to 1.0.2 (#585) (8844435)
- deps: bump fluent-json-schema from 4.0.0 to 4.1.0 (#587) (0ae8fc2)
- deps: bump pino from 8.8.0 to 8.10.0 (#592) (691024c)
v7.1.0
7.1.0 (2023-02-01)
Features
Bug Fixes
- pagination skipping concurrently created records (#546) (7a650ea)
- routes: missing 400 response in openapi schema (#548) (e40c575)
- server: response headers for static and 404 routes (#549) (91e7594)
Improvements
- routes/docs: increase cache max-age from 3 to 5 minutes (d9fd504)
Miscellaneous
- routes/docs/openapi: reduce cache max-age from 60 to 30 minutes (a3bf683)
Dependencies
- deps-dev: bump @commitlint/cli from 17.4.0 to 17.4.1 (#545) (6162510)
- deps-dev: bump @commitlint/cli from 17.4.1 to 17.4.2 (#553) (eb512f6)
- deps-dev: bump @commitlint/config-conventional (#562) (7e13e67)
- deps-dev: bump esbuild from 0.16.16 to 0.17.5 (f17314f)
- deps-dev: bump eslint from 8.31.0 to 8.33.0 (#555) (9b68bca)
- deps-dev: bump eslint-plugin-import from 2.26.0 to 2.27.5 (#571) (88ccbba)
- deps-dev: bump eslint-plugin-jest from 27.2.0 to 27.2.1 (#540) (0efe5a8)
- deps-dev: bump eslint-plugin-jsdoc from 39.6.4 to 39.7.5 (#566) (3d548be)
- deps-dev: bump eslint-plugin-security from 1.5.0 to 1.7.0 (#570) (0f99c57)
- deps-dev: bump glob from 8.0.3 to 8.1.0 (#559) (0cf71fe)
- deps-dev: bump jest from 29.3.1 to 29.4.1 (#568) (7886b95)
- deps-dev: bump playwright from 1.29.1 to 1.29.2 (#544) (e421eb0)
- deps-dev: bump playwright from 1.29.2 to 1.30.0 (#564) (b9081f3)
- deps-dev: bump prettier from 2.8.1 to 2.8.2 (#543) (f1ecee4)
- deps-dev: bump prettier from 2.8.2 to 2.8.3 (#567) (2f4cc8f)
- deps: bump @fastify/autoload from 5.7.0 to 5.7.1 (#557) (c390f21)
- deps: bump @fastify/static from 6.6.0 to 6.8.0 (#561) (9c208b9)
- deps: bump @fastify/swagger from 8.2.1 to 8.3.0 (#565) (8382e31)
- deps: bump fastify from 4.11.0 to 4.12.0 (#556) (5a616f6)
- deps: bump fastify-disablecache from 3.0.4 to 3.0.5 (#560) (de426a9)
- deps: bump fastify-floc-off from 2.0.4 to 2.0.5 (#558) (4bb29cc)
- deps: bump hadolint/hadolint-action from 3.0.0 to 3.1.0 (#552) (a0fefd6)
- deps: bump mssql from 9.0.1 to 9.1.1 (#563) (45a1769)
- deps: bump pg from 8.8.0 to 8.9.0 (#554) (0322295)
- deps: bump secure-json-parse from 2.6.0 to 2.7.0 (#541) (4537068)
- deps: bump transistive dependencies (9e7b368)
- use esbuild to compile (#539) (ae41382)
Continuous Integration
- cd: add missing install step (bf9336d)
v7.0.2
7.0.2 (2023-01-05)
Bug Fixes
- routes/docs: limit files served from redoc module (1a0c0ba)
Improvements
- routes/docs: do not expand 200 response by default (7507918)
- routes/docs: remove search web worker and blob (d74595d)
Documentation
- grammar and clarity fixes (6570cba)
Miscellaneous
- license: update license year (64a1615)
- plugins: rename plugin to use british english spelling (938bd0a)
- route/docs: remove
x-ua-compatible
meta tag (516cc08) - route/docs: remove redundant html comment (0862598)
- routes: ignore false eslint regex warnings (26482c3)
- update contact details (1f3f810)
Dependencies
- deps-dev: bump @commitlint/cli from 17.3.0 to 17.4.0 (#536) (51c13ff)
- deps-dev: bump @commitlint/config-conventional (#537) (11aaa03)
- deps-dev: bump eslint from 8.29.0 to 8.31.0 (#528) (2e19622)
- deps-dev: bump eslint-config-prettier from 8.5.0 to 8.6.0 (#533) (3ae1c7a)
- deps-dev: bump eslint-plugin-jest from 27.1.6 to 27.2.0 (#525) (c090bfc)
- deps-dev: bump husky from 8.0.2 to 8.0.3 (#534) (4cb53b0)
- deps-dev: bump playwright from 1.28.1 to 1.29.1 (#526) (9397e0f)
- deps: bump @fastify/autoload from 5.6.0 to 5.7.0 (#532) (7ed1764)
- deps: bump fastify from 4.10.2 to 4.11.0 (#535) (95badfd)
- deps: bump pino from 8.7.0 to 8.8.0 (#527) (c5ca73c)
- deps: bump transistive dependencies (#538) (d90d43c)
v7.0.1
7.0.1 (2022-12-12)
Miscellaneous
- package: remove
start:migrate
script (969c846)
Documentation
- readme: remove mention of
db:migrate
script (08d0af6)
Continuous Integration
Improvements
Dependencies
- dependabot: remove docker auto-updates (#499) (b17d272)
- deps-dev: bump eslint from 8.28.0 to 8.29.0 (#516) (0e11f5d)
- deps-dev: bump eslint-plugin-jest from 27.1.5 to 27.1.6 (#507) (4c19196)
- deps-dev: bump eslint-plugin-jsdoc from 39.6.2 to 39.6.4 (#503) (6b07870)
- deps-dev: bump playwright from 1.28.0 to 1.28.1 (#505) (d4c5abb)
- deps-dev: bump prettier from 2.8.0 to 2.8.1 (#522) (cb044a0)
- deps: bump @fastify/accepts from 4.0.1 to 4.1.0 (#506) (64ee053)
- deps: bump @fastify/autoload from 5.5.0 to 5.6.0 (#502) (0cd20d3)
- deps: bump @fastify/basic-auth from 4.0.0 to 5.0.0 (#513) (1bda2c8)
- deps: bump @fastify/bearer-auth from 8.0.1 to 9.0.0 (#510) (26c36bc)
- deps: bump @fastify/compress from 6.1.1 to 6.2.0 (#501) (bcb78d6)
- deps: bump @fastify/helmet from 10.0.2 to 10.1.0 (#504) (4fb7458)
- deps: bump @fastify/rate-limit from 7.5.0 to 7.6.0 (#512) (2e4e805)
- deps: bump @fastify/sensible from 5.1.1 to 5.2.0 (#523) (2475be2)
- deps: bump @fastify/static from 6.5.1 to 6.6.0 (#518) (7ae4c1b)
- deps: bump @fastify/swagger from 8.1.0 to 8.2.0 (#511) (1075594)
- deps: bump @fastify/swagger from 8.2.0 to 8.2.1 (#515) (7f8876a)
- deps: bump @fastify/under-pressure from 8.1.0 to 8.2.0 (#517) (5d25622)
- deps: bump env-schema from 5.1.1 to 5.2.0 (#520) (15b0feb)
- deps: bump fastify-plugin from 4.3.0 to 4.4.0 (#521) (fc7a9ef)
- deps: bump secure-json-parse from 2.5.0 to 2.6.0 (#519) (c6fa6e4)
- deps: bump transistive dependencies (#524) (f09e0a1)
v7.0.0
7.0.0 (2022-11-23)
⚠ BREAKING CHANGES
- 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 (#476) - deps:
LOG_ROTATION_FREQUENCY
env variable accepted values changed from "daily, custom, or test" to "daily, date, [1-12]h, or [1-30]m"
Bug Fixes
- config: use port 3000 if
PORT
env variable unset (#476) (f258daf) - routes: add
HEAD
to cors allowed methods (#468) (aaae7f6)
Miscellaneous
- *.ignore: fix test log entry (5f795ca)
- clean up multi-line comments (50584fb)
- drop support for node 16 (#477) (b0b250a)
- update inline documentation links (983b4a7)
Dependencies
- deps-dev: bump @commitlint/cli from 17.2.0 to 17.3.0 (#492) (edbc3ad)
- deps-dev: bump @commitlint/config-conventional (#493) (290bc06)
- deps-dev: bump eslint from 8.26.0 to 8.27.0 (#480) (f1869de)
- deps-dev: bump eslint from 8.27.0 to 8.28.0 (#495) (c320b8e)
- deps-dev: bump eslint-plugin-jest from 27.1.3 to 27.1.5 (#486) (f58782d)
- deps-dev: bump eslint-plugin-jsdoc from 39.4.0 to 39.6.2 (#483) (c60e9cf)
- deps-dev: bump husky from 8.0.1 to 8.0.2 (#484) (be09f6a)
- deps-dev: bump jest from 29.2.2 to 29.3.1 (#488) (b9e5f8f)
- deps-dev: bump playwright from 1.27.1 to 1.28.0 (#481) (690c80c)
- deps-dev: bump prettier from 2.7.1 to 2.8.0 (#497) (181eab8)
- deps-dev: remove @faker-js/faker (#470) (d653bbb)
- deps: bump @fastify/autoload from 5.4.1 to 5.5.0 (#494) (e42c24b)
- deps: bump @fastify/cors from 8.1.1 to 8.2.0 (#482) (d217654)
- deps: bump @fastify/static from 6.5.0 to 6.5.1 (#496) (1feebd2)
- deps: bump actions/dependency-review-action from 2 to 3 (#478) (654108d)
- deps: bump env-schema from 5.1.0 to 5.1.1 (#485) (ecd2909)
- deps: bump fastify from 4.10.0 to 4.10.2 (#491) (1f17dfa)
- deps: bump fastify from 4.9.2 to 4.10.0 (#487) (cd4dc48)
- deps: bump file-stream-rotator from 0.6.1 to 1.0.0 (#474) (66ef733)
- deps: bump hadolint/hadolint-action from 2.1.0 to 3.0.0 (#479) (b668372)
- deps: bump transistive dependencies (#498) (a7c44ef)
- docker: remove dev values from
package.json
(fc91a26) - docker: reorder instructions for build caching (9604668)
v6.1.2
6.1.2 (2022-11-01)
Bug Fixes
Miscellaneous
Documentation
Improvements
Dependencies
- deps-dev: bump @commitlint/cli from 17.1.2 to 17.2.0 (#466) (d2ad55d)
- deps-dev: bump @commitlint/config-conventional (#465) (f5b5d52)
- deps-dev: bump eslint from 8.25.0 to 8.26.0 (#454) (99fbb5e)
- deps-dev: bump eslint-plugin-jest from 27.1.2 to 27.1.3 (#456) (05e11ca)
- deps-dev: bump eslint-plugin-jsdoc from 39.3.13 to 39.4.0 (#462) (4f15829)
- deps-dev: bump eslint-plugin-promise from 6.1.0 to 6.1.1 (#458) (3a3d149)
- deps-dev: bump jest from 29.2.0 to 29.2.2 (#460) (849efa2)
- deps: bump @fastify/cors from 8.1.0 to 8.1.1 (#455) (cdfb782)
- deps: bump @fastify/swagger from 8.0.0 to 8.1.0 (#457) (3fb164f)
- deps: bump fastify from 4.9.1 to 4.9.2 (#463) (07ab67e)
- deps: bump fastify-disablecache from 3.0.3 to 3.0.4 (#453) (694cafc)
- deps: bump fastify-floc-off from 2.0.3 to 2.0.4 (#461) (214ef40)
- deps: bump pino from 8.6.1 to 8.7.0 (#459) (b205c1a)
- deps: bump transistive dependencies (#467) (9fd5db6)
v6.1.1
6.1.1 (2022-10-18)
Bug Fixes
Miscellaneous
- server: remove reference to hardcoded dir (9861afa)
Dependencies
- deps-dev: bump @faker-js/faker from 7.5.0 to 7.6.0 (#437) (9d15e44)
- deps-dev: bump eslint from 8.24.0 to 8.25.0 (#435) (ac64e68)
- deps-dev: bump eslint-plugin-jest from 27.1.1 to 27.1.2 (#443) (159ef2f)
- deps-dev: bump eslint-plugin-jsdoc from 39.3.6 to 39.3.13 (#447) (0a351b2)
- deps-dev: bump eslint-plugin-promise from 6.0.1 to 6.1.0 (#438) (4391975)
- deps-dev: bump jest from 29.1.2 to 29.2.0 (#444) (d2151f8)
- deps-dev: bump playwright from 1.26.1 to 1.27.1 (#446) (0717d27)
- deps: bump @fastify/autoload from 5.4.0 to 5.4.1 (#441) (ac2f3af)
- deps: bump @fastify/helmet from 10.0.1 to 10.0.2 (#442) (ac32083)
- deps: bump @fastify/rate-limit from 7.4.0 to 7.5.0 (#445) (9ef84fe)
- deps: bump @fastify/swagger from 7.6.1 to 8.0.0 (#436) (56f9c2c)
- deps: bump fastify from 4.7.0 to 4.8.1 (#432) (22d46b7)
- deps: bump fastify from 4.8.1 to 4.9.1 (#440) (4c28107)
- deps: bump fastify-plugin from 4.2.1 to 4.3.0 (#439) (46e3006)