Skip to content

Commit 38572ba

Browse files
committed
Prepare 4.2.0 Release
1 parent c7a4a8f commit 38572ba

File tree

2 files changed

+72
-74
lines changed

2 files changed

+72
-74
lines changed

CHANGELOG.md

Lines changed: 71 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -5,96 +5,93 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8-
## 4.2.0-beta.2
9-
10-
### Added
11-
- `sprinkle:list` bakery command
12-
- `NoCache` middleware to prevent caching of routes with dynamic content
13-
- Sample test environment for Docker
14-
- Added `validateMigrationDependencies` helper method to `BaseSeed`
15-
- Greek locale (Thanks @lenasterg!; [#940])
16-
17-
### Changed
18-
- Sprinkle list in the bakery `debug` command to uses the new `sprinkle:list` table
19-
- `routerCacheFile` config now only contains filename. Locator is used to find the full path
20-
- Updated Docker integration
21-
- Moved some constants from `app/defines.php` to `app/sprinkles/core/defines.php`
22-
- Move route initialization from system to core sprinkle as router service is located in the core sprinkle
23-
24-
### Fix
25-
- Fix for `Test` Bakery command
26-
- Added `coverage-format` and `coverage-path` options to `test` Bakery command
27-
- Sprinkle Testscope is now case insensitive
28-
- **Class testscope now relative to `/` instead of `/UserFrosting/Sprinkle/` for more intuitive usage and to enable testing of non sprinkle tests**
29-
- Detect and use the sprinkle `phpunit.xml` config when testing a specific sprinkle
30-
- SprinkleManager Improvements :
31-
- Added public `getSprinklePath` method to get path to the sprinkle directory
32-
- Added public `getSprinkleClassNamespace` method to get sprinkle base namespace
33-
- Added public `getSprinkle` method. Returns the sprinkle name as formatted in `sprinkles.json` file, independent of the case of the search argument.
34-
- Public `isAvailable` method now case insensitive.
35-
- Added public `getSprinklesPath` & `setSprinklesPath` to return or set the path to the sprinkle dir (`app/sprinkles/`)
36-
- Added `JsonException` if `sprinkles.json` doesn't contain valid json.
37-
- Added specific tests for sprinkleManager with 100% test coverage
38-
- Ignore existing `package-lock.json` which caused incorrect dependencies to be installed when upgrading from older versions of UserFrosting.
39-
- Vendor assets not found in production mode
40-
- Various Docker specific edge cases and misconfigurations
41-
- Fix path issue on Windows
42-
43-
## 4.2.0-beta.1
44-
8+
## [v4.2.0]
459
### Changed Requirements
4610
- Changed minimum Node.js version to **v10.12.0**
4711
- Changed minimum NPM version to **6.0.0**
4812

4913
### Added
5014
- Use locale requested by browser when possible for guests ([#718])
5115
- Add locale drop down to registration page, with the currently applied locale selected ([#718])
52-
- Integrated improvements from [v4.0.25-Alpha](#v4025-alpha)
53-
- Added `database` option for `migrate` and `migrate:*` Bakery commands
54-
- New `isProduction` method for Bakery command to test if app is in production mode
55-
- `migrate` and `migrate:*` Bakery command now require confirmation before execution when in production mode.
56-
- Added `migrate:status` Bakery command
57-
- Added `RefreshDatabase` test Trait to use a fresh database for a test
58-
- Added `TestDatabase` test Trait to use the in memory database for a test
59-
- Implement `withRaw`, `withSum`, `withAvg`, `withMin`, `withMax` (see https://github.com/laravel/framework/pull/16815)
60-
- Include Vagrant integration directly inside UF ([#829])
61-
- Added arguments to the `create-admin` and `setup` Bakery commands so it can be used in a non-interactive way ([#808])
62-
- Added tests for migrator and it's components
63-
- Added tests for `migrate` Bakery command and sub-commands
6416
- Added new `filesystem` service ([#869])
65-
- Added new `Seeder` and `seed` Bakery command
66-
- Added `withTestUser` trait for helper methods when running tests requiring a user
67-
- Added `ControllerTestCase` special test case to help testing controllers
68-
- Improved overall test coverage and added coverage config to `phpunit.xml`
69-
- Added code style config (`.php_cs`) and instructions for PHP-CS-Fixer in Readme
17+
- Greek locale (Thanks @lenasterg!; [#940])
7018
- Add cache facade (Ref [#838])
71-
- Added `test:mail` Bakery Command
72-
- Add support for other config['mailer'] options ([#872]; Thanks @apple314159 !)
73-
- Added support for npm dependencies on the frontend with auditting for known vulnerabilities
74-
- Extended `bakery test` to add Test Scope and sprinkle selection argument ([#919], Thanks @ssnukala !)
19+
- Added new `Seeder`
20+
- `NoCache` middleware to prevent caching of routes with dynamic content
21+
- Bakery :
22+
- Added `sprinkle:list` Bakery Command
23+
- Added `migrate:status` Bakery Command
24+
- Added `test:mail` Bakery Command
25+
- Added `seed` Bakery command
26+
- New `isProduction` method for Bakery command to test if app is in production mode
27+
- Added `database` option for `migrate` and `migrate:*` Bakery commands
28+
- Added arguments to the `create-admin` and `setup` Bakery commands so it can be used in a non-interactive way ([#808])
29+
- Extended `bakery test` to add Test Scope and sprinkle selection argument ([#919], Thanks @ssnukala !)
30+
- Testing :
31+
- Added `RefreshDatabase` test Trait to use a fresh database for a test
32+
- Added `TestDatabase` test Trait to use the in memory database for a test
33+
- Added tests for migrator and it's components
34+
- Added tests for `migrate` Bakery command and sub-commands
35+
- Added `withTestUser` trait for helper methods when running tests requiring a user
36+
- Added `ControllerTestCase` special test case to help testing controllers
37+
- Improved overall test coverage and added coverage config to `phpunit.xml`
38+
- Assets :
39+
- Added support for npm dependencies on the frontend with auditting for known vulnerabilities
40+
- Database :
41+
- Implement `withRaw`, `withSum`, `withAvg`, `withMin`, `withMax` (see https://github.com/laravel/framework/pull/16815)
42+
- Vagrant / Docker :
43+
- Include Vagrant integration directly inside UF ([#829])
44+
- Sample test environment for Docker
45+
- Misc :
46+
- Integrated improvements from [v4.0.25-Alpha](#v4025-alpha)
47+
- Added code style config (`.php_cs`) and instructions for PHP-CS-Fixer in Readme
48+
- Add support for other config['mailer'] options ([#872]; Thanks @apple314159 !)
7549

7650
### Changed
77-
- Moved Bakery commands from `app/System/Bakery` to the `Core` sprinkle and `UserFrosting\Sprinkle\Core\Bakery` namespace.
78-
- Re-written the migrator. It is now detached from the console and Bakery and is now included in the Core Sprinkle ServicesProvider ([#795])
79-
- Makes the `semantic versioning` part of a migration class optional. Migrations classes can now have the `UserFrosting\Sprinkle\{sprinkleName}\Database\Migrations` namespace, or any other sub-namespace
8051
- Move User registration out of the `AccountController` ([#793])
81-
- Temporarily undeprecate `AssetLoader` until the new asset system can be refactored (https://github.com/userfrosting/assets/issues/4)
82-
- Rewrite `AssetLoader` to act as a wrapper for `Assets`
83-
- Improved `route:list` Bakery command from [v4.1.20](#v4.1.20)
8452
- Rewritten the `locator` service so it's better suited for sprinkle system ([#853])
85-
- `dev` environment changed to `debug` ([#653])
86-
- Changed deprecations to `warning`, and suppressed them in tests
87-
- Uncomment foreign keys in core migrations ([#833])
88-
- Move default groups, roles & permissions creation to seeds
89-
- Rewrote asset processing to minimise file sizes, drastically reduce IO, and improve maintainability
90-
- Rewrote frontend dependency installation to prevent duplication and detect incompatibilities
53+
- Bakery :
54+
- Moved Bakery commands from `app/System/Bakery` to the `Core` sprinkle and `UserFrosting\Sprinkle\Core\Bakery` namespace.
55+
- Improved `route:list` Bakery command from [v4.1.20](#v4.1.20)
56+
- Sprinkle list in the bakery `debug` command to uses the new `sprinkle:list` table
57+
- Migrations & Database :
58+
- `migrate` and `migrate:*` Bakery command now require confirmation before execution when in production mode.
59+
- Re-written the migrator. It is now detached from the console and Bakery and is now included in the Core Sprinkle ServicesProvider ([#795])
60+
- Makes the `semantic versioning` part of a migration class optional. Migrations classes can now have the `UserFrosting\Sprinkle\{sprinkleName}\Database\Migrations` namespace, or any other sub-namespace
61+
- Uncomment foreign keys in core migrations ([#833])
62+
- Move default groups, roles & permissions creation to seeds
63+
- Assets
64+
- Rewrote asset processing to minimise file sizes, drastically reduce IO, and improve maintainability
65+
- Rewrote frontend dependency installation to prevent duplication and detect incompatibilities
66+
- Rewrite `AssetLoader` to act as a wrapper for `Assets`
67+
- Misc :
68+
- Updated Docker integration
69+
- Moved some constants from `app/defines.php` to `app/sprinkles/core/defines.php`
70+
- Move route initialization from system to core sprinkle as router service is located in the core sprinkle
71+
- `dev` environment changed to `debug` ([#653])
72+
- Changed deprecations to `warning`, and suppressed them in tests
73+
- `routerCacheFile` config now only contains filename. Locator is used to find the full path
9174

9275
### Fixed
9376
- Sprinkle without a `template/` folder won't cause error anymore
94-
- Fixed routes not available in Tests [and Bakery] ([#854])
77+
- Fixed routes not available in Tests and Bakery ([#854])
9578
- redirect failing in UserController::pageInfo when user not found ([#888])
9679
- Fix WhoopsRenderer integration, resolving a temp fix in [v4.1.21](#v4.1.21).
9780
- Fix Travis not running tests with the env database
81+
- Ignore existing `package-lock.json` which caused incorrect dependencies to be installed when upgrading from older versions of UserFrosting.
82+
- Testing :
83+
- Added `coverage-format` and `coverage-path` options to `test` Bakery command
84+
- Sprinkle Testscope is now case insensitive
85+
- **Class testscope now relative to `/` instead of `/UserFrosting/Sprinkle/` for more intuitive usage and to enable testing of non sprinkle tests**
86+
- Detect and use the sprinkle `phpunit.xml` config when testing a specific sprinkle
87+
- SprinkleManager Improvements :
88+
- Added public `getSprinklePath` method to get path to the sprinkle directory
89+
- Added public `getSprinkleClassNamespace` method to get sprinkle base namespace
90+
- Added public `getSprinkle` method. Returns the sprinkle name as formatted in `sprinkles.json` file, independent of the case of the search argument.
91+
- Public `isAvailable` method now case insensitive.
92+
- Added public `getSprinklesPath` & `setSprinklesPath` to return or set the path to the sprinkle dir (`app/sprinkles/`)
93+
- Added `JsonException` if `sprinkles.json` doesn't contain valid json.
94+
- Added specific tests for sprinkleManager with 100% test coverage
9895

9996
### Deprecated
10097
- Migrations should now extends `UserFrosting\Sprinkle\Core\Database\Migration` instead of `UserFrosting\System\Bakery\Migration`
@@ -103,8 +100,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
103100
- Trait `\UserFrosting\Tests\DatabaseTransactions` has been deprecated. Tests should now use the `\UserFrosting\Sprinkle\Core\Tests\DatabaseTransactions` trait instead. ([#826])
104101

105102
### Removed
106-
- The console IO instance is not available anymore in migrations
107-
- Removed the `io` property from migration classes
103+
- The console IO instance is not available anymore in migrations. Removed the `io` property from migration classes
108104
- Removed Bakery `projectRoot` property. Use the `\UserFrosting\ROOT_DIR` constant instead
109105
- Removed `pretend` option from Bakery `migrate:refresh` and `migrate:reset` commands
110106
- Removed `UserFrosting\System\Bakery\DatabaseTest` trait, use `UserFrosting\Sprinkle\Core\Bakery\Helper\DatabaseTest` instead.
@@ -708,3 +704,5 @@ See [http://learn.userfrosting.com/upgrading/40-to-41](Upgrading 4.0.x to 4.1.x
708704
[#888]: https://github.com/userfrosting/UserFrosting/issues/888
709705
[#919]: https://github.com/userfrosting/UserFrosting/issues/919
710706
[#940]: https://github.com/userfrosting/UserFrosting/issues/940
707+
708+
[v4.2.0]: https://github.com/userfrosting/UserFrosting/compare/v4.1.22...v4.2.0

app/defines.php

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

1212
// Some standard defines
13-
define('UserFrosting\VERSION', '4.2.0-beta.2');
13+
define('UserFrosting\VERSION', '4.2.0');
1414
define('UserFrosting\DS', '/');
1515
define('UserFrosting\PHP_MIN_VERSION', '5.6');
1616
define('UserFrosting\PHP_RECOMMENDED_VERSION', '7.1');

0 commit comments

Comments
 (0)