Skip to content

Commit

Permalink
Release miniirc v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
luk3yx committed Sep 26, 2021
1 parent dc6415b commit 8e289e3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ Notes:
- This changelog may contain typographical errors, it is still a
work-in-progress.

## 1.7.0 - Unreleased
## 1.7.0 - 2021-09-26

### Added

- The ability to make miniirc run handlers in thread pools using the
"executor" keyword argument.
"executor" keyword argument. I strongly recommend using this
(`executor=concurrent.futures.ThreadPoolExecutor()`) if you plan to support
Python 3.7 to 3.8 because of a memory leak
(see [BPO 36402](https://bugs.python.org/issue36402) for more information).

### Changed

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ You don't need to add every argument, and the `ip`, `port`, `nick`, and
`channels` arguments should be specified as positional arguments.

```py
irc = miniirc.IRC('irc.example.com', 6697, 'my-bot', ['#my-channel'], ns_identity=('my-bot', 'hunter2'))
irc = miniirc.IRC('irc.example.com', 6697, 'my-bot', ['#my-channel'], ns_identity=('my-bot', 'hunter2'), executor=concurrent.futures.ThreadPoolExecutor())
```

### Parameter descriptions
Expand Down
4 changes: 2 additions & 2 deletions miniirc.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import atexit, errno, threading, time, socket, ssl, sys

# The version string and tuple
ver = __version_info__ = (1,7,0,'a0')
version = 'miniirc IRC framework v1.7.0a0'
ver = __version_info__ = (1,7,0)
version = 'miniirc IRC framework v1.7.0'
__version__ = '1.7.0'

# __all__ and _default_caps
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name = 'miniirc',
version = '1.6.3',
version = '1.7.0',
py_modules = ['miniirc'],
author = 'luk3yx',
description = 'A lightweight IRC framework.',
Expand Down

0 comments on commit 8e289e3

Please sign in to comment.