Releases: userfrosting/UserFrosting
Releases · userfrosting/UserFrosting
v4.5.2
v4.6.0
See full Changelog
See upgrade guide
Changed Requirements
- Drop PHP 7.2 support. Gain PHP 8.0 support. PHP 8.0 is now recommended.
Dependencies upgrade
- Replaced individual UserFrosting Assets, Cache, Config, Fortress, i18n, Session, Support and UniformResouceLocator repos with monolitic
userfrosting/framework
repo. - Upgrade all Laravel packages to ^8.x from ^5.8.
- Upgrade
vlucas/phpdotenv
to ^5.3 from ^3.4. - Upgrade
symfony/console
to ^5.1 from ^4.3. - Upgrade
phpunit/phpunit
to ^9.5
New Feature
- Added support for built-in PHP Server.
Changes
- Per user theme (
$user->theme
) is now deprecated and disabled by default. To enable back, changeper_user_theme
config totrue
(#1131). This feature will be removed in future version. - Bakery command
execute
method now requires to return an int (Symfony 4.4 upgrade : https://symfony.com/blog/new-in-symfony-4-4-console-improvements). UserFrosting\Sprinkle\Core\Database\EloquentBuilder
now usesIlluminate\Database\Eloquent\Concerns\QueriesRelationships
Trait instead of manually implementingwithSum
,withAvg
,withMin
,withMax
&withAggregate
. See Laravel documentation for usage change.- Migrate
uf-modal.js
to jQuery Boilerplate (#740)
v4.5.1
Fixed
- Fix
php bakery route:list
error on procedural routes (#1162). - Fix
NO_DATA
alert when editing a User Role (#1163). - [Vagrant/Homestead] Force use of PHP 7.4 for CLI (since default is now PHP 8).
- Fix integration with filp/whoops 2.14
Changed
- Updated Docker development images (PHP 7.2 to 7.4, NodeJS 12.x to 14.x) (#1085).
v4.5.0
See full Changelog
See upgrade guide
Changed Requirements
- Drop PHP 7.1 support. PHP 7.4 is now recommended.
- Raised NodeJS version requirement from
>=10.12.0
to^12.17.0 || >=14.0.0
(#1138). - Raised NPM version requirement from
>=6.0.0
to>=6.14.4
(#1138).
Changed Composer Dependencies
- Updated
wikimedia/composer-merge-plugin
from^1.4.0
to^2.1.0
(#1117).
Added
- Composer 2 support (#1117).
- Lando support.
- Added more SMTP options in env and setup:smtp bakery command (#1077),
- Added new
MAIL_MAILER
environment variable to set mailer type. - Added "Native mail" to
setup:mail
bakery command.
Changed
- Implement findInt (#1117).
- Replace
getenv()
withenv()
(#1121). - Replaced
UserFrosting\Sprinkle\Core\Bakery\Helper\NodeVersionCheck
with newUserFrosting\Sprinkle\Core\Util\VersionValidator
class. - Bakery command
setup:smtp
renamed tosetup:mail
. The old command is still available as an alias for backward compatibility. - Changed
.php_cs
to.php_cs.dist
. - Changed
phpunit.xml
tophpunit.xml.dist
.
Fixed
- Replaced AdminLTE credit in default footer (old link was dead).
- Issue with path slashes on Windows (#1133).
Removed
- Removed deprecated
UserFrosting\System\Bakery\Migration
(deprecated in 4.2.0). - Removed deprecated
UserFrosting\Tests\DatabaseTransactions
(deprecated in 4.2.0). - Removed deprecated
UserFrosting\Sprinkle\Core\Tests\ControllerTestCase
(deprecated in 4.2.2). - Removed deprecated
UserFrosting\Sprinkle\Core\Model\UFModel
(deprecated in 4.1). - Removed deprecated
UserFrosting\Sprinkle\Core\Sprunje\Sprunje::getResults
(deprecated in 4.1.7). - Removed deprecated
UserFrosting\Sprinkle\Account\Database\Models\User::exists
(deprecated in 4.1.7). - Removed deprecated
UserFrosting\Sprinkle\Core\Database\Models\Model::export
(deprecated in 4.1.8). - Removed deprecated
UserFrosting\Sprinkle\Core\Database\Models\Model::queryBuilder
(deprecated in 4.1.8). - Removed deprecated
UserFrosting\Sprinkle\Core\Database\Relations\Concerns\Unique::withLimit
(deprecated in 4.1.7). - Removed deprecated
UserFrosting\Sprinkle\Core\Database\Relations\Concerns\Unique::withOffset
(deprecated in 4.1.7). - Removed deprecated
UserFrosting\Sprinkle\Core\Error\RendererWhoopsRenderer::getResourcesPath
. - Removed deprecated
UserFrosting\Sprinkle\Core\Error\RendererWhoopsRenderer::setResourcesPath
. - Removed deprecated Handlebar
ifCond
(Deprecated in 4.1). - Removed migration seed.
- Removed support for migration with non static
$dependencies
properties. - Removed support for deprecated
determineRedirectOnLogin
service (deprecated in 4.1.10).
v4.4.5
v4.4.4
Fixed
- Replaced AdminLTE credit in default footer (old link was dead).
- Lock Travis to Composer V1 to avoid error until Composer V2 support can be fixed.
- Remove whitespace at top of page templates (#1107)
- Deep extend when adding global query params in ufTable (#1114)
- Check for null key in Unique::buildTertiaryDictionary (#1109)
- Client-side assets containing glob characters causing crashes when building assets.
- Fixed issue where merging of package dependencies would show as "undefined", resulting in debugging challenges where there are issues.
v4.3.4
v4.4.3
v4.4.2
Fixed
- Locale matcher can fail when client provided locale identifier has incorrect casing (#1087)
- Sprunje applyTransformations method not returning the $collections object (#1068)
- Old assets in
app/assets/browser_modules
not being deleted during install (#1092) - Added
SKIP_PERMISSION_CHECK
env to skip check for local directories that needs to be write protected. This can be used for local production env testing.
v4.4.1
Fixed
- Fixed issue where incompatible NPM packages would be browserified, resulting in install failures.
- Replaced deprecated Twig class.
- Fixed issue when compiling assets for production (#1078).
- Migration dependencies should work with and without leading
\
(#1023) - Throttler don't count successful logins (#1073)