Skip to content

Latest commit

 

History

History
241 lines (169 loc) · 20.3 KB

CHANGELOG.md

File metadata and controls

241 lines (169 loc) · 20.3 KB

Change Log

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

4.2.2 (2024-09-29)

Miscellaneous Chores

  • api-server: change the license to AGPL-3.0 (fa3347e) by @ArmanAsadian
  • change the license to AGPL-3.0 (5b73936) by @ArmanAsadian
  • crypto: change the license to AGPL-3.0 (a37fb50) by @ArmanAsadian
  • nanotron: change the license to AGPL-3.0 (a1699ee) by @ArmanAsadian

Dependencies update

  • bump @types/node in the development-dependencies group (9c8d7d5) by @dependabot[bot]
  • bump the github-actions group with 3 updates (06aa063) by @dependabot[bot]
  • update (1c4ef63) by @AliMD

4.2.1 (2024-09-24)

Miscellaneous Chores

  • change license to AGPL-3.0 (7f0f987) by @AliMD

Dependencies update

4.2.0 (2024-09-23)

Features

  • Add @alwatr/crypto dependency to nanotron package.json and tsconfig.json (94cdf28) by @AliMD

Bug Fixes

  • export crypto from nanotron (21f00d2) by @njfamirm

Code Refactoring

  • logger creation in NanotronClientRequest and NanotronServerResponse (65accd3) by @AliMD

Dependencies update

  • bump github/codeql-action in the github-actions group (b974a05) by @dependabot[bot]
  • bump the alwatr-dependencies group with 6 updates (1c8a8ec) by @dependabot[bot]
  • bump the development-dependencies group with 2 updates (e3bc7f7) by @dependabot[bot]
  • update (d9f8d57) by @AliMD

4.1.0 (2024-09-14)

Features

  • route handlers to use 'call' method for binding 'this' (69517c1) by @

4.0.2 (2024-09-14)

Bug Fixes

  • definePackage (a2edcc1) by @AliMD

4.0.1 (2024-09-14)

Miscellaneous Chores

  • lerna.json: remove ignoreChanges for *.md files (b8e00c6) by @
  • readme: remove old docs (4c4cc79) by @

4.0.0 (2024-09-14)

Features

  • api-server: add a new method (416faab) by @mohammadhonarvar
  • api-server: add queryParams property to NanotronClientRequest class (8749b98) by @AliMD
  • api-server: add remote ip address to loggers (313602a) by @AliMD

Code Refactoring

  • api-server: refactor NanotronClientRequest class (17953ad) by @AliMD
  • api-server: update NanotronClientRequest class to accept a generic shared meta type (373f4bc) by @AliMD

4.0.0-alpha.3 (2024-09-13)

Features

  • api-server: add getBodyRaw method to NanotronClientRequest for handling request body (828416b) by @AliMD
  • api-server: add headers getter to NanotronClientRequest (6426345) by @AliMD
  • api-server: add HttpRequestHeaders (c7e8d94) by @AliMD
  • api-server: add new endpoint for hello2 in API demo (818c710) by @AliMD
  • api-server: enhance error response handling in NanotronServerResponse (0a0f89b) by @AliMD
  • api-server: improve error handling and logging in NanotronApiServer (65d82b6) by @AliMD
  • demo: add POST /echo-body endpoint to echo request body (f13b916) by @AliMD

Code Refactoring

  • api-server: Update NanotronUrl class to include NativeClientRequest type (906256f) by @AliMD
  • api-server: update routeOption type to Required (e4eb63e) by @AliMD

Dependencies update

4.0.0-alpha.2 (2024-09-12)

Features

  • api-server: Add NanotronUrl class for handling client request URLs (3e41fd6) by @AliMD

Code Refactoring

  • api-server: Add new route for /hello endpoint (d2dad04) by @AliMD
  • api-server: types (46d7487) by @AliMD
  • api-server: Update HttpResponseHeaders interface properties (3e44a43) by @AliMD
  • api-server: Update main.ts exports with NanotronClientRequest, NanotronServerResponse, and NanotronUrl types (c94c954) by @AliMD
  • api-server: Update NanotronClientRequest class (468d3d9) by @AliMD
  • api-server: Update NanotronClientRequest class and NanotronServerResponse class (7b587e0) by @AliMD
  • api-server: Update NanotronServerResponse class (0f47dd7) by @AliMD
  • api-server: Update type.ts with NativeClientRequest and NativeServerResponse types (e6b62e5) by @AliMD

Miscellaneous Chores

4.0.0-alpha.1 (2024-09-11)

⚠ BREAKING CHANGES

  • api-server: separate NanotronClientRequest and NanotronServerResponse classes

Co-authored-by: Mohammad Honarvar honarvar.info@gmail.com Co-authored-by: James Sumners 321201+jsumners@users.noreply.github.com Co-authored-by: Frazer Smith frazer.dev@icloud.com Co-authored-by: Simone Busoli simone.busoli@gmail.com Co-authored-by: Carlos Fuentes me@metcoder.dev Co-authored-by: KaKa 23028015+climba03003@users.noreply.github.com

Features

  • api-server: add preHandlers_ property (80a301e) by @AliMD
  • api-server: Add preHandlers_ and postHandlers_ properties in DefineRouteOption (d4f3e8c) by @AliMD
  • api-server: prevent to run the handlers when terminatedHandlers equals true (185bc11) by @AliMD
  • api-server: Refactor replyError method and add terminatedHandlers property (c6f9c69) by @AliMD
  • api-server: Update replyError method and add errorHappened property in api-connection.ts (166c950) by @AliMD
  • api-server: Update replyError method in api-connection.ts (968b024) by @AliMD
  • demo: add 404 test (b15bf5d) by @AliMD

