You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 KiB

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by auto-changelog.

7.0.6

6 June 2020

  • Updating CHANGELOG.md 42dc1ba
  • Removing prototype from this.items{} 1ec0ff8

7.0.5

6 June 2020

7.0.4

29 May 2020

  • Revert "Fixing set() bug by assigning expiry in all cases, adding test, fixes #36" #36
  • Updating CHANGELOG.md b879ea4
  • Reverting 7.0.3 due to possibility of items staying in cache forever 65b9270

7.0.3

29 May 2020

  • Moved to using rollup directly instead of tslib-cli #38
  • Bump acorn from 5.7.3 to 5.7.4 #36
  • Add undefined as possible return type from get in TS types #34
  • Fixing set() bug by assigning expiry in all cases, adding test, fixes #37 #37
  • Using auto-changelog to generate a formatted changelog d099c3f
  • Updating dependencies 99ec4ca
  • Updating changelog script to include merges, generating new CHANGELOG 0cc846c

7.0.2

31 October 2019

  • Adds factory function to typings #33
  • Revert "fixes #30: auto generate type definitions from source" #32
  • fixes #30: auto generate type definitions from source #31
  • Create FUNDING.yml #29
  • Merge pull request #32 from avoidwork/revert-31-ts-port #30
  • Revert "fixes #30: auto generate type definitions from source" #30
  • Merge pull request #31 from osdevisnot/ts-port #30
  • auto generate type definitions 6321fa8
  • update dev dependencies 0386635
  • Version bump to release new type definition 1cf5b1d

7.0.1

8 October 2019

  • Modernization Niceties #28
  • Creating changelog npm script & CHANGELOG output f175497
  • update tslib-cli - avoids warning during build ab1d29f
  • Version bump 1890567

7.0.0

27 September 2019

  • Revamp Build Infra for tiny-lru #27
  • start using new build tool fc614a3
  • Version bump to release modernization effort 0672370
  • remove extraneous files from lib d35c2cb

6.1.0

19 September 2019

  • Add typescript signature #26
  • Bump mixin-deep from 1.3.1 to 1.3.2 #24
  • Bump eslint-utils from 1.3.1 to 1.4.2 #23
  • Bump lodash from 4.17.11 to 4.17.14 #22
  • Version bump to release #26, updating dependencies 0814a7f
  • ES6 module d84aead

6.0.1

30 January 2019

  • Add es5 output compiled with babel-preset-env #20
  • Rebuilding so version tag is updated everywhere b230fc8

6.0.0

22 January 2019

  • Initial refactoring to a reorganizing FIFO behavior 525e740
  • Updating benchmark e6e35df
  • Keeping set() DRY f13067c

5.1.4

13 January 2019

  • Fixing duplicate banner in minified files f8b25e8

5.1.3

13 January 2019

  • Version bump for npmjs issue aa6115b

5.1.2

13 January 2019

  • Missed changing calls to this.remove() 37ad9b8

5.1.1

13 January 2019

  • Removing unneeded ops from conditional statements 785f03b

5.1.0

13 January 2019

  • Swapping siguratures of delete() & remove() and adding keys() to get an API closer to a Map (leaving length vs size for now) b347c8e
  • Updating travis-ci.org config to target current unstable & supported/functional stables c0d0fb2

5.0.7

13 January 2019

  • Lower engine requirements to node 6+ #18
  • Version bump to release engine requirement change, updating README & LICENSE copyright years eb5d9fe
  • Updating README c5c362d

5.0.6

31 December 2018

  • Updating README, fixes #17 #17
  • Updating npm ignore file c8c5ab7
  • Version bump to release README changes c515ceb
  • Updating README 7b66c2e

5.0.4

20 December 2018

  • Reverting attribute name change to keep it aligned with common doubly linked list implementations 9302ce1

5.0.3

13 December 2018

  • Removing an unneeded conditional statement & assignment in update path of set() 744b6b9

5.0.2

12 December 2018

  • Fixing assignment of right for of old left 157a61a

5.0.1

12 December 2018

  • Renaming previous to left & next to right for easier left>right mental picture ce8c396
  • Adding tests to validate cache item shape 0ee3265
  • Fixing assigning left of previous first assignment of right from an update in set() 10e4f25

5.0.0

9 December 2018

  • Initial refactor to remove notify functionality 9576b00
  • Reducing code 31bc3eb
  • Fixing call to set(), reducing get(), fixing signature of delete() e1a2032

4.0.6

8 December 2018

  • Fixing assignment of last & adding test 12d7d06

4.0.5

7 December 2018

  • Refactoring set() to avoid ops & fix an assignment 8b6719a

4.0.4

6 December 2018

  • Refactoring set() to not call link() on update 'cause it kills performance hard 42536c7

4.0.3

6 December 2018

  • Fixing relational assignments, fixes #16 #16
  • Prep to fix the other side of the link list c790d38

4.0.2

5 December 2018

  • Fixing pointer drift via set() & keeping it DRY 8f18b83

4.0.1

5 December 2018

  • Fixing mis-assignment of this.last from remove() 6d72db2

4.0.0

5 December 2018

  • Undoing API change as it's breaking things 1a0c3b2

3.0.7

5 December 2018

  • Undoing API change as it's breaking things 5378fdb

3.0.6

