Releases: jpex-js/jpex
Releases · jpex-js/jpex
1.4.0
Features
- $typeof factory is available which returns the type of an object.
- $copy factory allows you create a deep or shallow copy of an object, or combine multiple objects.
- $itypeof and $icopy interfaces
- The static methods Jpex.Typeof and Jpex.Copy have been deprecated and will be removed in a future release.
- $resolve factory which allows lazy loading of dependencies.
Breaking Changes
- Calling
Class()is now the same as callingnew Class()so calls likeClass.call(obj)===objwill no longer work.
1.3.1
and documentation and changelog
1.3.0
Features
- Interfaces functionality added
- Registering a factory returns an object with additional option methods (currently only contains the interface() method)
- It is now possible to specify the life cycle of a factory or service using the
.lifecycle.x()syntax. Possible options areapplication,class,instance,none - Due to the introduction of life cycles, the singleton parameter has been deprecated.
Breaking Changes
- All $ factories now have interfaces (i.e. $ipromise). If you have overwritten a default factory that is used by another default factory, it will need to include the interface in order to work. i.e. $fs used to depend on $promise but it now depends on $ipromise.
1.2.0
Update readme.md