Skip to content

Commit

Permalink
Merge branch 'release/5.1.3' into v5
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Sep 11, 2024
2 parents 50a9bb7 + 9a927f7 commit 2d891a0
Show file tree
Hide file tree
Showing 26 changed files with 1,274 additions and 1,224 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# SEOmatic Changelog

## 5.1.3 - 2024.09.10
### Changed
* Make the Content SEO listings better at eliminating duplicates by pruning sections that no longer exist ([#1499](https://github.com/nystudio107/craft-seomatic/issues/1499))
* Fixed an issue where a section with a `typeId` of `0` wouldn't validate, and thus the changes to the Content SEO settings would not validate & save ([#1510](https://github.com/nystudio107/craft-seomatic/issues/1510))

### Fixed
* Fixed the visual appearance of the Entry Type dropdown menu in Content SEO settings

## 5.1.2 - 2024.08.15
### Changed
* Made the SEO preview sidebar UI more consistent with Craft ([#1497](https://github.com/nystudio107/craft-seomatic/pull/1497))
Expand Down
288 changes: 144 additions & 144 deletions buildchain/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nystudio107/craft-seomatic",
"description": "SEOmatic facilitates modern SEO best practices & implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.",
"type": "craft-plugin",
"version": "5.1.2",
"version": "5.1.3",
"minimum-stability": "dev",
"prefer-stable": true,
"keywords": [
Expand Down
567 changes: 305 additions & 262 deletions docs/package-lock.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/models/MetaBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ public function rules(): array
'typeId',
],
'number',
'min' => 1,
'skipOnEmpty' => true,
],
[
Expand Down
2 changes: 1 addition & 1 deletion src/services/MetaBundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ public function pruneVestigialMetaBundle($metaBundle): bool
if ($sourceBundleType && $sourceBundleType !== self::GLOBAL_META_BUNDLE) {
$seoElement = Seomatic::$plugin->seoElements->getSeoElementByMetaBundleType($sourceBundleType);
if ($seoElement) {
$sourceModel = $seoElement::sourceModelFromHandle($metaBundle->sourceHandle);
$sourceModel = $seoElement::sourceModelFromId($metaBundle->sourceId);
/** @var Section|CategoryGroup|ProductType|null $sourceModel */
if ($sourceModel === null) {
$prune = true;
Expand Down
2 changes: 1 addition & 1 deletion src/templates/settings/_includes/types-menu.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{% if typeMenu | length %}
<div class="pr-2">
<div id="types-btn" class="btn menubtn">{{ currentType }}</div>
<div id="types-btn" class="btn menubtn" style="width: 100%;">{{ currentType }}</div>

<div class="menu">
<ul class="padded">
Expand Down
796 changes: 796 additions & 0 deletions src/web/assets/dist/assets/dashboard-CYvLkh4l.js

Large diffs are not rendered by default.

Binary file not shown.
1 change: 1 addition & 0 deletions src/web/assets/dist/assets/dashboard-CYvLkh4l.js.map

Large diffs are not rendered by default.

Binary file not shown.
796 changes: 0 additions & 796 deletions src/web/assets/dist/assets/dashboard-vL3iGjlU.js

This file was deleted.

Binary file removed src/web/assets/dist/assets/dashboard-vL3iGjlU.js.gz
Binary file not shown.
1 change: 0 additions & 1 deletion src/web/assets/dist/assets/dashboard-vL3iGjlU.js.map

This file was deleted.

Binary file not shown.
13 changes: 0 additions & 13 deletions src/web/assets/dist/assets/seomatic-meta-BmSV-jr8.js

This file was deleted.

Binary file not shown.
1 change: 0 additions & 1 deletion src/web/assets/dist/assets/seomatic-meta-BmSV-jr8.js.map

This file was deleted.

Binary file not shown.
13 changes: 13 additions & 0 deletions src/web/assets/dist/assets/seomatic-meta-Jh9NqHs2.js

Large diffs are not rendered by default.

Binary file not shown.
1 change: 1 addition & 0 deletions src/web/assets/dist/assets/seomatic-meta-Jh9NqHs2.js.map

Large diffs are not rendered by default.

Binary file not shown.
4 changes: 2 additions & 2 deletions src/web/assets/dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
]
},
"src/js/dashboard.js": {
"file": "assets/dashboard-vL3iGjlU.js",
"file": "assets/dashboard-CYvLkh4l.js",
"name": "dashboard",
"src": "src/js/dashboard.js",
"isEntry": true,
Expand All @@ -25,7 +25,7 @@
]
},
"src/js/seomatic-meta.js": {
"file": "assets/seomatic-meta-BmSV-jr8.js",
"file": "assets/seomatic-meta-Jh9NqHs2.js",
"name": "seomatic-meta",
"src": "src/js/seomatic-meta.js",
"isEntry": true,
Expand Down
Binary file modified src/web/assets/dist/manifest.json.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/web/assets/dist/stats.html

Large diffs are not rendered by default.

0 comments on commit 2d891a0

Please sign in to comment.