Skip to content

Release 3.0.0

Latest
Compare
Choose a tag to compare
@rsaz rsaz released this 04 Dec 22:14

3.0.0 (2024-12-04)

Features

  • create server instance http and add close method for graceful shutdown (be16011)
  • add getHttpServer method and update listen method to return a promise (82895c2)
  • add unit tests for various utility functions and application lifecycle methods (d3d91b0)
  • add unit tests IOC container addScoped, addSingleton, addTransient, get (e3028fa)
  • implement Express Micro API adapter with route management and IoC container (1720378)
  • add container interface and remove inversify and binding deps (0b8c17b)
  • add env configuration load from expressots.config (ec6e476)
  • add express dependency version 4.21.1 to package.json (793b48c)
  • add global config method and env variables (d688a83)
  • add global configuration method and enhance listen interface (7447934)
  • add logging for NO_CONTROLLERS_FOUND error in express-utils (1c76dc8)
  • add unit tests for BaseMiddleware and Http decorators, update .gitignore and package.json (532b891)
  • enhance application-express interfaces and refactor container configuration (e1f55fe)
  • enhance HttpStatusCodeMiddleware to accept globalPrefix for path handling (a568598)
  • integrate RenderEngine from @expressots/shared and remove deprecated types (a2a22f9)
  • migrate from Vitest to Jest for testing framework and update configuration files (e76eb30)

Code Refactoring

  • app express class with async methods (5c9ea2b)
  • return http server on getHttp instead of app express (e6646de)
  • server listen accept 0 to set random port (7a97cf1)
  • update getHttpServer method to return http.Server instance (98985e8)
  • app express class with async methods (5c9ea2b)
  • return http server on getHttp instead of app express (e6646de)
  • server listen accept 0 to set random port (7a97cf1)
  • update getHttpServer method to return http.Server instance (98985e8)
  • app express class with async methods (5c9ea2b)
  • return http server on getHttp instead of app express (e6646de)
  • server listen accept 0 to set random port (7a97cf1)
  • update getHttpServer method to return http.Server instance (98985e8)
  • app express class with async methods (5c9ea2b)
  • server listen accept 0 to set random port (7a97cf1)
  • app express class with async methods (5c9ea2b)
  • clean up whitespace and formatting in various test files (5be0404)
  • adjust and rename public apis (b69e212)
  • change to IConsoleMessage the Console (56311e6)
  • clean up imports and formatting in application-express files (c24233a)
  • environment optional via enum, string and undefined (b1ea563)
  • partial env config load (4fca6cc)
  • remove provide decor for items not in container (42f762c)
  • update IWebServer interface and improve doc for public API methods (e123d43)

Tests

  • update tests for globalConfiguration, isDevelopment, getHttpServer, serverShutdown (17b7d92)
  • add test for server environment (0c76de1)
  • update tests for globalConfiguration, isDevelopment, getHttpServer, serverShutdown (17b7d92)
  • update tests for globalConfiguration, isDevelopment, getHttpServer, serverShutdown (17b7d92)
  • update tests for globalConfiguration, isDevelopment, getHttpServer, serverShutdown (17b7d92)
  • update tests for globalConfiguration, isDevelopment, getHttpServer, serverShutdown (17b7d92)
  • add unit tests for serverShutdown and setGlobalRoutePrefix methods (2c1ad63)

Bug Fixes

  • update error message in getHttpServer method for clarity (dc4f5a3)
  • update middleware path handling to include global prefix (b7bffc5)
  • exclude dependency injection files from coverage collection (e8fdd90)
  • update @expressots/core dependency version to use semantic versioning (2130e4d)
  • correct formatting in IWebServerPublic and AppExpress documentation (04fd0f0)
  • format NO_CONTROLLERS_FOUND message for consistency (dcd24cb)
  • set default port to 3000 if not provided in application-express (0607f57)
  • update version and refine no controllers found message (d4eb6a7)