Generated by auto-changelog
.
- Dependency updates
- feat: allow cache client to be loaded from lambda at call time (thanks @julianpoy)
- feat: add date parsing to cacheable decorators beyond just for the redis adapter to fix #1066
- Dependency updates
- Replace node
crypto
withblueimp-md5
for md5 hashing that supports browsers with Webpack 5 - Exported no-op strategies
- Added
enable()
anddisable()
methods to CacheManager to support globally enabling/disabling caching operations
- Dependency updates
- fix: peer deps issue (#917)
- Dependency updates
- fix: return early from error to prevent SET from being called (#909)
- Dependency updates
- Update ioredis adapter to support v5
- Update lru-cache adapter (major) to support v8
- Implemented propagating of other decorators metadata (thanks @SergeyMell)
- feat: Introduce isCachable for conditional caching (#887) (thanks @oschlegel)
- Dependency updates/clean up
- Added ability to skip cache clearing on update by explicitly passing
null
- Cleaned up usage of default strategies
- fix: #767 - handle null client
- feat: #808 - ioredis key scan on Redis Cluster
- Dependency updates
- update node-redis to support breaking change in import path (following same semver as them for this update)
- update adapter to support v5 of ioredis library
- feat: add propertyKey to StrategyContext (#651)
ad0e1b309374556c212c32224bf908506c9a3faf
- Dependency updates
- #570 - updating
@type-cacheable/redis-adapter
for compatibility withredis
v4+.3175720ec7d7e99ab5c427a77ea1aaf8c588dbf0
- Dependency updates
- fix: #638 Return date instance if date instance saved to cache
5bb34a88b4b1b30325a0866f4f6f62219b0fd5b4
- update LRUCacheAdapter to support
lru-cache
v7+e429d5ea6a9b597982f7505605077d36d7f5a028
- #527 - catching client errors
581070eed4cac7bc98a351be4b23475de17da1f8
- Dependency updates
- #479 - fix peer dependency issue
90a15ae124788e0dd2fcfa0e1797a3861ee902c4
- Dependency updates
- #444 - limit simultaneous method calls
51b2d016b2ef7717f4db099bbf2d2bcd2171662a
- Dependency updates
- #378 - Bypass cache clear when decorated method throws
10b623c403fbdbcb35a2d24b6296c1ced099f01b
- Dependency updates
- #327 - useAdapter should return adapter client for Cacheable
a6a00ab8cd0a4e6c6f5bbb5c4485f2ce967ccd7e
- Dependency updates
- #272 - making @type-cacheable/core a peerDep
295fb6ee95e84a81c5ac3217cf7a32018501538b
- #304 - fix lru ttl seconds -> ms
8f89ad0d4d5bbfb4d5918864b6782f3796250efe
- Enhancing debug logs
30a79f2809efb4dd1131c4097cd16af87d9c21cb
- Upgrade testing (#230)
185456f04437fcbf6de34df95fe086a7884fff47
Note: 8.0.2 was accidentally skipped for npm publishing.
- Upgrade testing
437d412f68ee81c6ed18392b770c551d2edd8d0d
- revert: Merge pull request #223 from dmeents/upgrade-testing to fix built package issues with typings missing
- feat: add lru-cache adapter
ae7bac287ce5d6e07d513e7d17a4a492c79b1b75
- Merge pull request #224 from joshuaslate/delete-hash (add ability to delete whole hash and use unlink instead of del in redis adapters when applicable as optimization)
020ba262ead76082ca4c9e3e541d46ecb1989785
- Merge pull request #223 from dmeents/upgrade-testing
eb584ec38bb5ace261d97d6eaf0c15f794d4bab8
Thank you @dmeents for your help with improving how tests are run.
- feat: [#214] - letting CacheUpdate use return value for cache key
3916dead6775778682f261b88658ace200c3c4d0
- feat: [#211] - adding CacheUpdate decorator
3d9d156104753e842d1d21f4378d5831210126c2
- feat: [#211] - adding support for array of cache keys for CacheClear decorator
d5b27f4d209545a7ded304ffd6538727d14d9206
Note: when migrating from 5 -> 6, if you're using redis, your cached values will be serialized and de-serialized in a different way. This could result in bad data being returned. Apologies for the inconvenience. It is recommended that you purge your cached values when updating.
- fix: BREAKING #202 - redis de(serialization)
34b3cdf4b46dacb61236e36c82bbadcc9a8a92f6
- fix: BREAKING #204 - redis scan using cursor
912b7499e7a47a6a51bf7a9f0c63d014edff5932
- feat: #198 - adding fallbackCache
912b7499e7a47a6a51bf7a9f0c63d014edff5932
- feat: Add builder for cache strategy [
66986415d9d4d96fad100588dd81468fc1f93766
](https://github.com/joshuaslate/type-cacheable/commit/66986415d9d4d96fad100588dd81468fc1f93766
- Implement custom cache strategy
e1895eb5eae894bdca22a1929cd16293f630493e
- Summary of 5.0.0: switching to a monorepo format with separate npm packages for each adapter to solve #110 and #180.
- Switching to monorepo format with multiple packages for adapters
c3bfe61
20 April 2020
- Trying to fix type declaration and cleaning up included package files
f690eaf
- Releasing v4.1.1
246cef0
- Releasing v4.1.2
46307e7
19 April 2020
- return an array of matching keys instead of an object
#165
- build(deps-dev): bump ioredis from 4.16.1 to 4.16.2
#164
- build(deps-dev): bump jest from 25.2.7 to 25.3.0
#162
- build(deps-dev): bump @types/node from 13.11.0 to 13.11.1
#163
- build(deps-dev): bump @types/jest from 25.1.5 to 25.2.1
#159
- build(deps-dev): bump ts-jest from 25.3.0 to 25.3.1
#160
- build(deps-dev): bump jest from 25.2.6 to 25.2.7
#161
- build(deps-dev): bump @types/jest from 25.1.4 to 25.1.5
#156
- build(deps-dev): bump @types/node from 13.9.8 to 13.11.0
#157
- build(deps-dev): bump jest from 25.2.4 to 25.2.6
#158
- build(deps): bump minimist from 1.2.0 to 1.2.5
#154
- build(deps-dev): bump ts-jest from 25.2.1 to 25.3.0
#153
- build(deps-dev): bump @types/node from 13.9.4 to 13.9.8
#152
- build(deps): bump @types/redis from 2.8.16 to 2.8.17
#151
- build(deps-dev): bump jest from 25.2.3 to 25.2.4
#150
- build(deps-dev): bump ioredis from 4.16.0 to 4.16.1
#148
- build(deps-dev): bump jest from 25.2.0 to 25.2.3
#147
- build(deps-dev): bump jest from 25.1.0 to 25.2.0
#145
- build(deps-dev): bump @types/node from 13.9.3 to 13.9.4
#146
- build(deps-dev): bump @types/node from 13.9.2 to 13.9.3
#144
- Releasing v4.1.1
9aca9a2
- Merge https://github.com/joshuaslate/type-cacheable
8083c2d
- chore: adding changelog
0c8fdc9
22 March 2020
- fix: #136, moving no-op up
#143
- build(deps-dev): bump redis from 2.8.0 to 3.0.2
#117
- Replace external md5 with crypto
#142
- Update readme.md: add instructions how you can use cache manager
#141
- build(deps-dev): bump @types/jest from 25.1.2 to 25.1.4
#135
- build(deps): bump serialize-javascript from 2.1.2 to 3.0.0
#122
- build(deps): bump @types/redis from 2.8.14 to 2.8.16
#123
- build(deps-dev): bump ts-jest from 25.2.0 to 25.2.1
#126
- build(deps-dev): bump ioredis from 4.14.1 to 4.16.0
#128
- build(deps-dev): bump typescript from 3.7.5 to 3.8.3
#133
- build(deps): bump @types/ioredis from 4.14.7 to 4.14.9
#137
- build(deps): [security] bump acorn from 6.4.0 to 6.4.1
#139
- build(deps-dev): bump @types/node from 13.7.0 to 13.9.2
#140
- Add prepare script to package.json
#118
- build(deps): bump @types/ioredis from 4.14.6 to 4.14.7
#115
- build(deps-dev): bump @types/jest from 25.1.1 to 25.1.2
#114
- Add information how to use adapters directly to README.md
68ccc92
- chore: remove md5 dependency, replace md5 usage with crypto
791b9d9
- Add IntelliJ IDEA to .gitignore
a85329f
5 February 2020
- Boolean support, scalar number fix, false cache miss fix
#112
- build(deps-dev): bump ts-jest from 25.1.0 to 25.2.0
#111
- Update RedisAdapter.ts
95f683d
- Also check for undefined
6cf21bd
- Releasing v4.0.0
beb1598
1 February 2020
- Fix for #98
#109
- build(deps-dev): bump ts-jest from 25.0.0 to 25.1.0
#107
- build(deps-dev): bump @types/node from 13.5.2 to 13.5.3
#108
- build(deps-dev): bump @types/jest from 25.1.0 to 25.1.1
#105
- build(deps-dev): bump @types/node from 13.5.1 to 13.5.2
#106
- Adding test for custom client
57c7556
- Release v3.0.0
5112664
29 January 2020
- fix: ttl not being respected on set for node-cache (#103)
#104
- build(deps-dev): bump @types/node from 13.5.0 to 13.5.1
#101
- build(deps): bump @types/ioredis from 4.14.5 to 4.14.6
#102
- Release v2.2.1
b78a747
28 January 2020
- build(deps-dev): bump @types/jest from 24.9.1 to 25.1.0
#100
- add ioredis adapter
#99
- build(deps-dev): bump jest and ts-jest
#95
- build(deps-dev): bump @types/jest from 24.9.0 to 24.9.1
#96
- build(deps-dev): bump @types/node from 13.1.8 to 13.5.0
#97
- build(deps-dev): bump @types/node from 13.1.7 to 13.1.8
#94
- build(deps-dev): bump typescript from 3.7.4 to 3.7.5
#93
- build(deps-dev): bump @types/jest from 24.0.25 to 24.9.0
#91
- build(deps-dev): bump @types/node from 13.1.5 to 13.1.7
#92
- build(deps-dev): bump @types/node from 13.1.4 to 13.1.5
#89
- build(deps-dev): bump ts-jest from 24.2.0 to 24.3.0
#88
- build(deps-dev): bump @types/node from 13.1.2 to 13.1.4
#87
- build(deps): bump handlebars from 4.2.0 to 4.5.3
#86
- Release v2.2.0
19f1701
31 December 2019
- added isPattern parameter to ClearCache to remove matched keys from cache
#84
- build(deps-dev): bump @types/node from 13.1.1 to 13.1.2
#85
- build(deps-dev): bump @types/jest from 24.0.24 to 24.0.25
#82
- build(deps-dev): bump @types/node from 13.1.0 to 13.1.1
#83
- build(deps): [security] bump handlebars from 4.2.0 to 4.5.3
#81
- build(deps-dev): bump @types/jest from 24.0.23 to 24.0.24
#78
- build(deps-dev): bump typescript from 3.7.3 to 3.7.4
#79
- build(deps-dev): bump @types/node from 12.12.17 to 13.1.0
#80
- build(deps-dev): bump @types/node from 12.12.16 to 12.12.17
#74
- build(deps-dev): bump node-cache from 5.0.2 to 5.1.0
#71
- build(deps): bump serialize-javascript from 2.1.1 to 2.1.2
#72
- build(deps-dev): bump @types/node from 12.12.14 to 12.12.16
#73
- build(deps): [security] bump serialize-javascript from 2.1.0 to 2.1.1
#70
- build(deps-dev): bump typescript from 3.7.2 to 3.7.3
#69
- build(deps-dev): bump ts-jest from 24.1.0 to 24.2.0
#66
- build(deps-dev): bump @types/node from 12.12.9 to 12.12.14
#68
- build(deps-dev): bump node-cache from 5.0.1 to 5.0.2
#63
- build(deps-dev): bump @types/node from 12.12.7 to 12.12.9
#64
- build(deps-dev): bump @types/jest from 24.0.22 to 24.0.23
#61
- build(deps-dev): bump @types/node from 12.12.6 to 12.12.7
#60
- Bump @types/jest from 24.0.21 to 24.0.22
#56
- Bump @types/node from 12.12.5 to 12.12.6
#57
- Bump typescript from 3.6.4 to 3.7.2
#58
- Bump @types/node-cache from 4.1.3 to 4.2.5
#54
- Bump @types/node from 12.12.3 to 12.12.5
#55
- Bump node-cache from 5.0.0 to 5.0.1
#53
- Bump @types/node from 12.12.0 to 12.12.3
#52
- Bump @types/jest from 24.0.20 to 24.0.21
#50
- Bump @types/node from 12.11.7 to 12.12.0
#51
- add isPattern to CacheClear to remove pattern matched keys from cache
2183aaa
- Update deps
cf3aa0b
- fixes
be0a27c
29 October 2019
- BREAKING: updating node-cache adapter implementation to v5
#49
- Bump @types/jest from 24.0.19 to 24.0.20
#47
- Bump @types/node from 12.11.6 to 12.11.7
#46
- Bump @types/node from 12.11.1 to 12.11.6
#44
- Bump @types/node from 12.7.12 to 12.11.1
#41
- Bump @types/jest from 24.0.18 to 24.0.19
#40
- Bump typescript from 3.6.3 to 3.6.4
#38
- Bump @types/node from 12.7.11 to 12.7.12
#37
- Version uptick for node-cache upgrade, which had breaking changes
6e212ae
- Releasing 1.2.1
2f3a5ff
7 October 2019
- fix: not failing when the redis client refuses connections
#36
- Fix issue when redis connection isn't ready
96c655b
- Release 1.2.0
9eb83e9
4 October 2019
- Defaulting to noop for caching rather than throwing
#35
- Bump @types/node from 12.7.9 to 12.7.11
#34
- test: add test coverage for failing cache client
#33
- Bump @types/node from 12.7.8 to 12.7.9
#32
- Releasing v1.1.0
b240add
1 October 2019
- feat: allowing decorators to continue on client failures
#31
- Bump @types/redis from 2.8.13 to 2.8.14
#29
- Bump @types/node from 12.7.5 to 12.7.8
#28
- Bump ts-jest from 24.0.2 to 24.1.0
#26
- Bump typescript from 3.6.2 to 3.6.3
#24
- Bump @types/node from 12.7.4 to 12.7.5
#25
- fix: using hmset properly in redis and updating packages
#23
7 September 2019
- [Security] Bump mixin-deep from 1.3.1 to 1.3.2
#19
- Bump serialize-javascript from 1.8.0 to 1.9.0
#21
- Bump typescript from 3.5.3 to 3.6.2
#20
- Bump @types/md5 from 2.1.32 to 2.1.33
#16
- Bump @types/jest from 23.3.0 to 24.0.18
#18
- Bump node-cache from 4.2.0 to 4.2.1
#17
- Bump @types/serialize-javascript from 1.3.2 to 1.5.0
#15
- Bump typescript from 2.9.2 to 3.5.3
#14
- Bump jest from 23.4.1 to 23.6.0
#13
- Bump @types/redis from 2.8.6 to 2.8.13
#6
- Bump ts-jest from 23.0.1 to 23.10.5
#12
- Bump @types/node-cache from 4.1.1 to 4.1.3
#10
- [Security] Bump merge from 1.2.0 to 1.2.1
#9
- Bump serialize-javascript from 1.5.0 to 1.8.0
#8
- [Security] Bump extend from 3.0.1 to 3.0.2
#7
- Bump lodash from 4.17.10 to 4.17.15
#5
- Bump handlebars from 4.0.11 to 4.1.2
#4
- fix: using hmset properly in redis and updating packages
5e8cd17
2 October 2018
27 July 2018
- Removing bad exports
b5144af
27 July 2018
- Reclassifying required cache client types for adapter usage
dbd8cf4
27 July 2018
- Fixing issue with cache client being set after class declaration
c322fd6
27 July 2018
27 July 2018
- Adding support for noop function
d605a09
26 July 2018
- Adding useNodeCacheAdapter
db2982e
26 July 2018
- Adding support for noop and new adapter for node-cache
a7a6ef5
- Fixing test hanging issue for travis
7c55529
- Version uptick
fd0f624
21 July 2018
- Adding travis
171521a
21 July 2018