dgeni-packages
Advanced tools
Changelog
v0.10.0-rc.1 10th September 2014
Minor refactoring
Changelog
v0.10.0-beta.4 6th September 2014
The major refactoring in this release was to move computation of ids (and aliases, which used to be called partialIds) into a generic computeIdsProcessor in the base package. This is then configured (similar to computePathsProcessor) for each docType that a package introduces.
Also the apiDocsProcessor was broken up. Part of it is now handled by the computeIdsProcessor
but the rest
was refactored into membersDocsProcessor
and moduleDocsProcessor
.
Changelog
v0.10.0-beta.3 15th August 2014
The major change in this release was the removal of dependency on the ES6-shim and the use of ES6 Map
for
storing maps of information. The shimmed Map was not playing nicely with Jasmine, Nunjucks and console.log
.
Instead these mappings are now using StringMap
, which is cleaner than
using bare objects (made from Object.create(null)
).
Thanks as always to Stéphane for his translations and removal of unused code.
Map
15751dfbChangelog
v0.10.0-beta.2 7th August 2014
Bug fixes and refactoring. The big change in this revision is the introduction of the computePathsProcessor
.
docType
of "js"
2f15a7cfChangelog
v0.10.0-beta.1 25th July 2014
This is a major rearchitecture in line with changing to dgeni@0.4.0
There are numerous breaking changes surrounding this release and that of dgeni 0.4.0. The most important changes are
Configuration is done directly on the Processors and Services using Configuration Blocks, which are defined on Packages.
Everything is now dependency injected. Dgeni deals with instantiating Processors and Services but if you have properties on these that reference objects that should also be instantiated by the DI system then you can either ask for them to be injected into the config block:
myPackage.config(function(processor1, someObj) {
processor1.someProp = someObj;
});
use the injector
directly:
myPackage.config(function(processor1, injector) {
processor1.someProp = injector.invoke(someObjFactory);
});
or use the getInjectables()
helper service:
myPackage.config(function(processor1, getInjectables) {
processor1.someProp = getInjectables([someObjFactory, someOtherObjFactory]);
});
All real processors have changed their names from dash-case to camelCase. This is because it is easier for their names to be valid JavaScript identifiers.
The most significant commits are:
getRenderer()
method 4f50737b