- Updated to support Opulence 1.2
- Updated to require PHP 7.3 and up
- Added
DB_DRIVER
environment variable toconfig/environment/.env.example.php
SqlBootstrapper
now uses the driver specified in this environment variable
config/paths.php
no longer requires the Composer autoload
- Moved all classes under
src/Project/*
tosrc/*
- Updated
bootstrap/console/start.php
,bootstrap/http/start.php
,config/applications.php
to not use theApplications
library - Updated
tests/src/Application/Console/IntegrationTestCase.php
andtests/src/Application/Http/IntegrationTestCase.php
to not use theApplications
library - Moved logic in
run()
andshutDown()
toregisterBindings()
in:Project\Application\Bootstrappers\Console\Commands\CommandsBootstrapper
Project\Application\Bootstrappers\Http\Views\BuildersBootstrapper
- Fixed broken unit test
- Added better exception handling
- Made it easier to add repositories to
OrmBootstrapper
- Updated the required Opulence version to
1.0.*
- Added
localhost_router.php
to facilitate running locally
- Released v1.0.0
- Updated some dependencies
- Switched to the
Opulence\Sessions\Handlers\ArraySessionHandler
for unit tests - Added support for
Opulence\Views\Cache\ArrayCache
for unit tests
- Bumped PHPUnit version to 5.6
- Added ability to expire cached bootstrapper registry files
- Updated styling
- Simplified the page that's displayed upon installation
- Updated all
$environment->setVar(...)
and$environment->getVar()
to be static, egEnvironment::setVar(...)
andEnvironment::getVar()
- Removed
$container->bindInstance(Environment::class, $environment);
- Completely rewrote
config/environment.php
to not instantiate anEnvironment
class - Updated all
$environment->getName()
toEnvironment::getVar("ENV_NAME")
- In
tests/src/Project/Application/Console/IntegrationTestCase
andtests/src/Project/Application/Http/IntegrationTestCase
, replaced$this->environment = require __DIR__ . "/../../../../../config/environment.php";
with justrequire __DIR__ . "/../../../../../config/environment.php";
- Updated files to use
Opulence\Ioc\Bootstrappers
rather thanOpulence\Bootstrappers
- Completely rewrote the way bootstrappers are run by the application
- Added lots of uses of
Opulence\Framework\Configuration\Config
- Added a few new environment variables for session handlers and cookies
- Fixed
ENCRYPTION_KEY
environment var that's set when running PHPUnit tests
- Since the encryption library has been refactored to provide greater security, the encryption key byte length has been raised from 16 to 32 bytes
- Run
php apex encryption:generatekey
to create a new, suitably-long encryption key after updating
- Run
- Updated names of various dispatcher classes to a more descriptive
{Model}Dispatcher
- In
config/application.php
:- Updated
Opulence\Applications\Tasks\Dispatchers\IDispatcher as ITaskDispatcher
toOpulence\Applications\Tasks\Dispatchers\ITaskDispatcher
- Updated
Opulence\Bootstrappers\Dispatchers\IDispatcher as IBootstrapperDispatcher
toOpulence\Bootstrappers\Dispatchers\IBootstrapperDispatcher
- Updated
Opulence\Bootstrappers\Dispatchers\Dispatcher as BootstrapperDispatcher
toOpulence\Bootstrappers\Dispatchers\BootstrapperDispatcher
- Updated
- In
config/bootstrappers.php
:- Updated
use Project\Application\Bootstrappers\Events\DispatcherBootstrapper;
touse Project\Application\Bootstrappers\Events\EventDispatcherBootstrapper;
- Updated
- In
config/tasks.php
:- Updated
Opulence\Applications\Tasks\Dispatchers\Dispatcher
toOpulence\Applications\Tasks\Dispatchers\TaskDispatcher
- Updated
- Updated
Project\Application\Bootstrappers\Events\DispatcherBootstrapper
toEventDispatcherBootstrapper
- Also updated
use Opulence\Framework\Events\Bootstrappers\DispatcherBootstrapper as BaseBootstrapper;
touse Opulence\Framework\Events\Bootstrappers\EventDispatcherBootstrapper as BaseBootstrapper;
- Also updated
- Made the default environment "development" rather than "production"
- Removed unnecessary "CLIENT_ID" from environment
- Added "ENV_NAME" rather than relying on resolvers to detect the host
- Fixed installation scripts
- Incremented PHPUnit version from 5.2 to 5.4
- First beta
- Updated all bootstrappers to use new namespaces in Opulence v1.0.0-alpha36
- Updated all middleware to use new namespaces in Opulence v1.0.0-alpha36
- Updated to PHP 7
- Updated to PHPUnit 5.2
- Restructured directories to better match with domain-driven design philosophy
- Added
Application
,Domain
, andInfrastructure
directories undersrc/Project
- Added
- Updated to use the new IoC container (see below)
- Updated
Project\Application\Bootstrappers\Http\Session\SessionBootstrapper
to inject anOpulence\Session\Handlers\ISessionEncrypter
encrypter if the session is using encryption (formerly was using Opulence's cryptography library)
- Completely rewrote the container, which is not backwards-compatible
- Please refer to Opulence changelog to see what changed
- Updated calls to
ViewFactory::create()
tocreateView()
- Added
resources/lang/en/validation.php
- Added
resources.lang
andresources.lang.en
toconfig/paths.php
- Added
Project\Bootstrappers\Validation\ValidatorBootstrapper
- Moved
resources/views/errors
toresources/views/errors/html
- Added
resources/views/errors/json
and views under that directory
- Renamed all
ApplicationTestCase
instances toIntegrationTestCase
- Updated console syntax
- Removed
Opulence\Framework\Bootstrappers\Php\PhpBootstrapper
- Renamed
Project\Bootstrappers\Databases\RedisBootstrapper
toProject\Bootstrappers\Cache\RedisBootstrapper
- Added
Opulence\Framework\Http\Middleware\CheckMaintenanceMode
to global middleware inconfig/http/middleware.php
- Added
resources/views/errors/503.fortune.php
- Fixed typos
- Updated HTTP tests to use
RequestBuilder
rather than callroute()
directly
- Added support for Id generators in the unit of work
- Updated calls to include target for
Container::makeShared()
inProject\Bootstrappers\Http\Sessions::getCacheBridge()
- Fixed formatting of
resources/views/Home.fortune.php
- Bound
Opulence\Orm\IUnitOfWork
rather thanUnitOfWork
- Added
LoggerInterface
toErrorHandler
- Moved
Opulence\Applications\Environments
to its own libraryOpulence\Environments
- Improved formatting of exceptions
- Re-added
phpunit.xml
- Changed
/configs
to/config
- Added
/config/exceptions.php
and/config/errors.php
- Changed HTTP kernel to use exception handlers and renderers rather than loggers
- Changed
Opulence\Applications\Application::shutdown()
toshutDown()
- Changed
Opulence\Applications\Paths
toOpulence\Bootstrappers\Paths
- Added develop branch
- Renamed
/app
directory to/src
- Renamed
/tests/app
directory to/tests/src
- Added
TypeMapperFactory
binding toSqlBootstrapper
- Added
TypeMapper
binding toRedisBootstrapper
- Removed
TypeMapper
fromOpulence\Redis\Redis::__construct()
- Changed
Opulence\Applications\Bootstrappers
namespace toOpulence\Bootstrappers
- Removed
Application::getIocContainer()
andApplication::getPaths()
calls
- Updated
ApplicationTestCase::setApplication()
tosetApplicationAndIocContainer()
- Changed formatting of PHPDoc
- Changed capitalization of namespace/class name/variable acronyms to follow pascal case
- Changed all directory names to match namespace capitalization
- Updated references from
Opulence\Framework\Tests
toOpulence\Framework\Testing\PHPUnit
- Changed wording on homepage
- Changed all views to have
.fortune.php
extensions
- Updated
UnitOfWorkBootstrapper
to use changes in Opulence v1.0.0-alpha3
- Created first alpha release
- Updated Composer configs to latest branch
- Fixed bad "use" statement in
configs/application.php
- Updated connection pools to use latest
Opulence\Databases\ConnectionPools
namespace (Opulence v0.6.17)
- Updated
ViewBootstrapper
to instantiateFileCache
class, notCache
- Removed
$fileSystem
parameter fromFileCache
- Officially titled the console library "Apex"
- Renamed
opulence
file toapex
- Fixed
SessionBootstrapper
so that it respects cache client name
- Updated
Project\Bootstrappers\Databases\RedisBootstrapper
to use latestOpulence\Redis\Redis
- Added
REDIS_DATABASE
environment variable
- Added
cache.clientName
toconfigs/http/sessions.php
- Added client name parameter when making
MemcachedBridge
andRedisBridge
for cache-backed sessions
- Updated to latest changes in Opulence v0.6.14
- Added
Opulence\Framework\Bootstrappers\PHP\PHPBootstrapper
- Removed
setupcheck.php
call
- Updated to use latest
ViewFactory::registerBuilder()
implementation
- Switched to PSR-2
- Removed unnecessary aliases
- Added
Bootstrapper
suffix to all bootstrapper class names
- Switched to PSR-2 spacing between
namespace
anduse
statements
- Changed
Environment::getVariable()
andsetVariable()
togetVar()
andsetVar()
, respectively
- Bound
Monolog\Logger
to the IoC container
- Fixed various PHPDoc
- Added "Builder" suffix to
ViewBuilder
classes - Updated references of "template" to "view"
- Removed "Edit" page to simplify the process of getting started
- Removed unnecessary extensions in
ViewFactory
calls
- Updated to Opulence (formerly RDev) 0.6
- Renamed console start file
rdev
toopulence
- Renamed
Project\Bootstrappers\HTTP\Views\Template
toView
andTemplateFunctions
toViewFunctions
- Updated references to
ITemplate
,Template
,TemplateFactory
, andITemplateFactory
toIView
,View
,ViewFactory
, andIViewFactory
, respectively
- Removed an unnecessary boolean
- Fixed an erroneous comment
- Updated environment host classes to latest RDev
- Updated environment config to latest RDev
- Renamed
configs/http/routing.php
toroutes.php
- Added
configs/http/routing.php
to hold router settings - Added caching ability to
Project\Bootstrappers\HTTP\Routing\Router
- Removed
app/project/events/events
directory (event classes should just go inapp/project/events
- Added
Project\Bootstrappers\Events\Dispatcher
- Added
app/project/events/events
andapp/project/events/listeners
directories - Added
configs/events.php
- Added
Dispatcher::class
toconfigs/bootstrappers.php
- Updated to RDev 0.5.0
- Jumped to version 0.5.0 to match RDev version
- Added this changelog
- Added
bootstrap/configureBootstrappers.php
- Added changelog to .gitattributes
export-ignore
- Moved tmp/http/* to tmp/framework/http/*
- Added tmp/framework/console
- Added
configs/tasks.php
- Added
tmp.framework.console
toconfigs/paths.php
- Added
tmp.framework.http
toconfigs/paths.php
- Renamed
compiledViews
path inconfigs/paths.php
toviews.compiled
- Renamed
views
path inconfigs/paths.php
toviews.raw
- Renamed
RDev\Console\Commands\Commands
toRDev\Console\Commands\CommandCollection
- In
bootstrap/console/start.php
, changed:RDev\Console\Kernels\Kernel
toRDev\Framework\Console\Kernel
$commands
to$commandCollection
, set it to$application->getIoCContainer()->makeShared("RDev\\Console\\Commands\\CommandCollection")
- Renamed
Project\Console\Commands\HelloWorld
toProject\Console\Commands\HelloWorldCommand
- Updated
configs/console/commands.php
to reflectHelloWorldCommand
name change - Renamed
Project\Console\HelloWorldTest
toProject\Console\HelloWorldCommandTest
- Changed all references to
RDev\Databases\NoSQL\Memcached
namespace toRDev\Memcached
- Changed all references to
RDev\Databases\NoSQL\Redis
namespace toRDev\Redis
- Changed all references to
RDev\Databases\SQL
namespace toRDev\Databases
- Added "SESSION_DRIVER" environment variable
- In
bootstrap/http/start.php
, changed:RDev\HTTP\Kernels\Kernel
toRDev\Framework\HTTP\Kernel
RDev\HTTP\Routing\Router
toRDev\Routing\Router
- Split
configs/logging.php
into kernel-specific configs:configs/console/logging.php
andconfigs/http/logging.php
- Changed all references to
RDev\HTTP\Routing
namespace toRDev\Routing
- Moved "controller" option out of array into the second parameter in
Router
methods - Changed
setMissedRouteControllerName()
tosetMissedRouteController()
inapp/project/bootstrappers/http/routing/Router.php
- Removed
session.php
and all mentions of sessions fromconfigs/application.php
- Aded
configs/http/sessions.php
- Added
RDev\Framework\HTTP\Middleware\Session
toconfigs/http/middleware.php
- Added
Project\Bootstrappers\HTTP\Sessions\Session
bootstrapper, replacedRDev\Framework\Bootstrappers\HTTP\Sessions\Session
bootstrapper with it inconfigs/console/bootstrappers.php
andconfigs/http/bootstrappers.php
- Added
Project\HTTP\Middleware\CheckCSRFToken
class
- Added
Project\Bootstrappers\HTTP\Views\Template
bootstrapper, replacedRDev\Framework\Bootstrappers\HTTP\Views\Template
bootstrapper inconfigs/http/bootstrappers.php
- Updated the following config settings in
configs/http/views.php
:cacheLifetime
renamed tocache.lifetime
gcChance
renamed togc.chance
gcTotal
renamed togc.divisor
- Added
Project\HTTP\ApplicationTestCase::getGlobalMiddleware()