- Updated PSR logger to support newer versions of PHP
- Updated to use GitHub Actions instead of Travis CI
- Updated class signatures to work in PHP 8.1
- Updated CI to test with PHP 8.1
- Fixed bug when running an app locally with spaces in the path
- Updated to use
opis/closure
overjeremeamia/superclosure
for serializing closure routes
- Fixed bug that prevented sessions from being opened
- Updated to require PHP 7.3
- Added support for PHP 8.0
- Updated to use PHPUnit 9.5
Connection
andStatement
now composePDO
rather than extend it
- Added same-site support to cookies
- Can now indicate that fields with an empty value should still be validated by calling
Rules::validateEmpty()
- Added
Expression
to support SQL expressions in INSERT and UPDATE values
- Fixed #13 by adding support for PHP 7.4
- Fixed various PHPDoc typos and CS
- Fixed bug that caused
Roles::getRolesForSubject()
to returnRoleMembership
s instead ofRole
s.
- Fixed #112 and added
php apex migrations:fix
command to fix the migrations DB schema
- Updated migrations to roll back transactions on failure
- Added
IBootstrapperRegistry::registerBootstrapper()
- Deprecated
IBootstrapperRegistry::registerEagerBootstrapper()
andIBootstrapperRegistry::registerLazyBootstrapper()
- Fixed bug that prevented CSRF checks from working when using
_method
to manually set the request method
- Fixed migrations, which were running in reverse order
- Added support for IDs that are objects
- Fixed bug that prevented you from using custom rules twice
- Fixed bugs that caused DB migrations to not work with MySQL
- Migration bootstrapper now reads from an environment var to determine the database driver to use
- Fixed #92, which caused
php apex app:runlocally
to not work on Ubuntu due to the file path to the router not being correct
- Namespaced all sensitive native PHP functions for better security
- Added
Opulence\IO\Streams\MultiStream
- Fixed build scripts
- Fixed the package name (was
opulence/files
, now isopulence/io
)
- Opulence now requires at least PHP 7.1
- Updated PHPUnit to 6.2
- Moved all test directories into a
Test
directory within each library
- Deprecated all classes in this library (support will be dropped in Opulence 2.0)
- Added the collection library
- Added database migration support
- All classes have been deprecated in the
Opulence\Files
namespace and moved to theOpulence\IO
namespace
- Added
php apex make:migration
- Added
php apex migrations:up
- Added
php apex migrations:down
- Added stream support
- Deprecated
Bootstrapper::run()
andshutDown()
- Fixed #86 (bug with adding response headers)
- Deprecated
Opulence\Http\Middleware\IMiddleware
in favor ofOpulence\Routing\Middleware\IMiddleware
- Deprecated
Opulence\Http\Middleware\MiddlewareParameters
in favor ofOpulence\Routing\Middleware\MiddlewareParameters
- Deprecated
Opulence\Http\Middleware\ParameterizedMiddleware
in favor ofOpulence\Routing\Middleware\ParameterizedMiddleware
- Deprecated
Opulence\Applications\Tasks\Dispatchers\IDispatcher
andDispatcher
in favor ofITaskDispatcher
andTaskDispatcher
- Deprecated
Opulence\Bootstrappers\Dispatchers\IDispatcher
andDispatcher
in favor ofIBootstrapperDispatcher
andBootstrapperDispatcher
- Deprecated
Opulence\Events\Dispatchers\IDispatcher
andDispatcher
in favor ofIEventDispatcher
andEventDispatcher
- Deprecated
Opulence\Framework\Events\Bootstrappers\DispatcherBootstrapper
in favor ofEventDispatcherBootstrapper
- Deprecated
Opulence\Routing\Dispatchers\IDispatcher
andDispatcher
in favor ofIRouteDispatcher
andRouteDispatcher