From 7bc08b4eacb2be11d4b1c87a7c7fda95d490e92b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 Jul 2026 07:08:46 +0000 Subject: [PATCH] chore(main): release 2.0.0-alpha.3 --- CHANGELOG.md | 39 +++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ecadb1..250b3a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,44 @@ # Changelog +## 2.0.0-alpha.3 (2026-07-18) + + +### ⚠ BREAKING CHANGES + +* package is now ESM (type: module). CJS consumers use lib/index.cjs via exports map. + +### Features + +* add example ([32fb8f2](https://github.com/teambition/koa-controller/commit/32fb8f20442c1eedba77fa9ca8f8149807ac018d)) +* add name in trace for built-in middware ([fa23093](https://github.com/teambition/koa-controller/commit/fa230938730db0f09f7798218865c167504e6bb5)) +* add release-please and npm publish workflows ([#5](https://github.com/teambition/koa-controller/issues/5)) ([425f489](https://github.com/teambition/koa-controller/commit/425f489c892ee9786a3c98a55e5c0a7793b6a56d)) +* add validator ([32fb8f2](https://github.com/teambition/koa-controller/commit/32fb8f20442c1eedba77fa9ca8f8149807ac018d)) +* ensure sequence ([fa23093](https://github.com/teambition/koa-controller/commit/fa230938730db0f09f7798218865c167504e6bb5)) +* migrate to ESM with dual CJS/ESM build, 52 tests at 97.66% coverage ([#2](https://github.com/teambition/koa-controller/issues/2)) ([434c4a1](https://github.com/teambition/koa-controller/commit/434c4a1414efbec163ec59c8bb792b17b37c55a5)) +* optimize logger & state ([fa23093](https://github.com/teambition/koa-controller/commit/fa230938730db0f09f7798218865c167504e6bb5)) +* optimize logger and errorHandler ([32fb8f2](https://github.com/teambition/koa-controller/commit/32fb8f20442c1eedba77fa9ca8f8149807ac018d)) +* support before and after fn tracer ([d16d5ac](https://github.com/teambition/koa-controller/commit/d16d5ac253f382c47851e584dc9b93a12d5b38a5)) +* support multi route in controller and method ([32fb8f2](https://github.com/teambition/koa-controller/commit/32fb8f20442c1eedba77fa9ca8f8149807ac018d)) +* tracer ([32fb8f2](https://github.com/teambition/koa-controller/commit/32fb8f20442c1eedba77fa9ca8f8149807ac018d)) +* upgrade example ([fa23093](https://github.com/teambition/koa-controller/commit/fa230938730db0f09f7798218865c167504e6bb5)) +* use Reflect store meta info for controller ([fa23093](https://github.com/teambition/koa-controller/commit/fa230938730db0f09f7798218865c167504e6bb5)) + + +### Bug Fixes + +* add --tag latest for prerelease npm publish ([c14f340](https://github.com/teambition/koa-controller/commit/c14f340c857b76503dbfa145b52088d33b43b9a8)) +* ensure release-as input handles empty string correctly ([61c4a5c](https://github.com/teambition/koa-controller/commit/61c4a5c10d54a4f03c6a50985f2f54832dbf6a8f)) +* **libs:** migrate to typescript 6, upgrade deps and fix esm compatibility ([#4](https://github.com/teambition/koa-controller/issues/4)) ([5f9958f](https://github.com/teambition/koa-controller/commit/5f9958fa99bb0a944ba5373f5ce14ac9386aecea)) +* publish npm package with trusted publishing ([c3e1d53](https://github.com/teambition/koa-controller/commit/c3e1d53ce79459dc68afa36bc77b0ed5e324541e)) +* repair release PR and publishing workflows ([#9](https://github.com/teambition/koa-controller/issues/9)) ([0789fd0](https://github.com/teambition/koa-controller/commit/0789fd075762bf35c4fc52691a605550db4684d1)) + + +### Performance Improvements + +* remove unsed var ([d16d5ac](https://github.com/teambition/koa-controller/commit/d16d5ac253f382c47851e584dc9b93a12d5b38a5)) +* rename combine-state to state.ts ([32fb8f2](https://github.com/teambition/koa-controller/commit/32fb8f20442c1eedba77fa9ca8f8149807ac018d)) +* rename validate ([32fb8f2](https://github.com/teambition/koa-controller/commit/32fb8f20442c1eedba77fa9ca8f8149807ac018d)) + ## [2.0.0-alpha.2](https://github.com/orangemi/koa-controller/compare/v2.0.0-alpha.1...v2.0.0-alpha.2) (2026-07-18) diff --git a/package.json b/package.json index 8afc51b..b6c9285 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tng/koa-controller", - "version": "2.0.0-alpha.2", + "version": "2.0.0-alpha.3", "description": "Write koa http server with koa-controller by decorator feature in typescript.", "engines": { "node": ">=20"