Skip to content

7.0.38 Model type fixes

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Jul 01:01

This release includes the following changes:

  • Fixed failing tests for tech talents - #194
  • Updated NuGet packages - #195
  • Added README.md files for NuGet packages - #196
  • Improved Game Data API integration tests - #198
  • Fixed recipe models - #199

These changes include several breaking changes to model types:

  • Updated the PrerequisiteTalent property of TechTalent to be a TalentReference instead of a TalentReferenceWithoutName, which is no longer a required record type.
  • Added a new AssetWithoutFileDataId class and updated the Assets property of CreatureDisplayMedia to use it since the non-nullable FileDataId does not appear to be returned with for this type.
  • Fixed guild crest model types. Added a Colors property to GuildCrestComponentsIndex with a new GuildCrestColors model type to support it. Updated GuildCrestBorderMedia and GuildCrestEmblemMedia to use AssetWithoutFileDataId instead of Asset for their Assets properties.
  • Added a PurchaseQuantity property to the Item model class.
  • Updated JournalMedia to use AssetWithoutFileDataId instead of Asset for the Assets property.
  • Fixed the Mount model type. Added a Requirements property with a new MountRequirements model type to support it.
  • Fixed mythic raid leaderboard model types. Replaced the Zone property of the MythicRaidLeaderBoard model class with a JournalInstance property.
  • Fixed pet model types. Added a missing Media property to Pet with a new PetMediaReference model type to support it.
  • Fixed quest model types. Added a missing MaxCharacterLevel property to QuestRequirements. Removed the RecommendedMinimumLevel and RecommendedMaximumLevel properties from Quest.
  • Fixed recipe models. Added AllianceCraftedItem and HordeCraftedItem properties for recipes that produce faction-specific items. Added a ModifiedCraftingSlots property for recipes that allow modified crafting. Added a supporting ModifiedCraftingSlot model type. Updated the CraftedQuantity model type to add a Value property and made the existing Minimum and Maximum properties nullable since they are not always present. Added new tests to ensure these cases are tested.

The System.Text.Json dependency has been updated from 5.0.1 to 5.0.2.