Skip to content

Commit befcb39

Browse files
authored
Merge branch 'master' into refactor/fetch-asyncapi-example
2 parents ac160af + 9414846 commit befcb39

31 files changed

+1655
-1677
lines changed

.github/workflows/upload-release-assets.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,15 @@ jobs:
6969
if: matrix.container == ''
7070
uses: asyncapi/.github/.github/actions/get-node-version-from-package-lock@master
7171
id: lockversion
72+
with:
73+
node-version: ${{ vars.NODE_VERSION }}
7274

7375
- name: Setup Node.js
7476
if: matrix.container == ''
75-
uses: actions/setup-node@v4
77+
uses: actions/setup-node@v6
7678
with:
7779
node-version: "${{ steps.lockversion.outputs.version }}"
78-
79-
- if: matrix.npm_script == 'pack:windows'
80-
name: install nodejs for windows
81-
uses: actions/setup-node@v4
82-
with:
83-
node-version: 20
84-
80+
8581
- name: Get version from package.json
8682
uses: actions/github-script@v6
8783
id: extractver

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# @asyncapi/cli
22

3+
## 6.0.0
4+
5+
### Major Changes
6+
7+
- 7580cee: Removal of postman -> asyncapi conversion functionality
8+
9+
## ⚠ BREAKING CHANGES
10+
11+
Remove postman conversion utilities due to unmaintained dependencies and compatibility issues.
12+
13+
**Why this change?**
14+
- The `postman2openapi` dependency causes multiple issues due to its WASM involvement
15+
- WASM file loading causes browser compatibility issues after webpack updates
16+
- Alternative libraries like `postman-to-openapi` did not provide adequate functionality
17+
- The underlying dependencies are unmaintained and pose long-term maintenance risks
18+
19+
**Impact:**
20+
- The `convert` command no longer supports postman format conversion
21+
- Users relying on postman conversion will need to find alternative solutions
22+
23+
**Future:**
24+
We can consider re-adding this feature after community discussion and establishing a sustainable maintenance plan with actively maintained dependencies.
25+
26+
Related: https://github.com/asyncapi/converter-js/pull/311
27+
28+
## 5.0.7
29+
30+
### Patch Changes
31+
32+
- 72fd21f: Bump @asyncapi/generator from v3.1.0 → v3.1.1
33+
34+
## 5.0.6
35+
36+
### Patch Changes
37+
38+
- a414293: - Updated `@asyncapi/generator` from `3.0.1``3.1.0`
39+
340
## 5.0.5
441

542
### Patch Changes

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ runs:
3838
using: 'docker'
3939
# This is the image that will be used to run the action.
4040
# IMPORTANT: The version has to be changed manually in your PRs.
41-
image: 'docker://asyncapi/github-action-for-cli:5.0.5'
41+
image: 'docker://asyncapi/github-action-for-cli:6.0.0'
4242
args:
4343
- ${{ inputs.cli_version }}
4444
- ${{ inputs.command }}

assets/create-template/templates/default/asyncapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
asyncapi: 3.0.0
1+
asyncapi: 3.1.0
22
info:
33
title: Temperature Service
44
version: 1.0.0

assets/create-template/templates/default/package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/examples/default-example.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"asyncapi": "3.0.0",
2+
"asyncapi": "3.1.0",
33
"info": {
44
"title": "Account Service",
55
"version": "1.0.0",

assets/examples/default-example.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
asyncapi: 3.0.0
1+
asyncapi: 3.1.0
22
info:
33
title: Account Service
44
version: 1.0.0

docs/debugging-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ NODE_ENV=development DEBUG=* node ./lib/apps/api/server.js
189189
# Validate endpoint
190190
curl -X POST http://localhost:3000/v1/validate \
191191
-H "Content-Type: application/json" \
192-
-d '{"asyncapi": "asyncapi: 3.0.0\ninfo:\n title: Test\n version: 1.0.0\nchannels: {}"}'
192+
-d '{"asyncapi": "asyncapi: 3.1.0\ninfo:\n title: Test\n version: 1.0.0\nchannels: {}"}'
193193

194194
# Parse endpoint
195195
curl -X POST http://localhost:3000/v1/parse \

0 commit comments

Comments
 (0)