Skip to content

Releases: fsd-nodejs/service-mw2

v1.3.0

13 Sep 16:21
Compare
Choose a tag to compare

重构了 jwt ,同时测试框架切换到 mocha,重构了测试用例。
如果想看 jest 测试框架的例子,可以切换到 v1.2.0 版本。
目前该项目,两种测试框架的实践例子都有提供。
计划接入 Midway.js 3.0,整体结构可能会有些调整。

1.3.0 (2021-09-13)

Features

Bug Fixes

v1.2.0

23 Jun 01:47
Compare
Choose a tag to compare

增加了 rabbitmq 的消费者示例,支持云端 IDE Gitpod 直接运行该项目

1.2.0 (2021-06-23)

Features

  • 增加 rabbitmq 生产者支持 (8cab1ea)
  • add docker support for development dependencies (67379ab)
  • add gitpod dockerfile config (bdb6523)
  • support on rabbitmq (55bf7cb)
  • koid: using midway-component-koid instead of egg plugin of koid (b60d029)

Bug Fixes

  • config.unittest.ts of jaeger config (7e1cdf4)
  • deamon exec gitpod (af062a2)

v1.1.0

08 Jun 12:16
Compare
Choose a tag to compare

阶段性更新,同时优化 Github Actions CI 运行的速度,增加了 node_modules 的缓存,如果依赖有更新,旧缓存会失效。缓存有效期为7天。check >> Github Actions Cache

mysql 切换至 mysql-deploy-action 做数据初始化,数据初始化速度从30s+ 缩减至 4s

1.1.0 (2021-06-08)

Features

  • apm: change ReturnType of processPriority() to number | undefined (d785614)
  • apm: define const TraceHeaderKey (dad082e)
  • apm: sample with more information (81d93ce)
  • apm: update default sample configuration (74e5b7f)
  • apm: update property TracerManager (aab487b)
  • apm: update TracerConfig['whiteList'] accepting RegExp (3b1a635)
  • apm: update types (442cb52)
  • apm: use pkg.name as serviceName (47b629b)
  • boilerplate: custom-logger (41a474a)
  • deps: update egg-jwt to v6.0.0 (7defc6f)
  • jaeger: using midway-component-jaeger (02f62db)
  • koid: add api /genid and more (03962a0)
  • koid: add snowflake id generator (272ba28)
  • koid: generate bitint id via koid.nextBigint (8788623)
  • middleware, ctx: jaeger链路追踪 (4705333)
  • types: add config.modal.ts (9a5e64d)
  • check 'ValidationError' also wit message (8580b5a)
  • create file .gitpod.yml (6feb1b4)
  • github workflows (b2f5bce)
  • jeager链路追踪 (46843c5)
  • migrate app.ts to configuration.ts (f923cc6)
  • set response header x-request-id by parseRequestId() (46ed3a8)
  • store error in ctx._internalError (025ec2b)
  • update git commitlint configurations (26e6163)
  • update jwt-auth.ts (2e917fa)
  • types: update DefaultConfig (83c0c82)
  • util: add retrieveExternalNetWorkInfo() (d669cc6)
  • use midway-logger instead of egg-logger (4c66de5)
  • use slice() instead of substring() (79e3dcc)
  • 增加commit校验依赖 (09d52a0)
  • 增加husky (f31263d)
  • 更新依赖版本 (46b898c)

Bug Fixes

  • remove Node.js 10.x version (a53b4d2)
  • scripts.debug (c9a5f74)
  • update trace condition (3a0b94e)
  • var assignment of MyError.status (0599bc8)
  • 修复husky问题 (e861541)
  • 修复测测试用例方法使用以及定义 helper 的 this 属性 (7d4179c)
  • 修复测试用例取值问题 (0db6e72)