Skip to content

Latest commit

 

History

History
637 lines (362 loc) · 16.5 KB

CHANGELOG.md

File metadata and controls

637 lines (362 loc) · 16.5 KB

v1.2.0 (2021-03-15)

General

  • Updated to support Opulence 1.2
  • Updated to require PHP 7.3 and up

v1.1.2 (2017-12-23)

Databases

  • Added DB_DRIVER environment variable to config/environment/.env.example.php
  • SqlBootstrapper now uses the driver specified in this environment variable

v1.1.1 (2017-10-23)

General

  • config/paths.php no longer requires the Composer autoload

v1.1.0 (2017-10-22)

General

  • Moved all classes under src/Project/* to src/*
  • Updated bootstrap/console/start.php, bootstrap/http/start.php, config/applications.php to not use the Applications library
  • Updated tests/src/Application/Console/IntegrationTestCase.php and tests/src/Application/Http/IntegrationTestCase.php to not use the Applications library
  • Moved logic in run() and shutDown() to registerBindings() in:
    • Project\Application\Bootstrappers\Console\Commands\CommandsBootstrapper
    • Project\Application\Bootstrappers\Http\Views\BuildersBootstrapper

v1.0.3 (2017-01-30)

Console

  • Fixed broken unit test

v1.0.2 (2017-01-26)

General

  • Added better exception handling

ORM

  • Made it easier to add repositories to OrmBootstrapper

v1.0.1 (2017-01-02)

General

  • Updated the required Opulence version to 1.0.*
  • Added localhost_router.php to facilitate running locally

v1.0.0 (2016-12-05)

General

  • Released v1.0.0

v1.0.0-rc3 (2016-12-02)

General

  • Updated some dependencies

Testing

  • Switched to the Opulence\Sessions\Handlers\ArraySessionHandler for unit tests
  • Added support for Opulence\Views\Cache\ArrayCache for unit tests

v1.0.0-rc2 (2016-11-24)

General

  • Bumped PHPUnit version to 5.6

Bootstrappers

  • Added ability to expire cached bootstrapper registry files

v1.0.0-rc1 (2016-10-15)

General

  • Updated styling
  • Simplified the page that's displayed upon installation

v1.0.0-beta7 (2016-09-22)

Config

  • Updated all $environment->setVar(...) and $environment->getVar() to be static, eg Environment::setVar(...) and Environment::getVar()
  • Removed $container->bindInstance(Environment::class, $environment);
  • Completely rewrote config/environment.php to not instantiate an Environment class
  • Updated all $environment->getName() to Environment::getVar("ENV_NAME")

Tests

  • In tests/src/Project/Application/Console/IntegrationTestCase and tests/src/Project/Application/Http/IntegrationTestCase, replaced $this->environment = require __DIR__ . "/../../../../../config/environment.php"; with just require __DIR__ . "/../../../../../config/environment.php";

v1.0.0-beta6 (2016-08-29)

General

  • Updated files to use Opulence\Ioc\Bootstrappers rather than Opulence\Bootstrappers

Config

  • Completely rewrote the way bootstrappers are run by the application
  • Added lots of uses of Opulence\Framework\Configuration\Config

Sessions

  • Added a few new environment variables for session handlers and cookies

v1.0.0-beta5

General

  • Fixed ENCRYPTION_KEY environment var that's set when running PHPUnit tests

v1.0.0-beta4

General

  • 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
  • Updated names of various dispatcher classes to a more descriptive {Model}Dispatcher

Config

  • In config/application.php:
    • Updated Opulence\Applications\Tasks\Dispatchers\IDispatcher as ITaskDispatcher to Opulence\Applications\Tasks\Dispatchers\ITaskDispatcher
    • Updated Opulence\Bootstrappers\Dispatchers\IDispatcher as IBootstrapperDispatcher to Opulence\Bootstrappers\Dispatchers\IBootstrapperDispatcher
    • Updated Opulence\Bootstrappers\Dispatchers\Dispatcher as BootstrapperDispatcher to Opulence\Bootstrappers\Dispatchers\BootstrapperDispatcher
  • In config/bootstrappers.php:
    • Updated use Project\Application\Bootstrappers\Events\DispatcherBootstrapper; to use Project\Application\Bootstrappers\Events\EventDispatcherBootstrapper;
  • In config/tasks.php:
    • Updated Opulence\Applications\Tasks\Dispatchers\Dispatcher to Opulence\Applications\Tasks\Dispatchers\TaskDispatcher

Bootstrappers

  • Updated Project\Application\Bootstrappers\Events\DispatcherBootstrapper to EventDispatcherBootstrapper
    • Also updated use Opulence\Framework\Events\Bootstrappers\DispatcherBootstrapper as BaseBootstrapper; to use Opulence\Framework\Events\Bootstrappers\EventDispatcherBootstrapper as BaseBootstrapper;

v1.0.0-beta3 (2016-06-25)

Environments

  • 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

v1.0.0-beta2 (2016-06-17)

General

  • Fixed installation scripts

Tests

  • Incremented PHPUnit version from 5.2 to 5.4

v1.0.0-beta1 (2016-06-15)

General

  • First beta

v1.0.0-alpha24

Bootstrappers

  • Updated all bootstrappers to use new namespaces in Opulence v1.0.0-alpha36

Http

  • Updated all middleware to use new namespaces in Opulence v1.0.0-alpha36

v1.0.0-alpha23

General

  • Updated to PHP 7
  • Updated to PHPUnit 5.2
  • Restructured directories to better match with domain-driven design philosophy
    • Added Application, Domain, and Infrastructure directories under src/Project

Bootstrappers

  • Updated to use the new IoC container (see below)
  • Updated Project\Application\Bootstrappers\Http\Session\SessionBootstrapper to inject an Opulence\Session\Handlers\ISessionEncrypter encrypter if the session is using encryption (formerly was using Opulence's cryptography library)

IoC

  • Completely rewrote the container, which is not backwards-compatible
  • Please refer to Opulence changelog to see what changed

Views

  • Updated calls to ViewFactory::create() to createView()

v1.0.0-alpha22

Validation

  • Added resources/lang/en/validation.php
  • Added resources.lang and resources.lang.en to config/paths.php
  • Added Project\Bootstrappers\Validation\ValidatorBootstrapper

Views

  • Moved resources/views/errors to resources/views/errors/html
  • Added resources/views/errors/json and views under that directory

v1.0.0-alpha21

Testing

  • Renamed all ApplicationTestCase instances to IntegrationTestCase

v1.0.0-alpha20

Testing

  • Updated console syntax

v1.0.0-alpha19

Bootstrappers

  • Removed Opulence\Framework\Bootstrappers\Php\PhpBootstrapper
  • Renamed Project\Bootstrappers\Databases\RedisBootstrapper to Project\Bootstrappers\Cache\RedisBootstrapper

Middleware

  • Added Opulence\Framework\Http\Middleware\CheckMaintenanceMode to global middleware in config/http/middleware.php

Views

  • Added resources/views/errors/503.fortune.php

v1.0.0-alpha18

General

  • Fixed typos

v1.0.0-alpha17

Testing

  • Updated HTTP tests to use RequestBuilder rather than call route() directly

v1.0.0-alpha16

ORM

  • Added support for Id generators in the unit of work

Session

  • Updated calls to include target for Container::makeShared() in Project\Bootstrappers\Http\Sessions::getCacheBridge()

v1.0.0-alpha15

Views

  • Fixed formatting of resources/views/Home.fortune.php
  • Bound Opulence\Orm\IUnitOfWork rather than UnitOfWork

v1.0.0-alpha14

Debug

  • Added LoggerInterface to ErrorHandler

v1.0.0-alpha13

Environments

  • Moved Opulence\Applications\Environments to its own library Opulence\Environments

v1.0.0-alpha12

Views

  • Improved formatting of exceptions

v1.0.0-alpha11

PHPUnit

  • Re-added phpunit.xml

v1.0.0-alpha10

Configs

  • Changed /configs to /config
  • Added /config/exceptions.php and /config/errors.php

HTTP

  • Changed HTTP kernel to use exception handlers and renderers rather than loggers

v1.0.0-alpha9

Bootstrap

  • Changed Opulence\Applications\Application::shutdown() to shutDown()

Configs

  • Changed Opulence\Applications\Paths to Opulence\Bootstrappers\Paths

v1.0.0-alpha8

General

  • Added develop branch
  • Renamed /app directory to /src
  • Renamed /tests/app directory to /tests/src

Databases

  • Added TypeMapperFactory binding to SqlBootstrapper

Redis

  • Added TypeMapper binding to RedisBootstrapper
  • Removed TypeMapper from Opulence\Redis\Redis::__construct()

v1.0.0-alpha7

Bootstrappers

  • Changed Opulence\Applications\Bootstrappers namespace to Opulence\Bootstrappers

v1.0.0-alpha6

Applications

  • Removed Application::getIocContainer() and Application::getPaths() calls

Testing

  • Updated ApplicationTestCase::setApplication() to setApplicationAndIocContainer()

v1.0.0-alpha5

General

  • Changed formatting of PHPDoc
  • Changed capitalization of namespace/class name/variable acronyms to follow pascal case
  • Changed all directory names to match namespace capitalization

v1.0.0-alpha4

Tests

  • Updated references from Opulence\Framework\Tests to Opulence\Framework\Testing\PHPUnit

v1.0.0-alpha3

Views

  • Changed wording on homepage
  • Changed all views to have .fortune.php extensions

v1.0.0-alpha2

ORM

  • Updated UnitOfWorkBootstrapper to use changes in Opulence v1.0.0-alpha3

v1.0.0-alpha1

General

  • Created first alpha release
  • Updated Composer configs to latest branch

v0.6.15

General

  • Fixed bad "use" statement in configs/application.php

v0.6.14

Databases

  • Updated connection pools to use latest Opulence\Databases\ConnectionPools namespace (Opulence v0.6.17)

Views

  • Updated ViewBootstrapper to instantiate FileCache class, not Cache
  • Removed $fileSystem parameter from FileCache

v0.6.13

Console

  • Officially titled the console library "Apex"
  • Renamed opulence file to apex

v0.6.12

Sessions

  • Fixed SessionBootstrapper so that it respects cache client name

v0.6.11

Redis

  • Updated Project\Bootstrappers\Databases\RedisBootstrapper to use latest Opulence\Redis\Redis
  • Added REDIS_DATABASE environment variable

Sessions

  • Added cache.clientName to configs/http/sessions.php
  • Added client name parameter when making MemcachedBridge and RedisBridge for cache-backed sessions

v0.6.10

Environments

  • Updated to latest changes in Opulence v0.6.14

v0.6.9

Bootstrappers

  • Added Opulence\Framework\Bootstrappers\PHP\PHPBootstrapper
  • Removed setupcheck.php call

Views

  • Updated to use latest ViewFactory::registerBuilder() implementation

v0.6.8

General

  • Switched to PSR-2

v0.6.7

Bootstrappers

  • Removed unnecessary aliases

v0.6.6

Bootstrappers

  • Added Bootstrapper suffix to all bootstrapper class names

v0.6.5

General

  • Switched to PSR-2 spacing between namespace and use statements

v0.6.4

Environments

  • Changed Environment::getVariable() and setVariable() to getVar() and setVar(), respectively

Logging

  • Bound Monolog\Logger to the IoC container

v0.6.3

General

  • Fixed various PHPDoc

Views

  • Added "Builder" suffix to ViewBuilder classes
  • Updated references of "template" to "view"

v0.6.2

General

  • Removed "Edit" page to simplify the process of getting started

v0.6.1

General

  • Removed unnecessary extensions in ViewFactory calls

v0.6.0

General

  • Updated to Opulence (formerly RDev) 0.6
  • Renamed console start file rdev to opulence

Bootstrappers

  • Renamed Project\Bootstrappers\HTTP\Views\Template to View and TemplateFunctions to ViewFunctions

Views

  • Updated references to ITemplate, Template, TemplateFactory, and ITemplateFactory to IView, View, ViewFactory, and IViewFactory, respectively

v0.5.7

Configs

  • Removed an unnecessary boolean

v0.5.6

Configs

  • Fixed an erroneous comment

v0.5.5

Configs

  • Updated environment host classes to latest RDev

v0.5.4

Configs

  • Updated environment config to latest RDev

v0.5.3

Routing

  • Renamed configs/http/routing.php to routes.php
  • Added configs/http/routing.php to hold router settings
  • Added caching ability to Project\Bootstrappers\HTTP\Routing\Router

v0.5.2

Events

  • Removed app/project/events/events directory (event classes should just go in app/project/events

v0.5.1

Events

  • Added Project\Bootstrappers\Events\Dispatcher
  • Added app/project/events/events and app/project/events/listeners directories
  • Added configs/events.php
  • Added Dispatcher::class to configs/bootstrappers.php

v0.5.0

General

  • 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

Configs

  • Added configs/tasks.php
  • Added tmp.framework.console to configs/paths.php
  • Added tmp.framework.http to configs/paths.php
  • Renamed compiledViews path in configs/paths.php to views.compiled
  • Renamed views path in configs/paths.php to views.raw

Console

  • Renamed RDev\Console\Commands\Commands to RDev\Console\Commands\CommandCollection
  • In bootstrap/console/start.php, changed:
    • RDev\Console\Kernels\Kernel to RDev\Framework\Console\Kernel
    • $commands to $commandCollection, set it to $application->getIoCContainer()->makeShared("RDev\\Console\\Commands\\CommandCollection")
  • Renamed Project\Console\Commands\HelloWorld to Project\Console\Commands\HelloWorldCommand
  • Updated configs/console/commands.php to reflect HelloWorldCommand name change
  • Renamed Project\Console\HelloWorldTest to Project\Console\HelloWorldCommandTest

Databases

  • Changed all references to RDev\Databases\NoSQL\Memcached namespace to RDev\Memcached
  • Changed all references to RDev\Databases\NoSQL\Redis namespace to RDev\Redis
  • Changed all references to RDev\Databases\SQL namespace to RDev\Databases

Environment

  • Added "SESSION_DRIVER" environment variable

HTTP

  • In bootstrap/http/start.php, changed:
    • RDev\HTTP\Kernels\Kernel to RDev\Framework\HTTP\Kernel
    • RDev\HTTP\Routing\Router to RDev\Routing\Router

Logging

  • Split configs/logging.php into kernel-specific configs: configs/console/logging.php and configs/http/logging.php

Routing

  • Changed all references to RDev\HTTP\Routing namespace to RDev\Routing
  • Moved "controller" option out of array into the second parameter in Router methods
  • Changed setMissedRouteControllerName() to setMissedRouteController() in app/project/bootstrappers/http/routing/Router.php

Sessions

  • Removed session.php and all mentions of sessions from configs/application.php
  • Aded configs/http/sessions.php
  • Added RDev\Framework\HTTP\Middleware\Session to configs/http/middleware.php
  • Added Project\Bootstrappers\HTTP\Sessions\Session bootstrapper, replaced RDev\Framework\Bootstrappers\HTTP\Sessions\Session bootstrapper with it in configs/console/bootstrappers.php and configs/http/bootstrappers.php
  • Added Project\HTTP\Middleware\CheckCSRFToken class

Templates

  • Added Project\Bootstrappers\HTTP\Views\Template bootstrapper, replaced RDev\Framework\Bootstrappers\HTTP\Views\Template bootstrapper in configs/http/bootstrappers.php
  • Updated the following config settings in configs/http/views.php:
    • cacheLifetime renamed to cache.lifetime
    • gcChance renamed to gc.chance
    • gcTotal renamed to gc.divisor

Tests

  • Added Project\HTTP\ApplicationTestCase::getGlobalMiddleware()