Skip to content

Releases: userfrosting/UserFrosting

v4.4.1

23 Apr 02:11
dfb9c7d
Compare
Choose a tag to compare

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

22 Mar 21:35
c62790e
Compare
Choose a tag to compare

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 and locale:info Bakery commands.
  • New cli service. Returns true if current app is a CLI envrionement, false otherwise.

Changed

  • Interop\Container\ContainerInterface has been replaced with Psr\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 to pt_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 in findUnique was not available when SoftDeletes 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 the locale and translator services.

v4.2.4

23 Feb 01:24
08df766
Compare
Choose a tag to compare

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 with psr/container
  • Locked Symfony version to 4.x for backward compatibility

v4.3.3

29 Nov 03:16
6e44425
Compare
Choose a tag to compare

Fixed

  • Fixed wrong version number in define
  • Locked Slim version to 3.12.2 until UF 4.4 can fix container-interop/container-interop replacement with psr/container

v4.3.2

20 Nov 03:23
81a9d84
Compare
Choose a tag to compare

Added

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

06 Sep 00:42
a8e6711
Compare
Choose a tag to compare

Changed

  • Update Arabic Locales (#1028)

Fixed

  • Fix typos in user creation with initial password (#1030)

v4.3.0

30 Aug 00:35
79d87fd
Compare
Choose a tag to compare

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 the bake 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 from core to admin 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 the create-admin to the general bake command. Any sprinkle already extending the Core BakeCommand might need adjustments.
  • Updated custom Eloquent relations (belongsToManyThrough, morphToManyUnique, belongsToManyUnique, morphToManyUnique, etc.) to support Laravel 5.8. See The belongsToMany Method.

Removed

  • Removed belongsToManyConstrained (deprecated in 4.1.6)
  • Remove league/flysystem-aws-s3-v3 and league/flysystem-rackspace as core dependencies ([#1018])

v4.3.0-beta.1

28 Jul 02:50
4b8b128
Compare
Choose a tag to compare
v4.3.0-beta.1 Pre-release
Pre-release

See Upgrade Guide : https://learn.userfrosting.com/develop/upgrading/42-to-43

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 the bake command.
  • Allow null group assignment for users (#867; #964)
  • Password can now be set manually when creating new user (#1017; #763)

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 from core to admin 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 the create-admin to the general bake command. Any sprinkle already extending the Core BakeCommand might need adjustments.
  • Updated custom Eloquent relations (belongsToManyThrough, morphToManyUnique, belongsToManyUnique, morphToManyUnique, etc.) to support Laravel 5.8. See The belongsToMany Method.

Removed

  • Removed belongsToManyConstrained (deprecated in 4.1.6)
  • Remove league/flysystem-aws-s3-v3 and league/flysystem-rackspace as core dependencies (#1018)

v4.2.3

07 Jul 13:41
2c50344
Compare
Choose a tag to compare

Added

  • Config to set Domain of RememberMe Cookie (#990, #991; Thanks @xrobau !)
  • Config settings for password min/max length (#993)
  • migrate:clean bakery command (#1007)

Fixed

  • [PHPMailer] Turn off opportunistic TLS when disabled (#986, #987)
  • Migrator now ignore files that don't end in .php (#965, #998)
  • Respects CSRF_ENABLED environment variable (#976; Thanks @Poldovico !)
  • Checkbox bug on password change form (#1008)
  • On role page, users table action buttons not working (#1010)

v4.2.2

02 Jun 18:11
fb1b721
Compare
Choose a tag to compare

Added

  • New group factory ('UserFrosting\Sprinkle\Account\Database\Models\Group')
  • New withController Trait, as an alternative for deprecated ControllerTestCase
  • StyleCI config
  • [Travis] SQLite in-memory DB testing
  • [Travis] enabled memcache & Redis service

Fixed

  • DefaultPermissions seed results in SQL errors (#981; #983)
  • Make group & role schema consistent between creation and edition. Prevents group and role without a name or slug to be created during edition.
  • Factories changed to make sure slugs are unique
  • 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)
  • Force close db connection on test tearDown procedure

Changed

  • Recommended PHP version is now 7.2, as 7.1 will be EOL in less than 6 months
  • Added tests coverage for all build-in controllers
  • Applied styling rules from StyleCI & updated php-cs-fixer rules to match StyleCI config

Deprecated

  • ControllerTestCase. Use withController Trait instead.