mirror of
https://github.com/kikito/middleclass.git
synced 2024-11-25 02:44:20 +00:00
updated changelog
This commit is contained in:
parent
1aab144c3f
commit
f5f6bea420
23
CHANGELOG.md
Normal file
23
CHANGELOG.md
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
middleclass changelog
|
||||||
|
====================
|
||||||
|
|
||||||
|
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
|
||||||
|
'middleclass'`. It is a callable table, but works exactly as before.
|
||||||
|
* The global variable `Object` becomes `class.Object`
|
||||||
|
* The global function `instanceOf` becomes `class.Object.isInstanceOf`. Parameter order is reversed.
|
||||||
|
* The global function `subclassOf` becomes `class.Object.static.isSubclassOf`. Parameter order is reversed.
|
||||||
|
* The global function `implements` becomes `class.Object.static.implements`. Parameter order is reversed.
|
||||||
|
* Specs have been translated from telescope to busted
|
||||||
|
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
* Static methods are now separated from instance methods
|
||||||
|
* class.superclass has now become class.super
|
||||||
|
* It's now possible to do class.subclasses
|
||||||
|
* middleclass is now a single file; init.lua has dissapeared
|
||||||
|
* license is changed from BSD to MIT. License included in source FTW
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
Version 2.0
|
|
||||||
|
|
||||||
* Static methods are now separated from instance methods
|
|
||||||
* class.superclass has now become class.super
|
|
||||||
* It's now possible to do class.subclasses
|
|
||||||
* middleclass is now a single file; init.lua has dissapeared
|
|
||||||
* license is changed from BSD to MIT. License included in source FTW
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user