Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: fully integrate /ws into mainlib #10420

Merged
merged 21 commits into from
Oct 8, 2024

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    ddfe9a2 View commit details
    Browse the repository at this point in the history
  2. fix: tests

    Qjuh committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    e98ad02 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfa7405 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f194d23 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2db08ff View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eeee683 View commit details
    Browse the repository at this point in the history
  7. Revert "refactor: remove deprecated ws error codes"

    This reverts commit e28aee4.
    Qjuh committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    b640cb6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f3cf807 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0f595bf View commit details
    Browse the repository at this point in the history
  10. fix: typings

    Qjuh committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    c19ecce View commit details
    Browse the repository at this point in the history
  11. fix: tests

    Qjuh committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    2e7f655 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    62d4f4a View commit details
    Browse the repository at this point in the history
  13. fix: unused import

    Qjuh committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    91191e8 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ef0b33b View commit details
    Browse the repository at this point in the history
  15. fix: tests

    Qjuh committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    b628e39 View commit details
    Browse the repository at this point in the history
  16. fix: prettier

    Qjuh committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    94d2869 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    99dccef View commit details
    Browse the repository at this point in the history
  18. chore: unpin /ws dependency

    Qjuh committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    92efcc3 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ef20fd9 View commit details
    Browse the repository at this point in the history
  20. chore: list breaking changes

    BREAKING CHANGE: Client#ws is now a @discordjs/ws#WebSocketManager
    BREAKING CHANGE: WebSocketManager and WebSocketShard are now re-exports from @discordjs/ws
    BREAKING CHANGE: Removed the WebSocketShardEvents enum
    BREAKING CHANGE: Renamed the Client#ready event to Client#clientReady event to not confuse it with the gateway READYevent
    BREAKING CHANGE: Added Client#ping to replace the old WebSocketManager#ping
    BREAKING CHANGE: Removed the Shard#reconnecting event which wasn’t emitted anymore since 14.8.0 anyway
    BREAKING CHANGE: Removed ShardClientUtil#ids and ShardClientUtil#count in favor of Client#ws#getShardIds() and Client#ws#getShardCount()
    BREAKING CHANGE: ClientUser#setPresence() and ClientPresence#set() now return a Promise which resolves when the gateway call was sent successfully
    BREAKING CHANGE: Removed Guild#shard as WebSocketShards are now handled by @discordjs/ws
    BREAKING CHANGE: Removed the following deprecated Client events: raw, shardDisconnect, shardError, shardReady, shardReconnecting, shardResume in favor of events from @discordjs/ws#WebSocketManager
    BREAKING CHANGE: Removed ClientOptions#shards and ClientOptions#shardCount in favor of ClientOptions#ws#shardIds and ClientOptions#ws#shardCount
    Qjuh committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    105a8b8 View commit details
    Browse the repository at this point in the history
  21. fix: packet is always present

    Qjuh committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    37324f4 View commit details
    Browse the repository at this point in the history