v0.05
Pre-release
Pre-release
The release includes 3 non breaking API changes.
Changes in this release:
- Add the
@Injector.injectableparameter that that controls whether the annotation processor will generate a provider so that the injector can be included in other injectors. - Add some nullability annotations to the parameters of annotations in the
corepackage. - Add the
@Injector.gwtparameter that that controls whether the annotation processor will customize injector implementation to work within the context of GWT. This primarily involves the addition of the@DoNotInlineannotation to lazy component accessors within the injector implementation. This avoids the scenario where the GWT compiler could inline a component accessor and all transitive lazy component accessors, significantly increasing code-size, compilation time and run time. - Add
synchronizedkeyword to node accessors in the generated injector to avoid problems resulting arising from concurrent attempts to access nodes in a jre context. When transpiled to javascript, concurrent access is impossible and synchronized keyword is ignored. In a JRE context, this serializes node construction but this is not problematic for the current set of supported usecases. - Add a
performance-testsmodule to track performance of Sting over time. The tests will initially measure build times and code when compiled to javascript. The results of the performance testing is written up inperformance.mddocument to make it easily consumable by other parties. It is expected that over time that these performance tests will expand but they currently focus on the primary performance goals of Sting.