5.4.0 Breaking Change: PackIconKind names changed

Aberta
#4,120 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
Meio dia
Facilidade para iniciantes
30/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
csharp
Domínio
desktop-dev

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
C#
Estrelas
16.3k
Forks
3.5k
Merge médio
5h 15min
PRs com merge (30d)
6

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de MaterialDesignInXAML/MaterialDesignInXamlToolkit

Todas as issues de MaterialDesignInXAML/MaterialDesignInXamlToolkit

Issues semelhantes

Mais issues de C#

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.