Skip to content

Latest commit

 

History

History
363 lines (165 loc) · 16.8 KB

CHANGELOG.md

File metadata and controls

363 lines (165 loc) · 16.8 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.4.0 (2024-07-25)

Features

  • support set response vary (a452daa)

2.3.1 (2024-07-19)

Bug Fixes

  • core: allow the DELETE method to pass the body (649f52d)
  • core: body parser cannot support mixed content type string (591582e)

2.2.0 (2024-01-15)

Features

  • support custom body parser (f3a759c)

2.1.0 (2023-08-08)

Bug Fixes

  • core: fix ctx.url have extra trailing question mark when path and querystring is emtpy (afc7ea5)
  • router: extend type of koa content is not in effect (03c3084)

Features

  • implement logger util (f87f734)
  • logger: export koam logger to main package (bb91f0c)
  • logger: implement logger middleware (840c765)

2.0.2 (2023-07-25)

Bug Fixes

  • cannot process multiple request at the same time issue (acf97fb)

2.0.1 (2023-06-09)

Bug Fixes

  • router: fix peer dependency issue (50886b8)

2.0.0-alpha.0 (2023-06-09)

Note: Version bump only for package koam

1.1.1 (2023-06-08)

Bug Fixes

  • koam: should not rewrite response content type when set body (b0e4bf7)

1.1.0 (2023-06-08)

Features

  • koam: inside koa connect middleware (b42121c)

1.0.1 (2023-06-01)

Bug Fixes

  • router: mark peer dependency koam require ^1.0.0 (8216bf9)

1.0.0 (2023-06-01)

Bug Fixes

  • koam: do not update response status after manual assigned when redirect (ad95673)
  • koam: fix useless state property (99ef7a5)
  • koam: should return correct status when body is different (59782c2)
  • path resolve issue (949a18e)
  • router: fix unnamed modifiers path match (70ecd50)
  • router: recovery allowedMethods feature after refactor (f227963)
  • router: recovery prefix feature after refactor (335fea3)
  • router: recovery router.param method (3d0422b)
  • router: recovery router.use feature after refactor (b487c79)
  • router: should match correct route when multiple declare different method routes (194585b)
  • router: should rewrite the previous named route when redeclare named route (98a84e5)

Features

  • implement basic router match method (a8c3575)
  • implement context parameters (38574b5)
  • koam: add more 3xx http status (90b4349)
  • koam: export Koa namespace to override (31f3c62)
  • koam: support ctx.attachment method (6eec41c)
  • refine path-regexp method (1b9e058)
  • router: implement basic router.allowedMethods (986effb)
  • router: implement basic url method (2e912d5)
  • router: implement context params (d86bb83)
  • router: implement nested routers (d1464ad)
  • router: implement router.param method (89ff859)
  • router: implement router.prefix (a3206b4)
  • router: implement router.redirect method (1a068b6)
  • router: implement router.use method (779771b)
  • router: path match support standalone modifier '*' and '+' (7656683)
  • router: support constructor prefix argument (6c70bce)
  • router: support router params list when call url method (b91f4d6)
  • router: support use array path (fb06153)
  • router: url method support pass in query parameter (2045cb7)
  • support basic router path match (ec6e797)
  • support context.length (2a420a1)
  • support stream as response body (4a62eca)

0.3.2 (2023-05-17)

Bug Fixes

  • assert function using issue (90960a4)

0.3.1 (2023-05-16)

Bug Fixes

  • cannot using external lib issue (4bd4d03)

0.3.0 (2023-05-16)

Bug Fixes

  • path issue after upgrade ts and eslint (06a8c3d)

Features

  • router: add basic path-to-regexp util function (7312da0)
  • router: add basic path-to-regexp util function (6705c40)
  • router: implement asterisk and plus sign in path regexp (6440fca)

0.2.4 (2023-05-05)

Bug Fixes

0.2.3 (2023-05-05)

Bug Fixes

0.2.2 (2023-05-05)

Bug Fixes

0.2.1 (2023-05-05)

Bug Fixes

  • node module has no default export issue (b9946c9)

0.2.0 (2023-05-05)

Bug Fixes

  • set verbatimModuleSyntax to true for swc project (ee04cd4)
  • set verbatimModuleSyntax to true for swc project (79ee8da)

0.1.4 (2023-05-05)

Bug Fixes

  • koam router cannot publish issue (b8f1fe2)

0.1.3 (2023-05-05)

Bug Fixes

  • released package does not have type declaration issue (bd10d00)

Features

  • router: add http verb methods (25dff24)

0.1.2 (2022-11-07)

Note: Version bump only for package koam

0.1.1 (2022-11-07)

Note: Version bump only for package koam

0.1.0 (2022-11-07)

Bug Fixes

  • body parser need to await result (3ff175f)
  • parseQuery return type (927e487)
  • parseQuery should return empty when query key not exist (a07a56c)
  • parseQuery support PHP-like simple array (1f8c403)
  • parseQuery support simple array (fe74085)
  • plain text response body (0991298)
  • unexpected buffer concat (dcf4c91)

Features

  • add context path support (a62cb98)
  • add context query support (2733d5b)
  • add multiple middleware support (e4497ee)
  • add protocol to context request (c71c673)
  • add request body parser (908cf57)
  • add response time middleware (36a2c23)
  • add toJSON method for logger or debug useful information (54d082e)
  • add url, querystring, host to context and request properties (6fe92cf)
  • application config (c256fd8)
  • auto assign response content type by body setter (833f77f)
  • context response body getter and setter (5291ddc)
  • context status setter and getter (19629d4)
  • error handling (d28e8f7)
  • expose app property from context (943ed58)
  • expose context property on application class (9523b23)
  • expose request socket (282047f)
  • expose response content type setter / getter (58b101e)
  • expose response socket (6f2ec22)
  • expose response status message (8643b9e)
  • implement context assert method (033130e)
  • implement context throw method (6fe30b4)
  • implement env config (fef106e)
  • implement get request headers (5a760eb)
  • implement get request headers type hint (581b43c)
  • implement proxy option (4d06d95)
  • implement query and qs setter & getter (52bb3ea)
  • implement redirect method (a7cf5f3)
  • implement request charset getter (6d60fbb)
  • implement request content length getter (7f1083a)
  • implement request method setter (f716b94)
  • implement request path originalUrl and origin properties (8a311b3)
  • implement response header setters and getter (544e1b6)
  • implement state property (8095a24)
  • remove request search setter / getter (using querystring instead) (6c2e6ce)
  • send response status message (6c78171)
  • simple error handling and expose callback handler (523eb84)
  • support listen address and port getter (7cd7263)
  • throw error when call next more than one time (748b9db)
  • use middleware (9a17b8a)