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

栏目: 软件资讯 · 发布时间: 7年前

内容简介:Nest.js v5.2.0 正式版已发布,更新内容主要是新功能的增加、bug 修复和其他方面的改进。具体如下: 新特性 common: provide global config for axios instance HttpModule.register() #846 core: use default ex...

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,可以方便地使用各种可用的第三方插件。


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

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

Lean Analytics

Lean Analytics

Alistair Croll、Benjamin Yoskovitz / O'Reilly Media / 2013-3-18 / USD 29.99

If you're involved with a startup, analytics help you find your way to the right product and market before the money runs out. But with a flood of information available, where do you start? This book ......一起来看看 《Lean Analytics》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

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

在线XML、JSON转换工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具