Skip to content

Releases: userfrosting/UserFrosting

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.

v4.1.20

14 Oct 19:57
Compare
Choose a tag to compare
  • Added route:list command to list all registered routes (#903; Thanks @apple314159 !)
  • Added warning in configuration file regarding disabling registration and email verification (#900; Thanks @linkhousemedia !)

v4.1.19

16 Oct 02:29
Compare
Choose a tag to compare
  • Prevent setup to run again if already configured when using bake
  • Fix Unique::getPaginatedQuery to call to addSelect instead of select during the pre-paginated query
  • Updated Spanish Translation (Thanks @silvioq !)
  • Fix error template in WhoopsRenderer (#885; Thanks @silvioq !)

v4.2.0-alpha.1

15 Aug 00:51
Compare
Choose a tag to compare
v4.2.0-alpha.1 Pre-release
Pre-release

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