Skip to content

Latest commit

 

History

History
127 lines (64 loc) · 5.11 KB

CHANGELOG.md

File metadata and controls

127 lines (64 loc) · 5.11 KB

0.5.0 (2019-12-23)

Bug Fixes

  • Errorish: fixes static classes for inheriting classes (ae9ecf2)

chore

  • cleans up sources; begins complete rewrite (f745eb9)

Code Refactoring

  • removes I prefix from type interfaces (122d668)

Features

BREAKING CHANGES

  • Errorish has been almost entirely rewritten. Please check the updated documentation -most of its functionality has suffered changes.
  • Type interfaces are no longer prefixed by "I"

0.4.0 (2019-05-13)

Bug Fixes

  • deps: updates promist to v0.6.0 (910b0c5)
  • deps: updates promist to v0.7.0 (fa8b936)

Features

  • Errorish: adds set and assign methods (844fa77)
  • Errorish: allows for message to be null (feb020d)
  • Errorish: recursively obtains root (f74fdb7)
  • Errorish: reverses source and data params order (3b17f3b)

BREAKING CHANGES

  • Errorish: While previously data was the second argument and source the third for the Errorish class constructor, now source is the second and data the third

0.3.0 (2019-04-27)

Features

  • throws: takes async functions too (0e6d974)

0.2.1 (2019-04-23)

Bug Fixes

  • rejects: fixes rejects typings (105a306)

0.2.0 (2019-04-21)

Code Refactoring

  • types, rejects: renames IExceptionOptions to IRejectionOptions (770ccd5)

Features

  • throws: throws now takes a function instead of an error (eac3b46)

BREAKING CHANGES

  • types, rejects: IExceptionOptions is now IRejectionOptions
  • throws: throws now takes a function instead of an error; it will ensure and throw any error thrown by that function, otherwise returning its value.

0.1.0 (2019-04-18)

Bug Fixes

  • ensure, normalize: prevents defaults object mutation when options are passed (3a66c02)

Features

  • adds ensure (ac388c0)
  • adds entry point exports (bec50c0)
  • ensure: implements stringify (8518cd5)
  • adds Errorish (d68f3a7)
  • adds normalize (bc68ac6)
  • ensure: implements trunk (e8bd0da)
  • ensure: improves typings (f44a664)
  • scope: adds defaults (f9770a4)
  • scope: adds scope getter/setter (69431e3)
  • scope: scope.set returns the scope (f1976a8)
  • adds rejects (109cd57)
  • adds throws (d8cef9e)
  • throws,rejects: evaluates options.case when property exists; improves typings (5cb7d9c)
  • types: adds ICoreOptions (84d4529)