Skip to content

Commit

Permalink
Prepare 3.0.0 release.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Jan 20, 2020
1 parent fe25b1c commit 6873b7a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG-3.x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Release Notes for v3.x

This changelog references the relevant changes (bug and security fixes) done to `laravie/cabinet`.

## 3.0.0

Released: 2020-01-20

### Added

* Add `Laravie\Cabinet\Repository::share()` to register data to storage.
* Add `Laravie\Cabinet\Repository::put()` to set value to storage.
* Added `Laravie\Cabinet\Listeners\FlushCachedData` listener for `Illuminate\Auth\Events\Login` or `Illuminate\Auth\Events\Logout` event.

### Beaking Changes

* `Laravie\Cabinet\Repository::rememberForever()` now will register the data for cache key and return it's value instead of `Repository`.
* `Laravie\Cabinet\Repository::remember()` now will register the data for cache key and return it's value instead of `Repository`.

### Deprecated

* Deprecate `Laravie\Cabinet\Repository::register()`, use `share()` instead.

0 comments on commit 6873b7a

Please sign in to comment.