https://pypi.org/project/py-cord/2.0.0rc1/
What's Changed
- Adding delete_after for paginator.send by @jab416171 in #1245
- Add reason to delete_messages, fixes #1252 by @jab416171 in #1253
- Add
jump_url
property to channels by @Pysics in #1254 - Fix PartialMessage.edit() setting view as None even if it's not passed by @argo0n in #1256
- Remove implicit defer call in view.py by @Mihitoko in #1260
- Slash Command Channel Parsing Bug Fixes by @plun1331 in #1257
- Add
jump_url
Property to Threads by @Pysics in #1259 - Hotfix for spelling errors, minor indentation errors, update values to double quoted strings by @krittick in #1261
- [ext.pages] Add
Paginator.edit()
method by @krittick in #1258 - chore: run linting operations by @krittick in #1264
- [ext.pages] Hotfix to make PaginatorMenu use interaction routes for updates by @krittick in #1267
- Fix PartialMessage.edit by @plun1331 in #1268
- [ext.pages] Hotfix to remove custom_id parameter from being passed to default PaginatorMenu by @krittick in #1270
- [ext.pages] Hotfix to fully fix #1269 by @krittick in #1272
- Convert interaction.data["guild_id"] to int in the KeyError fallback within process_application_commands by @NeloBlivion in #1262
- Lift feature freeze by @Lulalaby in #879
- Add
EmbedField
object to allow for easier embed class instance creation by @krittick in #1181 - Fix race condition by @Mihitoko in #1039
- Document Modal and Embed Parameter Limits by @Pysics in #1247
- Remove voice client when bot disconnects by @Dorukyum in #1273
- Add validation of option names and descriptions by @Middledot in #1271
- Add library-level enforcement of component field limits by @krittick in #1065
- [bridge] Fix conversion exception by @BobDotCom in #1250
- Support providing option channel types as list by @Ratery in #1000
- Add Guild.jump_url by @Pysics in #1282
- on_thread_create event by @Middledot in #1285
- Context.me returning ClientUser when guilds intent is absent by @nbowen in #1286
- Add additional logic for optional component property setters to avoid TypeErrors by @krittick in #1289
- [ext.pages] Compatibility patch for ext.bridge by @krittick in #1288
- Change Embed.fields to always return a list by @plun1331 in #1287
- [ext.pages] Fix import for BridgeContext by @krittick in #1295
- None check for check_guilds by @freemanovec in #1291
- Hotfix to add debug warning to catch deprecated perms v1 usage until v2 perms are implemented by @krittick in #1301
- Update
Message.edit
type hinting overload and remove resulting redundant overloads by @krittick in #1299 - [ext.pages] Add
files
parameter toPage
object by @krittick in #1300 - Improve CI by @BobDotCom in #1306
- Update mypy requirement from ~=0.942 to ~=0.950 by @dependabot in #1308
- Add
disable_all_items
inView
by @27Saumya in #1199 - Update pylint requirement from ~=2.13.7 to ~=2.13.8 by @dependabot in #1315
- Update validation regex for command names & options by @IlluminatiFish in #1309
- Add
View.enable_all_items
by @Pysics in #1319 - Update guild.py fetch_members() type hints by @IotaSpencer in #1323
- Add is_nsfw to voice channels by @Middledot in #1317
- Rewrite options by @Dorukyum in #1251
- Permissions v2 - Redo for merge conflicts by @krittick in #1328
- Make description an optional arg in a PageGroup by @argo0n in #1330
- Enum options by @Middledot in #1292
- Change
Modal.children
to be a property, allow instantiating with list of InputText components by @krittick in #1311 - Fixing typo delete_exiting -> delete_existing by @jab416171 in #1336
- Add another installation way by @SketchMaster2001 in #1337
- Update slash command permissions example by @Dorukyum in #1335
- Fix parsing for string, integer, number, and boolean option types by @plun1331 in #1339
- Fixed format_dt using wrong format by @Aid0nModder in #1341
- Add
file
andfiles
parameters toInteractionResponse.edit_message()
by @baronkobama in #1340 - Add
BridgeExtContext.delete()
method by @baronkobama in #1348 - Forum channels support by @BobDotCom in #1249
- Implement Interaction.to_dict by @Dorukyum in #1274
- [ext.pages] Fixes and enhancements for
PageGroup
handling by @krittick in #1350 - Update coverage requirement from ~=6.3.2 to ~=6.3.3 by @dependabot in #1352
- Update pylint requirement from ~=2.13.8 to ~=2.13.9 by @dependabot in #1353
- Minor Refactor by @UP929312 in #1351
- Fix RuntimeError by @Middledot in #1357
- Make TextChannel._get_channel async by @Qxe5 in #1358
- Support event covers for audit logs by @Middledot in #1355
- Fix enum options breaking with redesigned options by @Middledot in #1359
- Fix the enum options fix breaking bridge commands by @Middledot in #1363
New Contributors
- @jab416171 made their first contribution in #1245
- @Mihitoko made their first contribution in #1260
- @NeloBlivion made their first contribution in #1262
- @nbowen made their first contribution in #1286
- @freemanovec made their first contribution in #1291
- @IlluminatiFish made their first contribution in #1309
- @IotaSpencer made their first contribution in #1323
- @SketchMaster2001 made their first contribution in #1337
- @Aid0nModder made their first contribution in #1341
- @baronkobama made their first contribution in #1340
- @Qxe5 made their first contribution in #1358
Full Changelog: v2.0.0-beta.7...v2.0.0-rc.1