Skip to content

Commit 3274d7a

Browse files
chore: version 1.25.0 (#1366)
1 parent a3adffa commit 3274d7a

File tree

4 files changed

+5
-17
lines changed

4 files changed

+5
-17
lines changed

docs/reference/async_app.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h1 class="title">Module <code>slack_bolt.async_app</code></h1>
3939
<p>Module for creating asyncio based apps</p>
4040
<h3 id="creating-an-async-app">Creating an async app</h3>
4141
<p>If you'd prefer to build your app with <a href="https://docs.python.org/3/library/asyncio.html">asyncio</a>, you can import the <a href="https://docs.aiohttp.org/en/stable/">AIOHTTP</a> library and call the <code><a title="slack_bolt.async_app.AsyncApp" href="#slack_bolt.async_app.AsyncApp">AsyncApp</a></code> constructor. Within async apps, you can use the async/await pattern.</p>
42-
<pre><code class="language-bash"># Python 3.6+ required
42+
<pre><code class="language-bash"># Python 3.7+ required
4343
python -m venv .venv
4444
source .venv/bin/activate
4545

docs/reference/logger/messages.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,14 @@ <h2 class="section-title" id="header-functions">Functions</h2>
208208
<div class="desc"></div>
209209
</dd>
210210
<dt id="slack_bolt.logger.messages.error_message_event_type"><code class="name flex">
211-
<span>def <span class="ident">error_message_event_type</span></span>(<span>event_type: str) ‑> str</span>
211+
<span>def <span class="ident">error_message_event_type</span></span>(<span>event_type: str | re.Pattern) ‑> str</span>
212212
</code></dt>
213213
<dd>
214214
<details class="source">
215215
<summary>
216216
<span>Expand source code</span>
217217
</summary>
218-
<pre><code class="python">def error_message_event_type(event_type: str) -&gt; str:
218+
<pre><code class="python">def error_message_event_type(event_type: Union[str, Pattern]) -&gt; str:
219219
return (
220220
f&#39;Although the document mentions &#34;{event_type}&#34;, &#39;
221221
&#39;it is not a valid event type. Use &#34;message&#34; instead. &#39;

docs/reference/util/utils.html

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
8383
<span>Expand source code</span>
8484
</summary>
8585
<pre><code class="python">def create_copy(original: Any) -&gt; Any:
86-
if sys.version_info.major == 3 and sys.version_info.minor &lt;= 6:
87-
# NOTE: Unfortunately, copy.deepcopy doesn&#39;t work in Python 3.6.5.
88-
# --------------------
89-
# &gt; rv = reductor(4)
90-
# E TypeError: can&#39;t pickle _thread.RLock objects
91-
# ../../.pyenv/versions/3.6.10/lib/python3.6/copy.py:169: TypeError
92-
# --------------------
93-
# As a workaround, this operation uses shallow copies in Python 3.6.
94-
# If your code modifies the shared data in threads / async functions, race conditions may arise.
95-
# Please consider upgrading Python major version to 3.7+ if you encounter some issues due to this.
96-
return copy.copy(original)
97-
else:
98-
return copy.deepcopy(original)</code></pre>
86+
return copy.deepcopy(original)</code></pre>
9987
</details>
10088
<div class="desc"></div>
10189
</dd>

slack_bolt/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Check the latest version at https://pypi.org/project/slack-bolt/"""
22

3-
__version__ = "1.24.0"
3+
__version__ = "1.25.0"

0 commit comments

Comments
 (0)