nexus site path corrected
[portal.git] / ecomp-portal-FE / client / bower_components / angular-cache / CHANGELOG.md
1 ##### 4.6.0 29 April 2016
2
3 ###### Bug fixes
4 - #215 - angular-cache.min.js tries to load the .map from dist/
5 - #204 - Does not work with Angular 1.3 and browserify
6
7 ##### 4.5.0 12 January 2016
8
9 ###### Backwards compatible API changes
10 - #205 - Feature request: Cache.getAllValues
11
12 ###### Backwards compatible bug fixes
13
14 - #211 - Expires value gets sometimes automatically set to null
15 - #212 - Internal Cache not reloaded on Reload
16
17 ###### Other
18
19 - Upgraded to CacheFactory v1.4.0
20
21 ##### 4.4.3 30 December 2015
22
23 - #179 - capacity does not work on often reload
24 - #210 - Why does angular-cache ignore capacity configuration?
25
26 ##### 4.4.1 12 October 2015
27
28 - #203 - trouble: bundle with r.js not works
29
30 ##### 4.4.0 12 October 2015
31
32 - #200 - 4.3 storagePrefix is not backwards compatible
33 - #201 - webpack minification error
34
35 ##### 4.3.2 10 July 2015
36
37 - #191 - yabh issue with ie8
38
39 ##### 4.3.1 07 July 2015
40
41 - #190 - 4.3 breaks phantomJS tests
42
43 ##### 4.3.0 06 July 2015
44
45 - #189 - Extracted non-angular code.
46
47 ##### 4.2.2 01 July 2015
48
49 ###### Backwards compatible bug fixes
50 - #165 - storageMode does not inherits from defaults
51
52 ##### 4.2.1 01 July 2015
53
54 Upgraded dependencies
55 Better CommonJS interop
56 Added a number of build examples
57
58 ##### 4.2.0 27 April 2015
59
60 ###### Backwards compatible bug fixes
61 - #174 - Cache not being fully emptied if using localStorage and multiple web pages
62
63 ##### 4.1.0 30 March 2015
64
65 ###### Backwards compatible API changes
66 - #169 - Official support for ngResource
67
68 ##### 4.0.2 22 March 2015
69
70 ###### Backwards compatible bug fixes
71 - #164 - onExpire is still called when cache is empty
72
73 ##### 4.0.1 20 March 2015
74
75 ###### Backwards compatible bug fixes
76 - #163 - Configuring CacheOption storagePrefix results in "true.{key}"
77
78 ##### 4.0.0 15 March 2015
79
80 ###### Breaking API changes
81 - Completely disassociated angular-cache from the deprecated angular-data (angular-data has been replaced by js-data + js-data-angular)
82 - Angular module renamed to _angular-cache_
83 - _DSCacheFactory_ renamed to _CacheFactory_
84 - _DSBinaryHeap_ renamed to _BinaryHeap_
85 - Removed `DSCacheFactoryProvider.setCacheDefaults`. You now do `angular.extend(CacheFactoryProvider.defaults, { ... });`
86 - No longer exposing a `DSCache` constructor function (as it no longer exists)
87 - `storageMode` can now be set dynamically, which will remove all items from current storage and insert them into the new storage
88
89 ###### Other
90 - Fixes #161
91 - Converted to ES6 and a webpack build with better umd support
92 - Now exporting the module name _angular-cache_ (when you do `require('angular-cache')` you get `"angular-cache"`)
93 - Deprecating angular-cache < 4.0.0
94
95 ##### 3.2.5 02 February 2015
96
97 ###### Backwards compatible bug fixes
98 - #152 - Expired items sometimes only expire after double time.
99 - #153 - Missing angular dependency in bower.json
100
101 ##### 3.2.4 17 December 2014
102
103 ###### Backwards compatible bug fixes
104 - #149 - when removing an object from localStorage the key didn't get removed if the passed parameter is of number type.
105
106 ##### 3.2.3 13 December 2014
107
108 ###### Backwards compatible bug fixes
109 - #112 - $resource cache and 3.0.0-beta-x
110 - #122 - Error using DSCacheFactory with $http/ $resource and localStorage
111 - #148 - Illegal operation when using local-/sessionStorage
112
113 ##### 3.2.2 24 November 2014
114
115 ###### Backwards compatible bug fixes
116 - #147 - `storeOnResolve` and `storeOnReject` should default to `false`
117
118 ##### 3.2.1 10 November 2014
119
120 ###### Backwards compatible bug fixes
121 - #142 - Use JSON.stringify instead of angular.toJson
122
123 ##### 3.2.0 07 November 2014
124
125 ###### Backwards compatible API changes
126 - #135 - Closes #135. (Improved handling of promises.)
127
128 ##### 3.1.1 28 August 2014
129
130 ###### Backwards compatible bug fixes
131 - #124 - DSCache.info does not work if the storageMode is localStorage.
132 - #127 - requirejs conflict, require object overwritten
133
134 ##### 3.1.0 15 July 2014
135
136 ###### Backwards compatible API changes
137 - #117 - call to DSCacheFactory(...) produces JSHint warning (Added DSCacheFactory.createCache method)
138
139 ###### Backwards compatible bug fixes
140 - #118 - dist/angular-cache.js doesn't end with a semicolon (Upgraded dependencies)
141 - #120 - How come the non minified version has minified code? (Upgraded dependencies)
142
143 ##### 3.0.3 16 June 2014
144
145 ###### Backwards compatible bug fixes
146 - Angular 1.2.18 with $http/localStorage #116
147
148 ##### 3.0.2 15 June 2014
149
150 ###### Backwards compatible bug fixes
151 - $http w/ cache is trying to store a promise, which dies on JSON.stringify #115
152
153 ##### 3.0.1 14 June 2014
154
155 ###### Backwards compatible bug fixes
156 - Added polyfill for `$$minErr`.
157
158 ##### 3.0.0 14 June 2014
159
160 3.0.0 Release
161
162 ##### 3.0.0-beta.4 22 April 2014
163
164 ###### Backwards compatible API changes
165 - Add feature to 'touch' elements in the cache #103
166
167 ###### Backwards compatible bug fixes
168 - `localstorage` and Safari Private Browsing #107
169
170 ##### 3.0.0-beta.3 03 March 2014
171
172 ###### Backwards compatible bug fixes
173 - Fixed duplicate keys when using localStorage #106
174
175 ##### 3.0.0-beta.2 25 February 2014
176
177 ###### Backwards compatible bug fixes
178 - Fixed missing reference to DSBinaryHeap #105
179
180 ##### 3.0.0-beta.1 24 February 2014
181
182 ###### Breaking API changes
183 - `maxAge` and `deleteOnExpire` are no longer overridable for individual items
184 - Renamed angular module to `angular-data.DSCacheFactory`. Angular-cache is now part of the `angular-data` namespace
185 - The `verifyIntegrity` option has been completely removed due to a cache being exclusively in-memory OR in web storage #96
186 - Supported values for the `storageMode` option are now: `"memory"`, `"localStorage"` or `"sessionStorage"` with the default being `"memory"`
187 - `DSCache#put(key, value)` no longer accepts a third `options` argument
188 - `DSCache#removeExpired()` no longer accepts an `options` argument and thus no longer supports returning removed expired items as an array
189 - `DSCache#remove(key)` no longer accepts an `options` argument
190 - `DSCache#setOptions(options[, strict])` no longer accepts `storageMode` and `storageImpl` as part of the `options` argument
191 - `storageMode` is no longer dynamically configurable
192 - `storageImpl` is no longer dynamically configurable
193
194 ###### Backwards compatible API changes
195 - Added `DSCache#enable()`
196 - Added `DSCache#disable()`
197 - Added `DSCache#setCapacity(capacity)`
198 - Added `DSCache#setMaxAge(maxAge)`
199 - Added `DSCache#setCacheFlushInterval(cacheFlushInterval)`
200 - Added `DSCache#setRecycleFreq(recycleFreq)`
201 - Added `DSCache#setDeleteOnExpire(deleteOnExpire)`
202 - Added `DSCache#setOnExpire(onExpire)`
203 - Added option `storagePrefix` for customizing the prefix used in `localStorage`, etc. #98
204 - Refactored to be in-memory OR webStorage, never both #96
205
206 ###### Other
207 - I might have missed something...
208
209 ##### 2.3.3 - 24 February 2014
210
211 ###### Backwards compatible bug fixes
212 - *sigh Fixed #102 (regression from #100)
213
214 ##### 2.3.2 - 23 February 2014
215
216 ###### Backwards compatible bug fixes
217 - Fixed #100 (regression from #89)
218
219 ##### 2.3.1 - 19 February 2014
220
221 ###### Backwards compatible bug fixes
222 - Fixed #89
223
224 ##### 2.3.0 - 09 January 2014
225 - Caches can now be disabled #82
226 - The `options` object (`$angularCacheFactory()`, `AngularCache#setOptions()`, and `$angularCacheFactoryProvider.setCacheDefaults()`) now accepts a `disabled` field, which can be set to `true` and defaults to `false`.
227 - `$angularCacheFactory.enableAll()` will enable any disabled caches.
228 - `$angularCacheFactory.disableAll()` will disable all caches.
229 - A disabled cache will operate as normal, except `AngularCache#get()` and `AngularCache#put()` will both immediately return `undefined` instead of performing their normal functions.
230
231 ###### Backwards compatible API changes
232 - `removeExpired()` now returns an object (or array) of the removed items.
233
234 ###### Backwards compatible bug fixes
235 - `removeExpired()` now removes _all_ expired items.
236
237 ##### 2.2.0 - 15 December 2013
238
239 ###### Backwards compatible API changes
240 - `removeExpired()` now returns an object (or array) of the removed items.
241
242 ###### Backwards compatible bug fixes
243 - `removeExpired()` now removes _all_ expired items.
244
245 ##### 2.1.1 - 20 November 2013
246
247 ###### Backwards compatible bug fixes
248 - Allow number keys, but stringify them #76
249 - Fix "Uncaught TypeError: Cannot read property 'maxAge' of null" #77 (thanks @evngeny-o)
250
251 ##### 2.1.0 - 03 November 2013
252
253 ###### Backwards compatible API changes
254 - Modify .get(key, options) to accept multiple keys #71 (thanks @roryf)
255
256 ###### Other
257 - Run tests against multiple versions of Angular.js #72
258 - Add banner to dist/angular-cache.min.js #68
259
260 ##### 2.0.0 - 30 October 2013
261 - Not all methods of AngularCache and $angularCacheFactory are in README #61
262 - Fix demo to work with 2.0.0-rc.1 #62
263 - Using Bower to install this package, the dist filenames change per version? #63
264
265 ##### 2.0.0-rc.1 - 14 October 2013
266
267 ###### Breaking API changes
268 - Swapped `aggressiveDelete` option for `deleteOnExpire` option. #30, #47
269 - Changed `$angularCacheFactory.info()` to return an object similar to `AngularCache.info()` #45
270 - Namespaced angular-cache module under `jmdobry` so it is now "jmdobry.angular-cache". #42
271 - Substituted `storageImpl` and `sessionStorageImpl` options for just `storageImpl` option.
272
273 ###### Backwards compatible API changes
274 - Added `recycleFreq` to specify how frequently to check for expired items (no more $timeout). #28, #57
275 - Added ability to set global cache defaults in $angularCacheFactoryProvider. #55
276
277 ###### Backwards compatible bug fixes
278 - cacheFlushInterval doesn't clear web storage when storageMode is used. #52
279 - AngularCache#info(key) should return 'undefined' if the key isn't in the cache #53
280 - Fixed timespan issues in README.md. #59
281
282 ###### Other
283 - Refactored angular-cache `setOptions()` internals to be less convoluted and to have better validation. #46
284 - Re-wrote documentation to be clearer and more organized. #56
285 - Fixed documentation where time spans were incorrectly labeled. #59
286
287 ##### 1.2.0 - 20 September 2013
288
289 ###### Backwards compatible API changes
290 - Added AngularCache#info(key) #43
291
292 ###### Backwards compatible bug fixes
293 - Fixed #39, #44, #49, #50
294
295 ##### 1.1.0 - 03 September 2013
296
297 ###### Backwards compatible API changes
298 - Added `onExpire` callback hook #27
299 - Added `$angularCacheFactory.removeAll()` and `$angularCacheFactory.clearAll()` convenience methods #37, #38
300
301 ###### Backwards compatible bug fixes
302 - Fixed #36
303
304 ##### 1.0.0 - 25 August 2013
305 - Closed #31 (Improved documentation)
306 - Closed #32
307
308 ##### 1.0.0-rc.1 - 21 August 2013
309 - Added localStorage feature #26, #29
310
311 ##### 0.9.1 - 03 August 2013
312 - Fixed #25
313
314 ##### 0.9.0 - 03 August 2013
315 - Added a changelog #13
316 - Added documentation for installing with bower
317 - Added ability to set option `aggressiveDelete` when creating cache and when adding items
318 - Cleaned up README.md
319 - Switched the demo to use Bootstrap 3
320
321 ##### 0.8.2 - 09 July 2013
322 - Added CONTRIBUTING.md #22
323 - Cleaned up meta data in bower.json and package.json
324
325 ##### 0.8.1 - 09 July 2013
326 - Added .jshintrc
327 - Cleaned up the docs a bit
328 - `bower.json` now uses `src/angular-cache.js` instead of the versioned output files #21
329 - From now on the tags for the project will be named using [semver](http://semver.org/)
330
331 ##### 0.8.0 - 08 July 2013
332 - Added `AngularCache.setOptions()`, the ability to dynamically change the configuration of a cache #20
333 - Added `AngularCache.keys()`, which returns an array of the keys in a cache #19
334 - Added `AngularCache.keySet()`, which returns a hash of the keys in a cache #19
335
336 ##### 0.7.2 - June 2013
337 - Added `angular-cache` to bower registry #7
338 - Created a working demo #9 #17
339 - Fixed the size not being reset to 0 when the cache clears itself #14 #16
340 - Added `$angularCacheFactory.keys()`, which returns an array of the keys (the names of the caches) in $angularCacheFactory #18
341 - Added `$angularCacheFactory.keySet()`, which returns a hash of the keys (the names of the caches) in $angularCacheFactory #18
342
343 ##### 0.6.1 - June 2013
344 - Got the project building on TravisCI
345 - Renamed the project to `angular-cache` #5
346
347 ##### 0.5.0 - June 2013
348 - Added a roadmap to README.md #4
349 - Clarify usage documentation #3
350 - Wrote unit tests #2
351
352 ##### 0.4.0 - May 2013
353 - Added Grunt build tasks #1