Skip to content

Releases: Fdawgs/docsmith

v10.2.1

27 May 18:10
da1db75
Compare
Choose a tag to compare

10.2.1 (2023-05-27)

Miscellaneous

  • fix inline comment style (f75d177)
  • use nouns for leading word in function description tags (#1494) (dcee4b5)

Improvements

  • plugins: merge doc-to-txt and docx-to-txt plugins (04f8455)
  • server: remove outdated sensible plugin option (9f857e7)
  • server: remove redundant await (#1491) (01ba28e)

Bug fixes

  • plugins/doc-to-txt: remove excess whitespace in header and footer (ef6f065)
  • plugins/docx-to-html: remove excess whitespace in header and footer (#1492) (4371e9a)
  • server: handle arrays when pruning csp headers (c7415a0)
  • server: stop routes from accepting default text and json requests (#1489) (e89a563)

Dependencies

  • deps-dev: bump esbuild-plugin-glob from 2.2.1 to 2.2.2 (d6e98c6)
  • deps-dev: bump eslint-plugin-jsdoc from 44.2.4 to 44.2.7 (#1497) (799ffcb)
  • deps-dev: bump playwright from 1.34.0 to 1.34.3 (#1498) (437cae6)
  • deps: bump @fastify/compress from 6.3.0 to 6.4.0 (#1500) (2f119a2)
  • deps: bump @fastify/cors from 8.2.1 to 8.3.0 (#1501) (fb7e708)
  • deps: bump @fastify/static from 6.10.1 to 6.10.2 (#1496) (e25f598)
  • deps: bump @fastify/swagger from 8.4.0 to 8.5.1 (#1502) (c9bd24a)
  • deps: bump fastify-json-to-xml from 1.1.2 to 1.1.3 (#1504) (9ee2e8d)
  • deps: bump glob from 10.2.5 to 10.2.6 (#1499) (0be1205)
  • deps: bump jsdom from 22.0.0 to 22.1.0 (#1503) (8e89692)
  • deps: bump transistive dependencies (d64c2d3)

v10.2.0

20 May 13:44
b572198
Compare
Choose a tag to compare

10.2.0 (2023-05-20)

Features

Dependencies

  • deps-dev: bump eslint from 8.40.0 to 8.41.0 (#1480) (0ed76de)
  • deps-dev: bump eslint-plugin-jsdoc from 44.2.3 to 44.2.4 (#1481) (a3eacb5)
  • deps-dev: bump playwright from 1.33.0 to 1.34.0 (#1486) (c23b1ba)
  • deps: bump @fastify/compress from 6.2.1 to 6.3.0 (#1482) (cb32c23)
  • deps: bump @fastify/swagger from 8.3.1 to 8.4.0 (#1485) (2464882)
  • deps: bump glob from 10.2.3 to 10.2.5 (#1483) (2529c5e)
  • deps: bump tesseract.js from 4.0.5 to 4.0.6 (#1484) (71ed415)

Bug fixes

v10.1.1

13 May 18:09
e3588c1
Compare
Choose a tag to compare

10.1.1 (2023-05-13)

Bug fixes

  • plugins/docx-to-html: add header and footer to response payload (0d2e0a3)
  • plugins/docx-to-txt: add header and footer to response payload (e0b8519)

Miscellaneous

Dependencies

  • deps-dev: bump esbuild from 0.17.18 to 0.17.19 (#1477) (3d4e143)
  • deps-dev: bump eslint-plugin-jsdoc from 44.0.0 to 44.2.3 (#1476) (f62c100)
  • deps: bump glob from 10.2.2 to 10.2.3 (#1475) (04ea0aa)
  • deps: bump node-poppler from 6.2.2 to 6.2.3 (#1473) (21301a5)
  • deps: bump node-unrtf from 3.1.2 to 3.1.3 (#1474) (99ba936)

v10.1.0

08 May 16:40
5184ba1
Compare
Choose a tag to compare

10.1.0 (2023-05-08)

Features

Continuous integration

Dependencies

  • deps-dev: bump eslint from 8.39.0 to 8.40.0 (#1456) (6a0bf7f)
  • deps-dev: bump eslint-plugin-jsdoc from 43.1.1 to 44.0.0 (#1458) (baeefa6)
  • deps: bump @fastify/helmet from 10.1.0 to 10.1.1 (#1459) (fa4de26)
  • deps: bump pino from 8.12.1 to 8.14.1 (#1457) (4b36540)
  • deps: bump transistive dependencies (#1462) (b9efd46)

v10.0.15

05 May 08:45
7430c0a
Compare
Choose a tag to compare

10.0.15 (2023-05-05)

Continuous integration

  • cd: remove dev dependencies from package-lock.json (#1413) (fcb4ec3)

Dependencies

  • deps-dev: bump @commitlint/cli from 17.6.1 to 17.6.3 (#1450) (23c0751)
  • deps-dev: bump @commitlint/config-conventional (#1448) (08d9ae1)
  • deps-dev: bump autocannon from 7.10.0 to 7.11.0 (#1446) (d8e4322)
  • deps-dev: bump eslint-plugin-jsdoc from 43.0.7 to 43.1.1 (#1443) (2158a63)
  • deps-dev: bump playwright from 1.32.3 to 1.33.0 (#1442) (da0c818)
  • deps: bump fastify from 4.15.0 to 4.17.0 (#1441) (e03d9b3)
  • deps: bump jsdom from 21.1.1 to 22.0.0 (#1449) (454b63f)
  • deps: bump pino from 8.11.0 to 8.12.1 (#1451) (3454b38)
  • deps: bump tesseract.js from 4.0.3 to 4.0.4 (#1444) (ab760d7)
  • deps: bump tesseract.js from 4.0.4 to 4.0.5 (#1447) (e71e060)
  • deps: bump yaml from 2.2.1 to 2.2.2 (#1438) (b51854a)

v10.0.14

24 Apr 13:28
33c0ae0
Compare
Choose a tag to compare

10.0.14 (2023-04-24)

Improvements

  • plugins: replace RegExp.test() with String.includes() (#1418) (031848b)
  • server: replace json parse stringify with structuredClone() (#1419) (06c1814)

Documentation

Continuous integration

  • deps: bump coverallsapp/github-action from 2.0.0 to 2.1.2 (#1421) (3942d9a)
  • deps: bump peter-evans/create-pull-request from 4 to 5 (#1422) (e2e171e)

Miscellaneous

  • scripts/license-checker: resolve eslint jsdoc warning (92bb5e1)

Dependencies

  • deps-dev: bump @commitlint/cli from 17.5.1 to 17.6.1 (#1434) (4c0c01d)
  • deps-dev: bump @commitlint/config-conventional (#1423) (61a8829)
  • deps-dev: bump esbuild from 0.17.15 to 0.17.18 (570955d)
  • deps-dev: bump eslint from 8.37.0 to 8.39.0 (#1425) (f6b3e00)
  • deps-dev: bump eslint-plugin-jsdoc from 40.1.1 to 43.0.7 (#1433) (40ff288)
  • deps-dev: bump playwright from 1.32.2 to 1.32.3 (#1427) (70a459e)
  • deps-dev: bump prettier from 2.8.7 to 2.8.8 (#1432) (64535b6)
  • deps: bump @fastify/static from 6.10.0 to 6.10.1 (#1429) (5b9f1b4)
  • deps: bump fastify-disablecache from 3.1.1 to 3.1.2 (#1428) (3e55db3)
  • deps: bump fastify-floc-off from 2.1.1 to 2.1.2 (#1426) (5d7a043)
  • deps: bump fastify-json-to-xml from 1.1.1 to 1.1.2 (#1431) (aea51fd)
  • deps: bump glob from 9.3.4 to 10.2.2 (#1436) (e696bdd)
  • deps: bump html-minifier-terser from 7.1.0 to 7.2.0 (#1430) (8b72fc3)
  • deps: bump node-poppler from 6.2.1 to 6.2.2 (#1424) (12696f7)
  • deps: bump node-unrtf from 3.1.1 to 3.1.2 (#1435) (54f8166)
  • deps: bump transistive dependencies (439555c)
  • docker: remove htmltidy2 win32 and macos binaries (#1415) (93a3bae)
  • docker: remove htmltidy2 win64 binaries (#1417) (6dbd911)

v10.0.13

04 Apr 17:40
52ef470
Compare
Choose a tag to compare

10.0.13 (2023-04-04)

Bug fixes

  • config: missing CORS_ORIGIN env variable throws error (#1385) (dc34603)
  • plugins/pdf-to-txt: set meta and title for html results (#1380) (391637e)

Improvements

  • config: ensure _ARRAY env variables match array patterns (#1398) (9af2553)
  • remove redundant multi line regex flags (#1386) (2ac4e74)

Documentation

Miscellaneous

  • .prettierrc: enable arrowParens option (#1396) (9c9bb88)
  • config: missing curly braces after if statement (3711ef6)
  • plugins/pdf-to-html: correct inline comment (915c239)
  • plugins/tidy-css: grammar fix for inline comment (c5ca3d9)
  • routes: improve description of backgroundColor param (#1400) (1021536)
  • utils/core-count: remove redundant eslint comment (#1394) (139f232)

Dependencies

  • deps-dev: bump @commitlint/cli from 17.5.0 to 17.5.1 (#1388) (8d87491)
  • deps-dev: bump esbuild from 0.17.10 to 0.17.15 (#1411) (d50a415)
  • deps-dev: bump eslint from 8.36.0 to 8.37.0 (#1387) (5ad4646)
  • deps-dev: bump eslint-plugin-jsdoc from 40.1.0 to 40.1.1 (#1391) (b900da7)
  • deps-dev: bump playwright from 1.32.1 to 1.32.2 (#1408) (92b0aaf)
  • deps: bump @fastify/static from 6.9.0 to 6.10.0 (#1409) (6e2f792)
  • deps: bump fastify-disablecache from 3.1.0 to 3.1.1 (#1407) (c0ee3a9)
  • deps: bump fastify-floc-off from 2.1.0 to 2.1.1 (#1389) (c706288)
  • deps: bump fastify-json-to-xml from 1.1.0 to 1.1.1 (#1392) (86f4107)
  • deps: bump glob from 9.3.2 to 9.3.4 (#1410) (e12f7d2)
  • deps: bump node-poppler from 6.2.0 to 6.2.1 (#1406) (87371da)
  • deps: bump node-unrtf from 3.1.0 to 3.1.1 (#1393) (a316506)
  • deps: bump tesseract.js from 4.0.2 to 4.0.3 (#1390) (dc3a087)
  • deps: bump transistive dependencies (#1412) (7389fa0)

v10.0.12

27 Mar 20:42
564cad8
Compare
Choose a tag to compare

10.0.12 (2023-03-27)

Documentation

  • contributing: add link to conventional config (#1352) (02db613)

Continuous integration

  • dependabot: change commit message prefix for gh actions to ci (#1351) (aaa6c5b)
  • dependabot: correct property type (#1361) (42a4790)
  • dependabot: ignore esm major versions (#1350) (b965bc1)

Miscellaneous

  • plugins/pdf-to-html: add comment re poppler title handling (#1362) (8300d4b)

Bug fixes

  • plugins/pdf-to-txt: charset and content can't be altered with ocr (#1369) (5550aa2)
  • plugins/rtf-to-html: add content-type meta element to html (61523a0)
  • routes/pdf/txt: remove listEncodingOptions qs param (#1354) (3eb0d71)
  • routes/pdf: limit outputEncoding qs params to poppler charsets (#1353) (92500d6)
  • routes/rtf: declare charset for rtf documents (e287a15)

Improvements

  • plugins/docx-to-html: move meta element to first thing in head (#1371) (ca7da79)
  • plugins/docx-to-html: only fix utf-8 chars in converted body (#1370) (847a8e1)
  • plugins/pdf-to-html: move meta element to first child in head (#1372) (7b691a5)
  • plugins/rtf-to-html: ensure charset is first child in head (#1373) (f37dcf9)
  • plugins/tidy-css: replace appendChild with append (#1365) (b2af657)
  • routes: use optional chaining for file type result object (#1366) (c69f82b)

Dependencies

  • deps-dev: bump @commitlint/cli from 17.4.4 to 17.5.0 (#1357) (e2376ec)
  • deps-dev: bump nodemon from 2.0.21 to 2.0.22 (#1358) (70b06a0)
  • deps-dev: bump playwright from 1.31.2 to 1.32.0 (#1359) (5edb5d6)
  • deps-dev: bump playwright from 1.32.0 to 1.32.1 (#1376) (4d4bce9)
  • deps-dev: bump prettier from 2.8.6 to 2.8.7 (#1374) (ee61208)
  • deps: bump @fastify/compress from 6.2.0 to 6.2.1 (#1375) (2c84bf8)
  • deps: bump glob from 9.3.1 to 9.3.2 (#1355) (71640eb)
  • deps: bump html-to-text from 9.0.4 to 9.0.5 (#1356) (2b05df2)

v10.0.11

21 Mar 19:22
c43756d
Compare
Choose a tag to compare

10.0.11 (2023-03-21)

Improvements

  • remove optional chaining for first level properties (#1338) (1b14dc7)

Bug fixes

  • plugins/pdf-to-html: docLocation.html filename (1d02c00)
  • plugins/rtf-to-html: restrict temp file permissions (#1339) (fa32bbc)
  • server: premature closes crashing server (3f623f0)

Miscellaneous

  • plugins/tidy-css: correct inline comment location (665ea00)
  • plugins/tidy-css: use ternary operator over if...else statement (2f06fdb)
  • plugins: add inline comment for docLocation object purpose (28e196a)
  • routes: update schema inline comment re injection attacks (#1341) (a1f99d0)
  • scripts: move esbuild to script dir (#1334) (54ded95)
  • scripts: remove redundant export (bca682c)
  • scripts: sort eslint comments alphabetically (71e6cf3)
  • scripts: use js script to check licenses (#1331) (85a2ff1)
  • server: inline comment re internal server error handling (d5d579f)

Dependencies

  • deps-dev: bump eslint-config-prettier from 8.7.0 to 8.8.0 (#1349) (3fd863c)
  • deps-dev: bump eslint-plugin-jsdoc from 40.0.2 to 40.1.0 (#1348) (9796730)
  • deps-dev: bump prettier from 2.8.4 to 2.8.6 (#1345) (9adeb98)
  • deps: bump @fastify/cors from 8.2.0 to 8.2.1 (#1344) (7984019)
  • deps: bump coverallsapp/github-action from 1.2.4 to 2.0.0 (#1343) (810f276)
  • deps: bump fastify from 4.14.1 to 4.15.0 (#1347) (510d8e0)
  • deps: bump glob from 9.2.1 to 9.3.1 (#1346) (8cf26b0)
  • deps: bump webpack from 5.75.0 to 5.76.1 (#1332) (046868c)

v10.0.10

14 Mar 12:26
3dddc55
Compare
Choose a tag to compare

10.0.10 (2023-03-14)

Documentation

  • readme: replace nhs digital mention with nhs england (61650c8)

Miscellaneous

  • ignore bun lockfile (#1308) (fe37840)
  • package: add funding url (f953f5b)
  • plugins/rtf-to-html: remove trailing punctuation mark (170e00d)
  • routes/admin/healthcheck: sentence case of tags (#1321) (8d02b89)

Improvements

  • plugins/image-to-txt: return worker (#1315) (d858b4c)
  • plugins/tidy-css: remove useless var reassignment (#1318) (2b6897e)
  • plugins/tidy-html: remove else blocks after throw (#1322) (b1af9bd)
  • plugins/tidy-html: remove unused var assignment (5369a6b)
  • plugins: remove unused exception variables (4fcdf75)
  • plugins: use array.from() mapfn to stop intermediate array init (95ac3b3)
  • remove unnecessary else blocks after throws (#1317) (e79699e)

Dependencies

  • deps-dev: bump eslint from 8.35.0 to 8.36.0 (#1329) (d432de1)
  • deps-dev: bump eslint-config-prettier from 8.6.0 to 8.7.0 (#1328) (06e4a2e)
  • deps-dev: bump eslint-plugin-jsdoc from 40.0.1 to 40.0.2 (#1330) (cddcf56)
  • deps-dev: bump jest from 29.4.3 to 29.5.0 (#1327) (9c2254a)
  • deps-dev: bump pino-pretty from 9.4.0 to 10.0.0 (#1324) (f594fc8)
  • deps: bump fastify from 4.14.0 to 4.14.1 (#1325) (fa8ffeb)
  • deps: bump glob from 9.1.0 to 9.2.1 (#1303) (b473e01)
  • deps: bump htmltidy2 from 1.0.1 to 1.1.1 (#1326) (245dbca)
  • deps: bump jsdom from 21.1.0 to 21.1.1 (#1323) (81b3a60)