Skip to content
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.

v2.0.0 #164

Draft
wants to merge 90 commits into
base: master
Choose a base branch
from
Draft

v2.0.0 #164

wants to merge 90 commits into from

Conversation

auguwu
Copy link
Owner

@auguwu auguwu commented Apr 9, 2021

This pull request refers to v2 of Wumpcord, which completely refractors all entities, caching methods, documents everything, and a complete API overhaul

Additions

  • Added AbstractEntityCache which inherits 2 built-in methods: NoopEntityCache and MemoryCache.
  • Added Guild integration support
  • Extensions API 🎉
  • Compression support 🎉
  • Moved REST to it's own standalone package
  • Added new methods and getters to classes

Fixes

  • Documentation on all classes, methods, accessors, and parameters (TypeScript Rewrite (sub-issue): Documentation #61)
  • Reduce bundle size without declaration: true in tsconfig.json and removing all Event-related classes
  • Refractored & renamed a lot of functions

Removed

  • WebSocketOptions.intents (deprecated since v1.2.0, removed since v2)
  • WebSocketOptions.guildSubscriptions - Obsolete due to intents
  • InteractionClient due to the WebSocketClient having the interactions helper by default
  • MessageCollector due to it not being used as much
  • All Event-related classes
    • It felt right to remove this and to use entities instead of using getters from that specific Event class

@auguwu auguwu marked this pull request as draft April 9, 2021 17:01
@auguwu auguwu linked an issue Apr 9, 2021 that may be closed by this pull request
@auguwu auguwu added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 9, 2021
@auguwu auguwu self-assigned this Apr 9, 2021
@fangmarks fangmarks marked this pull request as ready for review April 9, 2021 17:23
src/entities/User.ts Outdated Show resolved Hide resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Threads Support & API v9 support TypeScript Rewrite (sub-issue): Documentation
3 participants