This repository has been archived by the owner on Jan 28, 2024. It is now read-only.
v4.0.0
4.0.0 (2022-03-30)
⚠ BREAKING CHANGES
- 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
Bug Fixes
- migrations: datetime with timezone data types now used (d160e7e)
- routes/docs/json: add cors support (#138) (b550a01)
- routes: datetime search params require timezone if time provided (9d447be)
- server: enable xml serialisation api-wide; fix missing route elem (531ffbf)
Miscellaneous
Dependencies
- deps-dev: bump @faker-js/faker from 6.0.0 to 6.1.1 (7985584)
- deps-dev: bump autocannon from 7.8.0 to 7.8.1 (5438a60)
- deps-dev: bump eslint from 8.11.0 to 8.12.0 (68ae534)
- deps-dev: bump eslint-plugin-jsdoc from 38.0.6 to 38.1.4 (a3b88c3)
- deps-dev: bump prettier from 2.6.0 to 2.6.1 (8df1f64)
- deps: bump fastify-disablecache from 2.0.6 to 2.0.7 (febf477)
- deps: bump fastify-floc-off from 1.0.5 to 1.0.6 (890f423)
- deps: bump hadolint/hadolint-action from 1.7.0 to 2.0.0 (c0e4d73)
- deps: bump pino-pretty from 7.5.4 to 7.6.0 (3f05ba3)
- deps: replace
jstoxml
withjs2xmlparser
(d44cee0)
Improvements
- chain response functions (860c425)
- plugins/serialize-json-to-xml: target application/json only (#154) (0ab4be5)
- routes: clean
accept
header conditionals (7488032) - server: add error handler (1e44e1e)
- server: move xml serialisation to plugin (d0d8b9e)
- use
type()
alias function to set content-type (23f782c) - use secure-json-parse for json parsing (633d395)