All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
4.8.0 (2024-11-08)
- api-server: refactor CORS handling to use new crossOrigin configuration (52a40d7) by @
- update (91aae31) by @
4.7.0 (2024-11-07)
- api-server: set
allowOrigin
from configs (8add97c) by @mohammadhonarvar
4.6.0 (2024-11-07)
- api-server: allow
CORS
requests to do (27d8166) by @mohammadhonarvar
- api-server: debug issue (a3ef40f) by @mohammadhonarvar
- deps-dev: bump @types/node in the dependencies group (9901819) by @dependabot[bot]
- deps: bump @alwatr/nanolib from 5.0.0 to 5.2.1 in the alwatr group (f06afb7) by @dependabot[bot]
- update (78b89b2) by @AliMD
4.5.2 (2024-11-02)
- add Copilot instructions and update VSCode settings and extensions (aa26bab) by @AliMD
- update dependabot configuration for improved dependency management (7e6e8de) by @AliMD
- bump the github-actions group with 2 updates (49ce364) by @dependabot[bot]
- deps: bump the alwatr group with 6 updates (6636bb3) by @dependabot[bot]
- update (86fbeb6) by @
4.5.1 (2024-10-28)
- deps (fc6724b) by @
4.5.0 (2024-10-28)
- add
pre-handlers
package (6578a63) by @mohammadhonarvar - nanotron: use
pre-handlers
package (11595c8) by @mohammadhonarvar - pre-handlers: Add getAuthBearer function (43de511) by @AliMD
- pre-handlers: Add requireAccessToken middleware (8ed4eb3) by @AliMD
- crypto: remove side effects (852e035) by @AliMD
- pre-handlers: some issues of
review
feedbacks (72ad94b) by @mohammadhonarvar
- pre-handlers: Remove logger module (70b0357) by @AliMD
- pre-handlers: Rename parse-body-as-json.ts to handler/parse-body-as-json.ts (3d5f756) by @AliMD
- pre-handlers: Update main.ts exports and add package tracer (dc29d20) by @AliMD
- Update extension in .vscode/extensions.json (071698e) by @AliMD
- bump the development-dependencies group across 1 directory with 2 updates (8b3e101) by @dependabot[bot]
- bump the github-actions group across 1 directory with 4 updates (6c8dbbe) by @dependabot[bot]
- update (da8ab83) by @mohammadhonarvar
- update (584ebc4) by @mohammadhonarvar
- update (5f95120) by @mohammadhonarvar
- update (b3f18ee) by @mohammadhonarvar
- update nanolib v1.4.0 and other deps (b8e7be7) by @
4.4.1 (2024-10-16)
- pre- and post-handler execution in NanotronApiServer (ec3b4b9) by @
- update (8917c2e) by @
4.4.0 (2024-10-14)
- api-server: add health route to NanotronApiServer (4f8ede5) by @
4.3.0 (2024-10-11)
- nanotron: install
nanolib
packages & export them here (169f360) by @mohammadhonarvar - update
import
s & packages based on the latest changes ofnanolib
& preventsideeffects
frombuild
result (1d234b8) by @mohammadhonarvar
- api-server: update types &
logger
& usepackageTracer
based on last changes ofnanolib
(7ae4b52) by @mohammadhonarvar - crypto: update types &
logger
& usepackageTracer
based on last changes ofnanolib
(cf1a480) by @mohammadhonarvar - nanotro: update
import
s & remove extraexport
s (2bc4d2e) by @mohammadhonarvar
- update
import
s & packages based on the latest changes ofnanolib
(7652b5d) by @mohammadhonarvar
- edited README (d707d38) by @ArmanAsadian
- bump github/codeql-action in the github-actions group (deb0189) by @dependabot[bot]
- bump the github-actions group with 3 updates (7ef6ee3) by @dependabot[bot]
- update (2aaf7c4) by @mohammadhonarvar
- update (e2e3c2b) by @mohammadhonarvar
- update (834ffcc) by @mohammadhonarvar
- update (fab97ef) by @mohammadhonarvar
- update (566ab6f) by @mohammadhonarvar
4.2.2 (2024-09-29)
- 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
- 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)
- change license to AGPL-3.0 (7f0f987) by @AliMD
- update (e698199) by @AliMD
4.2.0 (2024-09-23)
- Add @alwatr/crypto dependency to nanotron package.json and tsconfig.json (94cdf28) by @AliMD
- export crypto from nanotron (21f00d2) by @njfamirm
- logger creation in NanotronClientRequest and NanotronServerResponse (65accd3) by @AliMD
- 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)
- route handlers to use 'call' method for binding 'this' (69517c1) by @
4.0.2 (2024-09-14)
- definePackage (a2edcc1) by @AliMD
4.0.1 (2024-09-14)
- lerna.json: remove ignoreChanges for *.md files (b8e00c6) by @
- readme: remove old docs (4c4cc79) by @
4.0.0 (2024-09-14)
- 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
- 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)
- 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
- api-server: Update NanotronUrl class to include NativeClientRequest type (906256f) by @AliMD
- api-server: update routeOption type to Required (e4eb63e) by @AliMD
- update (0461fb5) by @
4.0.0-alpha.2 (2024-09-12)
- api-server: Add NanotronUrl class for handling client request URLs (3e41fd6) by @AliMD
- 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
- update demo (218d375) by @
4.0.0-alpha.1 (2024-09-11)
- api-server: separate NanotronClientRequest and NanotronServerResponse classes
Co-authored-by: Mohammad Honarvar [email protected] Co-authored-by: James Sumners [email protected] Co-authored-by: Frazer Smith [email protected] Co-authored-by: Simone Busoli [email protected] Co-authored-by: Carlos Fuentes [email protected] Co-authored-by: KaKa [email protected]
- 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
equalstrue
(185bc11) by @AliMD - api-server: Refactor
replyError
method and addterminatedHandlers
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
- 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)
- everything rewrite from scratch please check the documents
Co-authored-by: Mohammad Honarvar [email protected]
- 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
- build issue after update package.json (9df6a58) by @njfamirm
- 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
- 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