Skip to content

Commit 2cb525f

Browse files
committed
Merge branch 'release/v2.0.0'
2 parents c0b066f + 539356a commit 2cb525f

File tree

6 files changed

+700
-479
lines changed

6 files changed

+700
-479
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file.
55
This project adheres to [Semantic Versioning](CONTRIBUTING.md).
66

77

8+
## [v2.0.0] - 2016-07-01
9+
- Drop `findOrCreate` method (close #33)
10+
- Change `retrieveModel` behavior (close #34)
11+
- Separate functionality into `setModel`, `getModel`, and `createModel`
12+
- `createModel` always return a new clean model instance
13+
- Drop `enableCache` & `isCacheEnabled` (close #35)
14+
- These methods have duplicate functionality of `setCacheLifetime` & `getCacheLifetime`
15+
- Add filtration through `where`, 'whereIn', `whereNotIn` methods
16+
- Add `offset`, and `limit` functionality to the query
17+
- Drop `addGlobalScope`, `withoutGlobalScopes` methods (close #8)
18+
- Move `$with` argument to setters & getters (close #36)
19+
- Rename `$column` to `$attribute` for more naming abstraction (close #37)
20+
- Add `where`, `whereIn`, `whereNotIn` methods for flexible filtration (close #6)
21+
- Update `findWhere`, `findWhereIn`, `findWhereNotIn` methods to utilize the new filtration (close #38)
22+
- Centralize & enforce filtration and data access rules (close #39)
23+
- Add `offset` & `limit` functionality to queries (close #40)
24+
- Add `simplePaginate` method for light weight pagination (close #41)
25+
- Refactor callback execution, clean code, and reset query conditions after execution (close #30, close #42)
26+
827
## [v1.0.5] - 2016-06-27
928
- Fix clear cache on update issue (close #27)
1029
- Move cache lifetime & driver args to setter methods (close #26)
@@ -37,6 +56,7 @@ This project adheres to [Semantic Versioning](CONTRIBUTING.md).
3756
## v1.0.0 - 2016-06-18
3857
- Commit first draft
3958

59+
[v2.0.0]: https://github.com/rinvex/repository/compare/v1.0.5...v2.0.0
4060
[v1.0.5]: https://github.com/rinvex/repository/compare/v1.0.4...v1.0.5
4161
[v1.0.4]: https://github.com/rinvex/repository/compare/v1.0.3...v1.0.4
4262
[v1.0.3]: https://github.com/rinvex/repository/compare/v1.0.2...v1.0.3

0 commit comments

Comments
 (0)