Releases: losandes/hilaryjs
Testing Optimization 2
Improves testability in a simpler way than 3.1.2
Testing Optimization
Opts to put the original factory on singleton hilaryModules, after they've been converted to singletons, to support testability over memory consumption.
Singleton Optimization
3.1.1 optimizes the way singletons are resolved for performance and optimizes the way they are stored for memory consumption.
Singletons
Adds more features so there are more semantic ways of dealing with singletons
Parameterless Blueprint Constructor
Adds a parameterless Blueprint constructor, so you can create Blueprints that just inherit other blueprints.
Blueprint Enhancements
Blueprints can now inherit other blueprints
myBlueprint.inherits(otherBlueprint);
When registering modules, you can now pass an array into the blueprints argument
scope.register({
name: 'foobar',
blueprint: ['FooBlueprint', 'BarBlueprint'],
factory: function () {
return {
name: 'Foo name',
description: 'Bar description',
};
}
});
v3 Release: Blueprints
Adds support for Blueprints, which are like interfaces
swaps utils
out for is
and id
Adds Polyn.Blueprint Extension
Adds a new extension to support registering Blueprints (interface-like signature validation)
Adds Info About generator-hilary
We added a Yeoman generator for hilary: generator-hilary
Set Parent Scopes
Allows developers to set the parent scope explicitly, so it can be registered out of order.