Releases: interactions-py/interactions.py
Releases · interactions-py/interactions.py
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
5.8.0
What's New
- feat: support new discord models by @LordOfPolls in #1453
- feat: add in hybrid slash commands by @AstreaTSS in #1399
- feat: support media channels by @LordOfPolls in #1458
- feat: implement permission map by @LordOfPolls in #1472
- docs: fix issues with slash command guide by @AstreaTSS in #1475
- docs: make autocomplete usage clearer by @AstreaTSS in #1462
- docs: redo events guide by @AstreaTSS in #1474
What's Fixed
- fix: properly parse image from dict for embeds by @AstreaTSS in #1455
- fix: filter out cache misses from guild properties by @AstreaTSS in #1454
- fix: filter out Nones from guild.role before sorting by @AstreaTSS in #1457
- fix: cannot get user of message interaction by @Damego in #1459
- fix: allow delete_after for ephemeral messages by @AstreaTSS in #1467
- fix: allow int for colo(u)r for Guild.create_role by @AstreaTSS in #1469
- fix: wrap timestamp converter by @LordOfPolls in #1477
Full Changelog: 5.7.0...5.8.0
5.7.0
What's New
- feat: add kwargs to paginator send & reply methods by @SamNuttall in #1431
- feat: add permissions attr to channels by @AstreaTSS in #1443
- feat: Add url properties for Stickers and Custom Emoji by @silasary in #1448
- feat: warn users when they try and send attachments as files by @LordOfPolls in #1450
- docs: update changelog page to reflect newer releases by @Crspy2 in #1451
- docs: Fix more broken links by @silasary in #1436
- docs: Suppress Mkdocs warnings by @mAxYoLo01 in #1386
What's Fixed
- fix: account for new pink default avatar by @AstreaTSS in #1441
- fix OrTrigger fire endless by @Donbur4156 in #1438
- fix: Clean up some mypy warnings by @silasary in #1439
- fix: Add missing attributes to user.pyi stub file by @silasary in #1445
- fix: Correctly handle race condition if voice keepalive procs while reconnecting by @silasary in #1449
New Contributors
- @SamNuttall made their first contribution in #1431
Full Changelog: 5.6.0...5.7.0
5.6.0
What's New
- docs: Document
send_command_tracebacks
in the Error Tracking guide by @silasary in #1422 - feat: add missing args to Guild.create_forum_post by @AstreaTSS in #1417
- docs: fix errors in the bot example and add intent by @redninja9854 in #1416
- feat: Provide Guild ID in GuildLeft event by @silasary in #1435
- feat: add support for sentry arguments by @Donbur4156 in #1433
What's Fixed
- fix: correctly work with Permissions.NONE when passed into Guild.create_role by @ShajeshJ in #1421
- fix: don't assume msg reference always has msg id by @AstreaTSS in #1423
- fix: prevent udp ka from throwing error on close by @LordOfPolls in #1425
- fix emoji.edit allowing roleslist by @Donbur4156 in #1427
- fix: Don't apply guild_id to messages fetched from DM history by @silasary in #1424
- fix: prevent udp ka from throwing error on close by @LordOfPolls in #1425
- fix: prevent already-responded error when using discord image proxy workaround by @LordOfPolls in 859323a
New Contributors
- @ShajeshJ made their first contribution in #1421
- @redninja9854 made their first contribution in #1416
Full Changelog: 5.5.1...5.6.0