Skip to content

Releases: fjodor-rybakov/discord-nestjs

@discord-nestjs/common@3.4.0

07 Jul 11:51
Compare
Choose a tag to compare

3.4.0 (2022-07-07)

Features

  • Add transform to dto for modal (5fa6a4d)
  • Make customId optional (0ea084d)

v3.0.0

20 Mar 17:32
Compare
Choose a tag to compare

This version improves and simplifies the work with the modular system.

  • Adds a new function forFeature. Allows to inject exportable providers from DiscordModule.

Request lifecycle has also been reworked. Now he repeats it like in NestJS.

  1. Incoming request
  2. Globally bound middleware
  3. Global guards
  4. Controller guards
  5. Route guards
  6. Global pipes
  7. Controller pipes
  8. Route pipes
  9. Method handler
  10. Exception filters (route, then controller, then global). Apply from end to beginning
  11. Response

Migration guide

2.0.0

23 Oct 14:37
Compare
Choose a tag to compare
@discord-nestjs/core@2.0.0

@discord-nestjs/core@2.0.0