From 82122c3e3da974fa674fbdfd630efa217fd209e5 Mon Sep 17 00:00:00 2001 From: Darren Eberly Date: Sat, 28 Aug 2021 12:02:50 -0400 Subject: [PATCH] Update version and changelog for 1.5.3 --- CHANGELOG.md | 7 +++++++ pytiled_parser/version.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f522b1..dc8c62b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## [1.5.3] - 2021-08-28 + +Just a small bugfix in this release. Previously if a layer's offset was (0, 0), the values for it would not appear in the JSON file, so the `offset` value in the +Layer class would be `None`. This can cause some unexpected behavior in engines or games, and puts the responsibility of checking if this value exists onto the game or engine using it. + +This value has been changed to default to (0, 0) if it is not present in the JSON so that games can apply it easily in one line and always get the same result without error. + ## [1.5.2] - 2021-07-28 This release contains some re-working to properly support templates. diff --git a/pytiled_parser/version.py b/pytiled_parser/version.py index a1d6e80..d16cf06 100644 --- a/pytiled_parser/version.py +++ b/pytiled_parser/version.py @@ -1,3 +1,3 @@ """pytiled_parser version""" -__version__ = "1.5.2" +__version__ = "1.5.3"