This repository was archived by the owner on Jul 30, 2018. It is now read-only.
Releases: dojo/compose
Releases · dojo/compose
Release 2.0.0 Beta 5
Changes
- Decouple design time dependency on RxJS
- Expand
Evented.on()
API (see: #34)
Updates
- Update Intern
- Improve CI (including migration to NodeJS 5.1)
Release 2.0.0 Beta 3
Changes
- Realign package to allow builds from source
- Add a main module to make it easier to use with CJS
- Migrate to typings/typings for type management
Release 2.0.0 Beta 2
Changes
- The typings generated for the distribution no longer have the version appended to the name, so in distributions the typings will always be located at
/typings/dojo-compose/dojo-compose.d.ts
. - Include several foundational mixins as part of the package:
dojo-compose/mixins/createDestroyable
- Mixes in the ability for instances to own handles and invokedestroy()
on those handles when the instancedestroy()
is called.dojo-compose/mixins/createEvented
- Mixes in the ability for instances toemit()
synthetic events as well as allow the assignment of listeners to listen for those events via theon()
method.dojo-compose/mixins/createStateful
- Mixes in the ability for an instance to manage a typed.state
object which can be modified by calling.setState()
. In addition it has the capability for the instance to observe its state from an object which provides the observable state API, which is planned to be part of the Dojo 2 Store APIs.
Release 2.0.0 Beta 1
First Beta Release
This is the first beta release of dojo/compose
, a foundational composition library for Dojo 2.
Major Features
- Composition the ability to compose classes, focusing on the concepts of mixins or traits instead of classical inheritance.
- Factories the use of factories instead of constructor functions.
- Typing leverage the TypeScript type system and type inference to provide type checking and guarding on classes.
- AOP use the concepts of aspect advice to allow composition and modification of behaviour of methods.