Skip to content

v4.0

Choose a tag to compare

@kraftp kraftp released this 30 Sep 18:43

DBOS TypeScript 4.0 dramatically reduces package size, reducing DBOS from 27 to 6 direct dependencies and from 236 to 24 total dependencies.

Untitled

Breaking Changes

  • OpenTelemetry is now optional and opt-in. To use DBOS OpenTelemetry features (such as built-in tracing and export) you must install the optional DBOS-OpenTelemetry dependencies (npm install @dbos-inc/otel]) and set the enableOTLP flag to True in your configuration:
DBOS.setConfig({
  "name": “my-dbos-app",
  "systemDatabaseUrl": process.env.DBOS_SYSTEM_DATABASE_URL,
  "enableOTLP": true,
});
  • All interfaces deprecated in DBOS TypeScript 3.0 (including the application database, the DBOS.transaction decorator, and the DBOS HTTP decorators) have been removed. If you are upgrading from a pre-3.0 release, please see the upgrade guide: https://docs.dbos.dev/typescript/upgrading

What's Changed

Full Changelog: v3.5...v4.0