Skip to content

Commit

Permalink
Merge pull request #101 from jmdobry/3.0.0
Browse files Browse the repository at this point in the history
3.0.0-beta.1
  • Loading branch information
jmdobry committed Feb 25, 2014
2 parents 82ef880 + fd05169 commit 05e4e29
Show file tree
Hide file tree
Showing 90 changed files with 6,733 additions and 6,902 deletions.
4 changes: 0 additions & 4 deletions .bowerrc

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ coverage/Phantom*/*
coverage/Firefox*/*
coverage/

bower_components/
bower_components/
3 changes: 2 additions & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"trailing": true,
"smarttabs": true,
"predef": [
"assert",
"inject",
"describe",
"describe",
Expand All @@ -37,4 +38,4 @@
"globals": {
"angular": false
}
}
}
9 changes: 9 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.*
bower.json
*.iml
.idea/
test/
coverage/
bower_components/
karma*
Gruntfile.js
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- grunt cli
- grunt ci
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
##### 3.0.0-beta.1 24 February 2014

###### Breaking API changes
- `maxAge` and `deleteOnExpire` are no longer overridable for individual items
- Renamed angular module to `angular-data.DSCacheFactory`. Angular-cache is now part of the `angular-data` namespace
- The `verifyIntegrity` option has been completely removed due to a cache being exclusively in-memory OR in web storage #96
- Supported values for the `storageMode` option are now: `"memory"`, `"localStorage"` or `"sessionStorage"` with the default being `"memory"`
- `DSCache#put(key, value)` no longer accepts a third `options` argument
- `DSCache#removeExpired()` no longer accepts an `options` argument and thus no longer supports returning removed expired items as an array
- `DSCache#remove(key)` no longer accepts an `options` argument
- `DSCache#setOptions(options[, strict])` no longer accepts `storageMode` and `storageImpl` as part of the `options` argument
- `storageMode` is no longer dynamically configurable
- `storageImpl` is no longer dynamically configurable

###### Backwards compatible API changes
- Added `DSCache#enable()`
- Added `DSCache#disable()`
- Added `DSCache#setCapacity(capacity)`
- Added `DSCache#setMaxAge(maxAge)`
- Added `DSCache#setCacheFlushInterval(cacheFlushInterval)`
- Added `DSCache#setRecycleFreq(recycleFreq)`
- Added `DSCache#setDeleteOnExpire(deleteOnExpire)`
- Added `DSCache#setOnExpire(onExpire)`
- Added option `storagePrefix` for customizing the prefix used in `localStorage`, etc. #98
- Refactored to be in-memory OR webStorage, never both #96

###### Other
- I might have missed something...

##### 2.3.3 - 24 February 2014

###### Backwards compatible bug fixes
Expand Down
Loading

0 comments on commit 05e4e29

Please sign in to comment.