Skip to content

Commit

Permalink
docs: add UPGRADING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 10, 2023
1 parent 4052d9e commit 4667548
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Upgrade Guide

## Version 1.0.0-beta.7 to 1.0.0-beta.8

### Mandatory Config Changes

#### Helper Autoloading

Helper autoloading has been changed to be done by CodeIgniter's autoloader
instead of Composer.

So you need to update the settings. Run `php spark shield:setup` again, and the
following steps will be done.

1. Add `auth` and `setting` to the `$helpers` array in **app/Config/Autoload.php**:

```php
public $helpers = ['auth', 'setting'];
```

2. Remove the following code in the `initController()` method in
`**app/Controllers/BaseController.php**:

```php
$this->helpers = array_merge($this->helpers, ['setting']);
```

## Version 1.0.0-beta.6 to 1.0.0-beta.7

### The minimum CodeIgniter version
Expand Down

0 comments on commit 4667548

Please sign in to comment.