Skip to content

Commit 6727524

Browse files
authored
Merge branch 'master' into refactor-bundle-guard
2 parents 8d5eb86 + 9414846 commit 6727524

File tree

77 files changed

+5528
-6386
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+5528
-6386
lines changed

.eslintignore

Lines changed: 0 additions & 7 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 214 deletions
This file was deleted.

.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: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
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+
40+
## 5.0.5
41+
42+
### Patch Changes
43+
44+
- be7c41d: chore: bump Node.js version to 24 in remaining Dockerfiles
45+
46+
## 5.0.4
47+
48+
### Patch Changes
49+
50+
- cacf566: Update server-api image to use Node 24.
51+
52+
## 5.0.3
53+
54+
### Patch Changes
55+
56+
- 125e907: Update dependencies to the latest feasible ones thus eliminating vulnerabilities.
57+
358
## 5.0.2
459

560
### Patch Changes

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20-alpine AS build
1+
FROM node:24-alpine AS build
22

33
# Copy the source code
44
COPY ./ /tmp/source_code
@@ -25,7 +25,7 @@ RUN cp -r /tmp/source_code/bin /libraries
2525
# Remove everything inside /tmp
2626
RUN rm -rf /tmp/*
2727

28-
FROM node:20-alpine
28+
FROM node:24-alpine
2929

3030
# Set ARG to explicit value to build chosen version. Default is "latest"
3131
ARG ASYNCAPI_CLI_VERSION=
@@ -50,7 +50,7 @@ RUN apk --update add git chromium && \
5050
COPY --from=build /libraries /libraries
5151

5252
# Install the dependencies
53-
RUN cd /libraries && npm install --production --ignore-scripts
53+
RUN cd /libraries && npm install --omit=dev --ignore-scripts
5454

5555
# Create a script that runs the desired command
5656
RUN ln -s /libraries/bin/run_bin /usr/local/bin/asyncapi

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.2'
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

0 commit comments

Comments
 (0)