Skip to content

Releases: dc-Ragnarok/Fenrir

promisev3-0.0.1

19 Dec 13:04
2dbf68a
Compare
Choose a tag to compare
promisev3-0.0.1 Pre-release
Pre-release
Merge branch 'master' into promise-v3

Explicitly require promise v2

20 Nov 08:18
Compare
Choose a tag to compare

Since not everything is compatible with promise v3 yet, v2 is now explicitly required so the library doesnt break accidentally while updating.

Updating to promise v3 is the end goal.

Add meta disconnect event

08 Nov 19:22
44e465f
Compare
Choose a tag to compare
  • Added meta event for websocket disconnecting

To listen to this event, you can use Eventer event emitter, to read more about how to use this type of event emitter, see the packagist page

class MyEventHandler implements \Exan\Eventer\EventInterface
{
    public function __construct(
        protected \Ragnarok\Fenrir\Gateway\ConnectionInterface $connection,
        protected \Psr\Log\LoggerInterface $logger,
    ) {
    }

    public function filter(): bool
    {
        return true;
    }

    public static function getEventName(): string
    {
        return \Ragnarok\Fenrir\Constants\MetaEvents::DISCONNECT;
    }

    public function execute(): void
    {
        // My logic
    }
}
$connection->getMetaHandler()->register(MyEventHandler::class);

0.13.5

26 Sep 10:39
beb2c03
Compare
Choose a tag to compare

What's Changed

  • Add integration types config for application part
  • Add integration types and contexts to application command
  • Add context to interaction
  • Add authorizing_integration_owners to interaction
  • Add interaction_metadata to message
  • Deprecate ApplicationCommand::$dm_permissions and Message::$interaction
  • Add AutoModerationRuleTriggerType::MEMBER_PROFILE and ActionType::BLO…
  • Add premium button
  • Add use Permission::USE_EXTERNAL_SOUNDS
  • Add Permission::SEND_VOICE_MESSAGES
  • Add Permission::SEND_POLLS
  • Add Permission::USE_EXTERNAL_APPS
  • Add MessageReferenceType to MessageReference
  • Add Application::$approximate_guild_count
  • Add Application::$approximate_user_install_count
  • Add Application::$redirect_uris
  • Add Application::$interactions_endpoint_url
  • Add Application Emoji rest calls
  • Add Guild voice state endpoints
  • Add Guild get role endpoint
  • Add Launch activity interaction callback type

Full Changelog: 0.13.4...0.13.5

0.13.4

30 Jul 20:29
70eec83
Compare
Choose a tag to compare

What's Changed

  • Add dot seperated notation support for CommandInteraction options by @Naneynonn in #98

Full Changelog: 0.13.3...0.13.4

Bugfix for setting command choices without localization

29 Jul 12:16
c1f0373
Compare
Choose a tag to compare

Previously an empty array was added to the data for a command choice as localizations, even when not using any localizations.

Discord does not allow for an empty array, so now it will not be added when not using localizations

Bugfix for retrieving messages in channel with criteria

21 Jul 11:09
391b19b
Compare
Choose a tag to compare

What's Changed

  • Send params for retrieving channel messages as query params rather than json body @Naneynonn in #96

Full Changelog: 0.13.1...0.13.2

0.13.1: Feature/79 1006 handling (#95)

14 Jul 11:25
2ede7cd
Compare
Choose a tag to compare
  • Improved WS connection recovery, improve clarity of error messages and add hints as to what caused the issue.

BC
Though very unlikely, you were able to use these manually.

  • Ragnarok\Fenrir\Gateway\ConnectionInterface

    • Removed resetSequence()
    • Removed stopAutomaticHeartbeats()
  • Ragnarok\Fenrir\Gateway\Handlers\InvalidSessionEvent

    • Removed isRecoverable

0.12.6

27 Jun 08:22
1faec74
Compare
Choose a tag to compare

What's Changed

  • Array cache reflection in data mapper by @Exanlv in #94
    This should increase performance during mapping operations

Full Changelog: 0.12.5...0.12.6

0.12.5

15 May 13:01
e6cc773
Compare
Choose a tag to compare

What's Changed

  • Increase depth limit and forego event in case of null after decode by @Exanlv in #92

Full Changelog: 0.12.4...0.12.5