Skip to content

Releases: jpex-js/jpex

1.4.0

24 Nov 06:54

Choose a tag to compare

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 calling new Class() so calls like Class.call(obj)===obj will no longer work.

1.3.1

22 Nov 19:48

Choose a tag to compare

 and  documentation and changelog

1.3.0

21 Sep 16:31

Choose a tag to compare

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 are application, 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

09 Sep 22:31

Choose a tag to compare

Update readme.md