From 85f096b5d72b603c50462b406cd588a8dbf823ac Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 12 Dec 2013 09:28:04 -0600 Subject: [PATCH 1/3] Minimum stability stable. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 67b36205..d9cfea0f 100644 --- a/composer.json +++ b/composer.json @@ -31,5 +31,5 @@ "config": { "preferred-install": "dist" }, - "minimum-stability": "dev" + "minimum-stability": "stable" } From b268cdc71623e0ec34c1cd8265c4bd646031bce9 Mon Sep 17 00:00:00 2001 From: crynobone Date: Tue, 7 Jan 2014 10:50:02 +0800 Subject: [PATCH 2/3] Add php artisan clear-compiled to post-install-cmd, as proposed in laravel/framework#3152 Signed-off-by: crynobone --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index d9cfea0f..bb5662af 100644 --- a/composer.json +++ b/composer.json @@ -18,6 +18,7 @@ }, "scripts": { "post-install-cmd": [ + "php artisan clear-compiled", "php artisan optimize" ], "post-update-cmd": [ From b6962878fefb9c7ca777dc76e85c838fe28f8731 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 9 Jan 2014 21:31:15 -0600 Subject: [PATCH 3/3] Remove makeshift upgrade guide. Docs should be used. --- upgrade.md | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 upgrade.md diff --git a/upgrade.md b/upgrade.md deleted file mode 100644 index 945b451d..00000000 --- a/upgrade.md +++ /dev/null @@ -1,26 +0,0 @@ -# Laravel Upgrade Guide - -## Upgrading From 4.0 to 4.1 - -- Update `composer.json` to require `"laravel/framework": "4.1.*"` -- Remove call to `redirectIfTrailingSlash` in `/bootstrap/start.php` file. -- Replace `/public/index.php` with [this](https://github.com/laravel/laravel/blob/develop/public/index.php) file, and `/artisan` with [this](https://github.com/laravel/laravel/blob/develop/artisan) file. -- Add new `app/config/remote.php` file from [here](https://github.com/laravel/laravel/blob/develop/app/config/remote.php) -- Add new `expire_on_close` and `secure` options to `session` configuration file to match [this](https://github.com/laravel/laravel/blob/develop/app/config/session.php) file. -- Add new `failed` queue job option to `queue` configuration file to match [this](https://github.com/laravel/laravel/blob/develop/app/config/queue.php) file. -- Edit `app/config/database.php` and update `redis.cluster` option to `false` to turn Redis clustering off by default. -- Edit `app/config/view.php` and update `pagination` option to use bootstrap 3 as default pagination view (optional). -- Edit `app/config/app.php` so the `aliases` and `providers` array match [this](https://github.com/laravel/laravel/blob/develop/app/config/app.php) file: - - in `aliases` change `'Controller' => 'Illuminate\Routing\Controllers\Controller',` - to use `Illuminate\Routing\Controller`. - - in `providers` add `'Illuminate\Remote\RemoteServiceProvider',`. - - in `aliases` add `'SSH' => 'Illuminate\Support\Facades\SSH',`. -- If `app/controllers/BaseController.php` has a use statement at the top, change `use Illuminate\Routing\Controllers\Controller;` to `use Illuminate\Routing\Controller;`. You may also remove this use statament, for you have registered a class alias for this. -- If you are overriding `missingMethod` in your controllers, add $method as the first parameter. -- Password reminder system tweaked for greater developer freedom. Inspect stub controller by running `auth:reminders-controller` Artisan command. -- Update `reminders.php` language file to match [this](https://github.com/laravel/laravel/blob/master/app/lang/en/reminders.php) file. -- If you are using http hosts to set the $env variable in bootstrap/start.php, these should be changed to machine names (as returned by PHP's gethostname() function). - -Finally, - -- Run `composer update`