diff --git a/CHANGELOG.md b/CHANGELOG.md index 614d157..4c1aad8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# v1.2.1 +## Fixed +- [malody] Parsing a malody file with keys that are unused for conversion + (like `meta.mode_ext` or `extra`) would fire errors, not anymore ! + # v1.2.0 ## Added - [malody] 🎉 initial malody support ! diff --git a/jubeatools/formats/malody/schema.py b/jubeatools/formats/malody/schema.py index 8263b6a..3c7c16e 100644 --- a/jubeatools/formats/malody/schema.py +++ b/jubeatools/formats/malody/schema.py @@ -3,6 +3,7 @@ from decimal import Decimal from enum import Enum from typing import List, Optional, Tuple, Union +from marshmallow import EXCLUDE from marshmallow.validate import Range from marshmallow_dataclass import NewType, class_schema @@ -10,6 +11,7 @@ from marshmallow_dataclass import NewType, class_schema class Ordered: class Meta: ordered = True + unknown = EXCLUDE @dataclass