# Changelog

## 2.2.0

### Minor Changes

- build
- build

### Patch Changes

- Updated dependencies
- Updated dependencies
  - koatty_container@3.0.0
  - koatty_lib@1.5.0
  - koatty_logger@3.0.0

## 2.1.10

### Patch Changes

- build
- Updated dependencies
  - koatty_container@2.0.10
  - koatty_lib@1.4.10
  - koatty_logger@2.8.6

## 2.1.9

### Patch Changes

- Updated dependencies
  - koatty_container@2.0.8

## 2.1.8

### Patch Changes

- Updated dependencies
  - koatty_container@2.0.7

## 2.1.7

### Patch Changes

- Updated dependencies
  - koatty_lib@1.4.8
  - koatty_container@2.0.6
  - koatty_logger@2.8.4

## 2.1.6

### Patch Changes

- Updated dependencies
  - koatty_container@2.0.6

## 2.1.5

### Patch Changes

- Updated dependencies
  - koatty_container@2.0.5
  - koatty_lib@1.4.7
  - koatty_logger@2.8.3

## 2.1.4

### Patch Changes

- Updated dependencies
  - koatty_logger@2.8.2
  - koatty_container@2.0.4

## 2.1.3

### Patch Changes

- Updated dependencies
- Updated dependencies
  - koatty_container@2.0.3

## 2.1.2

### Patch Changes

- patch version bump for koatty, koatty_cacheable, koatty_config, koatty_container, koatty_core, koatty_exception, koatty_graphql, koatty_lib, koatty_loader, koatty_logger, koatty_proto, koatty_router, koatty_schedule, koatty_serve, koatty_store, koatty_trace, koatty_typeorm, koatty_validation
- Updated dependencies
  - koatty_container@2.0.2
  - koatty_lib@1.4.6
  - koatty_logger@2.4.2

## 2.1.1

### Patch Changes

- Updated dependencies
  - koatty_container@2.0.1
  - koatty_logger@2.4.1

## 2.1.0

### Minor Changes

- build

### Patch Changes

- Updated dependencies
  - koatty_container@2.0.0
  - koatty_logger@2.4.0

## 2.0.10

### Patch Changes

- build
- Updated dependencies
  - koatty_container@1.17.4
  - koatty_lib@1.4.5
  - koatty_logger@2.3.4

## 2.0.9

### Patch Changes

- build
- Updated dependencies
  - koatty_container@1.17.3
  - koatty_lib@1.4.4
  - koatty_logger@2.3.3

## 2.0.8

### Patch Changes

- Updated dependencies
  - koatty_container@1.17.2
  - koatty_lib@1.4.3
  - koatty_logger@2.3.2

## 2.0.7

### Patch Changes

- Updated dependencies
  - koatty_lib@1.4.2
  - koatty_container@1.17.1
  - koatty_logger@2.3.1

## 2.0.6

### Patch Changes

- build

## 2.0.5

### Patch Changes

