Skip to content

Latest commit

 

History

History
151 lines (93 loc) · 3.88 KB

CHANGELOG.md

File metadata and controls

151 lines (93 loc) · 3.88 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

4.1.1 - 2021-11-26

Fixed

  • removed package.json node engine definition preventing usage in newer nodejs versions

4.1.0 - 2020-06-15

Fixed

  • plasma.emit - returns properly array of promised results for matched reactions

Added

  • plasma.emitOnce - hits the first matched reaction and stops the emit

4.0.0 - 2020-05-27

Changed

  • pasma.emit doesn't create a Promise wrapper and throws Array of Errors
  • updated to jasmine as test runner and fixed tests

3.0.1 - 2019-11-26

Changed

  • plasma.emit(c, callback) re-throws meaningful errors from failed callback method invokes including its stack frame
  • README.md shows the latest plasma version

[3.0.0] - [2019-10-21]

breaking changes introduced

Upgrade path requires replacing plasma.emitAndCollect with await plasma.emit

Changed

  • plasma.emit is now with Promise/async/await support

Removed

  • removed plasma.emitAndCollect. It is covered by await plasma.emit
  • removed chemical aggregation feature support. plasma.on passed handlers will no longer be able to stop the reaction of followup handlers

[2.1.0] - [2018-03-30]

Added

  • plasma.emitAndCollect - emits chemical to all and return collected their feedback
  • new Plasma({throwOnMissingHandler: true}) - throws Error when missing handler for a chemical

Fixed

  • when using new Plasma({missingHandlersChemical: ...}) storing chemicals will no longer trigger missing handlers chemical

[2.0.0] - [26.11.2017]

The release contains breaking changes towards v1.x.x Upgrade path requires removing organic-plasma-feedback decoration as feedback support is re-implemented in organic-plasma module

Changed

  • plasma.on - supports feedback callback
  • plasma.on(array) - supports feedback callback
  • plasma.emit - supports feedback callback, returns true Boolean value when chemical has been aggregated
  • plasma.off - added additional support for single handler form
  • plasma.store - supports String chemicals

Fixed

  • jasmine test specs
  • plasma.emit to return true when chemical has been aggregated

[1.2.2] - 2017-02-16

Fixed

  • plasma.emit will not check for missing handlers
  • new Plasma() will not notify for missing handlers unless it is explicitly set as new Plasma({missingHandlersChemical: String})

[1.2.1] - 2017-02-09

Fixed

  • plasma.on to properly emit on stored checmical

[1.2.0] - 2017-02-09

Added

  • notification of missing listeners/handlers for a chemical via plasma.on('plasma/missingHandler', function (c) {}) by krasiyan in PR #4

[1.1.0] - 2016-05-27

Fixed

  • plasma.trash

Changed

  • plasma.on(pattern) - supports class definitions for pattern
  • core organic Plasma interface inheritance support for browser usage

Added

  • plasma.has
  • plasma.get
  • plasma.getAll
  • plasma.utils.deepEqual
  • plasma.utils.isFilledArray
  • plasma.trashAll
  • plasma.storeAndOverride

[1.0.1] - 2016-02-17

Fixed

  • plasma.pipe

[1.0.0] - 2016-01-14

The release contains breaking changes towards v0.0.7. Upgrade path requires organic-plasma-feedback decoration to be applied on v1.0.0 so that v0.0.7 features are 100% covered.

Changed

  • plasma.on - doesn't support feedback (callback || promises)
  • plasma.on(array) - doesn't support feedback (callback || promises)
  • plasma.emit - doesn't support feedback (callback || promises)
  • plasma.pipe - doesn't support transformation function

Added

  • plasma.store
  • plasma.trash
  • plasma.unpipe

Removed

  • plasma.emitAndCollect

[0.0.7] - 2015-06-11

Fixed

  • plasma.once

[major.minor.patch] - YYYY-MM-DD

Changed

Added

Removed