V13.9.0 Reliability Fixes
5e Item Importer v13.9.0
Foundry VTT Compatibility: v13+
D&D 5e System: 5.1.10+ (verified through 5.2.5)
This combined release focuses on parser reliability, dnd5e 5.2.x compatibility, safer import previews, more reliable YAML handling, and cleaner fallback behavior. The goal is simple: imported items should behave more like native current-system items, require fewer manual fixes after importing, and process data more safely when optional modules are unavailable.
What's New
- Current dnd5e schema alignment: Spell, tool, container, and siege-weapon imports now map more cleanly to the current dnd5e item model.
- YAML template refresh: The built-in YAML examples and strict template files were updated to match the current parser behavior and recommended field values.
- Default item type fallback: Natural-language imports now honor the configured default item type when the parser cannot infer one.
- Bare YAML fence support: Imports now handle plain triple-backtick fenced blocks, not only language-tagged fences like
yamlormarkdown.
Improvements
- Tool imports now use current artisan base item IDs like
alchemist,calligrapher, andwoodcarver, while still accepting legacy short IDs for older content. - Container parsing now supports current unit values like
MgandcubicFoot, and no longer assumes every container needs aCURRENCY_CONTENTSsection. - Safer preview rendering: Item comparison and preview output now escapes user-controlled values before display.
- Safer folder rendering: Folder names are rendered through DOM text nodes instead of injected innerHTML.
- Optional Activity Importer handling: Integration now validates expected helper exports and falls back gracefully when the optional module is missing or incompatible.
- Clearer preview messaging: The preview now accurately states when inline activities and effects will be skipped because
5e-activity-importeris inactive. - Setting respected: The "Create Items as Identified" setting is respected again in generated YAML and natural-language import flows.
Bug Fixes
- Fixed standard spell imports so they use the current spell preparation method instead of the legacy
preparedvalue. - Fixed batch item selection toggling twice in the import window.
- Fixed import summaries counting failed item creation as successful imports.
- Fixed siege weapon cover importing as text labels instead of the numeric values dnd5e expects.
- Fixed the built-in tool template so its example item, ability, and description now match each other.
- Fixed imported item names and properties being rendered as HTML in the comparison window.
- Fixed folder names being inserted through innerHTML.
- Fixed activity helper export drift causing parsing failures.
- Fixed fallback activity parser handling when the expected export is unavailable.
- Fixed negative weight validation by checking the correct D&D 5e weight path.
- Fixed bare fenced YAML blocks not being stripped before parsing.
- Fixed the unused
defaultItemTypesetting and removed the unsupportedbackpackoption.