Skip to content

Commit

Permalink
Updated upgrade guide for v7.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
ash-jc-allen committed Apr 4, 2022
1 parent b90a336 commit bf01e6d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions UPGRADE.md
@@ -1,12 +1,33 @@
# Upgrade Guide

## Contents
- [Upgrading from 6.* to 7.0.0](#upgrading-from-6-to-700)
- [Upgrading from 5.* to 6.0.0](#upgrading-from-5-to-600)
- [Upgrading from 4.* to 5.0.0](#upgrading-from-4-to-500)
- [Upgrading from 3.* to 4.0.0](#upgrading-from-3-to-400)
- [Upgrading from 2.* to 3.0.0](#upgrading-from-2-to-300)
- [Upgrading from 1.* to 2.0.0](#upgrading-from-1-to-200)

## Upgrading from 6.* to 7.0.0

### Method Signature Update

As of Short URL v7.0.0, one of the method's signatures have been updated in order to allow the default short URL prefix to be nullable.

The signature of the `prefix()` method in the `AshAllenDesign\ShortURL\Classes\Builder` class has changed from:

```
public function prefix(): string
```

to:

```
public function prefix(): ?string
```

Although it's unlikely that you are overriding this method, if you are, you'll need to update the method signature to the new format.

## Upgrading from 5.* to 6.0.0

### Laravel - Minimum Required Version
Expand Down

0 comments on commit bf01e6d

Please sign in to comment.