5 December 2018

  • Moving reset() into lexical scope & calling from constructor() & clear(), fixing / simplifying remove(), fixes #7 #7
  • Version bump d646940
  • Updating test to validate there is only 1 null next & previous within cache items cd1d926

3.0.5

30 November 2018

  • Fixing a long standing reference error of a pointer being circular ref (key === previous && key === next) 4f2fae5

3.0.4

27 November 2018

  • Fixing factory signature drift 40ea57b

3.0.3

26 November 2018

  • Refactoring remove() to have a third parameter which is called from evict() to minimize lookup 5862111

3.0.2

26 November 2018

  • Reverting change get() such that it calls set(), refactoring set() to add a forth bypass parameter to avoid a call to has() (original goal i think, been too many now), fixes #15 - revisit later to minimize ops properly #15

3.0.1

24 November 2018

  • Fixing a flawed conditional which a modified test helped hide e67d2df

3.0.0

24 November 2018

  • Refactor #14
  • Initial refactoring to have a singular ttl property & no timers 3fc4311
  • Returning state logic, updating test 25088eb
  • Verbose statements, fixing remove() by moving a notify() into a conditional statement when a key is valid, adding benchmark.js for dev purposes c02f7a8

2.0.0

21 November 2018

  • Dropping transpire, major version bump 7a3c9a6

1.6.4

21 November 2018

  • Fixing set() such that it calls evict() 6e35d86
  • Version bump 64e8802

1.6.3

20 November 2018

  • Removing a conditional statement from remove() f321070

1.6.2

20 November 2018

  • Changing the signature of remove(), fixes #13 #13
  • Updating dependencies 1420af2

1.6.1

24 May 2018

  • Fixing leaks due to rushing; changing signature of clearTimer() to accept a second arg, fixing remove() by conditionally clearing the expires timer for a record, fixing reset() by clearing expires, fixing set() to only call setExpires() if enabled & key is new bbbfacb

1.6.0

23 May 2018

  • Creating expire property to remove items regardless of last accessed (ttl), fixes #11 #11

1.5.2

28 March 2018

  • Refactoring remove() to avoid an assignment if not required fb174d7
  • Updating CI config cd8da34

1.5.1

25 March 2018

  • Swapping null for '' as an interim fix for an erroneous null value which collides with remove() - lack of time / this'll solve it for now; no negative impact on bench-lru results df0a745
  • Build artifacts 8708506
  • Updating copyright year, minor tweak to a test 22b0fd5

1.5.0

28 December 2017

  • Adding ttl property to expire stale items 31c832f

1.4.13

13 November 2017

1.4.12

12 November 2017

  • Fixing a null reference error #10
  • Blocking an erroneous null assignment, fixes #8 #8
  • Updating tests & adding one that deletes the first item in the cache creating a null reference 3e17016
  • Version bump to release c19d67a
  • Updating travis-ci.org configuration 35ea0c6

1.4.11

6 November 2017

  • Reverting Reflect.ownKeys() to Object.keys() because it doesn't need symbols in the enumeration cf6eabf
  • building 6a67f1c

1.4.10

9 October 2017

  • Removing loader script, fixes #6 #6
  • Updating dev dependencies, adding npm lock file 05dff7f
  • Creating reset() & wiring it into clear() and constructor() 9764b4f
  • Updating lock file a3da95d

1.4.9

13 May 2017

  • Correcting the setting of this.first & this.last, updating test, fixes #7 #7
  • Fixing a potential reference error, fixes #7 #7
  • Adding tests for issue #5 41f3d8f

1.4.8

11 April 2017

  • Fixing a reference loop when cache holds 2 items, fixes #5 #5
  • Fixing a reference error, fixes #4 #4
  • Partially fixing remove() by insuring key variable is a string, added tests (WIP) f53da2f

1.4.7

10 February 2017

1.4.6

10 February 2017

1.4.5

10 February 2017

  • Fixing a potential reference error f45ec73

1.4.4

10 February 2017

1.4.3

10 February 2017

  • Changing the signature of remove() to avoid edge case creation bb88a78
  • Adding some tests double checking deleting things that don't exist won''t be an issue e208b76

1.4.2

23 January 2017

  • Fixing a potential reference error a429da6

1.4.1

6 January 2017

  • Refactoring set() to be faster for updating values, updating delete() arguments to match remove() dd6a223

1.4.0

3 January 2017

  • Creating cache.clear(), updating README 5b89f46
  • Updating the return of clear(), updating .gitignore 0e565ec
  • Updating copyrights d8e6bbc

1.3.3

20 November 2016

  • Updating package.json to use index.js 480d61a

1.3.2

20 November 2016

1.3.1

19 November 2016

  • Adding update() to receive state from onchange() 05ffd08

1.3.0

19 November 2016

  • Creating this.notify & this.onchange(eventName, serializedCache), updating eslint rules 2b2880f
  • Adding a bower config 7202699
  • Updating README 09b61a1

1.1.0

24 January 2016

  • Add has and delete methods so that it's compatible with lodash's memoize function #1
  • Updating to ES6 syntax & babel transpile, removing /docs as it will not be generated now f75b2eb
  • rebuild 5e09785
  • Add has and delete methods so that it implements the parts of the Map method interface that make it compatible with lodash's memoize method. Add corresponding docs and tests. 6fa548e

1.0.2

26 August 2013

  • Minor tweak to code structure, added docs 5f000f8

1.0.1

28 July 2013

1.0.0

26 July 2013