CHANGELOG.md
# Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/).
### Unreleased
### [1.2.5] - 2024-07-16
- fix: remove expired rate_conn hash keys (#66)
### [1.2.4] - 2024-06-09
- Fix max_recipients loop iterator (introduced in 2c5fdd49) #63
### [1.2.3] - 2024-04-23
- fix: added `[main]` property to package.json. Fixes #61
### [1.2.2] - 2024-04-22
- populate [files] in package.json. Delete .npmignore. #60
- dep: eslint-plugin-haraka -> @haraka/eslint-config
- lint: remove duplicate / stale rules from .eslintrc
- deps: bump versions
- format: prettier
### [1.2.1] - 2024-03-20
- deps: bump versions
- fix: undo increment if the email sending is delayed (#56)
### [1.2.0] - 2023-12-27
- disable history by default (match docs)
- ci: use shared workflows
### [1.1.1] - 2022-12-18
- package.json: remove deprecated 'main'
### [1.1.0] - 2022-08-18
- initialize redis when only concurrency is enabled (#42)
### [1.0.7] - 2022-06-03
- chore: add .release as a submodule
- ci: limit dependabot updates to production deps
- ci: populate test matrix with Node.js LTS versions
- cfg: rename redis.db -> redis.database, pi-redis 2+ does this automatically, causing a test failure
### 1.0.6 - 2022-05-25
- feat: update redis commands to be v4 compatible
- feat: only load redis when needed, fixes #23
- style: replaced callbacks with async/await in:
get_host_key, get_mail_key, and rate_limit
- dep(eslint): v6 -> v8
- dep(redis): 3 -> 4
- ci: add codeql & publish
### 1.0.5 - 2022-03-08
- fix invalid main field in package.json
### 1.0.4 - 2017-03-23
- for outbound, find domain at hmail.todo.domain then hmail.domain.
- noop: use es6 arrow functions
### 1.0.3 - 2017-03-09
- add `enabled=false` flag for each limit type, defaults to off, matching the docs.
### 1.0.2 - 2017-02-06
- when redis handle goes away, skip processing
- add a 5 minute expiration on outbound rate limit entries
### 1.0.1 - 2017-01-28
- increment rate_conn on connect_init
- increment rate_rcpt_host on rcpt/rcpt_ok
[1.0.6]: https://github.com/haraka/haraka-plugin-limit/releases/tag/1.0.6
[1.0.7]: https://github.com/haraka/haraka-plugin-limit/releases/tag/1.0.7
[1.1.0]: https://github.com/haraka/haraka-plugin-limit/releases/tag/1.1.0
[1.1.1]: https://github.com/haraka/haraka-plugin-limit/releases/tag/v1.1.1
[1.2.0]: https://github.com/haraka/haraka-plugin-limit/releases/tag/v1.2.0
[1.2.1]: https://github.com/haraka/haraka-plugin-limit/releases/tag/v1.2.1
[1.2.2]: https://github.com/haraka/haraka-plugin-limit/releases/tag/v1.2.2
[1.2.3]: https://github.com/haraka/haraka-plugin-limit/releases/tag/v1.2.3
[1.2.4]: https://github.com/haraka/haraka-plugin-limit/releases/tag/v1.2.4
[1.2.5]: https://github.com/haraka/haraka-plugin-limit/releases/tag/v1.2.5