From 5ddc96c799d9b692372378622248a8273de80577 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Sun, 1 Feb 2026 13:51:49 +0000 Subject: [PATCH 1/7] fix: update @asyncapi/converter to 2.0.0 version and others --- package-lock.json | 21 +++++++-------------- package.json | 2 +- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7f170fbd..16b79306 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,18 @@ { "name": "@asyncapi/cli", - "version": "5.0.6", + "version": "5.0.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@asyncapi/cli", - "version": "5.0.6", + "version": "5.0.7", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.24", "@asyncapi/bundler": "^0.6.4", - "@asyncapi/converter": "^1.7.0", + "@asyncapi/converter": "^2.0.0", "@asyncapi/diff": "^0.5.0", "@asyncapi/generator": "^3.1.1", "@asyncapi/modelina-cli": "^5.10.1", @@ -265,15 +265,14 @@ } }, "node_modules/@asyncapi/converter": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@asyncapi/converter/-/converter-1.7.0.tgz", - "integrity": "sha512-whBBBTtQkivpO7xMmM9FYD4iVRUslA+BLgIWs7vmWLYaCFJTuTPzxRuOLApYFHceHWLQKENPhWpFoH24cTrfUQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@asyncapi/converter/-/converter-2.0.0.tgz", + "integrity": "sha512-qA2u6enYPH5plYBW2nsVlRji5rH/7kHRWTpX6dAwq2TYmHE/GqTVtHUcukk9lUfB0oXzybDxkspSEqhVklMd3Q==", "license": "Apache-2.0", "dependencies": { "@asyncapi/parser": "^3.1.0", "js-yaml": "^3.14.1", - "path": "^0.12.7", - "postman2openapi": "^1.2.1" + "path": "^0.12.7" } }, "node_modules/@asyncapi/converter/node_modules/argparse": { @@ -23679,12 +23678,6 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", "license": "MIT" }, - "node_modules/postman2openapi": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/postman2openapi/-/postman2openapi-1.2.1.tgz", - "integrity": "sha512-+TaKfRhln6/TDPT8c0C5qMkJq+DqyybQlHL9RZx2INBNd0jNj3ufhk3VGUmXnX8rPabbKdvt6ojtxVQGMdg9zQ==", - "license": "Apache-2.0" - }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", diff --git a/package.json b/package.json index cb633769..4a5bdc8b 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.24", "@asyncapi/bundler": "^0.6.4", - "@asyncapi/converter": "^1.7.0", + "@asyncapi/converter": "^2.0.0", "@asyncapi/diff": "^0.5.0", "@asyncapi/generator": "^3.1.1", "@asyncapi/modelina-cli": "^5.10.1", From a106d02ad6a998022066d86a222473e16587cc9f Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Sun, 1 Feb 2026 14:11:51 +0000 Subject: [PATCH 2/7] fix: update @asyncapi/parser to 3.6.0 version and others --- package-lock.json | 20 ++++++++++---------- package.json | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 16b79306..1fffb5c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@asyncapi/modelina-cli": "^5.10.1", "@asyncapi/openapi-schema-parser": "^3.0.24", "@asyncapi/optimizer": "^1.0.4", - "@asyncapi/parser": "^3.4.0", + "@asyncapi/parser": "^3.6.0", "@asyncapi/problem": "^1.0.0", "@asyncapi/protobuf-schema-parser": "^3.6.0", "@asyncapi/raml-dt-schema-parser": "^4.0.24", @@ -680,12 +680,12 @@ } }, "node_modules/@asyncapi/parser": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.4.0.tgz", - "integrity": "sha512-Sxn74oHiZSU6+cVeZy62iPZMFMvKp4jupMFHelSICCMw1qELmUHPvuZSr+ZHDmNGgHcEpzJM5HN02kR7T4g+PQ==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.6.0.tgz", + "integrity": "sha512-6S0Yr8vI418a1IrpGsOYbfWVo9+aHvSqN2oSkiY0YJltS/C7oDOt9e0mo6hSld8bg+EeKrtgkVmpW4obh1JFvA==", "license": "Apache-2.0", "dependencies": { - "@asyncapi/specs": "^6.8.0", + "@asyncapi/specs": "^6.11.1", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "@stoplight/json": "3.21.0", "@stoplight/json-ref-readers": "^1.2.2", @@ -701,8 +701,8 @@ "ajv-errors": "^3.0.0", "ajv-formats": "^2.1.1", "avsc": "^5.7.5", - "js-yaml": "^4.1.0", - "jsonpath-plus": "^10.0.0", + "js-yaml": "^4.1.1", + "jsonpath-plus": "^10.0.7", "node-fetch": "2.6.7" } }, @@ -763,9 +763,9 @@ } }, "node_modules/@asyncapi/specs": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.10.0.tgz", - "integrity": "sha512-vB5oKLsdrLUORIZ5BXortZTlVyGWWMC1Nud/0LtgxQ3Yn2738HigAD6EVqScvpPsDUI/bcLVsYEXN4dtXQHVng==", + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.11.1.tgz", + "integrity": "sha512-A3WBLqAKGoJ2+6FWFtpjBlCQ1oFCcs4GxF7zsIGvNqp/klGUHjlA3aAcZ9XMMpLGE8zPeYDz2x9FmO6DSuKraQ==", "license": "Apache-2.0", "dependencies": { "@types/json-schema": "^7.0.11" diff --git a/package.json b/package.json index 4a5bdc8b..66815f80 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@asyncapi/modelina-cli": "^5.10.1", "@asyncapi/openapi-schema-parser": "^3.0.24", "@asyncapi/optimizer": "^1.0.4", - "@asyncapi/parser": "^3.4.0", + "@asyncapi/parser": "^3.6.0", "@asyncapi/problem": "^1.0.0", "@asyncapi/protobuf-schema-parser": "^3.6.0", "@asyncapi/raml-dt-schema-parser": "^4.0.24", From 047701dba3029d13f6bfc135e141d5f552562e51 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Sun, 1 Feb 2026 14:24:24 +0000 Subject: [PATCH 3/7] fix: update @asyncapi/converter to 2.0.1 version and others --- package-lock.json | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1fffb5c9..09b9776d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.24", "@asyncapi/bundler": "^0.6.4", - "@asyncapi/converter": "^2.0.0", + "@asyncapi/converter": "^2.0.1", "@asyncapi/diff": "^0.5.0", "@asyncapi/generator": "^3.1.1", "@asyncapi/modelina-cli": "^5.10.1", @@ -265,12 +265,12 @@ } }, "node_modules/@asyncapi/converter": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@asyncapi/converter/-/converter-2.0.0.tgz", - "integrity": "sha512-qA2u6enYPH5plYBW2nsVlRji5rH/7kHRWTpX6dAwq2TYmHE/GqTVtHUcukk9lUfB0oXzybDxkspSEqhVklMd3Q==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@asyncapi/converter/-/converter-2.0.1.tgz", + "integrity": "sha512-twDn7urUww+f7S4wvDRUbbUWEeuG0pOUKnbt4tbIqfcR/4/ilZvZ6R8n7MzqdbtkEEHuECbSrA5X7lgFk9qc2g==", "license": "Apache-2.0", "dependencies": { - "@asyncapi/parser": "^3.1.0", + "@asyncapi/parser": "^3.6.0", "js-yaml": "^3.14.1", "path": "^0.12.7" } diff --git a/package.json b/package.json index 66815f80..40bd5c59 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.24", "@asyncapi/bundler": "^0.6.4", - "@asyncapi/converter": "^2.0.0", + "@asyncapi/converter": "^2.0.1", "@asyncapi/diff": "^0.5.0", "@asyncapi/generator": "^3.1.1", "@asyncapi/modelina-cli": "^5.10.1", From 5b656812316b111534812091c9f9f547a76bef71 Mon Sep 17 00:00:00 2001 From: Shurtu-gal Date: Sun, 1 Feb 2026 20:03:27 +0530 Subject: [PATCH 4/7] feat: remove postman conversion utilities Signed-off-by: Shurtu-gal --- .changeset/swift-meteors-sip.md | 24 ++++ docs/usage.md | 140 ++++++++----------- openapi.yaml | 12 +- package-lock.json | 1 - src/apps/cli/commands/convert.ts | 4 +- src/apps/cli/internal/flags/convert.flags.ts | 2 +- src/domains/services/convert.service.ts | 9 +- src/interfaces/index.ts | 2 +- test/fixtures/postman-collection.yml | 38 ----- test/integration/convert.test.ts | 63 --------- test/unit/services/convert.service.test.ts | 24 ---- 11 files changed, 88 insertions(+), 231 deletions(-) create mode 100644 .changeset/swift-meteors-sip.md delete mode 100644 test/fixtures/postman-collection.yml diff --git a/.changeset/swift-meteors-sip.md b/.changeset/swift-meteors-sip.md new file mode 100644 index 00000000..b4c1aef1 --- /dev/null +++ b/.changeset/swift-meteors-sip.md @@ -0,0 +1,24 @@ +--- +'@asyncapi/cli': major +--- + +Removal of postman -> asyncapi conversion functionality + +## ⚠ BREAKING CHANGES + +Remove postman conversion utilities due to unmaintained dependencies and compatibility issues. + +**Why this change?** +- The `postman2openapi` dependency causes multiple issues due to its WASM involvement +- WASM file loading causes browser compatibility issues after webpack updates +- Alternative libraries like `postman-to-openapi` did not provide adequate functionality +- The underlying dependencies are unmaintained and pose long-term maintenance risks + +**Impact:** +- The `convert` command no longer supports postman format conversion +- Users relying on postman conversion will need to find alternative solutions + +**Future:** +We can consider re-adding this feature after community discussion and establishing a sustainable maintenance plan with actively maintained dependencies. + +Related: https://github.com/asyncapi/converter-js/pull/311 \ No newline at end of file diff --git a/docs/usage.md b/docs/usage.md index 617e31ca..265d3d18 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -27,7 +27,7 @@ $ npm install -g @asyncapi/cli $ asyncapi COMMAND running command... $ asyncapi (--version|--v) -@asyncapi/cli/5.0.1 darwin-arm64 node-v22.16.0 +@asyncapi/cli/5.0.7 darwin-arm64 node-v24.7.0 $ asyncapi --help [COMMAND] USAGE $ asyncapi COMMAND @@ -99,7 +99,7 @@ EXAMPLES $ asyncapi autocomplete --refresh-cache ``` -_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.39/src/commands/autocomplete/index.ts)_ +_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.40/src/commands/autocomplete/index.ts)_ ## `asyncapi bundle` @@ -136,7 +136,7 @@ EXAMPLES $ asyncapi bundle ./asyncapi.yaml -o final-asyncapi.yaml --base ../public-api/main.yaml --baseDir ./social-media/comments-service ``` -_See code: [src/commands/bundle.ts](https://github.com/asyncapi/cli/blob/v5.0.1/src/commands/bundle.ts)_ +_See code: [src/commands/bundle.ts](https://github.com/asyncapi/cli/blob/v5.0.7/src/commands/bundle.ts)_ ## `asyncapi config` @@ -150,7 +150,7 @@ DESCRIPTION CLI config settings ``` -_See code: [src/commands/config/index.ts](https://github.com/asyncapi/cli/blob/v5.0.1/src/commands/config/index.ts)_ +_See code: [src/commands/config/index.ts](https://github.com/asyncapi/cli/blob/v5.0.7/src/commands/config/index.ts)_ ## `asyncapi config analytics` @@ -170,7 +170,7 @@ DESCRIPTION Enable or disable analytics for metrics collection ``` -_See code: [src/commands/config/analytics.ts](https://github.com/asyncapi/cli/blob/v5.0.1/src/commands/config/analytics.ts)_ +_See code: [src/commands/config/analytics.ts](https://github.com/asyncapi/cli/blob/v5.0.7/src/commands/config/analytics.ts)_ ## `asyncapi config auth add PATTERN TOKEN` @@ -192,7 +192,7 @@ DESCRIPTION Add an authentication config for resolving $ref files requiring HTTP Authorization. ``` -_See code: [src/commands/config/auth/add.ts](https://github.com/asyncapi/cli/blob/v5.0.1/src/commands/config/auth/add.ts)_ +_See code: [src/commands/config/auth/add.ts](https://github.com/asyncapi/cli/blob/v5.0.7/src/commands/config/auth/add.ts)_ ## `asyncapi config context` @@ -206,7 +206,7 @@ DESCRIPTION Manage short aliases for full paths to AsyncAPI documents ``` -_See code: [src/commands/config/context/index.ts](https://github.com/asyncapi/cli/blob/v5.0.1/src/commands/config/context/index.ts)_ +_See code: [src/commands/config/context/index.ts](https://github.com/asyncapi/cli/blob/v5.0.7/src/commands/config/context/index.ts)_ ## `asyncapi config context add CONTEXT-NAME SPEC-FILE-PATH` @@ -228,7 +228,7 @@ DESCRIPTION Add a context to the store ``` -_See code: [src/commands/config/context/add.ts](https://github.com/asyncapi/cli/blob/v5.0.1/src/commands/config/context/add.ts)_ +_See code: [src/commands/config/context/add.ts](https://github.com/asyncapi/cli/blob/v5.0.7/src/commands/config/context/add.ts)_ ## `asyncapi config context current` @@ -245,7 +245,7 @@ DESCRIPTION Shows the current context that is being used ``` -_See code: [src/commands/config/context/current.ts](https://github.com/asyncapi/cli/blob/v5.0.1/src/commands/config/context/current.ts)_ +_See code: [src/commands/config/context/current.ts](https://github.com/asyncapi/cli/blob/v5.0.7/src/commands/config/context/current.ts)_ ## `asyncapi config context edit CONTEXT-NAME NEW-SPEC-FILE-PATH` @@ -266,7 +266,7 @@ DESCRIPTION Edit a context in the store ``` -_See code: [src/commands/config/context/edit.ts](https://github.com/asyncapi/cli/blob/v5.0.1/src/commands/config/context/edit.ts)_ +_See code: [src/commands/config/context/edit.ts](https://github.com/asyncapi/cli/blob/v5.0.7/src/commands/config/context/edit.ts)_ ## `asyncapi config context init [CONTEXT-FILE-PATH]` @@ -289,7 +289,7 @@ DESCRIPTION Initialize context ``` -_See code: [src/commands/config/context/init.ts](https://github.com/asyncapi/cli/blob/v5.0.1/src/commands/config/context/init.ts)_ +_See code: [src/commands/config/context/init.ts](https://github.com/asyncapi/cli/blob/v5.0.7/src/commands/config/context/init.ts)_ ## `asyncapi config context list` @@ -306,7 +306,7 @@ DESCRIPTION List all the stored contexts in the store ``` -_See code: [src/commands/config/context/list.ts](https://github.com/asyncapi/cli/blob/v5.0.1/src/commands/config/context/list.ts)_ +_See code: [src/commands/config/context/list.ts](https://github.com/asyncapi/cli/blob/v5.0.7/src/commands/config/context/list.ts)_ ## `asyncapi config context remove CONTEXT-NAME` @@ -326,7 +326,7 @@ DESCRIPTION Delete a context from the store ``` -_See code: [src/commands/config/context/remove.ts](https://github.com/asyncapi/cli/blob/v5.0.1/src/commands/config/context/remove.ts)_ +_See code: [src/commands/config/context/remove.ts](https://github.com/asyncapi/cli/blob/v5.0.7/src/commands/config/context/remove.ts)_ ## `asyncapi config context use CONTEXT-NAME` @@ -346,7 +346,7 @@ DESCRIPTION Set a context as current ``` -_See code: [src/commands/config/context/use.ts](https://github.com/asyncapi/cli/blob/v5.0.1/src/commands/config/context/use.ts)_ +_See code: [src/commands/config/context/use.ts](https://github.com/asyncapi/cli/blob/v5.0.7/src/commands/config/context/use.ts)_ ## `asyncapi config versions` @@ -363,23 +363,23 @@ DESCRIPTION Show versions of AsyncAPI tools used ``` -_See code: [src/commands/config/versions.ts](https://github.com/asyncapi/cli/blob/v5.0.1/src/commands/config/versions.ts)_ +_See code: [src/commands/config/versions.ts](https://github.com/asyncapi/cli/blob/v5.0.7/src/commands/config/versions.ts)_ ## `asyncapi convert [SPEC-FILE]` -Convert asyncapi documents older to newer versions or OpenAPI/postman-collection documents to AsyncAPI +Convert asyncapi documents older to newer versions or OpenAPI documents to AsyncAPI ``` USAGE - $ asyncapi convert [SPEC-FILE] -f openapi|asyncapi|postman-collection [-h] [-o ] [-t ] [-p - client|server] [--proxyHost ] [--proxyPort ] + $ asyncapi convert [SPEC-FILE] -f openapi|asyncapi [-h] [-o ] [-t ] [-p client|server] + [--proxyHost ] [--proxyPort ] ARGUMENTS [SPEC-FILE] spec path, url, or context-name FLAGS -f, --format=