Releases: Pycord-Development/pycord
Releases · Pycord-Development/pycord
v2.6.1
What's Changed
- Fixed premature garbage collection of tasks by @Haptein in #2510
- Fixed
EntitlementIterator
type hints and behavior withlimit > 100
by @yoggys in #2555 - Fixed missing
stacklevel
parameter inwarn_deprecated
function call inside@utils.deprecated
by @Readeem in #2500 - Fixed the type hint in
ConnectionState._polls
to reflect actual behavior, changing it fromGuild
toPoll
by @Readeem in #2500 - Fixed missing
__slots__
attributes inRawReactionClearEmojiEvent
andRawMessagePollVoteEvent
by @Readeem in #2500 - Fixed the type of
ForumChannel.default_sort_order
, changing it fromint
toSortOrder
by @Readeem in #2500 - Fixed
PartialMessage
causing errors when created fromPartialMessageable
by @plun1331 in #2568 - Fixed the
guild
attribute ofMember
s recieved from aUserCommand
beingNone
by @plun1331 in #2573 - Fixed
Webhook.send
not including attachment data by @NeloBlivion in #2513 - Fixed inverted type hints in
CheckAnyFailure
by @Paillat-dev in #2502
Full Changelog: v2.6.0...v2.6.1
v2.6.0
What's Changed
- feat: Change type of
Guild.bitrate_limit
toint
. by @yoggys in #2387 - fix: Proper type-hinting & docstring of
Member.move_to
andMember.edit
by @yoggys in #2386 - fix: Replace deprecated pkg_resources with importlib.metadata to clear DeprecationWarning by @Revnoplex in #2392
- feat: add
banner
toClientUser.edit
by @Braandn in #2396 - fix: add user argument to paginator.edit by @NeloBlivion in #2390
- docs: fix typo by @JustaSqu1d in #2401
- fix: NameError in interaction edge cases by @NeloBlivion in #2402
- feat: retry http requests that fail with a 503 status by @D4rk-S0ul in #2395
- fix: type-hinting in ScheduledEvent.subscribers by @yoggys in #2400
- fix: TypeError when
ScheduledEvent.subscribers
limit is None by @yoggys in #2407 - feat: add once kwarg to Cog.listener by @NeloBlivion in #2403
- fix: pass proper state to interaction._guild by @NeloBlivion in #2411
- fix: option and BridgeOption adjustments by @NeloBlivion in #2417
- feat: implement Guild.search_members by @NeloBlivion in #2418
- fix: Added member data to the raw_reaction_remove event by @jordan-day in #2412
- docs: remove false optional by @Dorukyum in #2424
- fix: Guild.query_members may accept empty query and limit by @NeloBlivion in #2419
- fix(actions): fallback to macos-13 in test suite for python 3.8 & 3.9 by @Lulalaby in #2437
- fix: Raise WebSocketClosure on protocol level errors by @Jegarde in #2435
- feat: Support bulk banning in guilds by @NeloBlivion in #2421
- fix: type-hinting in Guild.bulk_ban by @yoggys in #2440
- fix: AttributeError using PartialMessage.edit(embed=None) by @Readeem in #2446
- fix(ext-pages): revert paginator on callback fail by @BobDotCom in #2448
- fix: remove module-level deprecation warn by @BobDotCom in #2450
- fix: missing
application_id
inEntitlement.delete
by @yoggys in #2458 - fix: Overall type-hinting improvements by @yoggys in #2457
- feat: Polls by @NeloBlivion in #2408
- fix: wrong var name by @Lulalaby in #2475
- fix: options initializing with null input type by @nexy7574 in #2464
- feat: user-installable apps by @plun1331 in #2409
- docs: limits on integer and number option types by @JustaSqu1d in #2462
- feat: update monetization by @plun1331 in #2438
- fix: always cast PartialMessage(able) IDs to int by @NeloBlivion in #2406
- feat: add Attachment.title by @NeloBlivion in #2486
- feat: implement MemberFlags by @NeloBlivion in #2489
- feat: implement RoleFlags by @NeloBlivion in #2487
- fix: enum option issues by @NeloBlivion in #2463
- feat: implement MessageCall by @NeloBlivion in #2488
- fix: remove_application_command missing case by @Dorukyum in #2480
- fix: premium buttons and entitlement iterator by @tibue99 in #2490
- fix: audit log filtering & sorting by @Lulalaby in #2371
- chore: remove
vanity_code
fromGuild.edit
by @Dorukyum in #2491 - fix: further address audit log issues by @NeloBlivion in #2492
- chore: improve nesting error message by @Dorukyum in #2275
- docs: Add missing attributes to UserCommand and MessageCommand by @Icebluewolf in #2494
- chore: update readme and changelog by @Dorukyum in #2493
- docs: add docs for Interaction.entitlements by @plun1331 in #2495
New Contributors
- @Braandn made their first contribution in #2396
- @D4rk-S0ul made their first contribution in #2395
- @jordan-day made their first contribution in #2412
- @Jegarde made their first contribution in #2435
- @Readeem made their first contribution in #2446
Full Changelog: v2.5.0...v2.6.0
(Re-releasing due to docs addition)
v2.5.0
https://pypi.org/project/py-cord/2.5.0
What's Changed
- feat: Bridge Command Events by @OmLanke in #1916
- fix: SlashCommandGroup.walk_commands() error by @krishnans2006 in #1838
- docs: add missing changelog and fix stage_raise_hand grammar by @JustaSqu1d in #1924
- fix: change Colour.embed_background() colors to correspond to new colors by @TheGiga in #1931
- feat: Implement audit log events by @NeloBlivion in #1932
- fix(misc): RawAuditLogEntryEvent fixes by @NeloBlivion in #1937
- feat: Move additional event handler functionality to
Client
by @davidhozic in #1907 - fix: UnboundLocalError by @OmLanke in #1928
- fix: AttributeErrors from event handler move by @NeloBlivion in #1946
- feat: add
once
decorator todiscord.Client
by @OmLanke in #1940 - chore(docs): add missing decorator in examples by @JustaSqu1d in #1950
- feat: Support for text in stage by @NeloBlivion in #1936
- fix: ip discovery changes (74 byte udp packets) by @Lulalaby in #1955
- fix: pass
reason
to the correct method in AutoModRule by @OmLanke in #1960 - docs: fix message_content missing subject by @JustaSqu1d in #1975
- feat: add current_page parameter to paginator.update() by @DefiDebauchery in #1983
- feat!: one time event listeners by @OmLanke in #1957
- feat(ApplicationFlags): add application_auto_moderation_rule_create_badge by @JustaSqu1d in #1992
- fix: attribute error with listeners in cogs by @OmLanke in #1989
- fix(scheduled_events): location editing breaking by @Middledot in #1998
- fix: bridge command group name by @OmLanke in #2000
- fix: add None support for ClientUser edit by @ItsRqtl in #1994
- docs: fix typo in .send docstring by @Lacosst0 in #2007
- chore: update file upload size limit by @JustaSqu1d in #2014
- chore(docs): revert removal of custom search scoring by @BobDotCom in #2019
- fix(ext.bridge): Bridge options & bool converter breaking sometimes by @Middledot in #1999
- feat: suppress FFMPEG output by @OmLanke in #1993
- feat: add new parameters to
discord.Embed
by @davidhozic in #1996 - feat: Add possibility to start bot via async context manager by @Snawe in #1801
- fix: store message in view when sent using webhook or when message is edited by @OmLanke in #1997
- fix: webhook message editing on forums missing thread_id by @qoft in #1981
- feat: Add custom_message to AutoModActionMetadata and fix TypeError on AutoModRule by @NeloBlivion in #2029
- docs(changelog): add missing changelog by @Lulalaby in #2031
- docs: add a link to guild features by @JustaSqu1d in #2028
- feat: voice message support by @Lulalaby in #2016
- feat: Add data attribute to all raw event payloads by @NeloBlivion in #2023
- feat: Move ctx.respond to Interaction and implement Interaction.edit by @NeloBlivion in #2026
- feat: Received Interactions come with a channel object by @NeloBlivion in #2025
- fix: Improve Automod compatibility with Audit Logs + minor fixes by @NeloBlivion in #2030
- docs: update thread edit docs by @plun1331 in #2034
- fix!: Reflect the api for getting bans correctly by @Lulalaby in #1922
- feat: Add synchronization to start of audio recordings by @OmLanke in #1984
- chore!: move configs to global .github by @Lulalaby in #2041
- feat!: Add
view.parent
and storeview.message
on receiving Interaction for a component by @OmLanke in #2036 - fix(docs): Fix readthedocs build failures by @BobDotCom in #2046
- fix(ext.bridge): Handle BridgeCommand while unloading cogs by @OmLanke in #2048
- docs: clarify defer's ephemeral arg by @JustaSqu1d in #2053
- docs: Document @option.parameter_name by @NeloBlivion in #2054
- fix: Restore overriding on_application_command_error via listener by @NeloBlivion in #2044
- feat(ext.bridge): add walk command functions & dynamically fetch attrs in commands variants by @Middledot in #1867
- docs: clarify autocomplete docs by @JustaSqu1d in #2055
- chore(i18n): change localization attributes' defaults (#1866) by @Middledot in #2056
- fix: add defaults to __init__s on embed classes by @plun1331 in #2061
- chore!: "fix: add defaults to __init__s on embed classes" by @Lulalaby in #2062
- refactor!: embed classes by @OmLanke in #2063
- docs: mark Client.get_or_fetch_user() as a coro by @Sengolda in #2069
- chore(actions): bump ribtoks/tdg-github-action to v0.4.7-beta by @Lulalaby in #2067
- fix: embeds having weird state by @UP929312 in #2071
- fix: KeyError when using method 'individual' by @doluk in #1925
- docs: remove
@client.once()
by @OmLanke in #2073 - feat!: pomelo by @Lulalaby in #2042
- fix: Make AuditLogEntry user/user_id optional by @NeloBlivion in #2079
- docs(changelog): log username change by @Dorukyum in #2085
- feat: Add icon and unicode_emoji to Guild.create_role by @NeloBlivion in #2086
- fix: Adjust default_avatar behavior depending on username by @NeloBlivion in #2087
- fix: channel id might be null by @Lulalaby in #2078
- fix: creating forum threads with files by @elliotcubit in #2075
- fix: wrong type hint
Sink.vc
by @XXMA16 in #2090 - feat!: Client.on_error() improvement with new parameter by @mariohero24 in #1945
- chore: cleanup
audio_recording_merged
example by @OmLanke in #2093 - fix: changelog entry in wrong section by @Lulalaby in #2092
- fix: default avatar % 6 if migrated by @NyuwBot in #2100
- fix: command_prefix and help_command typehints by @Dorukyum in #2099
- feat: add new embedded activities by @JustaSqu1d in #2102
- revert: #1945 by @plun1331 in #2103
- fix: values access before interaction by @plun1331 in #2104
- fix: #1805 by @Nzii3 in #1806
- docs: fix broken link by @JustaSqu1d in #2108
- fix:
KeyError
inEmbedMedia
by @OmLanke in #2109 - feat(ext.bridge): add
bridge.Context
as a Union class by @OmLanke in #2106 - fix: Flags again... by @NeloBlivion in #2111
- feat: Add
cooldown
andmax_concurrency
toSlashCommandGroup
by @OmLanke in #2091 - feat: handle typing.Annotated form annotations in sl...
v2.4.1
https://pypi.org/project/py-cord/2.4.1
What's Changed
- fix: SlashCommandGroup.walk_commands() error by @krishnans2006 in #1838
- docs: add missing changelog and fix stage_raise_hand grammar by @JustaSqu1d in #1924
- fix: change Colour.embed_background() colors to correspond to new colors by @TheGiga in #1931
- chore(deps-dev): Update mypy requirement from ~=1.0.0 to ~=1.0.1 by @dependabot in #1929
- chore(docs): add missing decorator in examples by @JustaSqu1d in #1950
- fix: ip discovery changes (74 byte udp packets) by @Lulalaby in #1955
- fix: pass
reason
to the correct method in AutoModRule by @Om1609 in #1960 - docs: fix message_content missing subject by @JustaSqu1d in #1975
Full Changelog: v2.4.0...v2.4.1
v2.3.3
https://pypi.org/project/py-cord/2.3.3
What's Changed
- Fixed a bug that caused crashes on startup due to a update in the API.
Full Changelog: v2.3.2...v2.3.3
v2.4.0
https://pypi.org/project/py-cord/2.4.0
What's Changed
- fix: creating automod rules & automod docs by @plun1331 in #1822
- chore: rename certified moderator by @JustaSqu1d in #1825
- fix: migrating v2 formatting error by @JustaSqu1d in #1826
- fix(ext.bridge): fix groups missing parent attr by @Middledot in #1823
- fix(docs): utils.as_chunk format error by @JustaSqu1d in #1829
- chore: use correct aiohttp extra in requirements/speed.txt by @classabbyamp in #1830
- feat: Update AutoMod implementation by @TheEnigmaBlade in #1809
- fix: Reflect the api for bans by @Lulalaby in #1828
- fix: Specify required argument types for variadic functions by @mattabullock in #1850
- feat: Add image parameter to create_scheduled_event by @Snawe in #1831
- docs: New select examples by @Lulalaby in #1843
- feat: add missing message types by @JustaSqu1d in #1852
- chore: Typehinting arguments and variable for examples by @CringleySDays in #1855
- feat!: add missing embedded activities by @JustaSqu1d in #1859
- fix: '_io.BytesIO' object has no attribute 'name' in paginator by @yoggys in #1869
- chore: Update logos by @Lulalaby in #1871
- chore: Fix grammar issues on readme by @WilliamDavidHarrison in #1875
- fix: images sending as 0 bytes in paginator if sent as
io.BytesIO
by @compugenius in #1881 - fix: Update release_level parameters by @Revnoplex in #1886
- docs: Remove reference to Github discussions by @BaconErie in #1888
- fix: Document Option.channel_types and properly support further channel types by @NeloBlivion in #1883
- feat: application role connections by @plun1331 in #1791
- feat: add silent messages to MessageFlags by @JustaSqu1d in #1912
- feat: add silent parameter to Messageable.send by @Dorukyum in #1913
- feat: add GIF sticker format by @Dorukyum in #1915
- feat: add more raw events by @BobDotCom in #1880
- fix: properly store advanced version_info data by @BobDotCom in #1920
New Contributors
- @classabbyamp made their first contribution in #1830
- @TheEnigmaBlade made their first contribution in #1809
- @mattabullock made their first contribution in #1850
- @CringleySDays made their first contribution in #1855
- @WilliamDavidHarrison made their first contribution in #1875
- @compugenius made their first contribution in #1881
- @Revnoplex made their first contribution in #1886
- @BaconErie made their first contribution in #1888
Full Changelog: v2.3.3...v2.4.0
v2.3.2
https://pypi.org/project/py-cord/2.3.2
What's Changed
- build: update changelog link to docs page by @BobDotCom in #1803
- chore(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1804
- chore(docs): attachment option type no longer in beta by @JustaSqu1d in #1812
- chore(deps-dev): Update pylint requirement from ~=2.15.6 to ~=2.15.7 by @dependabot in #1810
- chore(deps-dev): Bump flake8 from 5.0.4 to 6.0.0 by @dependabot in #1797
- fix: Fix attribute error in select by @ItsRqtl in #1814
- fix(ext.bridge): fix new issue with bridge_commands attribute by @Middledot in #1815
- fix: map received applied_tags to int by @Dorukyum in #1817
New Contributors
Full Changelog: v2.3.1...v2.3.2
v2.3.1
https://pypi.org/project/py-cord/2.3.1
What's Changed
- fix(ext.bridge): fix bridge_commands attribute by @Middledot in #1802
Full Changelog: v2.3.0...v2.3.1
v2.3.0
https://pypi.org/project/py-cord/2.3.0
What's Changed
- fix: README.rst grammar by @JustaSqu1d in #1675
- Add brief Attribute to BridgeSlashCommand by @Makiyu-py in #1676
- Pep 517 by @BobDotCom in #1668
- Update utils.py documentation by @NeloBlivion in #1682
- Minor get_or_fetch docs fix by @NeloBlivion in #1684
- Bump actions/checkout from 2 to 3.1.0 by @dependabot in #1685
- Bump github/codeql-action from 1 to 2 by @dependabot in #1687
- Bump codecov/codecov-action from 2 to 3 by @dependabot in #1688
- Bump actions/setup-python from 2 to 4 by @dependabot in #1686
- Update pylint requirement from ~=2.15.3 to ~=2.15.4 by @dependabot in #1696
- Correct version_info number type by @Middledot in #1701
- Fix errors that will occur in python3.11 by @Youtong0826 in #1680
- Fix bridge.has_permissions by @Middledot in #1695
- feat(docs): warning on overriding on_connect by @JustaSqu1d in #1689
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1708
- Reworked
get_application_command
behaviour by @NeloBlivion in #1678 - Adjust original_message deprecation warning by @NeloBlivion in #1681
- Add Docstring to Enum for Option descriptions, issue 1510 by @jdelucca in #1699
- Doc restyle by @BobDotCom in #1697
- Docs Refactor by @BobDotCom in #1714
- Implement PEP 655 NotRequired by @BobDotCom in #1705
- Fix audit log overwrite transformer by @NeloBlivion in #1716
- fix: #1674 by @plun1331 in #1719
- Update pylint requirement from ~=2.15.4 to ~=2.15.5 by @dependabot in #1718
- Update pytest-asyncio requirement from ~=0.19.0 to ~=0.20.1 by @dependabot in #1717
- Move files by @Lulalaby in #1720
- Fix message send flags by @Dorukyum in #1723
- Run black with experimental string processing by @BobDotCom in #1725
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1724
- Pin cchardet version and add qualifiers by @BobDotCom in #1726
- Update pytest requirement from ~=7.1.3 to ~=7.2.0 by @dependabot in #1748
- Typo by @Om1609 in #1749
- Improve Workflows by @BobDotCom in #1750
- Bump codespell from 2.1.0 to 2.2.2 by @dependabot in #1751
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1753
- Clearly define button max label length by @UP929312 in #1757
- Implement new selects by @plun1331 in #1702
- Update user-agent by @BobDotCom in #1758
- fix(example): fix incorrect typehint by @JustaSqu1d in #1760
- Bump sphinxext-opengraph from 0.6.3 to 0.7.2 by @dependabot in #1767
- Update mypy requirement from ~=0.982 to ~=0.990 by @dependabot in #1766
- ci: add commitlint workflow by @BobDotCom in #1769
- docs: Autodoc typehints by @BobDotCom in #1710
- chore(deps): Bump sphinx-autodoc-typehints from 1.19.1 to 1.19.5 by @dependabot in #1770
- feat: Add support for nsfw commands by @NeloBlivion in #1775
- feat: New flags
ACTIVE_DEVELOPER
andACTIVE
by @Lulalaby in #1776 - chore(deps): Sort requirements files by @BobDotCom in #1768
- docs: Document missing UserFlags by @NeloBlivion in #1779
- chore(deps): Update pytest-asyncio requirement from ~=0.20.1 to ~=0.20.2 by @dependabot in #1777
- chore(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1780
- style: use
()
instead oftuple()
by @Infiniticity in #1783 - chore(deps-dev): Update mypy requirement from ~=0.990 to ~=0.991 by @dependabot in #1781
- docs: forum channels are no more experimental by @honzajavorek in #1782
- chore(deps): Bump sphinx-copybutton from 0.5.0 to 0.5.1 by @dependabot in #1784
- docs: Improve toctrees & sidebar formatting by @BobDotCom in #1773
- feat: Complete forum channel implementation by @Dorukyum in #1636
- refactor: make
ApplicationContext.user
non-optional by @Dorukyum in #1647 - chore: Remove
PRIVATE_THREADS
by @Lulalaby in #1789 - feat(ext.bridge): add bridge_commands attribute by @Middledot in #1787
- chore: Update Guild.features docs and literal by @NeloBlivion in #1788
- chore(deps): Bump sphinxext-opengraph from 0.7.2 to 0.7.3 by @dependabot in #1794
- chore(deps-dev): Update pylint requirement from ~=2.15.5 to ~=2.15.6 by @dependabot in #1793
- docs: Remove Table of Contents from FAQ by @Om1609 in #1792
New Contributors
- @Youtong0826 made their first contribution in #1680
- @pre-commit-ci made their first contribution in #1708
- @jdelucca made their first contribution in #1699
Full Changelog: v2.2.2...v2.3.0
v2.2.2
https://pypi.org/project/py-cord/2.2.2
What's Changed
- further fix for command parents by @NeloBlivion in #1673
Full Changelog: v2.2.1...v2.2.2