Skip to content

v4.0.0-alpha.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@AliMD AliMD released this 10 Sep 16:32
· 156 commits to next since this release
v4.0.0-alpha.0
667c5f0

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

Co-authored-by: @mohammadhonarvar

⚠ BREAKING CHANGES

  • everything rewrite from scratch please check the documents

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

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

Dependencies update