Skip to content

Commit

Permalink
2.8.7: Release notes + recompile.
Browse files Browse the repository at this point in the history
  • Loading branch information
haringsrob committed Jun 10, 2022
1 parent 7ebdcda commit 5d3f7f1
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 9 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

All notable changes to `twill` will be documented in this file.

## 2.8.7 (2022-06-10)

### Features

- Added `divider` (<hr>) support to the Quill toolbar [`#1679`](https://github.com/area17/twill/pull/1679)

### Fixes

- Fixed issue that would cause Twill ui to crash when using Quill [`#1680`](https://github.com/area17/twill/pull/1680)
- Fixed some backwards compatability issues with older Laravel versions [`#1684`](https://github.com/area17/twill/pull/1684)
- Fixed issue with browsers in the block editor [`#1689`](https://github.com/area17/twill/pull/1689)


## 2.8.6 (2022-06-03)

### Fixes
Expand Down
1 change: 0 additions & 1 deletion dist/assets/admin/css/chunk-common.7aea64ec.css

This file was deleted.

1 change: 1 addition & 0 deletions dist/assets/admin/css/chunk-common.9fbab994.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/assets/admin/js/chunk-common.19d870d8.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/assets/admin/js/chunk-common.6f5628f0.js

This file was deleted.

4 changes: 2 additions & 2 deletions dist/assets/admin/twill-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"Inter-MediumItalic.woff2": "/assets/admin/fonts/Inter-MediumItalic.7a7fd735.woff2",
"Inter-Regular.woff": "/assets/admin/fonts/Inter-Regular.aebfbb3c.woff",
"Inter-Regular.woff2": "/assets/admin/fonts/Inter-Regular.bffaed79.woff2",
"chunk-common.css": "/assets/admin/css/chunk-common.7aea64ec.css",
"chunk-common.js": "/assets/admin/js/chunk-common.6f5628f0.js",
"chunk-common.css": "/assets/admin/css/chunk-common.9fbab994.css",
"chunk-common.js": "/assets/admin/js/chunk-common.19d870d8.js",
"chunk-vendors.css": "/assets/admin/css/chunk-vendors.e0f3ef32.css",
"chunk-vendors.js": "/assets/admin/js/chunk-vendors.7d2ee8d2.js",
"icons-files.php": "/views/partials/icons/icons-files-svg.blade.php",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@area17/twill",
"version": "2.8.6",
"version": "2.8.7",
"private": true,
"scripts": {
"inspect": "vue-cli-service inspect --mode production",
Expand Down
8 changes: 6 additions & 2 deletions src/Models/Behaviors/HasRelated.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace A17\Twill\Models\Behaviors;

use A17\Twill\Models\RelatedItem;
use Illuminate\Database\Eloquent\Relations\MorphMany;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;

Expand Down Expand Up @@ -51,7 +50,12 @@ public function loadRelated($browser_name)
return $this->relatedCache[$browser_name] = $this->relatedItems
->where('browser_name', $browser_name)
->map(function ($item) {
return $item->related;
/** @var \A17\Twill\Models\Model $model */
$model = $item->related;

$model->setRelation('pivot', $item);

return $model;
});
}

Expand Down
2 changes: 1 addition & 1 deletion src/TwillServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class TwillServiceProvider extends ServiceProvider
*
* @var string
*/
public const VERSION = '2.8.6';
public const VERSION = '2.8.7';

/**
* Service providers to be registered.
Expand Down
2 changes: 1 addition & 1 deletion views/partials/icons/icons-svg.blade.php

Large diffs are not rendered by default.

0 comments on commit 5d3f7f1

Please sign in to comment.