- init

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [2.0.4](https://github.com/koatty/koatty_exception/compare/koatty-exception@2.0.3...koatty-exception@2.0.4) (2025-10-30)

### [2.0.3](https://github.com/koatty/koatty_exception/compare/koatty-exception@2.0.2...koatty-exception@2.0.3) (2025-10-30)

### Features

- sync version to dist/package.json during release ([c57ca04](https://github.com/koatty/koatty_exception/commit/c57ca04c91bfb9acb41238ee72b54afb0ee4a683))

### [2.0.2](https://github.com/koatty/koatty_exception/compare/koatty-exception@2.0.1...koatty-exception@2.0.2) (2025-10-30)

### Features

- add tsconfigRootDir to ESLint parser options ([89619bd](https://github.com/koatty/koatty_exception/commit/89619bd3c59ec184b0defa19dae468263a77b449))
- enhance config decorator and update dependencies ([a0a13ab](https://github.com/koatty/koatty_exception/commit/a0a13ab8b316a7e3bb9e76137550bedb8f616c59))
- enhance TypeScript support and fix package distribution paths ([20c0a9c](https://github.com/koatty/koatty_exception/commit/20c0a9c681fbb703d76fd6abc428f0f0f483c24b))
- **logger:** enhance Logger interface and update usage ([194978c](https://github.com/koatty/koatty_exception/commit/194978cbb9969ca1eed6556981e29f03386bec85))
- **trace:** enhance tracing with timeout handling and status checks ([caa6a10](https://github.com/koatty/koatty_exception/commit/caa6a10d0d82064567f1a3f8f3146f28a7b7398d))

### Bug Fixes

- **koatty-serve:** 修复不稳定的时间相关测试 ([cf2d6b5](https://github.com/koatty/koatty_exception/commit/cf2d6b5754a56217df1b912faf7cd40b01dbcbdc))
- **koatty-trace:** 修复 ESLint 错误和测试 mock 问题 ([b24e1f9](https://github.com/koatty/koatty_exception/commit/b24e1f9dcc55c64f5d97f3ca01bc53161e7bdb7c))

### [2.0.1](https://github.com/koatty/koatty_exception/compare/koatty-exception@2.0.0...koatty-exception@2.0.1) (2025-10-24)

## 2.0.0 (2025-10-24)

### ⚠ BREAKING CHANGES

- **scripts:** - Tag 格式从 v{version} 改为 {package-name}@{version}

### Features

- add examples directory with basic-app example ([ef49c6f](https://github.com/koatty/koatty_exception/commit/ef49c6f932b88ba947fc4c7f448d91b016e3e020))
- improve type safety in compress middleware ([61beb1d](https://github.com/koatty/koatty_exception/commit/61beb1d206bebfd5f6fec9a2d1297f420be217a2))
- **koatty_core:** upgrade to Koa 3.0 ([fe246ad](https://github.com/koatty/koatty_exception/commit/fe246ad773521b6117d212378b07faa30abd17e0))
- **koatty_router:** migrate from koa-graphql to graphql-http ([847821a](https://github.com/koatty/koatty_exception/commit/847821ac80109c6f4fd953e0701ad695e4fb771f))
- make exception context fields optional and improve trace handling ([e0ec4db](https://github.com/koatty/koatty_exception/commit/e0ec4db1ba7299b1d22018558f61288cb2564dc6))
- **release:** add release guide and automation script ([c5f01b1](https://github.com/koatty/koatty_exception/commit/c5f01b17765a9b1eeb07c448b27be5ade9278569))
- update sync script to use HTTPS instead of SSH for package repos ([91c9fd7](https://github.com/koatty/koatty_exception/commit/91c9fd74f080685cb2e8fab66e4765cbf86be57c))
- upgrade to Koa 3.0 (WIP) ([d14114c](https://github.com/koatty/koatty_exception/commit/d14114c63d0f62fcd3a64296cbb6648ec1ee1e83))

### Bug Fixes

- **koatty_core:** attempt to fix test timeouts ([fb197ea](https://github.com/koatty/koatty_exception/commit/fb197eab7d193616ed4255753c22df0b400c1bc6))
- resolve workspace dependencies in build process ([d8a2661](https://github.com/koatty/koatty_exception/commit/d8a266123fee1dea8ea7be6a39401bf0c052688b))
- **scripts:** 修复 monorepo 中 tag 冲突问题 ([d2602bc](https://github.com/koatty/koatty_exception/commit/d2602bcc8c245e6f2137a678ec0e5e2fd6ef673a))
- **scripts:** 增强 release 脚本的验证和调试信息 ([2e0db49](https://github.com/koatty/koatty_exception/commit/2e0db499234bd4f132bbfc65559105fd9f98f926))
- 解决依赖问题以支持 Koa 3.0 升级 ([30cf0b5](https://github.com/koatty/koatty_exception/commit/30cf0b53ed032c7de5ea24b4c2ed965e8d4948df))

### [1.8.1-0](https://github.com/koatty/koatty_exception/compare/v1.8.0...v1.8.1-0) (2025-10-22)

## [1.8.0](https://github.com/koatty/koatty_exception/compare/v1.6.0...v1.8.0) (2025-06-02)

### Features

- add common error codes and enhance exception handling system ([571735a](https://github.com/koatty/koatty_exception/commit/571735a995bd6a93a90ac52694dc3b11a0c17e9f))
- update dependency versions and enhance exception handling documentation ([e30bfcc](https://github.com/koatty/koatty_exception/commit/e30bfcc1fdf2caf6b4366698734354f833ace88c))

## [1.8.0](https://github.com/koatty/koatty_exception/compare/v1.6.0...v1.8.0) (2025-06-02)

### Features

- add common error codes and enhance exception handling system ([571735a](https://github.com/koatty/koatty_exception/commit/571735a995bd6a93a90ac52694dc3b11a0c17e9f))
- update dependency versions and enhance exception handling documentation ([e30bfcc](https://github.com/koatty/koatty_exception/commit/e30bfcc1fdf2caf6b4366698734354f833ace88c))

## [1.7.0](https://github.com/koatty/koatty_exception/compare/v1.6.0...v1.7.0) (2025-06-02)

### Features

- add common error codes and enhance exception handling system ([571735a](https://github.com/koatty/koatty_exception/commit/571735a995bd6a93a90ac52694dc3b11a0c17e9f))
- update dependency versions and enhance exception handling documentation ([e30bfcc](https://github.com/koatty/koatty_exception/commit/e30bfcc1fdf2caf6b4366698734354f833ace88c))

## [1.6.0](https://github.com/koatty/koatty_exception/compare/v1.5.3...v1.6.0) (2025-03-20)

### Features

- update exception handling to use OpenTelemetry API ([705ec46](https://github.com/koatty/koatty_exception/commit/705ec467396f35f69f723eb7b7f8d42c1c1a8f46))

### [1.5.3](https://github.com/koatty/koatty_exception/compare/v1.5.2...v1.5.3) (2024-11-12)

### Bug Fixes

- return string message ([ad45d1a](https://github.com/koatty/koatty_exception/commit/ad45d1a1442efa9367735605a6287d7f346df224))

### [1.5.2](https://github.com/koatty/koatty_exception/compare/v1.5.1...v1.5.2) (2024-11-07)

### Bug Fixes

- protected ([18fcde6](https://github.com/koatty/koatty_exception/commit/18fcde6803219a2a24e62863a7db7f66ebbda396))

### [1.5.1](https://github.com/koatty/koatty_exception/compare/v1.4.7...v1.5.1) (2024-11-07)

### [1.4.7](https://github.com/koatty/koatty_exception/compare/v1.4.6...v1.4.7) (2024-11-07)

### [1.4.6](https://github.com/koatty/koatty_exception/compare/v1.4.4...v1.4.6) (2024-11-06)

### [1.4.4](https://github.com/koatty/koatty_exception/compare/v1.4.4-0...v1.4.4) (2024-11-06)

### [1.4.4-0](https://github.com/koatty/koatty_exception/compare/v1.4.2...v1.4.4-0) (2024-10-31)

### [1.4.2](https://github.com/koatty/koatty_exception/compare/v1.4.1...v1.4.2) (2024-03-15)

### Bug Fixes

- code 非正常值导致 grpc 无输出 ([3bfabd1](https://github.com/koatty/koatty_exception/commit/3bfabd1a60dc6454b3dd7c3b05bc87d86806e81c))

### [1.4.1](https://github.com/koatty/koatty_exception/compare/v1.4.0...v1.4.1) (2024-03-15)

### Bug Fixes

- comment ([301a724](https://github.com/koatty/koatty_exception/commit/301a724b9ec7aeab07c1085a8e27a5d565bb0768))
- grpc 增加输出错误信息 ([7259875](https://github.com/koatty/koatty_exception/commit/7259875979360982fd06f59a37f5ba5e9964a581))
- grpc 错误输出 ([56f4dd2](https://github.com/koatty/koatty_exception/commit/56f4dd2a4f5ad13c37d5169c295d4f2b5895499e))

## [1.4.0](https://github.com/koatty/koatty_exception/compare/v1.3.2...v1.4.0) (2024-03-14)

### Features

- add output ([9370f85](https://github.com/koatty/koatty_exception/commit/9370f85a14b3021371503b29fa900e99082d8f23))

### [1.3.2](https://github.com/koatty/koatty_exception/compare/v1.3.2-6...v1.3.2) (2024-02-02)

### Bug Fixes

- constructor ([59a92d0](https://github.com/koatty/koatty_exception/commit/59a92d0c8a429554e97859bdd5cadf6f72d346a4))
- log ([d1a3808](https://github.com/koatty/koatty_exception/commit/d1a38080744f3d0d352a683f4f8ad69175ed7f62))
- span log ([453f51e](https://github.com/koatty/koatty_exception/commit/453f51e343e06bf165c5b5beb3e3bb2cc8155894))
- 去除 status 默认值 ([6ecc75c](https://github.com/koatty/koatty_exception/commit/6ecc75c907cf65053c0f1ce93071a3785968d144))

### [1.3.2-6](https://github.com/koatty/koatty_exception/compare/v1.3.2-5...v1.3.2-6) (2024-01-24)

### [1.3.2-5](https://github.com/koatty/koatty_exception/compare/v1.3.2-4...v1.3.2-5) (2024-01-24)

### Bug Fixes

- span log ([9685a87](https://github.com/koatty/koatty_exception/commit/9685a87aad9343ae353a7d6034a03efad00385bd))

### [1.3.2-4](https://github.com/koatty/koatty_exception/compare/v1.3.2-3...v1.3.2-4) (2024-01-24)

### Bug Fixes

- status ([0161be3](https://github.com/koatty/koatty_exception/commit/0161be3e49cfea07d24b3340bfb7757d9aa57657))

### [1.3.2-3](https://github.com/koatty/koatty_exception/compare/v1.3.2-2...v1.3.2-3) (2024-01-24)

### Bug Fixes

- setTag ([7ed3694](https://github.com/koatty/koatty_exception/commit/7ed3694af89b11315f34bab88ed9a56f2967a6c4))

### [1.3.2-2](https://github.com/koatty/koatty_exception/compare/v1.3.2-1...v1.3.2-2) (2024-01-24)

### Bug Fixes

- output ([4f5156e](https://github.com/koatty/koatty_exception/commit/4f5156e6ebbcebf9700d3f9bb41cc9d78acc9450))

### [1.3.2-1](https://github.com/koatty/koatty_exception/compare/v1.3.2-0...v1.3.2-1) (2024-01-22)

### Bug Fixes

- output ([347903e](https://github.com/koatty/koatty_exception/commit/347903ea95e2c87e99c29a05ad0b792a9b902ba8))

### [1.3.2-0](https://github.com/koatty/koatty_exception/compare/v1.3.1...v1.3.2-0) (2024-01-22)

### [1.3.1](https://github.com/koatty/koatty_exception/compare/v1.2.8...v1.3.1) (2024-01-21)

### Bug Fixes

- add set ([9b49044](https://github.com/koatty/koatty_exception/commit/9b4904409b0c2a8c90ff3662b5bfa83ad4b3b403))
- comment ([284b029](https://github.com/koatty/koatty_exception/commit/284b029409807205964244c3a30b54969bb348a0))
- default value ([d7a620a](https://github.com/koatty/koatty_exception/commit/d7a620a65d3ff301c2097c1630a40877d30eaa5e))
- exception method ([d330e03](https://github.com/koatty/koatty_exception/commit/d330e0373b95087ce0fbcb0ad609e83c79754a7e))
- span.finish ([0e65c54](https://github.com/koatty/koatty_exception/commit/0e65c54820ca1c37f468b830f03698026e75c540))
- 支持链式调用 ([5efdfe0](https://github.com/koatty/koatty_exception/commit/5efdfe07d16d9474f100f3b9465a342ee7a69abc))

## [1.3.0](https://github.com/koatty/koatty_exception/compare/v1.3.0-3...v1.3.0) (2024-01-21)

## [1.3.0-3](https://github.com/koatty/koatty_exception/compare/v1.3.0-2...v1.3.0-3) (2024-01-21)

### Bug Fixes

- default value ([d7a620a](https://github.com/koatty/koatty_exception/commit/d7a620a65d3ff301c2097c1630a40877d30eaa5e))

## [1.3.0-2](https://github.com/koatty/koatty_exception/compare/v1.3.0-1...v1.3.0-2) (2024-01-21)

### Bug Fixes

- 支持链式调用 ([5efdfe0](https://github.com/koatty/koatty_exception/commit/5efdfe07d16d9474f100f3b9465a342ee7a69abc))

## [1.3.0-1](https://github.com/koatty/koatty_exception/compare/v1.2.8...v1.3.0-1) (2024-01-21)

### Bug Fixes

- add set ([9b49044](https://github.com/koatty/koatty_exception/commit/9b4904409b0c2a8c90ff3662b5bfa83ad4b3b403))
- comment ([284b029](https://github.com/koatty/koatty_exception/commit/284b029409807205964244c3a30b54969bb348a0))
- exception method ([d330e03](https://github.com/koatty/koatty_exception/commit/d330e0373b95087ce0fbcb0ad609e83c79754a7e))

### [1.2.11-0](https://github.com/koatty/koatty_exception/compare/v1.2.8...v1.2.11-0) (2024-01-21)

### Bug Fixes

- comment ([284b029](https://github.com/koatty/koatty_exception/commit/284b029409807205964244c3a30b54969bb348a0))

### [1.2.8](https://github.com/koatty/koatty_exception/compare/v1.2.7...v1.2.8) (2023-01-13)

### Bug Fixes

- upgrade deps ([7a36506](https://github.com/koatty/koatty_exception/commit/7a365063117f4a7adc42c5f8d54c99caf8e14725))

### [1.2.7](https://github.com/koatty/koatty_exception/compare/v1.2.6...v1.2.7) (2022-05-26)

### [1.2.6](https://github.com/koatty/koatty_exception/compare/v1.2.5...v1.2.6) (2022-03-02)

### [1.2.5](https://github.com/koatty/koatty_exception/compare/v1.2.4...v1.2.5) (2022-03-02)

### [1.2.4](https://github.com/koatty/koatty_exception/compare/v1.2.3...v1.2.4) (2022-03-01)

### [1.2.3](https://github.com/koatty/koatty_exception/compare/v1.2.2...v1.2.3) (2022-03-01)

### [1.2.2](https://github.com/koatty/koatty_exception/compare/v1.2.0...v1.2.2) (2022-02-21)

## [1.2.0](https://github.com/koatty/koatty_exception/compare/v1.2.0-1...v1.2.0) (2022-02-21)

## [1.2.0-1](https://github.com/koatty/koatty_exception/compare/v1.2.0-0...v1.2.0-1) (2022-02-21)

## [1.2.0-0](https://github.com/koatty/koatty_exception/compare/v1.1.2...v1.2.0-0) (2022-02-21)

### [1.1.2](https://github.com/koatty/koatty_exception/compare/v1.1.1...v1.1.2) (2022-02-14)

### [1.1.1](https://github.com/koatty/koatty_exception/compare/v1.1.1-0...v1.1.1) (2022-02-14)

### [1.1.1-0](https://github.com/koatty/koatty_exception/compare/v1.0.6...v1.1.1-0) (2022-02-14)
