What’s New

expressots

Frameworks & Libraries

expressots release notes.

Latest v4.1.1 · by expressotsWebsiteexpressots/expressots

Changelog

v4.0.0

ExpressoTS 4.0.0

ExpressoTS 4.0.0 — stable release of the v4 line.

Highlights
  • Bootstrap-first API: bootstrap(App) with AppExpress; AppFactory is now internal
  • Subpath exports: @expressots/core/testing, /di, /render, /path-resolver
  • Strict TypeScript: strictNullChecks + noImplicitAny enabled across the codebase
  • Leaner install: single shared declaration tree (~0.8 MB smaller unpacked, 879 files), sideEffects declared for safe tree-shaking
  • Validation: validationRegistry singleton; optional peers for zod, yup, class-validator
  • Agent-ready: llms.txt ships in the package
  • TypeScript 7-clean configs with a ts7-compat CI gate (toolchain remains TS 5.x)
Breaking changes
  • Removed deprecated APIs: root AppFactory export, v3 InMemoryDataProvider/InMemoryDataTable, LazyServiceIdentifer typo alias, Logger#formatMessage, AppContainer#viewContainerBindings
  • Node.js >= 20.19.0 required

Full details in CHANGELOG.md.

3.0.0

Release 3.0.0

3.0.0 (2024-12-04)
Features
  • add di impl and remove inversify deps (9ff6302)
  • add env configuration load from expressots.config (fc61d44)
  • remove binding decor deps & offer as core (a8aeecc)
  • implement in-memory data provider and repository interfaces (09561fa)
Tests
  • update MockWebServer to use Server and IWebServerPublic types (3c736c3)
  • update unit tests for AppFactory.create() to include close() (24446d8)
  • add unit tests for middleware, provider and repository methods (2de4d6e)
  • adding early ai agent tests p1 (7e74f01)
  • adding early ai agent tests p2 (0ef25d2)
  • improve unit tests formatting and edge case handling (8439e5d)
  • update MockWebServer to use Server and IWebServerPublic types (3c736c3)
  • update unit tests for AppFactory.create() to include close() (24446d8)
  • update unit tests for AppFactory.create() to include close() (24446d8)
  • add unit tests for insert, update, delete, and find methods in InMemoryDataTable (a96f4a6)
Bug Fixes
  • adjust env validator to load files dynamically (09d0cc3)
  • adjust env validator to load files dynamically (d1c5a2e)
  • update license reference (acb5f7e)
  • view binding tables info (f93abb6)
Code Refactoring
  • change express types deps (c10336b)
  • clean up code by removing unnecessary whitespace and improving formatting (2090efd)
  • enhance doc by adding @public API annotations and cleaning up comments (f98a52c)
  • make basecontroller injectable (d2ef5a7)
  • move config to shared lib (d14bb98)
  • remove provide decorators for items not in container (fb0ecd3)
  • remove unnecessary whitespace in inject.ts documentation example (538039b)
  • remove unnecessary whitespace in URL Encoded Parser documentation (d81610d)
  • remove unused Compiler and ExpressoConfig imports from AppFactory (913d919)
  • remove vitest configuration and update types in tsconfig (047f7a2)
  • reorg files application, console, color and logger (2bb619e)
  • simplify application container and factory, enhance provider interface (2f32b1d)
  • update @expressots/shared dependency to version 0.2.0 (61b5c27)
  • update app factory and container tests, improve mocks and error handling (9852507)
  • update container and interface (4be3fd5)
  • update ContainerOptions interface and improve AppContainer logging (b31de0d)
  • update decorators to export and enhance doc with @public API annotations (a935933)
  • update express imports and usage in middleware-service (f8046bd)
  • update Jest configuration and improve mock handling for express (47ae688)
  • update package dependencies and migrate interfaces to @expressots/shared (4cf1582)

3.0.0-beta.1

Pre-release

Full Changelog: https://github.com/expressots/expressots/compare/3.0.0-beta.1...3.0.0-beta.1

