Skip to content

Releases: CraftSpider/dpytest

v0.7.0

19 Jun 17:02
Compare
Choose a tag to compare

⚠️ Warning ⚠️:

This can be breaking :

The configure function has changed.
It nows accepts either an int (like in the previous version) OR a list of string for the parameters guilds, text_channels, voice_channels and members.
But the names of the parameters had to be changed.

num_guilds, num_text_channels, num_voice_channels, num_members are DERECATED.

Example:

    dpytest.configure(bot,
                      guilds=["CoolGuild", "LameGuild"],
                      text_channels=["Fruits", "Videogames"],
                      voice_channels=2,
                      members=["Joe", "Jack", "William", "Averell"])

Other changes:

  • fixes in typing
  • add content_type to dict_from_attachment()

v0.6.8

16 Jun 13:35
Compare
Choose a tag to compare

discord.py 2.3

v0.6.7

16 Jun 12:47
Compare
Choose a tag to compare

Changes in this Release

  • Fix bug in channel_history
  • Fix issue #111

v0.6.6

16 Jun 12:48
Compare
Choose a tag to compare

Changes in this Release

  • Support asyncio tasks that have no __name__

v0.6.5

16 Jun 12:49
Compare
Choose a tag to compare

This release allows testing with Voice Channels.

New :

  • FakeVoiceChannel and FakeVoiceClient classes implemetation
  • New tests

Changes :

  • create_channel method can create voice channel

⚠️ Warning ⚠️:

This can be breaking :

the configure() function DOESN'T take the keyword parameter num_channels anymore, but instead :
num_text_channels and num_voice_channels

v0.6.4

03 Apr 12:07
Compare
Choose a tag to compare

Changes in this Release

  • Fix: edit message doesn't update message queue
  • Refactor __init__.py import to be explicit exports as per PEP 484

v0.6.3

03 Mar 09:25
Compare
Choose a tag to compare

Changes in this Release

  • Update requirements for discord.py 2.2.2

v0.6.2

01 Mar 08:32
Compare
Choose a tag to compare

Changes in this Release

  • Fix factories for Member for the "flags" issue new in discord.py 2.2.0

v0.6.1

13 Jan 15:24
Compare
Choose a tag to compare

Changes in this Release

  • Lint to pass flake8 CI/CD

v0.6.0

30 Nov 11:16
Compare
Choose a tag to compare

Changes in this Release

  • First version for working with dpytest>=2.X.X
    Changes have been made in backend, factories, websocket
  • Change the README
  • Change the setup.py for python >= 3.8
  • Changing in doc