5.4.0 Breaking Change: PackIconKind names changed

Đang mở
#4,120 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa 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
Sôi nổi
Công nghệ
csharp
Lĩnh vực
desktop-dev

Hướng nghiên cứu

The report concerns the PackIconKind enum names, which changed between 5.3 and 5.4.0 (for example Battery0 became Battery_0). Compare the enum members in the two releases to confirm the scale of the rename. Before writing anything, check with the maintainers whether the old names should come back as obsolete aliases or whether the change should be documented. Done means the agreed approach is applied and a test or note shows that code using the old names still compiles.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement evaluation required
Bug explanation

PackIconKind names were changed in 5.4.

Quick scan shows me 5.4.0 removed 438 names and added 438 matching ones with underscores, for example:

Battery0 -> Battery_0
Cash100 -> Cash_100
NetworkStrength4Cog -> NetworkStrength_4Cog

If you use the old names, seems like a breaking change to me. I haven't found any heads up on it anywhere that I might have missed either. The 5.4 release notice doesn't mention it. But yet my app crashed...

Version

5.4.0

Ngôn ngữ chính
C#
Star
16.3k
Fork
3.5k
Merge trung bình
5 giờ 15 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MaterialDesignInXAML/MaterialDesignInXamlToolkit

Tất cả issue của MaterialDesignInXAML/MaterialDesignInXamlToolkit

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.