You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+29-1Lines changed: 29 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,31 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
6
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
8
+
## [v4.2.2]
9
+
10
+
### Added
11
+
- New group factory (`'UserFrosting\Sprinkle\Account\Database\Models\Group'`)
12
+
- New `withController` Trait, as an alternative for deprecated `ControllerTestCase`
13
+
- StyleCI config
14
+
-[Travis] SQLite in-memory DB testing
15
+
-[Travis] enabled memcache & Redis service
16
+
17
+
### Fixed
18
+
- DefaultPermissions seed results in SQL errors ([#981]; [#983])
19
+
- Make group & role schema consistent between creation and edition. Prevents group and role without a name or slug to be created during edition.
20
+
- Factories changed to make sure slugs are unique
21
+
- Fix `WithTestUser` Trait returning a user with id of zero or reserve master id when a non-master user was asked. If master user already exist, will return it instead of trying to create a new one (with the same id)
22
+
- Force close db connection on test `tearDown` procedure
23
+
24
+
### Changed
25
+
- Recommended PHP version is now 7.2, as 7.1 will be EOL in less than 6 months
26
+
- Added tests coverage for all build-in controllers
27
+
- Applied styling rules from StyleCI & updated php-cs-fixer rules to match StyleCI config
28
+
29
+
### Deprecated
30
+
-`ControllerTestCase`. Use `withController` Trait instead.
31
+
32
+
8
33
## [v4.2.1]
9
34
10
35
### Added
@@ -731,6 +756,9 @@ See [http://learn.userfrosting.com/upgrading/40-to-41](Upgrading 4.0.x to 4.1.x
[](https://chat.userfrosting.com/channel/support)
6
7
[](#backers)
7
8
[](#sponsors)
* to log. This can help debugging your permissions and roles
34
35
*/
35
36
'debug' => [
36
-
'auth' => false
37
+
'auth' => false,
37
38
],
38
39
39
40
/*
@@ -45,8 +46,8 @@
45
46
'algorithm' => 'sha512',
46
47
'timeouts' => [
47
48
'create' => 86400,
48
-
'reset' => 10800
49
-
]
49
+
'reset' => 10800,
50
+
],
50
51
],
51
52
52
53
/*
@@ -57,12 +58,12 @@
57
58
*/
58
59
'remember_me' => [
59
60
'cookie' => [
60
-
'name' => 'rememberme'
61
+
'name' => 'rememberme',
61
62
],
62
63
'expire_time' => 604800,
63
64
'session' => [
64
-
'path' => '/'
65
-
]
65
+
'path' => '/',
66
+
],
66
67
],
67
68
68
69
/*
@@ -74,7 +75,7 @@
74
75
*/
75
76
'reserved_user_ids' => [
76
77
'guest' => -1,
77
-
'master' => 1
78
+
'master' => 1,
78
79
],
79
80
80
81
/*
@@ -86,8 +87,8 @@
86
87
'session' => [
87
88
'keys' => [
88
89
'current_user_id' => 'account.current_user_id', // the key to use for storing the authenticated user's id
89
-
'captcha' => 'account.captcha'// Key used to store a captcha hash during captcha verification
90
-
]
90
+
'captcha' => 'account.captcha',// Key used to store a captcha hash during captcha verification
91
+
],
91
92
],
92
93
93
94
/*
@@ -99,7 +100,7 @@
99
100
*/
100
101
'site' => [
101
102
'login' => [
102
-
'enable_email' => true// Set to false to allow login by username only
103
+
'enable_email' => true,// Set to false to allow login by username only
103
104
],
104
105
'registration' => [
105
106
'enabled' => true, //if this set to false, you probably want to also set require_email_verification to false as well to disable the link on the signup page
0 commit comments