Skip to content

Releases: peakphp/framework

4.2.4

28 Jun 14:02
Compare
Choose a tag to compare

removed exception throwing in AbstractApplication::getProp() and hasProp()

4.2.3

22 Feb 20:16
Compare
Choose a tag to compare
  • added method getConfigFile() to Config\Exception\FileNotFoundException and Config\Exception\FileNotReadableException
  • added method getPath() to Config\Exception\CachePathNotFoundException and Config\Exception\CachePathNotWritableException
  • added Blueprint\ConfigException and updated all Config exceptions accordingly
  • changed Backpack\Bedrock\AppRoutesMappers to sort alphabetically the routes by path name

4.2.2

08 Feb 17:17
Compare
Choose a tag to compare

added Http\Exception\JsonBodyParserException and updated Http\Middleware\JsonBodyParserMiddleware to use it

4.2.1

06 Feb 22:50
Compare
Choose a tag to compare
  • fixed bug in Collection\DotNotationCollection with methods get() and has() when the path end
    with string instead array key name
  • fixed Backpack\Bedrock\AppRoutesMapper to ignore route group (Http\Request\PreRoute)
  • added the stack mapping to Backpack\Bedrock\AppRoutesMapper

4.2.0

09 Jan 15:17
Compare
Choose a tag to compare

removed hard dependencies of symfony/console, symfony/process and symfony/yaml in composer.json and moved them to suggest section

4.1.2

07 Jan 03:28
Compare
Choose a tag to compare
  • improved exceptions for Collection\Structure
  • refactored function getShortClassName() from Common\helpers.php
  • Http\Request\Route will now also pass route arguments to PSR-7 request attributes

4.1.1

28 Oct 18:40
Compare
Choose a tag to compare
  • improved exceptions for Collection\Structure
  • updated Kernel::VERSION number

4.1.0

12 Sep 13:28
Compare
Choose a tag to compare
  • added group feature for pre-routing in to Bedrock\Http\Application
  • added Bedrock\Http\GroupManager and Http\Request\PreRoute
  • added methods getMatches() and pregMatch() to Http\Request\Route
  • removed deprecated methods Http\Request\RouteServerRequest getParam() and hasParam() in
    favor of getArg() and hasArg()
  • removed deprecated $param property for Request in favor of $args property
  • implemented interfaces ArrayAccess and Peak\Blueprint\Common\Arrayable in Http\Request\RouteArgs
  • deprecated method raw() of Http\Request\RouteArgs in favor of method toArray()

4.0.1

13 Aug 17:09
Compare
Choose a tag to compare
  • renamed class Http\Request\RouteParameter to RouteArgs.
  • request arguments are now stored in the Request object under property $args. $param property from route request is still usable but will be remove in version 4.1.0 in favor of $args.
  • methods Http\Request\RouteServerRequest getParam() and hasParam() renamed to getArg() and hasArg(). methods getParam() and hasParam() still can be used but will throw a user notice and will be remove in version 4.1.0 in favor of getArg() and hasArg()

4.0.0

25 Jun 00:08
Compare
Choose a tag to compare

4.0.0 is out! 🎉 🤘

  • added View\Exception\VarNotFoundException
  • added Bedrock\Cli\Exception\InvalidCommandException
  • renamed method bind() to bindSingleton() in Di\Container for consistency and clarity
  • added methods bindSingletons(), bindPrototypes() and bindFactories() to Di\Container
  • moved Peak\View component outside the framework
  • moved Peak\Pipeline component outside the framework