cidaas-logger-ui-sdk
v21.2.0
Published
A logger SDK for cidaas UI applications.
Readme
CidaasLoggerUiSdk
A logger SDK for cidaas UI applications.
Requirements (v21.0.0)
| Dependency | Version |
|------------|---------|
| Angular | ^21.0.0 |
| @sentry/angular | ^10.40.0 |
| Node.js | ^20.19.0 | ^22.12.0 | ^24.0.0 |
| TypeScript | >=5.9.0 <6.0.0 |
| RxJS | ^6.5.3 | ^7.4.0 |
| zone.js | ~0.16.0 |
Migration from v20.x to v21.0.0
This release upgrades the SDK from Angular 20 to Angular 21.2.11.
Angular
All @angular/* packages are updated to 21.2.11:
@angular/animations,@angular/common,@angular/compiler,@angular/core@angular/forms,@angular/platform-browser,@angular/platform-browser-dynamic,@angular/router@angular/build,@angular/cli,@angular/compiler-cling-packagr→^21.2.0typescript→~5.9.0(required for Angular 21)zone.js→~0.16.0
Sentry
@sentry/[email protected] only supports Angular ≤20 and will cause an ERESOLVE peer dependency conflict on Angular 21. Upgrade Sentry alongside this SDK:
| Package | v20.x | v21.0.0 |
|---------|-------|---------|
| @sentry/angular | ^9.x | ^10.40.0 |
| @sentry/browser | ^9.x | ^10.40.0 |
| @sentry/core | — | ^10.40.0 |
| @sentry/replay | ^7.x | removed (included in @sentry/browser v10) |
| @sentry/tracing | ^7.x | removed (included in @sentry/browser v10) |
| @sentry/types | ^9.x | removed (types moved to @sentry/core) |
If you import Sentry types directly, replace @sentry/types imports with @sentry/core (e.g. Integration).
Consumer upgrade steps
- Update Angular to 21.2.11 and TypeScript to >=5.9.0.
- Upgrade
@sentry/angularto ^10.40.0 (or newer). - Remove legacy Sentry v7 packages (
@sentry/replay,@sentry/tracing,@sentry/types) if present. - Install this SDK at v21.0.0:
npm install [email protected]If you encounter peer dependency errors, ensure no package still pins @sentry/[email protected] or Angular 20.
Development
npm install
npm run build # build the library
npm run build:app # build the test app
npm test # run unit tests