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.
489 lines
26 KiB
489 lines
26 KiB
### Changelog
|
|
|
|
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
|
|
|
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
|
#### [7.0.6](https://github.com/avoidwork/tiny-lru/compare/7.0.5...7.0.6)
|
|
|
|
> 6 June 2020
|
|
|
|
- Updating CHANGELOG.md [`42dc1ba`](https://github.com/avoidwork/tiny-lru/commit/42dc1bab98c2f7a3409e33b6204e62082a7e4636)
|
|
- Removing prototype from `this.items{}` [`1ec0ff8`](https://github.com/avoidwork/tiny-lru/commit/1ec0ff8183fb719c1061503489f7352672852791)
|
|
|
|
#### [7.0.5](https://github.com/avoidwork/tiny-lru/compare/7.0.4...7.0.5)
|
|
|
|
> 6 June 2020
|
|
|
|
- Re-fixing #37 [`f4f372b`](https://github.com/avoidwork/tiny-lru/commit/f4f372b6627e8901c70de6d5975fa7448e03fbc7)
|
|
|
|
#### [7.0.4](https://github.com/avoidwork/tiny-lru/compare/7.0.3...7.0.4)
|
|
|
|
> 29 May 2020
|
|
|
|
- Revert "Fixing `set()` bug by assigning `expiry` in all cases, adding test, fixes #36" [`#36`](https://github.com/avoidwork/tiny-lru/issues/36)
|
|
- Updating CHANGELOG.md [`b879ea4`](https://github.com/avoidwork/tiny-lru/commit/b879ea48f631f6083bf7a3251083c9c0e2b971c8)
|
|
- Reverting 7.0.3 due to possibility of items staying in cache forever [`65b9270`](https://github.com/avoidwork/tiny-lru/commit/65b92708b641edd5b8011186739c91007f1d6f0d)
|
|
|
|
#### [7.0.3](https://github.com/avoidwork/tiny-lru/compare/7.0.2...7.0.3)
|
|
|
|
> 29 May 2020
|
|
|
|
- Moved to using rollup directly instead of tslib-cli [`#38`](https://github.com/avoidwork/tiny-lru/pull/38)
|
|
- Bump acorn from 5.7.3 to 5.7.4 [`#36`](https://github.com/avoidwork/tiny-lru/pull/36)
|
|
- Add `undefined` as possible return type from `get` in TS types [`#34`](https://github.com/avoidwork/tiny-lru/pull/34)
|
|
- Fixing `set()` bug by assigning `expiry` in all cases, adding test, fixes #37 [`#37`](https://github.com/avoidwork/tiny-lru/issues/37)
|
|
- Using `auto-changelog` to generate a formatted changelog [`d099c3f`](https://github.com/avoidwork/tiny-lru/commit/d099c3fc4e6187f8b8b9f5a23dd2d682a7ef16e1)
|
|
- Updating dependencies [`99ec4ca`](https://github.com/avoidwork/tiny-lru/commit/99ec4ca1975232e9ae2d0924efefdf6790f1388c)
|
|
- Updating `changelog` script to include merges, generating new CHANGELOG [`0cc846c`](https://github.com/avoidwork/tiny-lru/commit/0cc846ccae994c6f45fec9c7ecb695f43c61abd2)
|
|
|
|
#### [7.0.2](https://github.com/avoidwork/tiny-lru/compare/7.0.1...7.0.2)
|
|
|
|
> 31 October 2019
|
|
|
|
- Adds factory function to typings [`#33`](https://github.com/avoidwork/tiny-lru/pull/33)
|
|
- Revert "fixes #30: auto generate type definitions from source" [`#32`](https://github.com/avoidwork/tiny-lru/pull/32)
|
|
- fixes #30: auto generate type definitions from source [`#31`](https://github.com/avoidwork/tiny-lru/pull/31)
|
|
- Create FUNDING.yml [`#29`](https://github.com/avoidwork/tiny-lru/pull/29)
|
|
- Merge pull request #32 from avoidwork/revert-31-ts-port [`#30`](https://github.com/avoidwork/tiny-lru/issues/30)
|
|
- Revert "fixes #30: auto generate type definitions from source" [`#30`](https://github.com/avoidwork/tiny-lru/issues/30)
|
|
- Merge pull request #31 from osdevisnot/ts-port [`#30`](https://github.com/avoidwork/tiny-lru/issues/30)
|
|
- auto generate type definitions [`6321fa8`](https://github.com/avoidwork/tiny-lru/commit/6321fa8ca0c198fa052316bcaebb63526f13f933)
|
|
- update dev dependencies [`0386635`](https://github.com/avoidwork/tiny-lru/commit/0386635c586e615dd629093571be6ca4fc9dd296)
|
|
- Version bump to release new type definition [`1cf5b1d`](https://github.com/avoidwork/tiny-lru/commit/1cf5b1ddbb183fa0a1b9b4f6276041d8f198435b)
|
|
|
|
#### [7.0.1](https://github.com/avoidwork/tiny-lru/compare/7.0.0...7.0.1)
|
|
|
|
> 8 October 2019
|
|
|
|
- Modernization Niceties [`#28`](https://github.com/avoidwork/tiny-lru/pull/28)
|
|
- Creating `changelog` npm script & `CHANGELOG` output [`f175497`](https://github.com/avoidwork/tiny-lru/commit/f17549768e4bbc19b9d452c1689505af2f180792)
|
|
- update tslib-cli - avoids warning during build [`ab1d29f`](https://github.com/avoidwork/tiny-lru/commit/ab1d29fb579619f260a0ce4d44a9cb033637fb54)
|
|
- Version bump [`1890567`](https://github.com/avoidwork/tiny-lru/commit/18905670c4cef9591c16d8508349c43d8abe341b)
|
|
|
|
### [7.0.0](https://github.com/avoidwork/tiny-lru/compare/6.1.0...7.0.0)
|
|
|
|
> 27 September 2019
|
|
|
|
- Revamp Build Infra for tiny-lru [`#27`](https://github.com/avoidwork/tiny-lru/pull/27)
|
|
- start using new build tool [`fc614a3`](https://github.com/avoidwork/tiny-lru/commit/fc614a3cc169b8743119d94e9cc2e2f1dbf7c133)
|
|
- Version bump to release modernization effort [`0672370`](https://github.com/avoidwork/tiny-lru/commit/0672370389a59722e8d28aa93b94c288e4a76556)
|
|
- remove extraneous files from lib [`d35c2cb`](https://github.com/avoidwork/tiny-lru/commit/d35c2cbcbff34a7201971acfde0dfbb51edc1aeb)
|
|
|
|
#### [6.1.0](https://github.com/avoidwork/tiny-lru/compare/6.0.1...6.1.0)
|
|
|
|
> 19 September 2019
|
|
|
|
- Add typescript signature [`#26`](https://github.com/avoidwork/tiny-lru/pull/26)
|
|
- Bump mixin-deep from 1.3.1 to 1.3.2 [`#24`](https://github.com/avoidwork/tiny-lru/pull/24)
|
|
- Bump eslint-utils from 1.3.1 to 1.4.2 [`#23`](https://github.com/avoidwork/tiny-lru/pull/23)
|
|
- Bump lodash from 4.17.11 to 4.17.14 [`#22`](https://github.com/avoidwork/tiny-lru/pull/22)
|
|
- Version bump to release #26, updating dependencies [`0814a7f`](https://github.com/avoidwork/tiny-lru/commit/0814a7fc506840ff6fabd5efed548fdeefc5225a)
|
|
- ES6 module [`d84aead`](https://github.com/avoidwork/tiny-lru/commit/d84aead76b7724fe99e79e5523b1aec6351689fa)
|
|
|
|
#### [6.0.1](https://github.com/avoidwork/tiny-lru/compare/6.0.0...6.0.1)
|
|
|
|
> 30 January 2019
|
|
|
|
- Add es5 output compiled with babel-preset-env [`#20`](https://github.com/avoidwork/tiny-lru/pull/20)
|
|
- Rebuilding so version tag is updated everywhere [`b230fc8`](https://github.com/avoidwork/tiny-lru/commit/b230fc8e52baf81a5fbb371a76e079e45c3702fd)
|
|
|
|
### [6.0.0](https://github.com/avoidwork/tiny-lru/compare/5.1.4...6.0.0)
|
|
|
|
> 22 January 2019
|
|
|
|
- Initial refactoring to a reorganizing FIFO behavior [`525e740`](https://github.com/avoidwork/tiny-lru/commit/525e7408872c0f881a42183aa3186faaa814e3f3)
|
|
- Updating benchmark [`e6e35df`](https://github.com/avoidwork/tiny-lru/commit/e6e35df17e86251443c636a8f858dfd37592a8b4)
|
|
- Keeping `set()` DRY [`f13067c`](https://github.com/avoidwork/tiny-lru/commit/f13067cea18f9643fcfa5c6fec3a6ed9d81a053b)
|
|
|
|
#### [5.1.4](https://github.com/avoidwork/tiny-lru/compare/5.1.3...5.1.4)
|
|
|
|
> 13 January 2019
|
|
|
|
- Fixing duplicate banner in minified files [`f8b25e8`](https://github.com/avoidwork/tiny-lru/commit/f8b25e865aba0f30afdf9e31ece885b7a0c4a683)
|
|
|
|
#### [5.1.3](https://github.com/avoidwork/tiny-lru/compare/5.1.2...5.1.3)
|
|
|
|
> 13 January 2019
|
|
|
|
- Version bump for npmjs issue [`aa6115b`](https://github.com/avoidwork/tiny-lru/commit/aa6115bc41312144850e0f16bdb32e038133ca8c)
|
|
|
|
#### [5.1.2](https://github.com/avoidwork/tiny-lru/compare/5.1.1...5.1.2)
|
|
|
|
> 13 January 2019
|
|
|
|
- Missed changing calls to `this.remove()` [`37ad9b8`](https://github.com/avoidwork/tiny-lru/commit/37ad9b8f09e1e987fa719563fb359f4977f09359)
|
|
|
|
#### [5.1.1](https://github.com/avoidwork/tiny-lru/compare/5.1.0...5.1.1)
|
|
|
|
> 13 January 2019
|
|
|
|
- Removing unneeded ops from conditional statements [`785f03b`](https://github.com/avoidwork/tiny-lru/commit/785f03bcb87cd77b8cb7cb18c1ab440d975e2263)
|
|
|
|
#### [5.1.0](https://github.com/avoidwork/tiny-lru/compare/5.0.7...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`](https://github.com/avoidwork/tiny-lru/commit/b347c8ecccdb742a67a2e3a1e1ac715023405166)
|
|
- Updating travis-ci.org config to target current unstable & supported/functional stables [`c0d0fb2`](https://github.com/avoidwork/tiny-lru/commit/c0d0fb288a81786e7a333163c4d3d691969435b4)
|
|
|
|
#### [5.0.7](https://github.com/avoidwork/tiny-lru/compare/5.0.6...5.0.7)
|
|
|
|
> 13 January 2019
|
|
|
|
- Lower engine requirements to node 6+ [`#18`](https://github.com/avoidwork/tiny-lru/pull/18)
|
|
- Version bump to release engine requirement change, updating README & LICENSE copyright years [`eb5d9fe`](https://github.com/avoidwork/tiny-lru/commit/eb5d9fec243a1eef29f18de90af67398b7ba3bf0)
|
|
- Updating README [`c5c362d`](https://github.com/avoidwork/tiny-lru/commit/c5c362de9ca6d7e7e2ff00ac31e5c62dd8213e7b)
|
|
|
|
#### [5.0.6](https://github.com/avoidwork/tiny-lru/compare/5.0.4...5.0.6)
|
|
|
|
> 31 December 2018
|
|
|
|
- Updating README, fixes #17 [`#17`](https://github.com/avoidwork/tiny-lru/issues/17)
|
|
- Updating npm ignore file [`c8c5ab7`](https://github.com/avoidwork/tiny-lru/commit/c8c5ab7442fd9e30553a66af9084ae337501d910)
|
|
- Version bump to release README changes [`c515ceb`](https://github.com/avoidwork/tiny-lru/commit/c515cebeb5ff706b073a60f1f57a1513db514ea5)
|
|
- Updating README [`7b66c2e`](https://github.com/avoidwork/tiny-lru/commit/7b66c2eb0f96d3fd7ec1a703d8d58e496855f9ce)
|
|
|
|
#### [5.0.4](https://github.com/avoidwork/tiny-lru/compare/5.0.3...5.0.4)
|
|
|
|
> 20 December 2018
|
|
|
|
- Reverting attribute name change to keep it aligned with common doubly linked list implementations [`9302ce1`](https://github.com/avoidwork/tiny-lru/commit/9302ce15ceeb7d64e185d93f6fa57b0b2fc19c38)
|
|
|
|
#### [5.0.3](https://github.com/avoidwork/tiny-lru/compare/5.0.2...5.0.3)
|
|
|
|
> 13 December 2018
|
|
|
|
- Removing an unneeded conditional statement & assignment in update path of `set()` [`744b6b9`](https://github.com/avoidwork/tiny-lru/commit/744b6b9be7fce6c3e53a48e5b9912c7520a1e315)
|
|
|
|
#### [5.0.2](https://github.com/avoidwork/tiny-lru/compare/5.0.1...5.0.2)
|
|
|
|
> 12 December 2018
|
|
|
|
- Fixing assignment of `right` for of old `left` [`157a61a`](https://github.com/avoidwork/tiny-lru/commit/157a61add9419957d6fa86700eb0893495922a0b)
|
|
|
|
#### [5.0.1](https://github.com/avoidwork/tiny-lru/compare/5.0.0...5.0.1)
|
|
|
|
> 12 December 2018
|
|
|
|
- Renaming `previous` to `left` & `next` to `right` for easier left>right mental picture [`ce8c396`](https://github.com/avoidwork/tiny-lru/commit/ce8c396e699d6b1b41de735ed261781ebcfde64d)
|
|
- Adding tests to validate cache item shape [`0ee3265`](https://github.com/avoidwork/tiny-lru/commit/0ee3265c2b148f68e42fffc4987c2757ad83abf3)
|
|
- Fixing assigning `left` of previous `first` assignment of `right` from an update in `set()` [`10e4f25`](https://github.com/avoidwork/tiny-lru/commit/10e4f254f68177fa6d064413c4055578ff19f27d)
|
|
|
|
### [5.0.0](https://github.com/avoidwork/tiny-lru/compare/4.0.6...5.0.0)
|
|
|
|
> 9 December 2018
|
|
|
|
- Initial refactor to remove `notify` functionality [`9576b00`](https://github.com/avoidwork/tiny-lru/commit/9576b00e3981336654a36a93e6feeec58aedbd41)
|
|
- Reducing code [`31bc3eb`](https://github.com/avoidwork/tiny-lru/commit/31bc3eb40cafd6375dbef557fa71e1fb69957ea2)
|
|
- Fixing call to `set()`, reducing `get()`, fixing signature of `delete()` [`e1a2032`](https://github.com/avoidwork/tiny-lru/commit/e1a20325feaf53e0ce75ecdb0599a8b1299f403f)
|
|
|
|
#### [4.0.6](https://github.com/avoidwork/tiny-lru/compare/4.0.5...4.0.6)
|
|
|
|
> 8 December 2018
|
|
|
|
- Fixing assignment of `last` & adding test [`12d7d06`](https://github.com/avoidwork/tiny-lru/commit/12d7d06112e6d23872dc4e87a2c99761a4664add)
|
|
|
|
#### [4.0.5](https://github.com/avoidwork/tiny-lru/compare/4.0.4...4.0.5)
|
|
|
|
> 7 December 2018
|
|
|
|
- Refactoring `set()` to avoid ops & fix an assignment [`8b6719a`](https://github.com/avoidwork/tiny-lru/commit/8b6719ae77807e7f78886b6ca2565e2a019d454b)
|
|
|
|
#### [4.0.4](https://github.com/avoidwork/tiny-lru/compare/4.0.3...4.0.4)
|
|
|
|
> 6 December 2018
|
|
|
|
- Refactoring `set()` to not call `link()` on update 'cause it kills performance hard [`42536c7`](https://github.com/avoidwork/tiny-lru/commit/42536c76b215c531926b4b2b0a95bd2e3124b93a)
|
|
|
|
#### [4.0.3](https://github.com/avoidwork/tiny-lru/compare/4.0.2...4.0.3)
|
|
|
|
> 6 December 2018
|
|
|
|
- Fixing relational assignments, fixes #16 [`#16`](https://github.com/avoidwork/tiny-lru/issues/16)
|
|
- Prep to fix the other side of the link list [`c790d38`](https://github.com/avoidwork/tiny-lru/commit/c790d381249b06e83ab869fdc3fbf54be5a2ca79)
|
|
|
|
#### [4.0.2](https://github.com/avoidwork/tiny-lru/compare/4.0.1...4.0.2)
|
|
|
|
> 5 December 2018
|
|
|
|
- Fixing pointer drift via `set()` & keeping it `DRY` [`8f18b83`](https://github.com/avoidwork/tiny-lru/commit/8f18b830a178b9ef1d0ac63789002ac43b9c65cd)
|
|
|
|
#### [4.0.1](https://github.com/avoidwork/tiny-lru/compare/4.0.0...4.0.1)
|
|
|
|
> 5 December 2018
|
|
|
|
- Fixing mis-assignment of `this.last` from `remove()` [`6d72db2`](https://github.com/avoidwork/tiny-lru/commit/6d72db21b1f7059141523e2c90274eb6465c4a15)
|
|
|
|
### [4.0.0](https://github.com/avoidwork/tiny-lru/compare/3.0.7...4.0.0)
|
|
|
|
> 5 December 2018
|
|
|
|
- Undoing API change as it's breaking things [`1a0c3b2`](https://github.com/avoidwork/tiny-lru/commit/1a0c3b293713e137c850ed0657e79ccaa047fe74)
|
|
|
|
#### [3.0.7](https://github.com/avoidwork/tiny-lru/compare/3.0.6...3.0.7)
|
|
|
|
> 5 December 2018
|
|
|
|
- Undoing API change as it's breaking things [`5378fdb`](https://github.com/avoidwork/tiny-lru/commit/5378fdbccc7f129cc55d8212954ef64a491948ac)
|
|
|
|
#### [3.0.6](https://github.com/avoidwork/tiny-lru/compare/3.0.5...3.0.6)
|
|
|
|
> 5 December 2018
|
|
|
|
- Moving `reset()` into lexical scope & calling from `constructor()` & `clear()`, fixing / simplifying `remove()`, fixes #7 [`#7`](https://github.com/avoidwork/tiny-lru/issues/7)
|
|
- Version bump [`d646940`](https://github.com/avoidwork/tiny-lru/commit/d6469403ca1adc093a979e5235795750b6b685de)
|
|
- Updating test to validate there is only 1 null `next` & `previous` within cache items [`cd1d926`](https://github.com/avoidwork/tiny-lru/commit/cd1d9261724ab0a9cda4d42840f2a9c7f8b1416c)
|
|
|
|
#### [3.0.5](https://github.com/avoidwork/tiny-lru/compare/3.0.4...3.0.5)
|
|
|
|
> 30 November 2018
|
|
|
|
- Fixing a long standing reference error of a pointer being circular ref (key === previous && key === next) [`4f2fae5`](https://github.com/avoidwork/tiny-lru/commit/4f2fae5a050b6383c0776b595f73f4978af8190b)
|
|
|
|
#### [3.0.4](https://github.com/avoidwork/tiny-lru/compare/3.0.3...3.0.4)
|
|
|
|
> 27 November 2018
|
|
|
|
- Fixing factory signature drift [`40ea57b`](https://github.com/avoidwork/tiny-lru/commit/40ea57bfb530726bac627aaeeb82a86e1b63bc44)
|
|
|
|
#### [3.0.3](https://github.com/avoidwork/tiny-lru/compare/3.0.2...3.0.3)
|
|
|
|
> 26 November 2018
|
|
|
|
- Refactoring `remove()` to have a third parameter which is called from `evict()` to minimize lookup [`5862111`](https://github.com/avoidwork/tiny-lru/commit/5862111460992685ea4a3fd9b9613eeabd9d3a12)
|
|
|
|
#### [3.0.2](https://github.com/avoidwork/tiny-lru/compare/3.0.1...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`](https://github.com/avoidwork/tiny-lru/issues/15)
|
|
|
|
#### [3.0.1](https://github.com/avoidwork/tiny-lru/compare/3.0.0...3.0.1)
|
|
|
|
> 24 November 2018
|
|
|
|
- Fixing a flawed conditional which a modified test helped hide [`e67d2df`](https://github.com/avoidwork/tiny-lru/commit/e67d2df775f672e0f220e092e218f063afab3527)
|
|
|
|
### [3.0.0](https://github.com/avoidwork/tiny-lru/compare/2.0.0...3.0.0)
|
|
|
|
> 24 November 2018
|
|
|
|
- Refactor [`#14`](https://github.com/avoidwork/tiny-lru/pull/14)
|
|
- Initial refactoring to have a singular `ttl` property & no timers [`3fc4311`](https://github.com/avoidwork/tiny-lru/commit/3fc4311fd492ab9e36c31519ebe2c89cde4c73e7)
|
|
- Returning state logic, updating test [`25088eb`](https://github.com/avoidwork/tiny-lru/commit/25088eb2bc58f820a9c78db43f18f11de06ff669)
|
|
- Verbose statements, fixing `remove()` by moving a `notify()` into a conditional statement when a key is valid, adding `benchmark.js` for dev purposes [`c02f7a8`](https://github.com/avoidwork/tiny-lru/commit/c02f7a8c9589552cf046434a3277f670a34ba3b3)
|
|
|
|
### [2.0.0](https://github.com/avoidwork/tiny-lru/compare/1.6.4...2.0.0)
|
|
|
|
> 21 November 2018
|
|
|
|
- Dropping transpire, major version bump [`7a3c9a6`](https://github.com/avoidwork/tiny-lru/commit/7a3c9a61947fae562e97a9bf71cd24cf25e7394e)
|
|
|
|
#### [1.6.4](https://github.com/avoidwork/tiny-lru/compare/1.6.3...1.6.4)
|
|
|
|
> 21 November 2018
|
|
|
|
- Fixing `set()` such that it calls `evict()` [`6e35d86`](https://github.com/avoidwork/tiny-lru/commit/6e35d86e9e1bdb4e423908a83945f5f389749e7c)
|
|
- Version bump [`64e8802`](https://github.com/avoidwork/tiny-lru/commit/64e8802fbe0ef90d422993decfd5f1b26e72a6c9)
|
|
|
|
#### [1.6.3](https://github.com/avoidwork/tiny-lru/compare/1.6.2...1.6.3)
|
|
|
|
> 20 November 2018
|
|
|
|
- Removing a conditional statement from `remove()` [`f321070`](https://github.com/avoidwork/tiny-lru/commit/f321070c7453b955e31d6a1ba914692ddb185bb7)
|
|
|
|
#### [1.6.2](https://github.com/avoidwork/tiny-lru/compare/1.6.1...1.6.2)
|
|
|
|
> 20 November 2018
|
|
|
|
- Changing the signature of `remove()`, fixes #13 [`#13`](https://github.com/avoidwork/tiny-lru/issues/13)
|
|
- Updating dependencies [`1420af2`](https://github.com/avoidwork/tiny-lru/commit/1420af2e46b11635b9cbf6fef86af33e39ac8ced)
|
|
|
|
#### [1.6.1](https://github.com/avoidwork/tiny-lru/compare/1.6.0...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`](https://github.com/avoidwork/tiny-lru/commit/bbbfacbef590f82b5f5221e0b1d1936e1196a8b5)
|
|
|
|
#### [1.6.0](https://github.com/avoidwork/tiny-lru/compare/1.5.2...1.6.0)
|
|
|
|
> 23 May 2018
|
|
|
|
- Creating `expire` property to remove items regardless of last accessed (ttl), fixes #11 [`#11`](https://github.com/avoidwork/tiny-lru/issues/11)
|
|
|
|
#### [1.5.2](https://github.com/avoidwork/tiny-lru/compare/1.5.1...1.5.2)
|
|
|
|
> 28 March 2018
|
|
|
|
- Refactoring `remove()` to avoid an assignment if not required [`fb174d7`](https://github.com/avoidwork/tiny-lru/commit/fb174d7c6b2f465f89419ee7d56c4fdbfa65ffed)
|
|
- Updating CI config [`cd8da34`](https://github.com/avoidwork/tiny-lru/commit/cd8da34d86b00ebfd4d4c2d2dfb0112644bc46ca)
|
|
|
|
#### [1.5.1](https://github.com/avoidwork/tiny-lru/compare/1.5.0...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`](https://github.com/avoidwork/tiny-lru/commit/df0a74582f451d25d477d2faa3b6f6cb0eb8f125)
|
|
- Build artifacts [`8708506`](https://github.com/avoidwork/tiny-lru/commit/870850665b6d360b88cb057c57619e16ad5749e2)
|
|
- Updating copyright year, minor tweak to a test [`22b0fd5`](https://github.com/avoidwork/tiny-lru/commit/22b0fd5ce784a68762d6890c0db2ed27f2fe70e5)
|
|
|
|
#### [1.5.0](https://github.com/avoidwork/tiny-lru/compare/1.4.13...1.5.0)
|
|
|
|
> 28 December 2017
|
|
|
|
- Adding `ttl` property to expire stale items [`31c832f`](https://github.com/avoidwork/tiny-lru/commit/31c832fa14525729553a2d795401bbbe127f2daf)
|
|
|
|
#### [1.4.13](https://github.com/avoidwork/tiny-lru/compare/1.4.12...1.4.13)
|
|
|
|
> 13 November 2017
|
|
|
|
- Simplifying an assignment (see https://github.com/avoidwork/tiny-lru/pull/10), version bump to release [`56488c1`](https://github.com/avoidwork/tiny-lru/commit/56488c102ae8c5f306ce38d679e4dcffdb738c25)
|
|
- Adding more tests to verify deleting the last item doesn't have the same issue as #8 [`957210d`](https://github.com/avoidwork/tiny-lru/commit/957210dda6aada9008ca7a44ecb5884592bbdca7)
|
|
|
|
#### [1.4.12](https://github.com/avoidwork/tiny-lru/compare/1.4.11...1.4.12)
|
|
|
|
> 12 November 2017
|
|
|
|
- Fixing a `null` reference error [`#10`](https://github.com/avoidwork/tiny-lru/pull/10)
|
|
- Blocking an erroneous `null` assignment, fixes #8 [`#8`](https://github.com/avoidwork/tiny-lru/issues/8)
|
|
- Updating tests & adding one that deletes the first item in the cache creating a `null` reference [`3e17016`](https://github.com/avoidwork/tiny-lru/commit/3e1701664879879ba5460d22d9f95b1b2dcc50c2)
|
|
- Version bump to release [`c19d67a`](https://github.com/avoidwork/tiny-lru/commit/c19d67a2e36566153772bcc32df040f9708c8db1)
|
|
- Updating travis-ci.org configuration [`35ea0c6`](https://github.com/avoidwork/tiny-lru/commit/35ea0c6e0814d3d81c2545498467276f9cb8fef8)
|
|
|
|
#### [1.4.11](https://github.com/avoidwork/tiny-lru/compare/1.4.10...1.4.11)
|
|
|
|
> 6 November 2017
|
|
|
|
- Reverting `Reflect.ownKeys()` to `Object.keys()` because it doesn't need symbols in the enumeration [`cf6eabf`](https://github.com/avoidwork/tiny-lru/commit/cf6eabf5f04e3c203c3c846e195d7c82aea64906)
|
|
- building [`6a67f1c`](https://github.com/avoidwork/tiny-lru/commit/6a67f1c7935af3ce4df33ac23e9227a4ac3cd7b9)
|
|
|
|
#### [1.4.10](https://github.com/avoidwork/tiny-lru/compare/1.4.9...1.4.10)
|
|
|
|
> 9 October 2017
|
|
|
|
- Removing loader script, fixes #6 [`#6`](https://github.com/avoidwork/tiny-lru/issues/6)
|
|
- Updating dev dependencies, adding npm lock file [`05dff7f`](https://github.com/avoidwork/tiny-lru/commit/05dff7fdc0e0d604f1a203ecea61411ec38fd3ec)
|
|
- Creating `reset()` & wiring it into `clear()` and `constructor()` [`9764b4f`](https://github.com/avoidwork/tiny-lru/commit/9764b4f727f5566173687681d0d8fd34c10a04ef)
|
|
- Updating lock file [`a3da95d`](https://github.com/avoidwork/tiny-lru/commit/a3da95d91e6a92f4c52da750522c62dc6b3c65c0)
|
|
|
|
#### [1.4.9](https://github.com/avoidwork/tiny-lru/compare/1.4.8...1.4.9)
|
|
|
|
> 13 May 2017
|
|
|
|
- Correcting the setting of `this.first` & `this.last`, updating test, fixes #7 [`#7`](https://github.com/avoidwork/tiny-lru/issues/7)
|
|
- Fixing a potential reference error, fixes #7 [`#7`](https://github.com/avoidwork/tiny-lru/issues/7)
|
|
- Adding tests for issue #5 [`41f3d8f`](https://github.com/avoidwork/tiny-lru/commit/41f3d8f7bcda5b140935bbd6be65e7f2a54531bf)
|
|
|
|
#### [1.4.8](https://github.com/avoidwork/tiny-lru/compare/1.4.7...1.4.8)
|
|
|
|
> 11 April 2017
|
|
|
|
- Fixing a reference loop when cache holds 2 items, fixes #5 [`#5`](https://github.com/avoidwork/tiny-lru/issues/5)
|
|
- Fixing a reference error, fixes #4 [`#4`](https://github.com/avoidwork/tiny-lru/issues/4)
|
|
- Partially fixing `remove()` by insuring `key` variable is a string, added tests (WIP) [`f53da2f`](https://github.com/avoidwork/tiny-lru/commit/f53da2fc224c86a732fe293ffc3a0e2ed613a245)
|
|
|
|
#### [1.4.7](https://github.com/avoidwork/tiny-lru/compare/1.4.6...1.4.7)
|
|
|
|
> 10 February 2017
|
|
|
|
- Holy deopt batman! [`3711e7a`](https://github.com/avoidwork/tiny-lru/commit/3711e7a9eb0d997df9e97bb19c092ce2f6295e87)
|
|
|
|
#### [1.4.6](https://github.com/avoidwork/tiny-lru/compare/1.4.5...1.4.6)
|
|
|
|
> 10 February 2017
|
|
|
|
- Webstorm @#$#@%@# [`ae4fe0a`](https://github.com/avoidwork/tiny-lru/commit/ae4fe0a321924d1922f3e48630fee498b91c3384)
|
|
|
|
#### [1.4.5](https://github.com/avoidwork/tiny-lru/compare/1.4.4...1.4.5)
|
|
|
|
> 10 February 2017
|
|
|
|
- Fixing a potential reference error [`f45ec73`](https://github.com/avoidwork/tiny-lru/commit/f45ec73452c54e7d22964c82b5f42248f66d046d)
|
|
|
|
#### [1.4.4](https://github.com/avoidwork/tiny-lru/compare/1.4.3...1.4.4)
|
|
|
|
> 10 February 2017
|
|
|
|
- Optimizing `evict()` [`e248b48`](https://github.com/avoidwork/tiny-lru/commit/e248b48fbd46c017cf7ea1bf98b2ed250d7a408c)
|
|
|
|
#### [1.4.3](https://github.com/avoidwork/tiny-lru/compare/1.4.2...1.4.3)
|
|
|
|
> 10 February 2017
|
|
|
|
- Changing the signature of `remove()` to avoid edge case creation [`bb88a78`](https://github.com/avoidwork/tiny-lru/commit/bb88a78366f1ae4af209025810e0409f77ff67dc)
|
|
- Adding some tests double checking deleting things that don't exist won''t be an issue [`e208b76`](https://github.com/avoidwork/tiny-lru/commit/e208b7601c1b31e59ebca94cd320ad8d1b40a067)
|
|
|
|
#### [1.4.2](https://github.com/avoidwork/tiny-lru/compare/1.4.1...1.4.2)
|
|
|
|
> 23 January 2017
|
|
|
|
- Fixing a potential reference error [`a429da6`](https://github.com/avoidwork/tiny-lru/commit/a429da64dd699d67f2c07252799714a66277c44b)
|
|
|
|
#### [1.4.1](https://github.com/avoidwork/tiny-lru/compare/1.4.0...1.4.1)
|
|
|
|
> 6 January 2017
|
|
|
|
- Refactoring `set()` to be faster for updating values, updating `delete()` arguments to match `remove()` [`dd6a223`](https://github.com/avoidwork/tiny-lru/commit/dd6a2230d814bab25845e23edba3e16b8f7bb0d0)
|
|
|
|
#### [1.4.0](https://github.com/avoidwork/tiny-lru/compare/1.3.3...1.4.0)
|
|
|
|
> 3 January 2017
|
|
|
|
- Creating `cache.clear()`, updating README [`5b89f46`](https://github.com/avoidwork/tiny-lru/commit/5b89f460899222220f56e1902173b27844119bb0)
|
|
- Updating the return of `clear()`, updating `.gitignore` [`0e565ec`](https://github.com/avoidwork/tiny-lru/commit/0e565ec85c09676c6193ef01bc24cc3ac79d3354)
|
|
- Updating copyrights [`d8e6bbc`](https://github.com/avoidwork/tiny-lru/commit/d8e6bbc439e1a0dbd369fd2b8523ab9d3dbd1a91)
|
|
|
|
#### [1.3.3](https://github.com/avoidwork/tiny-lru/compare/1.3.2...1.3.3)
|
|
|
|
> 20 November 2016
|
|
|
|
- Updating `package.json` to use `index.js` [`480d61a`](https://github.com/avoidwork/tiny-lru/commit/480d61a9bf9905f8dde425dbd2d23c2996820bff)
|
|
|
|
#### [1.3.2](https://github.com/avoidwork/tiny-lru/compare/1.3.1...1.3.2)
|
|
|
|
> 20 November 2016
|
|
|
|
- Fixing `update()` [`678a0ef`](https://github.com/avoidwork/tiny-lru/commit/678a0effc617398991949494f89503d912f5565e)
|
|
|
|
#### [1.3.1](https://github.com/avoidwork/tiny-lru/compare/1.3.0...1.3.1)
|
|
|
|
> 19 November 2016
|
|
|
|
- Adding `update()` to receive state from `onchange()` [`05ffd08`](https://github.com/avoidwork/tiny-lru/commit/05ffd08fdfa407857e597c29e66247e692eb6b08)
|
|
|
|
#### [1.3.0](https://github.com/avoidwork/tiny-lru/compare/1.1.0...1.3.0)
|
|
|
|
> 19 November 2016
|
|
|
|
- Creating `this.notify` & `this.onchange(eventName, serializedCache)`, updating eslint rules [`2b2880f`](https://github.com/avoidwork/tiny-lru/commit/2b2880f317a76b01100d7892167d7a5fecc1d9c6)
|
|
- Adding a bower config [`7202699`](https://github.com/avoidwork/tiny-lru/commit/72026998707458ae62eee7651f8f715402f148af)
|
|
- Updating README [`09b61a1`](https://github.com/avoidwork/tiny-lru/commit/09b61a13aa67cbf9f8080eefa1789ac04f9c94f8)
|
|
|
|
#### [1.1.0](https://github.com/avoidwork/tiny-lru/compare/1.0.2...1.1.0)
|
|
|
|
> 24 January 2016
|
|
|
|
- Add `has` and `delete` methods so that it's compatible with lodash's memoize function [`#1`](https://github.com/avoidwork/tiny-lru/pull/1)
|
|
- Updating to ES6 syntax & babel transpile, removing `/docs` as it will not be generated now [`f75b2eb`](https://github.com/avoidwork/tiny-lru/commit/f75b2eb8bdf0460a5fb4059370b256cc895cb5d9)
|
|
- rebuild [`5e09785`](https://github.com/avoidwork/tiny-lru/commit/5e097851efcaebf4ac419531d9b86df570a59ab2)
|
|
- 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`](https://github.com/avoidwork/tiny-lru/commit/6fa548e51d9900faed85eb2f4f04a597c33b07c7)
|
|
|
|
#### [1.0.2](https://github.com/avoidwork/tiny-lru/compare/1.0.1...1.0.2)
|
|
|
|
> 26 August 2013
|
|
|
|
- Minor tweak to code structure, added docs [`5f000f8`](https://github.com/avoidwork/tiny-lru/commit/5f000f86c7b360e928b3aedfe7abec50a391638f)
|
|
|
|
#### [1.0.1](https://github.com/avoidwork/tiny-lru/compare/1.0.0...1.0.1)
|
|
|
|
> 28 July 2013
|
|
|
|
- Fixing `set()` [`c61d864`](https://github.com/avoidwork/tiny-lru/commit/c61d86466f4a90bee94cde156da00cd9f15e0717)
|
|
|
|
#### 1.0.0
|
|
|
|
> 26 July 2013
|
|
|
|
- Initial commit of code [`0c64c8a`](https://github.com/avoidwork/tiny-lru/commit/0c64c8acb7b18bd565e3ac9d5b952620ecae4df0)
|
|
- Initial commit [`f65e333`](https://github.com/avoidwork/tiny-lru/commit/f65e3332bbd34e0de2f176e6d904e80b6b48fb4c)
|