Skip to content

Latest commit

 

History

History
166 lines (102 loc) · 3.64 KB

CHANGELOG.md

File metadata and controls

166 lines (102 loc) · 3.64 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.5.0 (2018-07-16)

build

  • move from webpack to rollup, compatibility changes (47594dc)

Code Refactoring

  • separates add and export, adds 'add' file to groups packages (be1e7f6)

Features

  • add Tree-Shaking & esm support and convert "add" to sub-package (0aa2297)

BREAKING CHANGES

  • change in wrapper use, for use in wrapper:
import Promises from '@promises/-all/add';

Or

import Promises from '@promises/core';
import '@promises/-all/add';
  • new compatibility support:
  • main - commonjs module and es5 standard (index.js)
  • es2015 - commonjs module and es2015 standard (index.es6.js)
  • browser - bundle in umd format includes all scope dependencies in es5 standard (bundle.umd.js, bundle.umd.min.js)
  • typings - typescript declaration file (index.d.ts)
  • "add" does not export the "index" export, it only adds to Promises
import Promises from '@promises/core';
import '@promises/for-each-series/add';

0.4.0 (2018-03-17)

Note: Version bump only for package @promises/from-observable

0.3.1 (2018-03-05)

Note: Version bump only for package @promises/from-observable

0.3.0 (2018-03-05)

Chores

  • package: change of the export properties (main, browser, module, es2015) (5a146dc)

Features

  • change packages architecture and giving independence to modules/methods (832216b)

BREAKING CHANGES

  • standalone methods return 'Promise' instead of 'Promises'

before

import method from '@promises/method';
let promises: Promises<any> = method<any>();

after

import method from '@promises/method';
let promise: Promise<any> = method<any>();

for Promises use Promises

import Promises from '@promises/-all';

let promises: Promises<any> = Promises.method<any>();

changing the architecture of loading methods to 'Promises'

before

import Promises from '@promises/core';
import method from '@promises/method';

method()
Promise.method()
import Promises from '@promises/core';
import '@promises/method';

Promise.method()

after

import
Promises from '@promises/core';
import method from '@promises/method';

method()
Promise.method() // throw Error
import Promises from '@promises/core';
import method from'@promises/method/add';

method()
Promise.method()
  • package: change properties:
  • main: umd.js => es5.js
  • browser: umd.js => umd.min.js
  • module: es5.js => index.js
  • bundle: bundle.js => bundle.min.js

0.2.0 (2017-09-20)

Styles

  • fromObservable: fix type style (dfafb24)

BREAKING CHANGES

  • fromObservable: remove IFromObservable type.

0.1.0 (2017-06-24)

Features