Releases: interactions-py/interactions.py
Releases · interactions-py/interactions.py
5.13.2
What's Changed
- Fix typo in pyproject.toml by @silasary in #1711
- fix: fallback to empty list if entitlements is not provided by @AstreaTSS in #1715
- feat: Add audioop-lts for python 3.13+ by @silasary in #1713
- fix: command lookup error when scope is cached by @sondevra in #1716
- fix/test: ensure polls are being correctly processed by @AstreaTSS in #1714
- fix: change start_time source in CronTrigger.next_fire() by @mifuyutsuki in #1718
- fix: correct usage of user id in interaction metadata by @retr0-init in #1729
- feat: Add poll result embed type by @retr0-init in #1730
- fix: make _on_raw_message_poll_vote events use correct data by @Lacosst0 in #1725
- fix: VoiceGateway connection is closed with code 4020 by @SirTurlock in #1727
- fix: use localizations for InteractionCommand by @AstreaTSS in #1724
- fix: correctly serialize slash cmd with same names from different scope by @AstreaTSS in #1733
- fix: properly parse aliases for base commands by @AstreaTSS in #1728
New Contributors
- @sondevra made their first contribution in #1716
- @SirTurlock made their first contribution in #1727
Full Changelog: 5.13.1...5.13.2
5.13.1
What's Changed
- fix: make ClientT covariant by @AstreaTSS in #1708
- feat: Update max poll duration by @LawMixer in #1709
- feat: add polls intents by @AstreaTSS in #1706
- fix: don't ignore allow_multiselect when serializing by @AstreaTSS in #1705
Full Changelog: 5.13.0...5.13.1
5.13.0
What's Changed
- fix: add extension name before loading in callbacks by @AstreaTSS in #1680
- feat: option to hide paginator buttons on stop/timeout by @mifuyutsuki in #1660
- fix: correctly unpack startup tasks in AutoShardedClient by @mifuyutsuki in #1688
- fix: let unload_extension() pop regex pattern listeners by @mifuyutsuki in #1683
- feat: add webhook message functions by @Lacosst0 in #1689
- feat: add REQUIRE_TAG and make channel flags editable by @AstreaTSS in #1693
- feat: update entitlements with new properties and functions by @AstreaTSS in #1692
- feat: add support for user-installable apps by @AstreaTSS in #1647
- ci: specify language_version to python 3.10 by @AstreaTSS in #1696
- docs: use jump_url instead of content for getting started guide by @AstreaTSS in #1700
- feat: add message type 44, set message type 14-17/36-39 to be deletable by @ItsRqtl in #1698
- feat: add bulk banning by @AstreaTSS in #1695
- fix: allow removing files and embeds by editing by @ItsRqtl in #1697
- fix: adjust Timestamp.astimezone checks by @AstreaTSS in #1703
- feat: add polls by @AstreaTSS in #1691
- feat/fix: improve typehinting of wait_fors by @AstreaTSS in #1694
- feat: make context have generic client types by @AstreaTSS in #1699
- feat: add premium buttons by @AstreaTSS in #1701
- fix: correctly set responded in edit_origin by @ItsRqtl in #1704
Full Changelog: 5.12.1...5.13.0
5.12.1
What's Changed
- fix: bump minimum discord-typings version to 0.7.0 by @AstreaTSS in #1675
- fix: export CronTrigger by @AstreaTSS in #1676
- feat: Update AuditLogEventType with new entries by @silasary in #1670
- fix: hook onto add_command to propagate errors correctly by @AstreaTSS in #1678
Full Changelog: 5.12.0...5.12.1
5.12.0
What's Changed
- fix: assume ratelimit is not in effect if reset after is small amount by @AstreaTSS in #1585
- fix: typo by @ZeGmX in #1586
- feat: implement message types for AutoMod incident actions by @ItsRqtl in #1590
- ci: weekly check. by @pre-commit-ci in #1572
- fix: consider binding when running autocomplete functions by @fractal13 in #1583
- feat: add safety alerts channel to guild model by @ItsRqtl in #1589
- feat: Add **kwargs passthrough to
client.load_extensions
by @silasary in #1593 - feat: Add support for editing member flags by @Bastien1533 in #1601
- fix: re-set _shard_ready on resume by @Wolfhound905 in #1615
- fix: Add missing AUTOMOD_NOTIFICATIONS by @retr0-init in #1621
- fix: correct link for wait_for_component by @AstreaTSS in #1610
- feat: add nonce and enforce_nonce to SendMixin by @AstreaTSS in #1616
- fix: Correct the return type of fetch_channels by @retr0-init in #1622
- fix: select menu for paginators over 25 pages by @mifuyutsuki in #1604
- feat: ability to define which shards connect by @Wolfhound905 in #1602
- docs: fix change_presence function docs by @LawMixer in #1627
- feat: add SUPPRESS_NOTIFICATIONS alias for SILENT by @AstreaTSS in #1609
- fix: fail loudly if extension classes are named the same by @AstreaTSS in #1618
- feat: add InvitableMixin to GuildForum by @AstreaTSS in #1611
- fix: add ActivityType.CUSTOM to list of valid activities for bots by @AstreaTSS in #1607
- fix: correct expire property for interaction ctx by @AstreaTSS in #1624
- feat: add entitlement/app subscription support by @AstreaTSS in #1617
- feat: add fail_if_not_exists for PrefixedContext.reply by @AstreaTSS in #1608
- feat: add moderated for create_tag methods by @AstreaTSS in #1612
- ci: weekly check. by @pre-commit-ci in #1594
- fix: change SENTRY_TOKEN to SENTRY_DSN by @mifuyutsuki in #1633
- docs: improve slash command guide by @AstreaTSS in #1631
- feat: allow for editing the bot's banner by @AstreaTSS in #1638
- feat: add new reaction event by @TyrantKingBen in #1640
- fix: recorder memory usage when a user rejoins by @TyrantKingBen in #1643
- fix: add hacky workaround for near unix time timestamps on windows by @AstreaTSS in #1626
- feat: add Member.has_any_role by @robotbabe in #1620
- feat: add new CronTrigger task type by @zevaryx in #1632
- fix: Fix import errors introduced in CronTrigger feature by @silasary in #1649
- fix: adjust DistinctFlag.call for python 3.12.3+ by @Scrxtchy in #1659
- feat: Add guild onboarding settings by @david-why in #1646
- fix: don't hang on while loop when reconnecting by @AstreaTSS in #1663
- Task loop supports localized datetime from trigger by @ZeGmX in #1656
- feat: make Member.avatar_url pull from server profile avatar by @mifuyutsuki in #1652
- fix: don't pass kwargs to modal callbacks that only have ctx by @AstreaTSS in #1619
- docs: update license shield in readme by @mifuyutsuki in #1666
- feat: option to defer without raising errors by @mifuyutsuki in #1661
- fix: Handle null reference when Voice State is still in cache, but the channel it belongs to has been expired by @silasary in #1648
- chore: Update pypi Status classifier by @silasary in #1664
- fix: pass client for SelectDefaultValues.from_object by @AstreaTSS in #1654
New Contributors
- @retr0-init made their first contribution in #1621
- @mifuyutsuki made their first contribution in #1604
- @LawMixer made their first contribution in #1627
- @TyrantKingBen made their first contribution in #1640
- @robotbabe made their first contribution in #1620
- @david-why made their first contribution in #1646
Full Changelog: 5.11.0...5.12.0
5.11.0
What's Changed
- fix: properly check if name is none for anno names by @AstreaTSS in #1555
- feat: allow editing for guild role icons by @example-git in #1558
- docs(docstrings): remove "Skins" in Extension docstring by @Catalyst4222 in #1559
- ci: weekly check. by @pre-commit-ci in #1532
- fix: correct emoji cdn url domain by @ItsRqtl in #1569
- ci: weekly check. by @pre-commit-ci in #1565
- feat: support nitro basic PremiumType by @Scrxtchy in #1563
- fix: Snowflake encoding issue when msgspec is used fix by @Lacosst0 in #1562
- feat: add support select menu defaults by @LordOfPolls in #1556
- Removed self as first parameter to functions (not methods) in Guides. by @fractal13 in #1571
- fix: pass in level to wrapped logger when disconnecting by @AstreaTSS in #1580
- docs: improve hybrid cmd section by @AstreaTSS in #1577
- docs: improve mkdocs config by @AstreaTSS in #1578
- docs: slightly improve search experience by @AstreaTSS in #1576
- feat: add Client.mention_command by @AstreaTSS in #1579
- fix: ensure next_fire in TimeTrigger returns proper next time by @AstreaTSS in #1575
- fix: pass binding for prefixed variant of hybrid cmd by @AstreaTSS in #1573
- feat/fix: adjust and fix various issues with scheduled events by @AstreaTSS in #1547
- fix: Paginator.create_from_list no longer misses overflowing strings by @ZeGmX in #1574
- 5.11.0 by @LordOfPolls in #1581
New Contributors
- @example-git made their first contribution in #1558
- @Scrxtchy made their first contribution in #1563
- @Lacosst0 made their first contribution in #1562
- @fractal13 made their first contribution in #1571
- @ZeGmX made their first contribution in #1574
Full Changelog: 5.10.0...5.11.0
5.10.0
What's New
- feat: add load_extensions method by @m2ksims in #1530
- feat: update docs and support state for custom statuses by @AstreaTSS in #1527
- feat: add additional webhook functions by @mAxYoLo01 in #1534
- feat: add shard information to all state & gw logging by @LordOfPolls in #1551
- docs: Revamp guides by @mAxYoLo01 in #1550
What's Fixed
- fix: properly pass in proxy to http client by @AstreaTSS in #1544
- fix: Message.mention_users can return users if not in guild by @mAxYoLo01 in #1535
- Fix bot voice state connection issues by @tequa in #1533
- fix: non-breaking auto mod fix by @mAxYoLo01 in #1546
- fix: add application_id to ApplicationCommandPermissionsUpdate event … by @mAxYoLo01 in #1539
- fix: typehint channels correctly in event classes by @mAxYoLo01 in #1538
- fix: check for guild for role processors by @AstreaTSS in #1542
- fix: rely on guild id instead of guild for buckets by @AstreaTSS in #1541
- fix: add avatar_url to user Mixins by @m2ksims in #1528
New Contributors
Full Changelog: 5.9.2...5.10.0
5.9.2
The first hotfix wasn't quite comprehensive enough 🙃
What's Fixed
- fix: properly fix component/modal callback by @AstreaTSS in #1523
Full Changelog: 5.9.0...5.9.2
5.9.1
5.9.0
What's Changed
- feat: add args, kwargs to task by @kennhh in #1478
- Show diff failures for pre-commit CI workflow by @i0bs in #1484
- feat: add alt methods for multi-arg params for prefixed cmds by @AstreaTSS in #1471
- feat: cache channel data from interactions by @AstreaTSS in #1479
- fix: account for BaseChannel for channel mentions by @AstreaTSS in #1480
- feat: add default to delete/edit init interaction msg by @AstreaTSS in #1481
- docs: remove outdated cookiecutter template by @AstreaTSS in #1483
- feat: add id attr to app perms update event by @i0bs in #1485
- feat: add sort order for forums by @LordOfPolls in #1488
- feat: add rate limit per user where needed by @LordOfPolls in #1489
- fix: use message channel for PrefixedContext by @AstreaTSS in #1491
- fix: bind app_permissions for HybridContext by @AstreaTSS in #1492
- feat: add start_time(s) for AutoShardedClient by @AstreaTSS in #1482
- fix: correct listen typehint by @AstreaTSS in #1495
- Give mutable class attributes
typing.ClassVar
signatures by @i0bs in #1497 - ci: weekly check. by @pre-commit-ci in #1460
- feat: add ability to use different arg name than option name by @AstreaTSS in #1493
- fix: make sure exported auto_defer is deco, not module by @AstreaTSS in #1496
- fix/feat: adjust invite obj to respect event variants by @AstreaTSS in #1500
- fix: address issues with tag usage for guild forums by @AstreaTSS in #1499
- docs💥: revamp extension guide by @AstreaTSS in #1494
- chore: fix typo in example by @BritishBenji in #1501
- feat: add
guild
&channel
properties toThreadMembersUpdate
by @Damego in #1504 - ci: weekly check. by @pre-commit-ci in #1503
- fix(http): incorrect path for delete permission endpoint by @Donbur4156 in #1506
- ci: weekly check. by @pre-commit-ci in #1511
- feat: Implement missing stuff for scheduled events by @Damego in #1507
- docs: clarify message content intent in documentation by @i0bs in #1516
- feat: infer modal/component callback names from coroutine by @i0bs in #1519
- ci: weekly check. by @pre-commit-ci in #1521
New Contributors
- @kennhh made their first contribution in #1478
- @BritishBenji made their first contribution in #1501
Full Changelog: 5.8.0...5.9.0