Skip to content

Commit b31f490

Browse files
committed
Bumps version to 4.1.0 and updates changelog
1 parent 9c27226 commit b31f490

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
Changelog
22
=========
3+
4+
## 4.1.1
5+
- Improves the way mixins are applied to classes and ensures that:
6+
- Sub classes always inherit all mixins applied to parent classes, even when this happens "later on"
7+
- All sub classes inherit the static mixin properties, even after extending the base class
8+
9+
- Adds the following helpers are added to `Space.Object` for convenience:
10+
- **static**
11+
- `MyClass.hasSuperClass()`
12+
- `MyClass.superClass([key])` - either returns the super class constructor or static property/method
13+
- `MyClass.subClasses()` - returns flat array of all sub classes
14+
- **prototype**
15+
- `myInstance.hasSuperClass()`
16+
- `myInstance.superClass([key])` - same as static version but returns prototype props/methods
17+
318
## 4.1.0
419
- Adds `hasMixin()` instance method to Space.Object to check if the class has applied or inherited a specific mixin
520

package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package.describe({
22
summary: 'Modular Application Architecture for Meteor.',
33
name: 'space:base',
4-
version: '4.1.0',
4+
version: '4.1.1',
55
git: 'https://github.com/meteor-space/base.git',
66
documentation: 'README.md'
77
});

0 commit comments

Comments
 (0)