From dc0fb3612da5d41866a2f06076a4ecea5614ef78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Garc=C3=ADa=20Cota?= Date: Sat, 10 Mar 2018 12:36:26 +0100 Subject: [PATCH] update changelog --- CHANGELOG.md | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8321ec0..5f8b93a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,20 @@ middleclass changelog ==================== -Version 4.1.0 +# Version 4.1.1 + +* Fixed a bug in which `static` values which evaluated to `false` were not available + in subclasses (#51, thanks @qaisjp for the patch!) +* `isInstanceOf` does not throw an error any more when its first parameter is a + primitive (#55) (This effectively undoes the change introduced in 4.1.0) + + +# Version 4.1.0 * Simplifies implementation of `isInstanceOf` and `isSubclassOf`. They will now raise an error if their first parameter (the `self`) isn't an instance or a class respectively. -Version 4.0.0 +# Version 4.0.0 * Unified the method and metamethod lookup into a single algorithm * Added the capacity of setting up the `__index` metamethod in classes @@ -14,19 +22,19 @@ Version 4.0.0 * Removed default method `Class:implements()` * Renamed several internal functions -Version 3.2.0 +# Version 3.2.0 * Changed the way metamethods were handled to fix certain bugs (un-stubbed metamethods could not be inherited) -Version 3.1.0 +# Version 3.1.0 * Added Lua 5.3 metamethod support (`__band`, `__bor`, `__bxor`, `__shl`, `__bnot`) -Version 3.0.1 +# Version 3.0.1 * Added `__len`, `__ipairs` and `__pairs` metamethods for Lua 5.2 -Version 3.0 +# Version 3.0 * Anything that behaves reasonably like a class can be a class (no internal list of classes) * The `class` global function is now just the return value of `require @@ -37,8 +45,7 @@ Version 3.0 * The global function `implements` becomes `class.Object.static.implements`. Parameter order is reversed. * Specs have been translated from telescope to busted - -Version 2.0 +# Version 2.0 * Static methods are now separated from instance methods * class.superclass has now become class.super