Skip to content

Latest commit

 

History

History
338 lines (186 loc) · 6.24 KB

CHANGELOG.md

File metadata and controls

338 lines (186 loc) · 6.24 KB

2.4.36

  • Split out core coroutine functions to reduce bundle sizes

2.4.35

  • Make @babel/runtime a peer dep

2.4.32

  • Make all functions individually importable

2.4.30

  • Update NPM license info

2.4.28

  • NodeJS idles more when not busy

2.4.26

  • Enable yielding functions to return a promise

2.4.25

  • Split out async wrapped functions and add webpack sideEffects

2.4.24

  • Tune timeout parameters
  • Animation balancing

2.4.22

  • Change looping order for conditions where multiple idle callbacks overlap
  • Remove default timeout for idles as it tends to cause animation glitches

2.4.21

  • Adjust timing

2.4.19

  • Provide simpler default sort comparison

2.4.18

  • Reduce timeout overlaps

2.4.17

  • Optimise sort algorithm

2.4.15

  • Tune default sequence yields

2.4.13

  • Fix minification bugs

2.4.12

  • Additional package size reduction

2.4.11

  • Reduce package size of build

2.4.10

  • Merge PR1/2

2.4.9

  • Fix NodeJS version

2.4.8

  • Fix issue with stringifying empty strings (#10)
  • Polyfill performance.now() (#9)
  • Fix issue with parsing JSON including whitespace (#7)

2.4.7

  • Update dependencies

2.4.6

  • Update dependencies for audit fix

2.4.5

  • Use setImmediate for NodeJS as it has better performance

2.4.4

  • Another change, for remote trials

2.4.3

  • Tweak the amount of delay NodeJS allows

2.4.2

  • Fix some Node issues
  • Fix a test issue

2.4.1

  • Added NodeJS support
  • sortAsync/sort return the array for chaining
  • Uint8Array fixes for JSON
  • Removed support for array replacer in stringify
  • Added tests using new NodeJS runner
  • several bug fixes

2.3.72

  • Joined promises are chainable

2.3.71

  • Make additional promises only cancel on termination

2.3.70

  • Fix typings
  • Fix reduceAsync

2.3.69

  • Add a join for multi-chaining terminated promises from a singleton
  • Improve typings for singleton and terminatable promises

2.3.68

  • Add a singleton() function wrapper for an easy way to have a cancellable version of a coroutine. Coroutines wrapped in a singleton are run as an async function returning a Promise, but if the previous one hasn't completed it immediately returns with a default value.

  • Improve documentation and add useInternalEngine to typings

2.3.66

  • Add useInternalEngine(true) call to enable the polyfilled version in all circumstances

2.3.65

  • Enable the override of standard yielding function for asyncs

2.3.64

  • Change loop time calculator back to api

2.3.63

  • Remove the debugger - oops

2.3.62

  • Update docs

2.3.61

  • Added functionality for keyBy, uniqueBy, indexOf, lastIndexOf, groupBy, includes
  • Made filter/every/some/forEach handle objects and arrays (per lodash)

2.2.60

  • enabled falsey values in the pipeline to make composition easier

2.2.59

  • Improved performance tracking in idle
  • Added pipe/tap/branch/call/repeat to the API for functional pipelines
  • Fix some JSON issues (note JSON parse seen NOT working with optional whitespace still)

2.1.56

  • Fix a bug with reduce/reduceAsync
  • try to get typings working again

2.1.54

  • Move to transform runtime to remove regenerator issues

2.1.53

  • Ensure requestAnimationFrame starts on next frame

2.1.52

  • Buffer animation callbacks to reduce calls to requestAnimationFrame

2.1.51

  • Fix a bug in starting update coroutines with parameters

2.1.50

  • Handle the case where the Promise yielded is immediately resolved without going through the restart process

2.1.49

  • Added the ability to yield a Promise and have the coroutine restart when it finishes

  • Deprecated runAsync (due to above)

2.1.44 - 2.1.48

  • Adjust polyfill for a variety of Safari use cases

2.1.43

  • Fix polyfill on Safari

2.1.42

  • Can start run or update with the results of calling a generator to enable parameter passing
  • Main website linked

2.1.41

  • Improved polyfill

2.1.40

  • Tested react native

2.1.38

  • Provide own polyfill for requestIdleCallback

2.1.37

  • remove direct reference to requestIdleCallback polyfill for React Native support. This can now be added manually on websites requiring it
  • first attempts at RN support

1.1.36

  • fix documentation typo

1.1.35

  • fixed build issue

1.1.34

  • Update documentation
  • Fix an issue with encodeURIComponent version of lz-string

1.1.33

  • Add compress and decompression from lz-string in the gaps

1.1.32

  • setTimeout idle time background processing
  • can yield a number to request that number of m/s in the current frame (request does not carry over to the next frame)
  • added async examples to getting started

1.1.31

  • Too early for last update, reverting

1.1.30

  • Use setTimeout for run timeouts to ensure we get some background processing

1.1.29

  • Fix a bug where terminate on the run promise was lost due to double async wrapping

1.1.28

  • Massively improve performance by replacing Yastjson's stack based bracket analyser with a couple of ints

1.1.27

  • Improve performance by reducing yields during the tokenise phase to 1 in every 2048 characters

1.1.26

  • Rewrite JSON tokenizer and AST for performance (again!)

1.1.25

  • Fix a problem with escaped JSON strings not being fully handled by yastjson
  • Reintroduce .toJSON() in stringify

1.1.24

  • Made sure Async functions return a terminatable promise
  • Fixed the CHANGELOG formatting!

1.1.23

  • Fix a bug with resolver now just being the actual promise resolve.

1.1.22

  • Link article on how it works

1.1.21

  • Documentation improvements

1.1.20

  • Updated the demo in the README.md to be the async one

1.1.19

  • Fixed build issue

1.1.18

  • Added Async function wrappers
  • Refactored project structure
  • Improved demo to show async

1.1.15

  • Licence updates
  • Documentation typos

1.1.14

  • Added JSON functions for serialize/parse
  • Updated test app
  • Updated documentation
  • Added CHANGELOG