# Changelog

## [1.42.6](https://github.com/nodemailer/wildduck/compare/v1.42.5...v1.42.6) (2024-04-22)


### Bug Fixes

* **api-ApplicationPassword:** Added all ApplicationPasswords API endpoints to API docs generation ZMS-136 ([#645](https://github.com/nodemailer/wildduck/issues/645)) ([9f9c55a](https://github.com/nodemailer/wildduck/commit/9f9c55a886aa73777ed425680a3fd98dfbe9887f))
* **api-audit:** Added all Audit API endpoints to API docs generation ZMS-135 ([#642](https://github.com/nodemailer/wildduck/issues/642)) ([b9e3f94](https://github.com/nodemailer/wildduck/commit/b9e3f94c6f561dff8598f160aac009adedeb2ec7))
* **api-certs:** Certs API endpoints added to API docs generation ZMS-141 ([#663](https://github.com/nodemailer/wildduck/issues/663)) ([f55ddea](https://github.com/nodemailer/wildduck/commit/f55ddea06df53005aa464378b3229ea0cd140b46))
* **api-dkim:** Fix empty p value in dnsText.value if no private key initially given ZMS-142 ([#664](https://github.com/nodemailer/wildduck/issues/664)) ([d983477](https://github.com/nodemailer/wildduck/commit/d9834776f3afc0895dd36a3b6589ccd4d3b85385))
* **api-domainaccess:** Added all DomainAccess endpoints to api docs generation ZMS-144 ([#670](https://github.com/nodemailer/wildduck/issues/670)) ([c846b66](https://github.com/nodemailer/wildduck/commit/c846b66e170412e44112470242624b64a99dd9dd))
* **api-generate:** API docs generation now is run through a separate npm command ZMS-139 ([#659](https://github.com/nodemailer/wildduck/issues/659)) ([6548f3c](https://github.com/nodemailer/wildduck/commit/6548f3cd5efcf3a768dced5661ef9c61c797a45a))
* **api-messages-attachment-download:** is sendAsString param is set, and is set to true then decode the original file and send back as UTF-8 ZMS-134 ([#655](https://github.com/nodemailer/wildduck/issues/655)) ([1f27778](https://github.com/nodemailer/wildduck/commit/1f27778ae88947027ec613bb3e4f1dd3aff6351f))
* **api-messages-intro:** Take intro from HTML if possible ZMS-112 ([#672](https://github.com/nodemailer/wildduck/issues/672)) ([9d9fbd2](https://github.com/nodemailer/wildduck/commit/9d9fbd25c4b5559e654f7a071c47b42b7856fd74))
* **api-messages:** Added all messages endpoints to api docs generation ZMS-140 ([#666](https://github.com/nodemailer/wildduck/issues/666)) ([6e251c5](https://github.com/nodemailer/wildduck/commit/6e251c5baed520b7e165de514d9308323d1e1ef8))
* **api-messages:** messages fix response types ([#673](https://github.com/nodemailer/wildduck/issues/673)) ([16c6fb8](https://github.com/nodemailer/wildduck/commit/16c6fb8b7c6af0de5d338e5d80d67f0243ea9e25))
* **api-settings:** Added all Settings API endpoints to API docs generation ZMS-145 ([#671](https://github.com/nodemailer/wildduck/issues/671)) ([02a43c6](https://github.com/nodemailer/wildduck/commit/02a43c6330edded905568e178456d1ef44ca14c1))
* **deps:** Bumped deps ([2d0e920](https://github.com/nodemailer/wildduck/commit/2d0e920e0b04b18c4f189bd5835e84af78066b81))

## [1.42.5](https://github.com/nodemailer/wildduck/compare/v1.42.4...v1.42.5) (2024-03-14)


### Bug Fixes

* **roles:** Added new role 'downloader' that can download any email ([4dbc5c5](https://github.com/nodemailer/wildduck/commit/4dbc5c50329f33127edf1949123579ac6a2cc8a7))

## [1.42.4](https://github.com/nodemailer/wildduck/compare/v1.42.3...v1.42.4) (2024-03-14)


### Bug Fixes

* **deploy:** Fixed package-lock for release ([d57a397](https://github.com/nodemailer/wildduck/commit/d57a397fd33da28c86b22887474202fef3c5884b))

## [1.42.3](https://github.com/nodemailer/wildduck/compare/v1.42.2...v1.42.3) (2024-03-14)


### Bug Fixes

* **api-autoreplies:** Added logging to graylog. Autoreply docs have a created field now ZMS-127 ([#633](https://github.com/nodemailer/wildduck/issues/633)) ([f6f5f5e](https://github.com/nodemailer/wildduck/commit/f6f5f5eb65023e8272fbac4d07da1d70070ea5e4))
* **api-domainaliases:** Added DomainAliases API endpoints to API docs generation ZMS-132 ([#641](https://github.com/nodemailer/wildduck/issues/641)) ([5af8126](https://github.com/nodemailer/wildduck/commit/5af8126e549760fb2a0c51be9dff73a16164d44e))
* **api-generation:** api generation package now uses WIldduck Joi and does not depend on fixed joi version ZMS-126 ([#639](https://github.com/nodemailer/wildduck/issues/639)) ([9f704f7](https://github.com/nodemailer/wildduck/commit/9f704f7c5d6bbb99db85c96c2ec494490dc34564))
* **api-quota:** Quota reset now also logs storage diff. Log now includes zero valued fields ZMS-128 ([#640](https://github.com/nodemailer/wildduck/issues/640)) ([64c6b5e](https://github.com/nodemailer/wildduck/commit/64c6b5e63cc7d7fbcc6d17ea0e63108c07bceb78))
* **move:** Extend move operaiton lock automatically ([b1ba513](https://github.com/nodemailer/wildduck/commit/b1ba513a5571f19980283dbec2199171abc09fa0))
* **move:** Increase lock time for moving messages ([b7f0aa6](https://github.com/nodemailer/wildduck/commit/b7f0aa6a22cd8cc57071dce5ed03483b28442ff5))
* **password-hash:** Rehash pbkdf2 if required iterations count increases ([3b7f28c](https://github.com/nodemailer/wildduck/commit/3b7f28c1281b14f5d7e84bd3d630eee96e8dd91f))
* **password-hash:** Update PBKDF2 iteration count to more closely align with OWASP recommendations ([#648](https://github.com/nodemailer/wildduck/issues/648)) ([46654da](https://github.com/nodemailer/wildduck/commit/46654da594a8cca006bcaf93f94d443a04130efd))

## [1.42.2](https://github.com/nodemailer/wildduck/compare/v1.42.1...v1.42.2) (2024-02-26)


### Bug Fixes

* **api-2fa:** Added 2FA API endpoints to API docs generation ZMS-124 ([#626](https://github.com/nodemailer/wildduck/issues/626)) ([0efae19](https://github.com/nodemailer/wildduck/commit/0efae19f9e5d6368ec4121d7f4601df470ebba24))
* **api-addresses:** Fix tags typo in addresses.js ([#627](https://github.com/nodemailer/wildduck/issues/627)) ([7e9e62e](https://github.com/nodemailer/wildduck/commit/7e9e62ea7ae05da7f7b20ec1027df5649c26534e))
* **api-autoreply:** Autoreply API endpoints added to API docs generation ZMS-130 ([#632](https://github.com/nodemailer/wildduck/issues/632)) ([aa60ef9](https://github.com/nodemailer/wildduck/commit/aa60ef93fec943718a5a1fa03494526162cbabed))
* **api-dkim:** Add all DKIM API endpoints to API docs generation ZMS-129 ([#630](https://github.com/nodemailer/wildduck/issues/630)) ([78a9e1b](https://github.com/nodemailer/wildduck/commit/78a9e1b2a8fbc413663716bfe92fe3b2855c54d1))
* **api-dkim:** DKIM now supports ED25519 keys, both in PEM and raw format as input ZMS-125 ([#617](https://github.com/nodemailer/wildduck/issues/617)) ([3d7d0a6](https://github.com/nodemailer/wildduck/commit/3d7d0a6d6a8e38d9e368cc9ffa9abe9c3302b232))
* **api-filters:** Filter creation is now logged to graylog and authlog ZMS-34 ([#616](https://github.com/nodemailer/wildduck/issues/616)) ([6f0e4b5](https://github.com/nodemailer/wildduck/commit/6f0e4b54be9dd83ebd781d3aed204a8934da29fe))
* **git:** Changed git: url in install script to https: ([#610](https://github.com/nodemailer/wildduck/issues/610)) ([5019cf1](https://github.com/nodemailer/wildduck/commit/5019cf13b28dc30b6e1440717fe9ece031da9cba))
* **imap-starttls:** define `SNICallback` only when insecure (closes [#635](https://github.com/nodemailer/wildduck/issues/635)) ([#637](https://github.com/nodemailer/wildduck/issues/637)) ([4b19dee](https://github.com/nodemailer/wildduck/commit/4b19dee20b740f9636ab6a06f1379a4fe5f433fb))
* **pop3-starttls:** ensure default SNICallback option ([f61111e](https://github.com/nodemailer/wildduck/commit/f61111e3cc2d48aaa4ae0ad31e0665caa3db8394))

## [1.42.1](https://github.com/nodemailer/wildduck/compare/v1.42.0...v1.42.1) (2024-02-07)


### Bug Fixes

* **api-filters:** Add Filters API endpoints to API docs generation ZMS-121 ([#611](https://github.com/nodemailer/wildduck/issues/611)) ([95f829d](https://github.com/nodemailer/wildduck/commit/95f829d16aa24883bd763179581b5288acc51f3d))
* **api-generate:** Move API generation code into separate package and use it ZMS-119 ([#613](https://github.com/nodemailer/wildduck/issues/613)) ([c7a1ab4](https://github.com/nodemailer/wildduck/commit/c7a1ab49874ae422c28129f77d5624ccc89af1ff))
* **deps:** downgraded joi to fix conflict with restifyapigenerate ([6724ec9](https://github.com/nodemailer/wildduck/commit/6724ec9f5ecc4ff67ffc8cbc30d42c5bec135ec5))

## [1.42.0](https://github.com/nodemailer/wildduck/compare/v1.41.3...v1.42.0) (2024-02-05)


### Features

* **api-addresses:** ZMS-115 ([#608](https://github.com/nodemailer/wildduck/issues/608)) ([85e09ec](https://github.com/nodemailer/wildduck/commit/85e09ecc772618ea2bccc7912181c6217a6e7b9c))
* **api-health:** Added `/health` endpoint to check Wildduck API health during runtime ZMS-120 ([#607](https://github.com/nodemailer/wildduck/issues/607)) ([84ab0c0](https://github.com/nodemailer/wildduck/commit/84ab0c09dcf915eb29652c49244708703be21b0c))
* **api-mailboxes:** Mailboxes API endpoints added to automatic API docs generation ZMS-114 ([#602](https://github.com/nodemailer/wildduck/issues/602)) ([76d0e8f](https://github.com/nodemailer/wildduck/commit/76d0e8f9e29c09b60129d3c8bacfc1db64328c73))
* **api-search:** Allow searching for messages by uid ([#587](https://github.com/nodemailer/wildduck/issues/587)) ([a4ae3d7](https://github.com/nodemailer/wildduck/commit/a4ae3d7113758d51a9ab04f6ea0bf97fbbcc48c2))
* **api-upload:** Allow to upload a draft message with incorrect (non-emal) `to` addresses ZMS-117 ([#595](https://github.com/nodemailer/wildduck/issues/595)) ([8b7f6c9](https://github.com/nodemailer/wildduck/commit/8b7f6c923ef89fd4391862f3719810b56008ca22))
* **upload:** ZMS-111 ([#584](https://github.com/nodemailer/wildduck/issues/584)) ([6bdeeaa](https://github.com/nodemailer/wildduck/commit/6bdeeaa164fbe125fc9e771c1846386299a0cc26))


### Bug Fixes

* **api-docs:** Fix openapi.yaml so it passes schema validation ([#588](https://github.com/nodemailer/wildduck/issues/588)) ([4a4fb2f](https://github.com/nodemailer/wildduck/commit/4a4fb2feeddcbf799b4fd36554b307b48cf0ace6))
* **api-docs:** Fixed requestBody in API docs ZMS-118 ([#593](https://github.com/nodemailer/wildduck/issues/593)) ([fae91d1](https://github.com/nodemailer/wildduck/commit/fae91d148444029e6f1da101cb15da8d431ce6e4))
* **api-search:** Fixed or query. Fixes [#592](https://github.com/nodemailer/wildduck/issues/592) ([4336554](https://github.com/nodemailer/wildduck/commit/43365542a375433174ea3f8659b4f3ffb0a67732))
* **api:** header.key and header.value not required ZMS-116 ([#582](https://github.com/nodemailer/wildduck/issues/582)) ([29cffe0](https://github.com/nodemailer/wildduck/commit/29cffe0d5f92373d22dc3be0b36543ad0c7a381c))
* **deps:** bumped deps to upgrade mailauth for fixed ed25519 DKIM support ([857e4c0](https://github.com/nodemailer/wildduck/commit/857e4c0a01327d12f87f0017dcf40e2c9967347e))
* **docs:** /users API docs ZMS-110 ([#575](https://github.com/nodemailer/wildduck/issues/575)) ([a15878c](https://github.com/nodemailer/wildduck/commit/a15878c7d709473c5b0d4eec2062e9425c9b5e31))
* **journal-parse:** Improve idle CPU performance ZMS-109 ([#597](https://github.com/nodemailer/wildduck/issues/597)) ([5721047](https://github.com/nodemailer/wildduck/commit/5721047bc1c23b816f08cbf1cba7fbe494724af5))
* **message-threading:** Take non-standard but conventional subject prefixes into account ([#605](https://github.com/nodemailer/wildduck/issues/605)) ([816114f](https://github.com/nodemailer/wildduck/commit/816114f655e34adc15dc27ee13530fdc094b01e0))
* **pop3:** if connection is closed during authentication, then do not process the response. Fixes [#596](https://github.com/nodemailer/wildduck/issues/596) ([eecb31a](https://github.com/nodemailer/wildduck/commit/eecb31ac9a55b6d60a0d5f956375b35a7a5c0363))

## [1.41.3](https://github.com/nodemailer/wildduck/compare/v1.41.2...v1.41.3) (2023-12-19)


### Bug Fixes

* **api:** Remove unnecessary required() that brakes the e-mail send ([#580](https://github.com/nodemailer/wildduck/issues/580)) ([d80ba77](https://github.com/nodemailer/wildduck/commit/d80ba77650f539a47e5a7c28cfd9c9d0de48b3e4))

## [1.41.2](https://github.com/nodemailer/wildduck/compare/v1.41.1...v1.41.2) (2023-12-15)


### Bug Fixes

* **upload:** allow empty name field in the Upload message FROM: header  ZMS-113 ([#577](https://github.com/nodemailer/wildduck/issues/577)) ([c1e28db](https://github.com/nodemailer/wildduck/commit/c1e28db0f3d37b507e7aaef6b26557b27f7ab2f3))

## [1.41.1](https://github.com/nodemailer/wildduck/compare/v1.41.0...v1.41.1) (2023-12-14)


### Bug Fixes

* **defer:** Added new setting const:sender:defer_times ZMS 63 ([#574](https://github.com/nodemailer/wildduck/issues/574)) ([9aab242](https://github.com/nodemailer/wildduck/commit/9aab24267b8c90d7d1af30fcace8c60704e1ea27))
* **mime-parsing:** ensure that text content for multipart nodes always ends with a newline. Fixes [#571](https://github.com/nodemailer/wildduck/issues/571) ([6f4994d](https://github.com/nodemailer/wildduck/commit/6f4994d3a00c8ec73921b443aee4c2cc65561922))

## [1.41.0](https://github.com/nodemailer/wildduck/compare/v1.40.10...v1.41.0) (2023-11-30)


### Features

* **apidocs:** Autogenerate OpenAPI docs ZMS-100 ([#552](https://github.com/nodemailer/wildduck/issues/552)) ([ea24b93](https://github.com/nodemailer/wildduck/commit/ea24b9328b6984db841de86309f1712f100acb97))
* **docs:** ZMS-[9x] Automatic API generation ([#535](https://github.com/nodemailer/wildduck/issues/535)) ([c1cc143](https://github.com/nodemailer/wildduck/commit/c1cc143663bc8ad81794eb9bf4cee04a37937899))
* **mailbox-count-limit:** Set a limit for maximum number of mailbox folders ZMS-93 ([#542](https://github.com/nodemailer/wildduck/issues/542)) ([779bb11](https://github.com/nodemailer/wildduck/commit/779bb11e831eb902330db3ed9056f90aeba4234c))


### Bug Fixes

* **addressregister:** Do not add no-reply addresses to the addressregister ZMS-99 ([#551](https://github.com/nodemailer/wildduck/issues/551)) ([be24af0](https://github.com/nodemailer/wildduck/commit/be24af0d2665fb27f85ff0f0435e4480c21575fa))
* **audit:** Fixed `find()` query for expired audits ([#547](https://github.com/nodemailer/wildduck/issues/547)) ([48b9efb](https://github.com/nodemailer/wildduck/commit/48b9efb8ca4b300597b2e8f5ef4aa307ac97dcfe))
* **docs:** Added support for enums ZMS-104 ([#565](https://github.com/nodemailer/wildduck/issues/565)) ([28bdc76](https://github.com/nodemailer/wildduck/commit/28bdc7621e13a96965a2a24caee873cf15b8aa31))
* **docs:** Fixed descriptions ZMS-101 ([#553](https://github.com/nodemailer/wildduck/issues/553)) ([3c9e175](https://github.com/nodemailer/wildduck/commit/3c9e17595cffd32475f51aa104ab09d721989e6f))
* **imap-search:** rename `headerdate` to `date` (closes [#560](https://github.com/nodemailer/wildduck/issues/560)) ([#561](https://github.com/nodemailer/wildduck/issues/561)) ([fd98244](https://github.com/nodemailer/wildduck/commit/fd98244342089dc8a587e3e45b559f12f8764140))
* **imap:** fixed string conversion to utf8 vs binary (closes [#563](https://github.com/nodemailer/wildduck/issues/563)) ([#564](https://github.com/nodemailer/wildduck/issues/564)) ([ee2708e](https://github.com/nodemailer/wildduck/commit/ee2708e4c150f79745a2a81e3e4555a7549c426d))
* **mailbox-create:** Use correct database for loading User data when creating mailboxes ([#550](https://github.com/nodemailer/wildduck/issues/550)) ([4434cb5](https://github.com/nodemailer/wildduck/commit/4434cb5e1ff4414da874b62997da5ea41892a286))

## [1.40.10](https://github.com/nodemailer/wildduck/compare/v1.40.9...v1.40.10) (2023-10-16)


### Bug Fixes

* **api-filters:** Return valid action.mailbox value for a filter object ([c00cc02](https://github.com/nodemailer/wildduck/commit/c00cc026586fb20eb4509f0d9cc66174bb792c5d))
* **attachments:** Added contentDisposition property for attachments ([292bbc2](https://github.com/nodemailer/wildduck/commit/292bbc28217f6ad271edbcea8416d2bab719726f))
* **imapconnection:** inherit logger and loggelf from server for IMAPConnection ([#533](https://github.com/nodemailer/wildduck/issues/533)) ([667f992](https://github.com/nodemailer/wildduck/commit/667f992ca4bb9f7b50e6f8102ce08f1d3bc0b962))

## [1.40.9](https://github.com/nodemailer/wildduck/compare/v1.40.8...v1.40.9) (2023-10-09)


### Bug Fixes

* **deps:** Bumped nodemailer to force embedded images to content-disposition:inline ([1fee80e](https://github.com/nodemailer/wildduck/commit/1fee80eb30411e9dff73ee762f3528c1c61f9b96))

## [1.40.8](https://github.com/nodemailer/wildduck/compare/v1.40.7...v1.40.8) (2023-10-05)


### Bug Fixes

* **docker:** moved docker release workflow under release workflow ([2641c7e](https://github.com/nodemailer/wildduck/commit/2641c7e7be07fc174d2275a641c05c2da6caa48b))

## [1.40.7](https://github.com/nodemailer/wildduck/compare/v1.40.6...v1.40.7) (2023-10-05)


### Bug Fixes

* **docker:** moved docker release workflow under release workflow ([64be636](https://github.com/nodemailer/wildduck/commit/64be63686fa5a7fe291589b15121c2967801acd6))

## [1.40.6](https://github.com/nodemailer/wildduck/compare/v1.40.5...v1.40.6) (2023-10-05)


### Bug Fixes

* **docker:** moved docker release workflow under release workflow ([8db8d21](https://github.com/nodemailer/wildduck/commit/8db8d212850fdf42a4ae394eff99175e03c535b4))

## [1.40.5](https://github.com/nodemailer/wildduck/compare/v1.40.4...v1.40.5) (2023-10-05)


### Bug Fixes

* **docker:** moved docker release workflow under release workflow ([efbe0dd](https://github.com/nodemailer/wildduck/commit/efbe0dd67306d2c91d2f2737177526b6abaf730d))

## [1.40.4](https://github.com/nodemailer/wildduck/compare/v1.40.3...v1.40.4) (2023-10-05)


### Bug Fixes

* **package:** fixed breaking package lock file ([c008191](https://github.com/nodemailer/wildduck/commit/c0081919fe09dc88617bd80be85c6fe5dcfa05b7))

## [1.40.3](https://github.com/nodemailer/wildduck/compare/v1.40.2...v1.40.3) (2023-10-05)


### Bug Fixes

* **docker:** trying to get release building working ([761f5fa](https://github.com/nodemailer/wildduck/commit/761f5fa18d1260f8dcf5dbb2dcaab078c4d90aab))

## [1.40.2](https://github.com/nodemailer/wildduck/compare/v1.40.1...v1.40.2) (2023-10-05)


### Bug Fixes

* fixed typo validateSequnce &gt; validateSequence (closes [#518](https://github.com/nodemailer/wildduck/issues/518)) ([#520](https://github.com/nodemailer/wildduck/issues/520)) ([8766ab9](https://github.com/nodemailer/wildduck/commit/8766ab9cf50c624d7f1f94ed7136d71387762449))
* **pop3:** run socket.destroy() if pop3 socket is not closed in 1.5s ([2de6c0b](https://github.com/nodemailer/wildduck/commit/2de6c0bc128424e97b53d98239738c9c1c362e0c))

## [1.40.1](https://github.com/nodemailer/wildduck/compare/v1.40.0...v1.40.1) (2023-10-04)


### Bug Fixes

* **debug:** replaced SIGPIPE with SIGHUP to generate snapshots ([7a30ed7](https://github.com/nodemailer/wildduck/commit/7a30ed7861166e92f63e9157f3b1719957cd8520))
* **sending:** Do not count sending limits twice ([#505](https://github.com/nodemailer/wildduck/issues/505)) ([b9349f6](https://github.com/nodemailer/wildduck/commit/b9349f6e8315873668d605e6567ced2d7b1c0c80))

## [1.40.0](https://github.com/nodemailer/wildduck/compare/v1.39.15...v1.40.0) (2023-09-28)


### Features

* **storage:** Added cid property to storage files ([#502](https://github.com/nodemailer/wildduck/issues/502)) ([80797ee](https://github.com/nodemailer/wildduck/commit/80797eebec9f11df3b63b52575609610aa8bfd0c))


### Bug Fixes

* **index:** removed unneeded related_attachments index ([81ec8ca](https://github.com/nodemailer/wildduck/commit/81ec8ca2f59f083c1ded6814ca98076e2e1ee44c))
* **test:** Added POST storage test ([#492](https://github.com/nodemailer/wildduck/issues/492)) ([1c17f5f](https://github.com/nodemailer/wildduck/commit/1c17f5fefc456e95a1f226ca826a273ca07336c4))

## [1.39.15](https://github.com/nodemailer/wildduck/compare/v1.39.14...v1.39.15) (2023-09-05)


### Bug Fixes

* **ci:** Added NPM release workflow ([f4cdbb2](https://github.com/nodemailer/wildduck/commit/f4cdbb2ba5f9607dc6ca521cfcbaaed14d338bef))
* **ci:** Added NPM release workflow ([326ed59](https://github.com/nodemailer/wildduck/commit/326ed59bb94cac6e462b2a503a26eaafd0137093))
* **release:** Added package-lock required for pubslishing ([6b42cc5](https://github.com/nodemailer/wildduck/commit/6b42cc5c289645299d14e08ae42c75aecabf3217))
* **release:** updated repo url for automatic publishing ([48ce200](https://github.com/nodemailer/wildduck/commit/48ce2005be143767f53d8251d0b40e9661c31930))
