From a2fcad1e22f028894fc94e7788c6aa0a544e41d8 Mon Sep 17 00:00:00 2001 From: aerinon Date: Tue, 4 May 2021 16:26:45 -0600 Subject: [PATCH] Version update with release notes Switch to safe loader --- Main.py | 2 +- Mystery.py | 2 +- RELEASENOTES.md | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Main.py b/Main.py index 97b83191..143b9aaa 100644 --- a/Main.py +++ b/Main.py @@ -27,7 +27,7 @@ from Fill import sell_potions, sell_keys, balance_multiworld_progression, balanc from ItemList import generate_itempool, difficulties, fill_prizes, customize_shops from Utils import output_path, parse_player_names -__version__ = '0.3.1.8-u' +__version__ = '0.4.0.0-u' class EnemizerError(RuntimeError): diff --git a/Mystery.py b/Mystery.py index c6578401..b2936cca 100644 --- a/Mystery.py +++ b/Mystery.py @@ -86,7 +86,7 @@ def get_weights(path): if urllib.parse.urlparse(path).scheme: return yaml.load(urllib.request.urlopen(path), Loader=yaml.FullLoader) with open(path, 'r', encoding='utf-8') as f: - return yaml.load(f, Loader=yaml.FullLoader) + return yaml.load(f, Loader=yaml.SafeLoader) except Exception as e: raise Exception(f'Failed to read weights file: {e}') diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 2bc21111..dda49686 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -148,6 +148,13 @@ See the example yaml file for demonstrated usage. New item counter modified to show total +## Volatile Notes + +* Mystery yaml parser updated to a package maintained version (Thanks StructuralMike) +* Bomb-logic and extend crystal switch logic (Thanks StructuralMike) +* Fixed logic for moved locations in playthrough (Thanks compiling) +* OWG Glitch logic (Thanks qadan, cheuer, & compiling) + # Bug Fixes and Notes. * 0.3.1.9-u