What's Changed
Features
  • add di impl and remove inversify deps (9ff6302)
  • add env configuration load from expressots.config (fc61d44)
  • remove binding decor deps & offer as core (a8aeecc)
Bug Fixes
  • adjust env validator to load files dynamically (09d0cc3)
  • adjust env validator to load files dynamically (d1c5a2e)
  • update license reference (acb5f7e)
  • view binding tables info (f93abb6)
Code Refactoring
  • change express types deps (c10336b)
  • clean up code by removing unnecessary whitespace and improving formatting (2090efd)
  • enhance doc by adding @public API annotations and cleaning up comments (f98a52c)
  • make basecontroller injectable (d2ef5a7)
  • move config to shared lib (d14bb98)
  • remove provide decorators for items not in container (fb0ecd3)
  • remove unnecessary whitespace in inject.ts documentation example (538039b)
  • remove unnecessary whitespace in URL Encoded Parser documentation (d81610d)
  • remove unused Compiler and ExpressoConfig imports from AppFactory (913d919)
  • remove vitest configuration and update types in tsconfig (047f7a2)
  • reorg files application, console, color and logger (2bb619e)
  • simplify application container and factory, enhance provider interface (2f32b1d)
  • update @expressots/shared dependency to version 0.2.0 (61b5c27)
  • update app factory and container tests, improve mocks and error handling (9852507)
  • update container and interface (4be3fd5)
  • update ContainerOptions interface and improve AppContainer logging (b31de0d)
  • update decorators to export and enhance doc with @public API annotations (a935933)
  • update express imports and usage in middleware-service (f8046bd)
  • update Jest configuration and improve mock handling for express (47ae688)
  • update package dependencies and migrate interfaces to @expressots/shared (4cf1582)
Tests
  • add unit tests for middleware, provider and repository methods (2de4d6e)
  • adding early ai agent tests p1 (7e74f01)
  • adding early ai agent tests p2 (0ef25d2)
  • improve unit tests formatting and edge case handling (8439e5d)
New Contributors

Full Changelog: https://github.com/expressots/expressots/compare/2.16.2...3.0.0-beta.1

2.16.2

Release 2.16.2

2.16.2 (2024-09-02)
Code Refactoring
  • add stackTrace app provider and add @expressots/cli to devDependencies (212c681)
  • add test and coverage for base controller and error middleware (5ddb7b2)
  • adjust error middleware code property (ef4e9b8)
  • remove render from base controller, add usecase as type T (9002129)
  • update templates main.ts removing reflect and serverenv type (e5a789c)
  • update templates nonop & add .env gitignore (304cf88)
2.16.0

Release 2.16.0

2.16.0 (2024-08-08)
Features
  • add stack trace option on defaultErrorHandler middleware (c9005ed)
  • add urlEncodedParser default middleware (ec44767)
  • bump release-it from 17.5.0 to 17.6.0 (bbdc3c8)
Bug Fixes
  • remove express dependency and middlewares.spec (b538cce)
Code Refactoring
  • adjust command dev, build, prod (c819625)
  • remove opinionated template example (bca45ac)
Tests
  • exclude middleware service, utils (6c3e6f7)
  • ignore spec on coverage & better comments in app-factory (698053d)
2.15.0

Release 2.15.0

2.15.0 (2024-07-17)
Features
  • bump @types/node from 20.14.9 to 20.14.10 (2061291)
  • bump @typescript-eslint/eslint-plugin from 7.15.0 to 7.16.0 (4c33e38)
  • bump @typescript-eslint/parser from 7.15.0 to 7.16.0 (db38183)
  • bump prettier from 3.3.2 to 3.3.3 (1d3ee41)
  • bump release-it from 17.4.1 to 17.5.0 (a4aa310)
  • bump vitest and @vitest/coverage-v8 (f186dc3)
Bug Fixes
Code Refactoring
  • remove render from core (70ba135)