| 1 |
-- For new changelog see CHANGELOG.md |
| 2 |
|
| 3 |
v0.4.4 -- 2017.03.15 |
| 4 |
* Expose _get and _has methods. It provides temporary means for better cache inspection until |
| 5 |
v1 is delivered |
| 6 |
|
| 7 |
v0.4.3 -- 2017.02.20 |
| 8 |
* Fix normalization resolver, so it validates already normalized resolvers (reported at #70) |
| 9 |
|
| 10 |
v0.4.2 -- 2017.02.17 |
| 11 |
* Guard proper promise resolution in promise mode |
| 12 |
* Improve documentation |
| 13 |
* Improve npm scripts configuration |
| 14 |
* Improve CI configuration |
| 15 |
|
| 16 |
v0.4.1 -- 2016.07.13 |
| 17 |
* Fix promise mode to not use `then` and `finally` pair. Thanks @Kovensky |
| 18 |
* Add 'done' mode to 'promise' mode (so now callbacks can be registered through `done` but no |
| 19 |
`finally` event if it's implemented) |
| 20 |
|
| 21 |
v0.4.0 -- 2016.07.07 |
| 22 |
* Introduce 'promise' mode |
| 23 |
* Change signature of internal events for 'async' case |
| 24 |
* Document 'normalizer' option |
| 25 |
|
| 26 |
v0.3.10 -- 2016.04.21 |
| 27 |
* Fix resolvers bug (#12) |
| 28 |
* Fix arguments support for weak mode |
| 29 |
* Update repository address after rename |
| 30 |
|
| 31 |
v0.3.9 -- 2015.08.04 |
| 32 |
* Update dependencies |
| 33 |
* Improve documentation |
| 34 |
* FIx spelling of LICENSE |
| 35 |
|
| 36 |
v0.3.8 -- 2014.10.08 |
| 37 |
* Introduce WeakMap based `weak` mode |
| 38 |
|
| 39 |
v0.3.7 -- 2014.08.14 |
| 40 |
* Fix prefetch support for asynchronous functions (#19) |
| 41 |
* Configure lint scripts |
| 42 |
|
| 43 |
v0.3.6 -- 2014.07.28 |
| 44 |
* Fix race condition issue related to clear/delete calls and returning id's (#18) |
| 45 |
* Fix maxAge major cache handling issue (on timeout instead of individual record whole cache was |
| 46 |
cleared) |
| 47 |
|
| 48 |
v0.3.5 -- 2014.07.07 |
| 49 |
* Fix internal id genaration, for primitive, length = 1 case. |
| 50 |
Ids were not serialized to strings, and that caused issues with other |
| 51 |
internal logiv, which e.g. treated `null` case specifically. |
| 52 |
Fixes #15 (Thanks @isaacg for reporting) |
| 53 |
|
| 54 |
v0.3.4 -- 2014.06.22 |
| 55 |
* Fix async handling in case of clear between two async calls |
| 56 |
(assurance of unique cache ids solves that). Fixes #13 |
| 57 |
|
| 58 |
v0.3.3 -- 2014.05.12 |
| 59 |
* Fix profiler special property definition |
| 60 |
|
| 61 |
v0.3.2 -- 2014.05.01 |
| 62 |
* Provide no-arguments memoization out of a box |
| 63 |
(no need to provide normalizer to `memoizee/plain`) |
| 64 |
|
| 65 |
v0.3.1 -- 2014.04.27 |
| 66 |
* Update package.json to use latest 'tad' engine (fixes tests evaluation) |
| 67 |
|
| 68 |
v0.3.0 -- 2014.04.27 |
| 69 |
Major reorganization and partial refactoring |
| 70 |
* Move out main modules from lib folder |
| 71 |
* Introduce normalizer based memoization. Primitive and regular handlers were converted into |
| 72 |
dedicated normalizers (located in lib/normalizers folder). Custom normalizers can be provided at |
| 73 |
run time via `normalizer` option. |
| 74 |
* Provide 'plain' module which does not import (require) any extensions or normalizers. Thanks to |
| 75 |
that it's lighter for e.g. client-side bundle. Any extensions that are expected to be used should |
| 76 |
be required upfront, normalizers should be provided via `normalizer` option. |
| 77 |
* Rename `memoized.clear` into `memoized.delete`, and `memoized.clearAll` into `memoized.clear` |
| 78 |
* Rename `memoized.clearRef` into `memoized.deleteRef` (applies to 'refCounter' option) |
| 79 |
* Remove 'method' option. Instead 'methods' and 'methods-plan' modules are provided which generate |
| 80 |
descriptors for lazy created memoized methods. |
| 81 |
* 'profile' is no longer an extension. It's provided as dedicated module. |
| 82 |
* Clean up logic for `async` handling |
| 83 |
* Take out 'max' extension's LRU logic into external `lru-queue` package. |
| 84 |
See https://github.com/medikoo/lru-queue |
| 85 |
* Remove possibility to access original arguments when resolvers are used |
| 86 |
* Assure expected length of memoized functions |
| 87 |
* Remove Makefile (it's environment agnostic package) |
| 88 |
|
| 89 |
v0.2.6 -- 2013.10.08 |
| 90 |
* Fix internal events propagation when handling async calls that |
| 91 |
resolve with errors. `asyncpurge` was emitted for values that had no |
| 92 |
`asyncinit` emitted. Issue #9 |
| 93 |
|
| 94 |
v0.2.5 -- 2013.06.21 |
| 95 |
* Fix primitive handling for dynamic arguments length |
| 96 |
|
| 97 |
v0.2.4 -- 2013.03.23 |
| 98 |
* Throw on circular invocations, they cannot be memoized as intended. |
| 99 |
|
| 100 |
v0.2.3 -- 2012.10.04 |
| 101 |
* Fixed serious bug related to not properly cleared cache when working in |
| 102 |
regular mode |
| 103 |
|
| 104 |
v0.2.2 -- 2012.10.03 |
| 105 |
* preFetch functionality for maxAge variant |
| 106 |
* Prevent memoization of already memoized functions |
| 107 |
|
| 108 |
v0.2.1 -- 2012.09.21 |
| 109 |
* Fix missing global reference in method option logic |
| 110 |
* Fix variable visibility in async option logic |
| 111 |
* Lint cleanup |
| 112 |
|
| 113 |
v0.2.0 -- 2012.09.21 |
| 114 |
* Modularization and general algorithm cleanup |
| 115 |
* Cache is limited (max option) using LRU instead of FIFO algorithm |
| 116 |
* Improved async mode, and its handling by other options |
| 117 |
|
| 118 |
v0.1.1 -- 2012.09.19 |
| 119 |
* Fix dispose invocations for no arguments call |
| 120 |
* Small documentation improvements |
| 121 |
|
| 122 |
v0.1.0 -- 2012.09.18 |
| 123 |
* Initial. Derived from es5-ext package and added `async`, `maxAge`, |
| 124 |
`refCounter`, `max` and `dispose` options. |