v4.0
DBOS TypeScript 4.0 dramatically reduces package size, reducing DBOS from 27 to 6 direct dependencies and from 236 to 24 total dependencies.
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 theenableOTLPflag 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
- Add badges to readme by @qianl15 in #1081
- Fix Node version badge display by @qianl15 in #1083
- Remove Deprecated Features by @kraftp in #1079
- Remove Dependencies by @kraftp in #1084
- Revert Config Schema by @kraftp in #1087
- Make OTel Optional by @kraftp in #1086
- cmd API by @apoliakov in #1089
- Remove Unnecessary Dependencies by @kraftp in #1088
- Warn On Missing Dependency by @kraftp in #1092
Full Changelog: v3.5...v4.0