7.0.38 Model type fixes
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 ofTechTalent
to be aTalentReference
instead of aTalentReferenceWithoutName
, which is no longer a required record type. - Added a new
AssetWithoutFileDataId
class and updated theAssets
property ofCreatureDisplayMedia
to use it since the non-nullableFileDataId
does not appear to be returned with for this type. - Fixed guild crest model types. Added a
Colors
property toGuildCrestComponentsIndex
with a newGuildCrestColors
model type to support it. UpdatedGuildCrestBorderMedia
andGuildCrestEmblemMedia
to useAssetWithoutFileDataId
instead ofAsset
for theirAssets
properties. - Added a
PurchaseQuantity
property to theItem
model class. - Updated
JournalMedia
to useAssetWithoutFileDataId
instead ofAsset
for theAssets
property. - Fixed the
Mount
model type. Added aRequirements
property with a newMountRequirements
model type to support it. - Fixed mythic raid leaderboard model types. Replaced the
Zone
property of theMythicRaidLeaderBoard
model class with aJournalInstance
property. - Fixed pet model types. Added a missing
Media
property toPet
with a newPetMediaReference
model type to support it. - Fixed quest model types. Added a missing
MaxCharacterLevel
property toQuestRequirements
. Removed theRecommendedMinimumLevel
andRecommendedMaximumLevel
properties fromQuest
. - Fixed recipe models. Added
AllianceCraftedItem
andHordeCraftedItem
properties for recipes that produce faction-specific items. Added aModifiedCraftingSlots
property for recipes that allow modified crafting. Added a supportingModifiedCraftingSlot
model type. Updated theCraftedQuantity
model type to add aValue
property and made the existingMinimum
andMaximum
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.