Releases: userfrosting/UserFrosting
Releases · userfrosting/UserFrosting
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)
v4.4.0
See full Changelog
See upgrade guide
Changed Requirements
- PHP 7.3 is now the recommended version, as 7.2 is already security fixes only.
Changed Composer Dependencies
- Reset Slim version to ^3.12
- Updated PHPUnit to 8.5 (Version 7.5 still used for PHP 7.1)
Added
- PHP 7.4 Support & Travis environment.
- New
Locale
service. Provides a list of available locales in diffeent form. - New
BaseServicesProvider
abstract class added as base for all ServiceProvider class. - Sprinkle Services Provider can now be autoloaded using the
$servicesproviders
property in the sprinkle bootstrapper class. - Current locale code can now be accessed from Twig using the
currentLocale
global variable ([#1056]). - Locale now have config & metadata file ([#850])
- Added
locale:compare
,locale:dictionary
andlocale:info
Bakery commands. - New
cli
service. Returns true if current app is a CLI envrionement, false otherwise.
Changed
Interop\Container\ContainerInterface
has been replaced withPsr\Container\ContainerInterface
.\UserFrosting\I18n\MessageTranslator
is now\UserFrosting\I18n\Translator
.- Translator service moved to it's own
UserFrosting\Sprinkle\Core\I18n\TranslatorServicesProvider
class. - Travis now uses Xenial instead of Trusty.
site.locales.available
config now accept(string) identifier => (bool) enabled
. Set identifier to false or null to remove it from the list.- Locale plural rules moved from the keys file to the new metadata files.
Fixed
- When internationalizing, the lang attribute value of the Twig template is not set to follow changes ([#982])
pt_Br
locale identifier renamed topt_BR
.- Improved Docker support ([#1057])
- Improved Bakery debug command output
- Improve ordering by activity date ([#1061] & [#1062]; Thanks @ktecho!)
- Updated Vagrant config and documentation
- Fixed a bug where
withTrashed
infindUnique
was not available whenSoftDeletes
trait is not included in a model. - CSRF global middleware is not loaded anymore if in a CLI envrionement. This will avoid sessions to be created for bakery and tests by default.
- Browserified node modules not being correctly loaded.
- Browserified node modules potentially colliding with real entrypoints.
Removed
localePathBuilder
service removed. Task now handled by thelocale
andtranslator
services.
v4.2.4
Warning : This is a maintenance release for UserFrosting 4.2. This releases fixes compatibility issues so UserFrosting 4.2 can actually be installed. This release should only be used to test older sprinkles and debugging issues for those Sprinkles, as it's the last version compatible with PHP 5.6 and PHP 7.0.
It is encouraged to upgrade to UserFrosting 4.3.x or above.
Fixed
- Locked Slim version to 3.12.2 to fix
container-interop/container-interop
replacement withpsr/container
- Locked Symfony version to 4.x for backward compatibility
v4.3.3
v4.3.2
Added
- Add translation for Brazilian Portuguese (locale pt_BR) - Thanks @maxwellkenned ! (#1036)
- Add translation for Serbian (sr_RS) - Thanks @zbigcheese ! (#1035)
Changed
- Updates to the French Locales (#1027)
- Updates to the German Locales (#1039)
- Updates to the Thai Locales (#1041)
- Updates to the Greek Locales (#1042)
- Updates to the Persian Locales (#1045)
Fixed
- Fix issue with hidden fields in group modal (#1033)
- User cache not flushed on model save (#1050)
- Fix "the passwords don't match" error when editing a user password (#1034, #1038)
Deprecated
UserController:updateField
now expect the new value as $_PUT[$fieldName]
(where $fieldName
is the name of the field you want to update, eg. $_PUT['password']
for editing password
) instead of $_PUT['value']
. This will only affect your code if you're not using the user widget.
v4.3.1
v4.3.0
See full Changelog
See upgrade guide
Changed Requirements
- Changed minimum PHP Version to 7.1
Changed Composer Dependencies
- Updated Laravel Illuminate packages to 5.8
- Updated Twig to 2.11
- Updated PHPUnit to 7.5
- Updated Mockery to 1.2
- Updated nikic/php-parser to 4.2.2
- Updated PHPMailer/PHPMailer to 6.0.7
- Updated league/csv to 9.2.1
- Updated symfony/console to 4.3
- Updated vlucas/phpdotenv to 3.4.0
Changed Frontend Dependencies
- Updated handlebar from 3.0.x to 4.1.2
- Updated AdminLTE theme to 2.4.15 ([#994]; [#1014]; [#1015])
- Updated Font Awesome to 5.9 ([#957]; [#870])
Added
- Separated
BakeCommand
class into multiple methods to make it easier for sprinkle to add custom command to thebake
command. - Allow null group assignment for users ([#867]; [#964])
- Password can now be set manually when creating new user ([#1017]; [#763])
- Icon picker for user and group form ([#713]; [#1019])
Fix
bake
command return error if account sprinkle is not included ([#944])- Email is case-sensitive ([#881]; [#1012])
- Update vulnerable handlebars@^3.0.3 to ^4.0.12 ([#921])
- Moved
handlebars-helpers.js
fromcore
toadmin
sprinkle ([#897]) - Remove
Package guzzle/guzzle is abandoned, you should avoid using it. Use guzzlehttp/guzzle instead
message ([#1016])
Changed
- Account sprinkle now extend the Core
BakeCommand
class to add thecreate-admin
to the general bake command. Any sprinkle already extending the CoreBakeCommand
might need adjustments. - Updated custom Eloquent relations (
belongsToManyThrough
,morphToManyUnique
,belongsToManyUnique
,morphToManyUnique
, etc.) to support Laravel 5.8. See ThebelongsToMany
Method.
Removed
- Removed
belongsToManyConstrained
(deprecated in 4.1.6) - Remove
league/flysystem-aws-s3-v3
andleague/flysystem-rackspace
as core dependencies ([#1018])