Skip to content

Commit f25c036

Browse files
committed
Updated Changelog + Readme + Version
1 parent e245f8e commit f25c036

4 files changed

Lines changed: 15 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88
## [v4.2.2]
99

1010
### Added
11-
- Group factory (`'UserFrosting\Sprinkle\Account\Database\Models\Group'`)
12-
- `withController` Trait, as an alternative for `ControllerTestCase`
11+
- New group factory (`'UserFrosting\Sprinkle\Account\Database\Models\Group'`)
12+
- New `withController` Trait, as an alternative for deprecated `ControllerTestCase`
1313
- StyleCI config
1414
- [Travis] SQLite in-memory DB testing
15-
- [Travis] memcache & Redis service
15+
- [Travis] enabled memcache & Redis service
1616

1717
### Fixed
1818
- DefaultPermissions seed results in SQL errors ([#981]; [#983])
1919
- Make group & role schema consistent between creation and edition. Prevents group and role without a name or slug to be created during edition.
2020
- 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
2123

2224
### Changed
2325
- Recommended PHP version is now 7.2, as 7.1 will be EOL in less than 6 months
24-
- Improved controllers test coverage & tests efficiency
26+
- Added tests coverage for all build-in controllers
2527
- Applied styling rules from StyleCI & updated php-cs-fixer rules to match StyleCI config
2628

2729
### Deprecated
@@ -759,3 +761,4 @@ See [http://learn.userfrosting.com/upgrading/40-to-41](Upgrading 4.0.x to 4.1.x
759761

760762
[v4.2.0]: https://github.com/userfrosting/UserFrosting/compare/v4.1.22...v4.2.0
761763
[v4.2.1]: https://github.com/userfrosting/UserFrosting/compare/v4.2.0...v.4.2.1
764+
[v4.2.2]: https://github.com/userfrosting/UserFrosting/compare/v.4.2.1...v4.2.2

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
# UserFrosting 4.2
22

33
[![Latest Version](https://img.shields.io/github/release/userfrosting/UserFrosting.svg)](https://github.com/userfrosting/UserFrosting/releases)
4+
![PHP Version](https://img.shields.io/packagist/php-v/userfrosting/userfrosting.svg?color=brightgreen)
45
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE.md)
56
[![Join the chat at https://chat.userfrosting.com/channel/support](https://demo.rocket.chat/images/join-chat.svg)](https://chat.userfrosting.com/channel/support)
67
[![Backers on Open Collective](https://opencollective.com/userfrosting/backers/badge.svg)](#backers)
78
[![Sponsors on Open Collective](https://opencollective.com/userfrosting/sponsors/badge.svg)](#sponsors)
89
[![Donate](https://img.shields.io/badge/Open%20Collective-Donate-blue.svg)](https://opencollective.com/userfrosting#backer)
910

10-
| Branch | Build | Coverage | Style |
11-
| ------ |:-----:|:--------:|:-----:|
12-
| [master] | [![](https://travis-ci.org/userfrosting/UserFrosting.svg?branch=master)][UF-Travis] | [![](https://codecov.io/gh/userfrosting/userfrosting/branch/master/graph/badge.svg)][UF-Codecov] | [![][style-master]][style] |
13-
| [hotfix] | [![](https://travis-ci.org/userfrosting/UserFrosting.svg?branch=hotfix)][UF-Travis] | [![](https://codecov.io/gh/userfrosting/userfrosting/branch/hotfix/graph/badge.svg)][UF-Codecov] | [![][style-hotfix]][style] |
14-
| [develop] | [![](https://travis-ci.org/userfrosting/UserFrosting.svg?branch=develop)][UF-Travis] | [![](https://codecov.io/gh/userfrosting/userfrosting/branch/develop/graph/badge.svg)][UF-Codecov] | [![][style-develop]][style] |
11+
| Branch | Version | Build | Coverage | Style |
12+
| ------ |:-------:|:-----:|:--------:|:-----:|
13+
| [master] | ![](https://img.shields.io/badge/version-4.2.1-brightgreen.svg) | [![](https://travis-ci.org/userfrosting/UserFrosting.svg?branch=master)][UF-Travis] | [![](https://codecov.io/gh/userfrosting/userfrosting/branch/master/graph/badge.svg)][UF-Codecov] | [![][style-master]][style] |
14+
| [hotfix] | ![](https://img.shields.io/badge/version-4.2.x-yellow.svg) | [![](https://travis-ci.org/userfrosting/UserFrosting.svg?branch=hotfix)][UF-Travis] | [![](https://codecov.io/gh/userfrosting/userfrosting/branch/hotfix/graph/badge.svg)][UF-Codecov] | [![][style-hotfix]][style] |
15+
| [develop] | ![](https://img.shields.io/badge/version-4.3.x-orange.svg) | [![](https://travis-ci.org/userfrosting/UserFrosting.svg?branch=develop)][UF-Travis] | [![](https://codecov.io/gh/userfrosting/userfrosting/branch/develop/graph/badge.svg)][UF-Codecov] | [![][style-develop]][style] |
1516

1617
<!-- Links -->
1718
[master]: https://github.com/userfrosting/UserFrosting

app/defines.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
namespace UserFrosting;
1212

1313
// Some standard defines
14-
define('UserFrosting\VERSION', '4.2.1');
14+
define('UserFrosting\VERSION', '4.2.2');
1515
define('UserFrosting\DS', '/');
1616
define('UserFrosting\PHP_MIN_VERSION', '5.6');
1717
define('UserFrosting\PHP_RECOMMENDED_VERSION', '7.2');

app/sprinkles/core/tests/ControllerTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*
1818
* @see https://akrabat.com/testing-slim-framework-actions/
1919
* @author Louis Charette
20-
* @deprecated Use `withController` Trait instead
20+
* @deprecated Since 4.2.2. Use `withController` Trait instead
2121
*/
2222
class ControllerTestCase extends TestCase
2323
{

0 commit comments

Comments
 (0)