Releases: userfrosting/UserFrosting
Releases · userfrosting/UserFrosting
v4.3.0-beta.1
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 thebake
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
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)
v4.2.3
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
Added
- New group factory (
'UserFrosting\Sprinkle\Account\Database\Models\Group'
) - New
withController
Trait, as an alternative for deprecatedControllerTestCase
- 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
. UsewithController
Trait instead.
v.4.2.1
Added
UserFrosting\Sprinkle\Core\Database\Models\Session
model for thesessions
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
v4.2.0-beta.2
See Upgrade Guide : https://learn.userfrosting.com/4.2/upgrading/41-to-42
Added
sprinkle:list
bakery commandNoCache
middleware to prevent caching of routes with dynamic content- Sample test environment for Docker
- Added
validateMigrationDependencies
helper method toBaseSeed
- Greek locale (Thanks @lenasterg!; [#940])
Changed
- Sprinkle list in the bakery
debug
command to uses the newsprinkle: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
toapp/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
andcoverage-path
options totest
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
- Added
- 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 insprinkles.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
ifsprinkles.json
doesn't contain valid json. - Added specific tests for sprinkleManager with 100% test coverage
- Added public
- 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
- See Changelog
v4.1.22
v4.1.21
- Locked Whoops to version 2.2.1 until they fix that
[internal]
issue.
v4.2.0-alpha.2
Note: This is a pre-release of the 4.2.0 release cycle. This should only be use for dev purposes.