Nest.js v5.2.0 发布,基于 TypeScript 的 Node.js 框架

栏目: Node.js · 发布时间: 7年前

内容简介:Nest.js v5.2.0 正式版已发布,更新内容主要是新功能的增加、bug 修复和其他方面的改进。具体如下:新特性Bug 修复

Nest.js v5.2.0 正式版已发布,更新内容主要是新功能的增加、bug 修复和其他方面的改进。具体如下:

新特性

  • common: provide global config for axios instance  HttpModule.register() #846

  • core: use default exception filter handler on condition (extend core class)  #860

  • core: add  @Optional() decorator  #847

  • core: enhance  ExternalContextCreator (for 3rd-party libraries purposes)

  • core: allow ModuleRef to get imported providers (strict/non-strict mode)  #832

  • core: support DynamicModule in  NestFactory.create[..]() #671

Bug 修复

  • common: multiple  FileInterceptor interceptors per class  #935

  • common: custom decorators shouldn't require "data" parameter  #892

  • core: fastify & middleware wildcards bug  #972

  • core: innherited guards not being applied  #879

  • microservices: NATS subject wrapping no longer messing wildcards up  #948

改进

  • core: allow using single  Logger instance  #926

  • core: hierarchical module resolution  #938

  • microservices: use  @grpc-loader withing gRPC transport  #980

  • testing: recursively trigger  OnModuleDestroy hook for testing module  #899

发布主页和源码下载 https://github.com/nestjs/nest/releases/tag/v5.2.0

Nest 是构建高效、可扩展的 Node.js Web 应用程序的框架。它使用现代的 JavaScript 或 TypeScript(保留与纯 JavaScript 的兼容性),并结合 OOP(面向对象编程),FP(函数式编程)和 FRP(函数响应式编程)的元素。在底层,Nest 使用了 Express,可以方便地使用各种可用的第三方插件。


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Modeling the Internet and the Web

Modeling the Internet and the Web

Pierre Baldi、Paolo Frasconi、Padhraic Smyth / Wiley / 2003-7-7 / USD 115.00

Modeling the Internet and the Web covers the most important aspects of modeling the Web using a modern mathematical and probabilistic treatment. It focuses on the information and application layers, a......一起来看看 《Modeling the Internet and the Web》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换