|
| 1 | +======================== |
1 | 2 | Changelog |
2 | 3 | ======================== |
| 4 | +.. |BREAK_CH| replace:: **[Breaking change]** |
| 5 | + |
| 6 | +.. |POTENT_BREAK_CH| replace:: **[Potentially breaking change]** |
| 7 | + |
| 8 | +------------------------ |
| 9 | +Info |
| 10 | +------------------------ |
| 11 | + |
3 | 12 | .. seealso:: |
4 | | - `Releases <https://github.com/davidhozic/discord-advertisement-framework/releases>`_ |
| 13 | + `Releases <https://github.com/davidhozic/discord-advertisement-framework/releases>`_ |
5 | 14 |
|
6 | 15 | .. note:: |
7 | 16 | The library first started as a single file script that I didn't make versions of. |
8 | 17 | When I decided to turn it into a library, I've set the version number based on the amount of commits I have made since the start. |
9 | 18 |
|
10 | | -v2.1 |
| 19 | + |
| 20 | +Glossary |
| 21 | +====================== |
| 22 | +.. glossary:: |
| 23 | + |
| 24 | + |BREAK_CH| |
| 25 | + Means that the change will break functionality from previous version. |
| 26 | + |
| 27 | + |
11 | 28 | ---------------------- |
12 | | -- Proxy support |
13 | | -- Removed discord.EmbedField class, it is now replaced with discord.EmbedField |
14 | | -- ``timedelta`` object on ``start_period/end_period`` parameters |
15 | | -- Replaced ``start_now`` with ``start_in`` parameter, deprecated use of bool value |
16 | | -- :class:`framework.TextMESSAGE` and :class:`framework.VoiceMESSAGE` now check if the given channels are actually inside the guild |
17 | | -- Optional dependencies `voice` and `proxy` - to install use ``pip install discord-advert-framework[voice]`` and ``pip install discord-advert-framework[proxy]`` |
18 | | -- Time slippage correction: |
| 29 | +Releases |
| 30 | +---------------------- |
| 31 | + |
| 32 | +v2.1 |
| 33 | +=========== |
| 34 | +:``remove_after`` parameter: |
| 35 | + Classes: :class:`framework.guild.GUILD`, :class:`framework.guild.USER`, :class:`framework.message.TextMESSAGE`, :class:`framework.message.VoiceMESSAGE`, :class:`framework.message.DirectMESSAGE` |
| 36 | + |
| 37 | + now support the remove_after parameter which will remove the object from the shilling list when conditions met. |
| 38 | + |
| 39 | + |
| 40 | +:Proxies: |
| 41 | + Added support for using proxies. |
| 42 | + To use a proxy pass the :func:`framework.run` function with a ``proxy`` parameter |
| 43 | +:discord.EmbedField: |
| 44 | + |BREAK_CH| Replaced framework.EmbedFIELD with discord.EmbedField. |
| 45 | +:timedelta: |
| 46 | + start_period and end_period now support ``timedelta`` object to specify the send period. |
| 47 | + Use of ``int`` is deprecated |
| 48 | + |
| 49 | + |POTENT_BREAK_CH| Replaced ``start_now`` with ``start_in`` parameter, deprecated use of bool value. |
| 50 | + |
| 51 | +:Channel checking: |
| 52 | + :class:`framework.TextMESSAGE` and :class:`framework.VoiceMESSAGE` now check if the given channels are actually inside the guild |
| 53 | + |
| 54 | +:Optionals: |
| 55 | + |POTENT_BREAK_CH| Made some functionality optional: ``voice``, ``proxy`` and ``sql`` - to install use ``pip install discord-advert-framework[dependency here]`` |
19 | 56 |
|
20 | | -.. figure:: images/changelog_2_1_slippage_fix.png |
| 57 | +:Bug fixes: |
| 58 | + Time slippage correction: |
| 59 | + This occurred if too many messages were ready at once, which resulted in discord's rate limit, |
| 60 | + causing a permanent slip. |
21 | 61 |
|
22 | | - Time slippage correction |
| 62 | + .. figure:: images/changelog_2_1_slippage_fix.png |
| 63 | + |
| 64 | + Time slippage correction |
23 | 65 |
|
24 | | - |
25 | 66 |
|
26 | 67 | v2.0 |
27 | | ----------------------- |
| 68 | +=========== |
28 | 69 | - New cool looking web documentation (the one you're reading now) |
29 | 70 | - Added volume parameter to :class:`framework.VoiceMESSAGE` |
30 | 71 | - Changed ``channel_ids`` to ``channels`` for :class:`framework.VoiceMESSAGE` and :class:`framework.TextMESSAGE`. It can now also accept discord.<Type>Channel objects. |
|
35 | 76 | - Bug fixes and other small improvements. |
36 | 77 |
|
37 | 78 | v1.9.0 |
38 | | ----------------------- |
| 79 | +=========== |
39 | 80 | - Added support for logging into a SQL database (MS SQL Server only). See :ref:`relational database log (SQL)`. |
40 | 81 | - :func:`framework.run` function now accepts discord.Intents. |
41 | 82 | - :func:`framework.add_object` and :func:`framework.remove_object` functions created to allow for dynamic modification of the shilling list. |
42 | 83 | - Other small improvements. |
43 | 84 |
|
44 | 85 | v1.8.1 |
45 | | ----------------------- |
| 86 | +=========== |
46 | 87 | - JSON file logging. |
47 | 88 | - Automatic channel removal if channel get's deleted and message removal if all channels are removed. |
48 | 89 | - Improved debug messages. |
49 | 90 |
|
50 | 91 | v1.7.9 |
51 | | ----------------------- |
| 92 | +=========== |
52 | 93 | - :class:`framework.DirectMESSAGE` and :class:`framework.USER` classes created for direct messaging. |
53 | 94 |
|
54 | 95 |
|
0 commit comments