Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Releases: aheenam/mozhi

0.5.0

28 Feb 19:50
b75f618
Compare
Choose a tag to compare
  • drops support for Laravel 5.6
  • adds Laravel 5.8 support
  • Refactoring of the template renderer
  • Inject a markdown parser, this way it can now be swapped out

Breaking changes

  • The Route Resolver has been modified. Every page has to live in its own directory now. The URL /blog should have a contents/blog/blog.md while previously contents/blog.md was enough. (#18)

0.4.0

05 Sep 16:38
0c1be8b
Compare
Choose a tag to compare

This version adds support to Laravel 5.7 and drops support for Laravel 5.5

0.3.0

08 Feb 19:27
4859ec5
Compare
Choose a tag to compare
  • adds support for Laravel 5.6

0.2.0

15 Jan 08:59
d08e6ea
Compare
Choose a tag to compare

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

namespace App\Providers;

use Illuminate\Support\Facades\Route;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Mozhi;

...

/**
 * Define the routes for the application.
 *
 * @return void
 */
public function map()
{
    $this->mapApiRoutes();

    $this->mapWebRoutes();

    Mozhi::routes();
}

0.1.2

02 Nov 10:36
Compare
Choose a tag to compare
0.1.2 Pre-release
Pre-release

Fixes that the config helper does not work in a ServiceProvider

0.1.1

02 Nov 10:09
Compare
Choose a tag to compare
0.1.1 Pre-release
Pre-release

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

02 Nov 09:09
Compare
Choose a tag to compare
0.1.0 Initial release Pre-release
Pre-release

This is the first release just having the basic feature implemented:

  1. Catch all routes and render the appropriate template.

Note: This release is not production ready!