Releases: Fdawgs/docsmith
Releases · Fdawgs/docsmith
v11.2.2
11.2.2 (2024-05-16)
Dependencies
- deps-dev: bump esbuild from 0.20.2 to 0.21.3 (0ebebee)
- deps-dev: bump playwright from 1.43.1 to 1.44.0 (#1853) (e069a96)
- deps-dev: bump the eslint group (#1862) (4fb3dec)
- deps-dev: replace nodemon with native watch (#1855) (4f742c2)
- deps: bump @fastify/autoload in the fastify-core group (#1852) (fe70f76)
- deps: bump glob from 10.3.12 to 10.3.15 (#1860) (1ea20b1)
- deps: bump pino from 9.0.0 to 9.1.0 in the pino-core group (#1859) (0ae1b10)
- deps: bump tesseract.js from 5.0.5 to 5.1.0 (#1854) (7ed5065)
- deps: bump the fastify-core group with 2 updates (#1858) (4cb344a)
- deps: bump transistive dependencies (e3f7249)
Miscellaneous
- .env.template: remove leftover test value (6091127)
- .env.template: remove trailing whitespace (16b40e8)
- change author email (285afad)
- tidy jsdoc description suffixes (9ec245d)
Continuous integration
Improvements
- move temp dirs out of
dist/
andsrc/
(05ccd2e) - revert to physical core count for cpu-bound processing (#1856) (101f949)
Documentation
- readme: correct min node version (fe15ba1)
v11.2.1
11.2.1 (2024-05-01)
Bug fixes
- server: convert content-type to lowercase before checking (4f1af67)
Dependencies
- deps-dev: bump @commitlint/cli in the commitlint group (#1841) (d9eb5f0)
- deps: bump fastify-json-to-xml from 1.1.11 to 1.1.12 (#1848) (af8d62f)
- deps: bump mammoth from 1.7.1 to 1.7.2 (#1844) (d291cf7)
- deps: bump node-unrtf from 5.0.0 to 5.0.1 (#1846) (4411e61)
- deps: bump pino from 8.20.0 to 9.0.0 in the pino-core group (#1842) (a4cd17f)
- deps: bump redoc from 2.1.3 to 2.1.4 (#1843) (bd3fa5c)
- deps: bump the fastify-core group with 4 updates (#1845) (553f4cf)
- dockerfile: use multi-stage build; reduce size by ~28% (#1838) (b354294)
Improvements
- plugins/image-to-txt: use logical core count (55ce1a2)
v11.2.0
11.2.0 (2024-04-15)
Features
Bug fixes
- plugins/tidy-html: catch skipped rules (4a38bee)
- plugins: use
textContent
to protect against xss (369dc0a) - routes/html/txt: remove hidden elements (#1830) (ceb249d)
- utils/core-count: fallback to
cpus()
if platform not detected (#1820) (d6f1054)
Dependencies
- deps-dev: bump playwright from 1.42.1 to 1.43.1 (#1833) (32413cc)
- deps-dev: bump the commitlint group with 2 updates (#1834) (3bca610)
- deps: bump glob from 10.3.10 to 10.3.12 (#1827) (fe2a6f5)
- deps: bump mammoth from 1.7.0 to 1.7.1 (#1828) (cd4e980)
- deps: bump the pino-core group with 2 updates (#1832) (9d0939d)
Miscellaneous
Continuous integration
- deps: bump wagoid/commitlint-github-action from 5 to 6 (#1822) (81b714c)
- use latest node lts version (#1829) (00931d3)
Improvements
- plugins/image-to-txt: use array.from() mapfn (6132ab8)
- plugins/tidy-css: remove redundant ref variable (c8961f3)
- plugins/tidy-html: only iterate dom once (f315ebc)
- plugins/tidy-html: remove element directly (052e08f)
- utils/core-count: use
Number.parseInt()
over global (82cdd46)
Documentation
v11.1.2
v11.1.1
11.1.1 (2024-03-13)
Dependencies
- deps-dev: bump esbuild from 0.20.0 to 0.20.1 (a30105d)
- deps-dev: bump lockfile-lint from 4.13.1 to 4.13.2 (#1805) (b52849d)
- deps-dev: bump nodemon from 3.0.3 to 3.1.0 (#1804) (a12520b)
- deps-dev: bump playwright from 1.41.2 to 1.42.0 (#1803) (362925a)
- deps-dev: bump playwright from 1.42.0 to 1.42.1 (#1811) (70f55c6)
- deps-dev: bump the commitlint group with 2 updates (#1798) (43833d2)
- deps-dev: bump the commitlint group with 2 updates (#1807) (8359ec2)
- deps-dev: bump the eslint group with 2 updates (#1799) (3b65e73)
- deps-dev: bump the eslint group with 2 updates (#1809) (1d403d3)
- deps: bump fix-latin1-to-utf8 from 1.0.1 to 1.0.2 (#1813) (4a0755c)
- deps: bump mammoth from 1.6.0 to 1.7.0 (#1800) (f250bdb)
- deps: bump node-poppler from 7.1.0 to 7.1.1 (#1802) (79dfe83)
- deps: bump node-poppler from 7.1.1 to 7.2.0 (#1810) (9102bb2)
- deps: bump node-unrtf from 4.1.6 to 4.1.7 (#1801) (efc04fb)
- deps: bump node-unrtf from 4.1.7 to 5.0.0 (#1812) (9857259)
- deps: bump tesseract.js from 5.0.4 to 5.0.5 (#1806) (0fae780)
- deps: bump the fastify-core group with 1 update (#1808) (02b75d0)
- deps: bump transistive dependencies (7ee47c9)
Improvements
- remove
POPPLER_BINARY_PATH
env variable (93e3e11)
v11.1.0
11.1.0 (2024-02-18)
Features
- routes/html: add support for xhtml documents (c59cb9f)
Dependencies
- deps-dev: bump @types/jest from 29.5.11 to 29.5.12 (#1795) (3d2d59e)
- deps-dev: bump autocannon from 7.14.0 to 7.15.0 (#1793) (a11f243)
- deps-dev: bump esbuild from 0.19.8 to 0.20.0 (01d5b07)
- deps-dev: bump husky from 9.0.2 to 9.0.6 (#1776) (20d0a24)
- deps-dev: bump husky from 9.0.6 to 9.0.7 (#1781) (ed12714)
- deps-dev: bump husky from 9.0.7 to 9.0.9 (#1786) (5c33b94)
- deps-dev: bump husky from 9.0.9 to 9.0.11 (#1792) (00c785c)
- deps-dev: bump lockfile-lint from 4.12.1 to 4.13.1 (#1794) (f07111f)
- deps-dev: bump playwright from 1.41.1 to 1.41.2 (#1797) (6159c0f)
- deps-dev: bump prettier from 3.2.4 to 3.2.5 (#1796) (b660bd8)
- deps-dev: bump the commitlint group with 2 updates (#1788) (8e77119)
- deps-dev: bump the eslint group with 1 update (#1775) (92bc08c)
- deps-dev: bump the eslint group with 3 updates (#1791) (650a71f)
- deps: bump the fastify-core group with 2 updates (#1789) (2ad4953)
- deps: bump the fastify-core group with 3 updates (#1783) (1f63f36)
- deps: bump the pino-core group with 1 update (#1785) (8a0ae07)
- deps: bump the pino-core group with 1 update (#1790) (06bb071)
- deps: replace
fix-utf8
with fasterfix-latin1-to-utf8
(20cfc28)
Miscellaneous
- .dockerignore: unignore shared files (3c2bb2b)
- .husky: migrate hooks to v9 style (2b364fc)
- .vscode: fix
prettier.prettierPath
setting (161c389) - ignore unrtf generated files (6650f0e)
Continuous integration
Improvements
- routes: cache accepted types from route schemas (6ba79e5)
v11.0.8
11.0.8 (2024-01-25)
Dependencies
- deps-dev: bump @types/jest from 29.5.10 to 29.5.11 (#1741) (d106a14)
- deps-dev: bump husky from 8.0.3 to 9.0.2 (#1770) (7b33ee3)
- deps-dev: bump nodemon from 3.0.2 to 3.0.3 (#1769) (a65ecd2)
- deps-dev: bump playwright from 1.40.1 to 1.41.1 (#1773) (9866d4c)
- deps-dev: bump prettier from 3.1.0 to 3.1.1 (#1740) (ee571e8)
- deps-dev: bump prettier from 3.1.1 to 3.2.4 (c5e3049)
- deps-dev: bump the commitlint group with 2 updates (#1754) (d0d34e8)
- deps-dev: bump the commitlint group with 2 updates (#1763) (0263ea0)
- deps-dev: bump the eslint group with 1 update (#1752) (536c9d6)
- deps-dev: bump the eslint group with 2 updates (#1739) (9ac9ad2)
- deps-dev: bump the eslint group with 2 updates (#1765) (d6dd248)
- deps-dev: bump the eslint group with 3 updates (#1756) (a6fc617)
- deps-dev: bump the eslint group with 4 updates (#1749) (257166a)
- deps: bump fastify-disablecache from 3.1.7 to 3.1.8 (#1760) (6f53979)
- deps: bump fastify-disablecache from 3.1.8 to 3.1.9 (#1772) (bbabee4)
- deps: bump fastify-floc-off from 2.1.10 to 2.1.11 (#1767) (3066f53)
- deps: bump fastify-floc-off from 2.1.7 to 2.1.10 (#1758) (4e78662)
- deps: bump fastify-json-to-xml from 1.1.10 to 1.1.11 (#1766) (99c2acf)
- deps: bump fastify-json-to-xml from 1.1.9 to 1.1.10 (#1757) (c8717aa)
- deps: bump htmltidy2 from 1.1.1 to 1.2.0 (#1774) (ae70aa7)
- deps: bump jsdom from 23.0.1 to 23.2.0 (#1759) (41435a0)
- deps: bump jsdom from 23.2.0 to 24.0.0 (#1768) (6ee1e40)
- deps: bump node-unrtf from 4.1.2 to 4.1.6 (#1771) (d233342)
- deps: bump tesseract.js from 5.0.3 to 5.0.4 (#1753) (845b7b9)
- deps: bump the fastify-core group with 1 update (#1755) (3672efe)
- deps: bump the fastify-core group with 1 update (#1764) (a026051)
- deps: bump the fastify-core group with 3 updates (#1750) (2dee951)
- deps: bump the fastify-core group with 4 updates (#1748) (a09f462)
- deps: bump the pino-core group with 1 update (#1743) (eaedea8)
- deps: bump the pino-core group with 2 updates (#1747) (d6b8d18)
- deps: bump the pino-core group with 2 updates (#1751) (e2699d6)
- deps: use dotenv included with env-schema (2159f78)
Miscellaneous
- .github: tidy inline comment (4f3d398)
- .vscode: use local prettier version (04593cb)
- jsconfig: remove
lib
;target
will be used in absence (e88b090) - jsdoc comments must be complete sentences (0ae40bd)
- license: update license year (f713805)
- package: add
lint:fix
script (a57ac32) - package: fix
repository
structure (536c679) - package: run
lint:prettier
intest
script (05f477b) - scripts/license-checker: handle old license arrays or missing (adce0f0)
- use shared files from
fdawgs/.github
(2c61cbc)
Continuous integration
- automerge: optimise inline js scripts (e669b33)
- deps: bump actions/dependency-review-action from 3 to 4 (#1762) (9bb383c)
- deps: bump actions/upload-artifact from 3 to 4 (#1746) (dc31b36)
- deps: bump github/codeql-action from 2 to 3 (#1742) (123f72b)
Documentation
v11.0.7
11.0.7 (2023-12-02)
Dependencies
- deps-dev: bump nodemon from 3.0.1 to 3.0.2 (#1734) (88c01da)
- deps-dev: bump playwright from 1.40.0 to 1.40.1 (#1730) (1095e9d)
- deps-dev: bump the eslint group with 1 update (#1733) (41cf090)
- deps: bump clean-css from 5.3.2 to 5.3.3 (#1727) (49d348a)
- deps: bump fastify-disablecache from 3.1.6 to 3.1.7 (#1726) (8509fb9)
- deps: bump fastify-floc-off from 2.1.6 to 2.1.7 (#1729) (f5e8fd8)
- deps: bump fastify-json-to-xml from 1.1.8 to 1.1.9 (#1728) (7f8c218)
- deps: bump jsdom from 23.0.0 to 23.0.1 (#1725) (e16bb23)
- deps: bump node-unrtf from 4.1.1 to 4.1.2 (#1731) (e3d4ec2)
- deps: bump the fastify-core group with 1 update (#1724) (1bbcc40)
Continuous integration
v11.0.6
11.0.6 (2023-11-29)
Bug fixes
- plugins/pdf-to-txt: catch all falsey values in req body (530eed5)
- plugins/tidy-css: parse only css style rules (0efe316)
Dependencies
- deps-dev: bump @types/jest from 29.5.6 to 29.5.7 (#1707) (600a27e)
- deps-dev: bump @types/jest from 29.5.7 to 29.5.10 (#1720) (cffb4d0)
- deps-dev: bump autocannon from 7.12.0 to 7.14.0 (#1718) (117741f)
- deps-dev: bump esbuild from 0.19.5 to 0.19.8 (694c868)
- deps-dev: bump playwright from 1.39.0 to 1.40.0 (#1721) (eeb490f)
- deps-dev: bump prettier from 3.0.3 to 3.1.0 (#1717) (c0c1e29)
- deps-dev: bump the commitlint group with 2 updates (#1713) (91141c2)
- deps-dev: bump the eslint group with 2 updates (#1716) (91db693)
- deps-dev: remove broken eslint-plugin-security-node (2ee583d)
- deps: bump jsdom from 22.1.0 to 23.0.0 (#1719) (54df193)
- deps: bump node-poppler from 7.0.1 to 7.0.2 (#1709) (42151ad)
- deps: bump node-poppler from 7.0.2 to 7.1.0 (#1722) (8a1a76e)
- deps: bump tesseract.js from 5.0.2 to 5.0.3 (#1708) (78cffbe)
- deps: bump the fastify-core group with 3 updates (#1706) (b05eff2)
- deps: bump the fastify-core group with 3 updates (#1714) (949c2c4)
- deps: bump the pino-core group with 1 update (#1715) (f212494)
- deps: bump transistive dependencies (a682f55)
Miscellaneous
- package: install playwright browsers on install (25479fe)
- package: remove typescript exts from eslint (9bbc9f3)
- plugins/embed-html-images: tidy inline comment (3391a0a)
- plugins/tidy-html: use see jsdoc tag for inline comment link (4aa72a7)
- plugins: improve decorate plugin jsdoc tags (d889ed1)
Continuous integration
Improvements
- plugins/doc-to-txt: convert to decorator plugin (d47c3cd)
- plugins/docx-to-html: convert to decorator plugin (8fd0907)
- plugins/docx-to-html: input type for
convertToHtml
(329029c) - plugins/tidy-css: use optional chaining over ternary assignment (687f963)
- plugins/tidy-html: consolidate variables (896c7e9)
- plugins/tidy-html: return promise directly (4f4f872)
- plugins/tidy-html: use
for
overforEach
loop (77934b1) - plugins/tidy-html: use root node directly instead of searching (5e0a1c9)
- remove
UNRTF_BINARY_PATH
env variable (8677ef6) - routes/pdf/txt: return promise directly (723b70b)
Documentation
- readme: fix broken ci badge link (f36c2eb)
v11.0.5
11.0.5 (2023-10-29)
Dependencies
- deps-dev: bump the commitlint group with 2 updates (#1698) (871202b)
- deps-dev: bump the eslint group with 4 updates (#1701) (8c87116)
- deps: bump fastify-json-to-xml from 1.1.7 to 1.1.8 (#1704) (83bdbde)
- deps: bump node-unrtf from 4.1.0 to 4.1.1 (#1703) (c0d6a09)
- deps: bump redoc from 2.1.2 to 2.1.3 (#1702) (0f3bd09)
- deps: bump the fastify-core group with 2 updates (#1699) (44136db)
- deps: bump the pino-core group with 1 update (#1700) (a75928c)
- deps: bump transistive dependencies (96d9d1d)
- docker: bump node from 18-bullseye-slim to 20-bullseye-slim (3faac00)