From 7ac5326523deb1026e9d4c2a0478a01344615807 Mon Sep 17 00:00:00 2001 From: Rathes Sachchithananthan Date: Thu, 8 Feb 2018 20:23:33 +0100 Subject: [PATCH 1/2] Updates dependecies to Laravel 5.6 --- composer.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index bc995d4..dffe893 100644 --- a/composer.json +++ b/composer.json @@ -6,15 +6,16 @@ ], "minimum-stability": "stable", "require": { - "php" : "^7.0", + "php" : "^7.1", "spatie/yaml-front-matter": "^2.0", - "Illuminate/Routing": "^5.5", - "Illuminate/Http": "^5.5", + "Illuminate/Support": "^5.5|^5.6", + "Illuminate/Routing": "^5.5|^5.6", + "Illuminate/Http": "^5.5|^5.6", "league/commonmark": "^0.16.0" }, "require-dev": { - "phpunit/phpunit": "5.*|^6.3", - "orchestra/testbench": "~3.4.0|~3.5.0", + "phpunit/phpunit": "^6.3|^7.0", + "orchestra/testbench": "~3.5.0|~3.6.0", "spatie/phpunit-snapshot-assertions": "^1.1" }, "autoload": { From 23498b2e5ac7125d83592f9767310d35b9147fb4 Mon Sep 17 00:00:00 2001 From: Rathes Sachchithananthan Date: Thu, 8 Feb 2018 20:23:45 +0100 Subject: [PATCH 2/2] Adds missing changelog entries --- CHANGELOG.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5360a81..bdd9da7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,54 @@ CHANGELOG This changelog contains all notable change of the mozhi package +0.3.0 +--- +- adds support for Laravel 5.6 + +0.2.0 +--- + +This release adds the feature that there can be additional routes to the Mozhi routes. Before this version, every route would be automatically caught by Mozhi and passed to Mozhi's frontend controller. Now it is up to you to define this. + +Upgrade Guide +--- + +If you are upgrading from a version `< 0.2.0` then make sure that you add `Mozhi::routes()` to the `map()` function of your RouteServiceProvider. + +```php +mapApiRoutes(); + + $this->mapWebRoutes(); + + Mozhi::routes(); +} +``` + +0.1.2 +--- +Fixes that the `config` helper does not work in a ServiceProvider + +0.1.1 +--- +This release fixes the issue that the base route / was not caught by the Controller. Now the RouteResolver will look for a index.md file in the root directory of the contents. + 0.1.0: Initial release ---