Skip to content

Commit f168a6c

Browse files
committed
Version bump and changelog for 1.3.0
1 parent 63c03bb commit f168a6c

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from .core import ModalPaginator as ModalPaginator, PaginatorModal as PaginatorModal
22
from .custom_button import CustomButton as CustomButton
33

4-
__version__ = "1.3.0a"
4+
__version__ = "1.3.0"
55
__author__ = "Soheab"
66
__license__ = "MPL-2.0"

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
88

99
project = "modal-paginator"
10-
copyright = "2023, Soheab_"
10+
copyright = "2023-2025, Soheab_"
1111
author = "Soheab_"
12-
release = "1.3.0a"
12+
release = "1.3.0"
1313

1414
# -- General configuration ---------------------------------------------------
1515
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

docs/whats_new.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,39 @@ Changelog
88
This page keeps a detailed human friendly rendering of what's new and changed
99
in specific versions.
1010

11+
v1.3.0
12+
-------
13+
14+
.. warning::
15+
16+
Heads up! This version is the last version that supports a lower version of discord.py than `2.5.2`.
17+
18+
Please update your discord.py version to `2.5.2` or higher to use this extension.
19+
20+
Features
21+
~~~~~~~~
22+
23+
- :commit:`b17db0846db299c614f795e71112b578d3e7c2eb` Added a support for ``__iter__`` to :class:`.ModalPaginator`.
24+
This means you can now easily iterate over all modals and their text inputs:
25+
26+
.. code-block:: python3
27+
28+
for modal, text_inputs in paginator:
29+
...
30+
- :commit:`6adc7b2e4ff14ab75379b33e7c2a7d3480b3d42f` Added two new kwargs to :meth:`.ModalPaginator.from_text_inputs`:
31+
32+
* ``max_inputs_per_modal``
33+
34+
* ``titles_steps``
35+
36+
See the kwarg's docstring for more information.
37+
38+
Bug Fixes
39+
~~~~~~~~~
40+
41+
- :commit:`ba5e8a980461640697429d6c58fff928ab9941ed` Fix a bug where it couldn't edit
42+
it's own message due to a semi-breaking change in discord.py 2.5.0.
43+
1144
v1.2.0
1245
-------
1346

0 commit comments

Comments
 (0)