Bug Fixes

  • api-server: update exports (8ed905b) by @AliMD
  • demo: update with new apis (16fceca) by @

Code Refactoring

  • api-server: separate NanotronClientRequest and NanotronServerResponse classes (c207488) by @AliMD
  • api-server: Separate NanotronClientRequest and NanotronServerResponse classes (c02d51b) by @AliMD
  • api-server: Update logger name in NanotronApiServer (6f0a959) by @
  • NanotronApiServer to separate NanotronClientRequest and NanotronServerResponse classes (3116fdf) by @AliMD

4.0.0-alpha.0 (2024-09-10)

⚠ BREAKING CHANGES

  • everything rewrite from scratch please check the documents

Co-authored-by: Mohammad Honarvar honarvar.info@gmail.com

Features

  • Add API routes for root and hello endpoints in api-server demo (4692fbb) by @AliMD
  • Add applyReplyHeaders_ method to NanotronApiConnection class (2a0eb4a) by @AliMD
  • Add close method to NanotronApiServer (cbd2ed8) by @AliMD
  • Add constructor to NanotronApiConnection class (71d7a3a) by @AliMD
  • Add constructor to NanotronApiServer (fbb358c) by @AliMD
  • Add constructor, default configuration, DefineRouteOption interface, and NanotronApiServerConfig interface to NanotronApiServer (3af3d82) by @AliMD
  • Add default configuration for NanotronApiServer (19495d0) by @AliMD
  • Add defineRoute method to NanotronApiServer (e1448c9) by @AliMD
  • Add DefineRouteOption interface (f481ecb) by @AliMD
  • Add error handling and request handling to NanotronApiServer (2fcc6f9) by @AliMD
  • Add error handling for client errors in NanotronApiServer (f7667d8) by @AliMD
  • Add error handling for HTTP errors in NanotronApiServer (2a8a87c) by @AliMD
  • Add error handling to handleServerError_ method in NanotronApiServer (4273478) by @AliMD
  • Add getRouteOption_ method to NanotronApiServer (4eada32) by @AliMD
  • Add HttpResponseHeaders interface and ErrorResponse type to type.ts (03fe655) by @AliMD
  • Add HttpResponseHeaders interface to type.ts (fe971fd) by @AliMD
  • Add HttpStatusCode type to const.ts (44888c3) by @AliMD
  • Add HttpStatusCodes object to const.ts (76436bc) by @AliMD
  • Add HttpStatusMessages object to const.ts (4424261) by @AliMD
  • Add MatchType type to type.ts (21fe834) by @AliMD
  • Add NanotronApiConnection class and import dependencies (ee952a5) by @AliMD
  • Add NanotronApiConnectionConfig interface (995fad1) by @AliMD
  • Add NanotronApiServerConfig interface (fe94be3) by @AliMD
  • Add reply method to NanotronApiConnection class (494173c) by @AliMD
  • Add replyError method to NanotronApiConnection class (1489c34) by @AliMD
  • Add replyHeaders property to NanotronApiConnection (166f308) by @AliMD
  • Add replyJson method to NanotronApiConnection class (028e6ef) by @AliMD
  • Add replyJsonError method to NanotronApiConnection class (5cbb0a7) by @AliMD
  • Add replySent property to NanotronApiConnection class (ad955c3) by @AliMD
  • Add replyStatusCode property to NanotronApiConnection class (e92d71c) by @AliMD
  • Add RouteHandler type to type.ts (0050dc3) by @AliMD
  • Add setRouteOption_ method to NanotronApiServer (755cb93) by @AliMD
  • Add standard HTTP methods to const.ts (eb9cf06) by @AliMD
  • Add version pattern and logger to NanotronApiConnection (798af10) by @AliMD
  • HttpMethod type (520ac4f) by @AliMD
  • new package for export all nanotron packages (1c065d2) by @AliMD

Bug Fixes

  • build issue after update package.json (9df6a58) by @njfamirm

Code Refactoring

  • cleanup old nano-server (0656967) by @AliMD
  • Import necessary modules and types in api-server.ts (bd4253f) by @AliMD
  • Remove unused 'client-id' header from IncomingHttpHeaders (43617d8) by @AliMD
  • Update import paths for duration parsing (97dd8aa) by @AliMD
  • Update import paths for duration parsing and update typescript SDK version to 5.6.2 (7d8ea97) by @AliMD
  • Update package description in api-server (acfda5c) by @AliMD
  • Update package description in api-server (df4df3f) by @AliMD
  • Update test script in package.json to pass with no tests (d215777) by @AliMD

Miscellaneous Chores

  • add required deps (32b8ade) by @njfamirm
  • cleanup extra packages (20733c7) by @njfamirm
  • copy config from nanolib (3068614) by @njfamirm
  • fix upd script (10f2540) by @AliMD
  • rename http-server to nanotron-api-server (7dd983e) by @AliMD
  • update .vscode/settings.json (5dbbd41) by @AliMD
  • Update lerna.json version to 0.0.0 (0973e25) by @AliMD
  • update package.json (b411ca5) by @AliMD
  • update package.json of each package from nanolib (b8a7c8a) by @njfamirm

Dependencies update

  • bump github/codeql-action (a485ab3) by @dependabot[bot]
  • update (9af3b8f) by @AliMD
  • update (f95134f) by @AliMD
  • update all (e5242dc) by @njfamirm
  • Update typescript SDK version to 5.6.2 (edbbf5e) by @AliMD