Skip to content

Releases: userfrosting/UserFrosting

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.

v.4.2.1

19 Apr 01:44
adec2ed
Compare
Choose a tag to compare

Added

  • UserFrosting\Sprinkle\Core\Database\Models\Session model for the sessions db table.
  • TEST_SESSION_HANDLER environment variable to set the session save handler to use for Testing.
  • withDatabaseSessionHandler Trait for testing. Use $this->useDatabaseSessionHandler() to use database session handler in tests.

Fixed

  • Italian translation (#950)
  • User Registration failing when trying to register two accounts with the same email address (#953)
  • Bad test case for CoreController::getAsset.
  • User Model forceDelete doesn't remove the record from the DB (#951)
  • Fix PHP Fatal error that can be thrown when registering a new User
  • Session not working with database handler (#952)
  • Remove any persistences when forceDeleting user to prevent Foreign Key Constraints issue (#963)
  • More helpful error message in checkEnvironment.php (Thanks @amosfolz; #958)
  • Hide locale select from UI if only one locale is available (Thanks @avsdev-cw; #968)
  • Download CSV filename error (#893)

v4.2.0

15 Mar 01:38
d312d1f
Compare
Choose a tag to compare

v4.2.0-beta.2

28 Feb 02:16
015cbc5
Compare
Choose a tag to compare
v4.2.0-beta.2 Pre-release
Pre-release

See Upgrade Guide : https://learn.userfrosting.com/4.2/upgrading/41-to-42

Added

  • sprinkle:list bakery command
  • NoCache middleware to prevent caching of routes with dynamic content
  • Sample test environment for Docker
  • Added validateMigrationDependencies helper method to BaseSeed
  • Greek locale (Thanks @lenasterg!; [#940])

Changed

  • Sprinkle list in the bakery debug command to uses the new sprinkle:list table
  • routerCacheFile config now only contains filename. Locator is used to find the full path
  • Updated Docker integration
  • Moved some constants from app/defines.php to app/sprinkles/core/defines.php
  • Move route initialization from system to core sprinkle as router service is located in the core sprinkle

Fix

  • Fix for Test Bakery command
    • Added coverage-format and coverage-path options to test Bakery command
    • Sprinkle Testscope is now case insensitive
    • Class testscope now relative to / instead of /UserFrosting/Sprinkle/ for more intuitive usage and to enable testing of non sprinkle tests
    • Detect and use the sprinkle phpunit.xml config when testing a specific sprinkle
  • SprinkleManager Improvements :
    • Added public getSprinklePath method to get path to the sprinkle directory
    • Added public getSprinkleClassNamespace method to get sprinkle base namespace
    • Added public getSprinkle method. Returns the sprinkle name as formatted in sprinkles.json file, independent of the case of the search argument.
    • Public isAvailable method now case insensitive.
    • Added public getSprinklesPath & setSprinklesPath to return or set the path to the sprinkle dir (app/sprinkles/)
    • Added JsonException if sprinkles.json doesn't contain valid json.
    • Added specific tests for sprinkleManager with 100% test coverage
  • Ignore existing package-lock.json which caused incorrect dependencies to be installed when upgrading from older versions of UserFrosting.
  • Vendor assets not found in production mode
  • Various Docker specific edge cases and misconfigurations
  • Fix path issue on Windows

v4.2.0-beta.1

10 Jan 03:59
9073989
Compare
Choose a tag to compare
v4.2.0-beta.1 Pre-release
Pre-release

v4.1.22

13 Dec 03:21
abe0184
Compare
Choose a tag to compare
  • Updated Docker README.md.
  • Replaced libpng12-dev which has been dropped since Ubuntu 16.04 with libpng-dev in PHP Dockerfile.
  • Avoid twig deprecation warning (#911; Thanks @silvioq !)

v4.1.21

21 Oct 01:49
95ad1f6
Compare
Choose a tag to compare

v4.2.0-alpha.2

16 Oct 01:41
fcc2bfc
Compare
Choose a tag to compare
v4.2.0-alpha.2 Pre-release
Pre-release

Note: This is a pre-release of the 4.2.0 release cycle. This should only be use for dev purposes.