Skip to content

Commit

Permalink
Actualize changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev committed Dec 17, 2016
1 parent bf57fcc commit 058532c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,19 @@

All notable changes to `laravel-ownership` will be documented in this file.

## 1.1.0 - 2016-12-17
## 2.0.0 - 2016-12-17

### Add

- `withDefaultOwner()` set default owner value on create.
- `withDefaultOwner($owner)` overwrite default owner value on create.
- `withoutDefaultOwner()` unset default owner value on create.
- `scopeWhereNotOwner($owner)` scope results to exclude unowned records by owner.
- `scopeWhereNotOwner($owner)` scope results to exclude unowned records by owner.

### Change

- Renamed method `getDefaultOwner()` to `resolveDefaultOwner()`.
- Renamed flag attribute `$setDefaultOwnerOnCreate` to `$withDefaultOwnerOnCreate`.

### Fix

Expand Down

0 comments on commit 058532c

Please sign in to comment.