Versioning of packages doesn't follow the semantic versioning specification
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
Hướng nghiên cứu
Start by reviewing the @redhat-cloud-services/host-inventory-client package versioning and the linked commit that changed HostsApi.apiHostGetHostList parameter order. Compare the published version changes with the interface break, then trace the repository's package release configuration. Done means breaking client changes are identified, documented, and released with a major-version increment rather than only a patch increment.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hello, I recently worked with one of the API client - @redhat-cloud-services/host-inventory-client and the Inventory application (which is a consumer of this client). While I was upgrading the client dependency version from 1.0.96 to 1.0.109, I found out that the application has got broken. Debugging the problem, I realized that the HostsApi's apiHostGetHostList function parameters were modified (specifically, the order has changed, and the wrong parameters were sent by the consumer app).
I managed to fix this and this is OK to have client interface changes, however, I would love to see such breaking changes documented and reflected with the help of versioning of the package. Just incrementing the patch version is not correct, because I would expect the increment of the major version if a broken change introduced to the interface.
Just for evidence and illustration, this is the commit that changed the function parameters: https://github.com/RedHatInsights/javascript-clients/commit/b9b68398ca1f7e5b4176cd0e064e81af8c8cf01a#diff-a9f2cff91e34cf8e2a01709fba111c82cc0e22f1f5f3782607c7f789beb189aeR1907.
- Ngôn ngữ chính
- TypeScript
- Star
- 7
- Fork
- 37
- Merge trung bình
- 2 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 43
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của RedHatInsights/javascript-clients
-
rbac-client doesn't work with an object as a paramCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
RedHatInsights/javascript-clients#372 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
RedHatInsights/javascript-clients#370 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
RedHatInsights/javascript-clients#369 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
axios security issueĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
RedHatInsights/javascript-clients#225 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của RedHatInsights/javascript-clients
Issue tương tự
-
documentation good first issue
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 72/100
sujithputta02/Esapay#13 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
ehmpathy/rhachet-roles-bhuild#468 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Share dialog: the address book's contact count reads "1 contacts" (no singular form in any language)Có thể đã có người làm @chibenwa đã nhận hôm nay. Đang mởai-driven-qa bug claude Cosmetic
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
linagora/twake-contacts-frontend#271 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
factory-active task-identify-harness-labels-done task-identify-issue-type-done
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
vercel/ai#23435 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Koenkk/zigbee2mqtt#33402 ·
Maintainer thường phản hồi trong vòng 1 ngày