From 026dae19be9d8d2ffe81d6dfd92b8e467f1cbc7d Mon Sep 17 00:00:00 2001 From: Eric Myllyoja Date: Fri, 25 Feb 2022 02:23:17 -0500 Subject: [PATCH] Version 1.5.1 --- CHANGELOG.md | 6 ++++++ haxelib.json | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22aa8eea..a2c5b325 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,13 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [???] - 2022-02-?? ### Changed - The `dirs` parameter of Polymod is now optional. This is useful if Polymod is only used for localization. +- Reduced the amount of compile-time logging created by scripted classes. +### Removed +- Removed an unused PolymodErrorCode. ### Fixed - Fixed a bug where scripted classes would fail to build when encountering fields marked with `@:generic`. - These fields are now skipped completely (and cannot be overridden by scripted classes). +- Fixed a bug where scripted classes would fail to build when encountering arguments or return types using a type parameter. +- Fixed a bug where scripted classes would override functions with the return type `Void` with a function that attempts to return `null`. - Fixed a bug where scripted classes did not properly support overriding functions with optional arguments. - Fixed a bug related to using macros while using the FlixelBackend. - Fixed a bug where the library would not build without the `hscript-ex` library installed (the library is no longer required). + ## [1.5.0] - 2022-02-22 ### Added - Added new functionality which allows for parsing and instantiation of classes defined in scripts. diff --git a/haxelib.json b/haxelib.json index 4b5cd1c9..8b1e8bb2 100644 --- a/haxelib.json +++ b/haxelib.json @@ -4,7 +4,7 @@ "license": "MIT", "tags": ["mod","game","data","asset"], "description": "An atomic modding framework for Haxe games", - "version": "1.5.0", - "releasenote": "Added a new framework to support scripted classes", + "version": "1.5.1", + "releasenote": "Bug fixes for scripted classes", "contributors": ["MasterEric", "larsiusprime"] } \ No newline at end of file