Skip to content

Commit

Permalink
MoonShine interface renaming (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jampire authored May 31, 2023
1 parent df3671f commit df074b7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Release Notes for 1.x

## [1.3.0 (2023-06-01)](https://github.com/Jampire/moonshine-impersonate/compare/v1.2.0...v1.3.0)

### Fixes

- [MoonShine interface renaming](https://github.com/moonshine-software/moonshine/pull/297) ([#18](https://github.com/Jampire/moonshine-impersonate/pull/18)) -
v1.3.0 is compatible with MoonShine v1.58.0 and above.

## [1.2.0 (2023-05-27)](https://github.com/Jampire/moonshine-impersonate/compare/v1.1.1...v1.2.0)

### Adds
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ Administrators to access and operate as if they were logged in as that User. Thi
for example, when you get a bug report or an issue and want to see exactly what the user sees, impersonating them
saves lots of time because you can see exactly what they see.

## Compatibility

| MoonShine | MoonShine Impersonate |
|:------------------------:|:-----------------------:|
| \>= v1.52 and <= v1.57.4 | <= v1.2.0 |
| >= v1.58.0 | >= v1.3.0 |

## Installation

Use `composer` to install `MoonShine Impersonate` package:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}
},
"conflict": {
"moonshine/moonshine": "<1.52"
"moonshine/moonshine": "<1.58.0"
},
"scripts": {
"post-autoload-dump": [
Expand Down
4 changes: 2 additions & 2 deletions src/UI/ItemActions/EnterImpersonationItemAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Illuminate\Contracts\Auth\Authenticatable;
use Jampire\MoonshineImpersonate\Actions\EnterAction;
use MoonShine\Contracts\Actions\ItemActionContact;
use MoonShine\Contracts\Actions\ItemActionContract;
use MoonShine\ItemActions\ItemAction;
use MoonShine\Traits\Makeable;

Expand All @@ -15,7 +15,7 @@
*
* @author Dzianis Kotau <me@dzianiskotau.com>
*/
final class EnterImpersonationItemAction implements ItemActionContact
final class EnterImpersonationItemAction implements ItemActionContract
{
use Makeable;

Expand Down

0 comments on commit df074b7

Please sign in to comment.