CHANGES 4.5 KB

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