Skip to content

Commit 03560c9

Browse files
committed
Bump version to v1.5.0
1 parent 6013ba8 commit 03560c9

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,25 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77

8+
# v2.5.0
9+
10+
Non-Breaking Changes:
11+
12+
### Background
13+
Bots hosted by Heroku restart at least once every 27 hours.
14+
During this period, local caches are deleted, which results in the inability to
15+
set the scheduled close time to longer than 24 hours. This update
16+
resolves this issue.
17+
[PR #135](https://github.com/kyb3r/modmail/pull/135)
18+
19+
20+
### Changed
21+
- Created a new internal config var: `closures`.
22+
- Store closure details into `closures` when the scheduled time isn't "now".
23+
- Loaded upon bot restart.
24+
- Deleted when a thread is closed.
25+
- Use `call_later()` instead of `sleep()` for scheduling.
26+
827
# v2.4.5
928

1029
### Fixed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
SOFTWARE.
2323
"""
2424

25-
__version__ = '2.4.5'
25+
__version__ = '2.5.0'
2626

2727
import asyncio
2828
import textwrap

0 commit comments

Comments
 (0)