Skip to content

Releases: expressots/adapter-express

3.0.0-beta.2

24 Nov 02:15
Compare
Choose a tag to compare
3.0.0-beta.2 Pre-release
Pre-release

What's Changed

3.0.0-beta.2 (2024-11-24)

Features

  • 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)

Bug Fixes

  • exclude dependency injection files from coverage collection (e8fdd90)
  • update @expressots/core dependency version to use semantic versioning (2130e4d)

Code Refactoring

  • clean up whitespace and formatting in various test files (5be0404)

New Contributors

Full Changelog: 3.0.0-beta.1...3.0.0-beta.2

3.0.0-beta.1

18 Nov 01:37
Compare
Choose a tag to compare
3.0.0-beta.1 Pre-release
Pre-release

What's Changed

  • Feature/add di core shared lib by @rsaz in #182

Full Changelog: 1.8.2...3.0.0-beta.1

3.0.0-beta.1 (2024-11-18)

Features

  • 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)

Bug Fixes

  • 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)

Code Refactoring

  • 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

  • add test for server environment (0c76de1)

Release 1.8.2

31 Aug 01:57
Compare
Choose a tag to compare

1.8.2 (2024-08-31)

Bug Fixes

Code Refactoring

  • file upload type validation & args res, req optional (9ae3af4) @rsaz

Release 1.8.1

21 Aug 20:53
Compare
Choose a tag to compare

1.8.1 (2024-08-21)

Bug Fixes

  • remove server env export & update core deps (38e1afd)

Release 1.8.0

13 Aug 03:15
Compare
Choose a tag to compare

1.8.0 (2024-08-13)

Features

Bug Fixes

Code Refactoring

Release 1.7.0

23 Jul 06:24
Compare
Choose a tag to compare

1.7.0 (2024-07-23)

Features

Package Update

  • bump husky from 9.0.11 to 9.1.1 (7c1678a)
  • bump vite from 5.3.3 to 5.3.4 (86f51a3)

Refactor

  • add options to ejs and hbs support (b52ce5c)

Release 1.6.0

17 Jul 05:23
Compare
Choose a tag to compare

1.6.0 (2024-07-17)

Features

  • add render support for EJS and HBS (8618655)
  • adjust version of core package (a699bd4)

Library Updates

  • bump @types/node from 20.14.9 to 20.14.10 (9a1291b)
  • bump @typescript-eslint/eslint-plugin from 7.15.0 to 7.16.1 (e7d3c9a)
  • bump @typescript-eslint/parser from 7.15.0 to 7.16.1 (2a99945)
  • bump prettier from 3.3.2 to 3.3.3 (d7de72a)
  • bump release-it from 17.4.1 to 17.6.0 (c36aeb6)
  • bump typescript from 5.2.2 to 5.5.3 (53f9f96)
  • bump vitest and @vitest/coverage-v8 (b2dae7e)
  • bump vitest and @vitest/coverage-v8 (b3221eb)

Bug Fixes

  • bump node version 18.18 and removed deprecated install in husky (778ed79)
  • linter adjust (e43d222)

Release 1.5.0

11 Jun 22:44
Compare
Choose a tag to compare

1.5.0 (2024-06-11)

Features

  • bump @commitlint/config-conventional from 17.7.0 to 19.2.2 (c4db260)
  • bump @release-it/conventional-changelog from 7.0.1 to 7.0.2 (d063fd9)
  • bump eslint-config-prettier from 9.0.0 to 9.1.0 (20ca753)
  • bump husky from 8.0.3 to 9.0.11 (8cb065e)
  • bump prettier from 3.0.3 to 3.3.1 (872c7ba)
  • bump prettier from 3.3.1 to 3.3.2 (5edd349)
  • bump release-it from 16.1.5 to 16.3.0 (5febf25)

Bug Fixes

  • http decorator method case conflict fix (cdf0fbd)
  • issue when not using http decorator shows incorrect code status (975e451)
  • remove comments and logs for prod build (cd0151b)
  • remove unused method param in find param pattern (fd40872)

Code Refactoring

  • without and with decor in the same route conflict (469f65e)

Release 1.4.0

07 Jun 01:11
Compare
Choose a tag to compare

1.4.0 (2024-06-07)

Features

  • Add http code decorator (f0f6e0a)
  • add vitest and setup codecov in the ci (14fd527)
  • adjust doc, update metadata const for http decorator (773f297)
  • dev-http decorator changes (8088f5c)
  • fix issues where decorator does not function properly when used multiple times in same file (919815f)

Bug Fixes

  • build shield workflow status (3e5d6c8)
  • code coverage upload path (aef20eb)
  • remove codesee ci config (043c423)
  • remove the decorator incorrect call in the library due mismatch on tsconfig (58dbb52)

Code Refactoring

  • readme badges npm, coverage and build added (d643acd)

Release 1.3.0

26 Apr 08:34
Compare
Choose a tag to compare

1.3.0 (2024-04-26)

Features

  • Create a method called getHttpServer() that returns the httpServer for e2e testing with supertest. Now Expresso-TS is fully integrated with Supertest (97999fb)