Skip to content

Releases: discord-php/DiscordPHP

Version 7.1.2

04 Jul 06:53
b355887
Compare
Choose a tag to compare

Another minor changes to Ban

What's Changed

Full Changelog: v7.1.1...v7.1.2

Version 7.1.1

03 Jul 16:11
200202d
Compare
Choose a tag to compare

Hotfix with BanRepository::unban(), thanks @wohahobg #851

What's Changed

  • Fix variable name mistaken when resolving PR conflict by @SQKo in #852

Full Changelog: v7.1.0...v7.1.1

v7.1.0

02 Jul 15:31
bd8895c
Compare
Choose a tag to compare

Actual changelog TBA

What's Changed

  • Add stage instance start notification, guild animated banner, application command locale, student hub by @SQKo in #774
  • Command locale and Command builder attribute traits by @SQKo in #781
  • Ban pagination by @SQKo in #782
  • getSnowflakeTimestamp documentation by @valzargaming in #784
  • Forum... by @SQKo in #786
  • cosmetic change by @key2peace in #788
  • Fix return type by @AliAzizi in #789
  • Add new permission types to commands by @key2peace in #795
  • add $member->getVoiceChannel() by @key2peace in #791
  • Fix empty user part on Audit Logs by @jocafamaka in #801
  • Add a way to check status for Interaction::responded from get() functions by @SQKo in #796
  • Fix a deprecated error in VoiceClient by @Nerahikada in #799
  • Update ... API from April 8th by @SQKo in #805
  • Make Thread createable, add invitable, deprecate archiver_id, and fix metadata by @SQKo in #807
  • fix resolved members missing guild, user stdClass, improve Interaction by @SQKo in #809
  • Add a helper function to search array within promise by @SQKo in #811
  • Little more API updates since previous PR #805 by @SQKo in #815
  • DiscordCommandClient.php: don't add trailing space to usage by @hemberger in #819
  • Gateway Ready no longer sends private channels by @key2peace in #818
  • Add Text In Voice permissions by @SQKo in #820
  • Add Guild::updateMFALevel() by @SQKo in #823
  • Few fixes in threads by @jocafamaka in #824
  • make sure to populate private_channels when receiving PMs by @putnam in #825
  • Add Voice in Text for Channel::allowText() by @SQKo in #827
  • Fixes crash due to missing use statement (#825) by @valzargaming in #829
  • Make MemberRepository::freshen() paginate by default by @SQKo in #833
  • Add $timer parameter for delayedReply() and delayedDelete() by @SQKo in #832
  • Remove typecasting on delayedDelete/delayedReply by @key2peace in #834
  • Change to absolute namespace by @SQKo in #835
  • Fix deprecated strlen() error in php8.1 by @Nerahikada in #836
  • Simplify Carbon objects creation by @kylekatarnls in #848
  • Add slash command regex check by @SQKo in #831
  • Add auto moderation by @SQKo in #821
  • Update cache right after HTTP request is done instead of always relying on events by @SQKo in #838
  • Add audit log reason for save() and delete(), add queryparams for fresh() by @SQKo in #842
  • Add Interaction::app_permissions, Option::min_length & Option::max_length, MessageInteraction part by @SQKo in #841
  • Update identify connection fields, Deprecate old message type constants, add MessageBuilder nonce by @SQKo in #840
  • Allow Symfony 6 and Monolog 3 by @kylekatarnls in #846
  • Add experimental compress=zlib-stream gateway packet processing by @SQKo in #812

New Contributors

Full Changelog: v7.0.9...v7.1.0

Version 7.0.9

01 Apr 09:50
Compare
Choose a tag to compare

Fix for retrieveBans after breaking change with API discord/discord-api-docs@808d94b

Also fixed the retrieveBans not properly given discriminator and guild data

Full Changelog: v7.0.8...v7.0.9

Version 7.0.8

31 Mar 03:41
b2843ea
Compare
Choose a tag to compare

Hotfix #776 for direct message crash to the previous fix #775

Full Changelog: v7.0.7...v7.0.8

Version 7.0.6

30 Mar 15:08
0fcd6ca
Compare
Choose a tag to compare

What's Changed

Full Changelog: v7.0.5...v7.0.6

Version 7.0.5

11 Mar 11:35
0d75af9
Compare
Choose a tag to compare

What's Changed

  • VoiceClient::isSpeaking() without $id returns the current bot speaking status by @key2peace in #754
  • Fix PresenceUpdate::guild nullable by @SQKo in #758
  • VoiceClient updates and fix by @key2peace in #752
  • Fix getPermissions() on Threads to inherit permissions from the channel in which they were created by @valzargaming in #759
  • SelectMenu::placeholder limit 150 chars, guild_scheduled_event id for stage instance, Permission::start_embedded_activities is soon to be renamed as Permission::use_embedded_activities by @SQKo in #760

Full Changelog: v7.0.4...v7.0.5

Version 7.0.4

03 Mar 06:56
97d6ebb
Compare
Choose a tag to compare

What's Changed

  • Fixed Option::addChoice() null pointer exception. by @shehi in #739
  • Changed custom_id argument as optional for new Button(). by @shehi in #740
  • Added MessageBuilder for Message::reply() and Message::delayedReply() functions by @SQKo in #741
  • Fixed Channel::setOverwrite() fatal error to ignore permission check if guild does not exist or channel not yet created by @SQKo in #743
  • Added Channel::getBotPermissions() helper function by @key2peace in #744
  • Changed Interaction::sendFollowUpMessage() to be usable for InteractionType::MESSAGE_COMPONENT by @SQKo in #748
  • Fixed sub command options (credits Discord user idkmanm#3642) in #749

Full Changelog: v7.0.3...v7.0.4

Version 7.0.3

24 Feb 12:24
397c522
Compare
Choose a tag to compare

What's Changed

  • Fix embed description limit, remove duplicated happy eyeballs option by @SQKo in #732
  • Add Member::setRoles() and Fix to ignore potential null guild on events by @SQKo in #734
  • Tweak deleteMessages(), add Collection::last() @key2peace in #736

Full Changelog: v7.0.2...v7.0.3

Version 7.0.2

16 Feb 17:03
9248705
Compare
Choose a tag to compare

What's Changed

  • Bumped version
  • Deprecated Invite::stage_instance
  • Fixed phpdoc regarding $channel parameter in Member::moveMember() can be nullable
  • Added Thread::getUpdateableAttributes(), the following functions are separate to be used by Bot without MANAGE_THREAD permissions but owns the thread:
    • Added Thread::rename()
    • Added Thread::setAutoArchiveDuration()
    • Added audit log $reason parameters for Thread::archive() and Thread::unarchive()
  • Thread attributes archived, locked, auto_archive_duration can be now set shorter without accessing thread_metadata, e.g. $thread->archived = true;
  • Added MessageBuilder::addAttachment(), MessageBuilder::getAttachments(), MessageBuilder::clearAttachments()
  • Updated Discord::close(false) to send OP Code 1000 (normal close), if you want to close your bot gracefully (as if you do not want to restart soon) and make it offline from discord, you can use the following code:
$discord->close(false);
$loop = $discord->getLoop();
$loop->futureTick([$loop, 'stop']);

Full Changelog: v7.0.1...v7.0.2