From 016e830b86417c1230d29b4259a6455596f99a24 Mon Sep 17 00:00:00 2001 From: Dafnik Date: Mon, 9 Dec 2024 13:05:45 +0100 Subject: [PATCH] feat(dfx-openapi): upgrade to Angular 19 --- libs/dfx-openapi/README.md | 15 ++++++++------- libs/dfx-openapi/package.json | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/libs/dfx-openapi/README.md b/libs/dfx-openapi/README.md index dfe758b7..89651762 100644 --- a/libs/dfx-openapi/README.md +++ b/libs/dfx-openapi/README.md @@ -63,6 +63,14 @@ This eliminates all of the following: - ✅ Eliminates any types that hide bugs - ✅ Also eliminates as type overrides that can also hide bugs +### Version compatibility + +| Angular | dfx-bootstrap-table | openapi-typescript-helpers | +| ------- | ------------------- | -------------------------- | +| 19.x.x | 0.1.0 | \>=0.0.15 | +| 18.x.x | 0.0.3 | \>=0.0.15 | +| 18.x.x | 0.0.2 | 0.0.13 | + ## Setup Install this library along with [openapi-typescript](https://openapi-ts.dev/introduction): @@ -154,10 +162,3 @@ The `get()` request shown needed the `params` object that groups [parameters by If a required param is missing, or the wrong type, a type error will be thrown. The `post()` and `put()` request required a `body` object that provided all necessary requestBody data. - -## Support - -| Platform | Support | -| -------------------------- | --------- | -| Angular | \>=18.0 | -| openapi-typescript-helpers | \>=0.0.13 | diff --git a/libs/dfx-openapi/package.json b/libs/dfx-openapi/package.json index e4333252..957e95a6 100644 --- a/libs/dfx-openapi/package.json +++ b/libs/dfx-openapi/package.json @@ -42,7 +42,7 @@ "directory": "libs/dfx-openapi" }, "peerDependencies": { - "@angular/common": "18", + "@angular/common": "19", "rxjs": "7", "openapi-typescript-helpers": ">=0.0.15" }