Skip to content

Commit

Permalink
Merge branch 'release/4.1.8' into v4
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Dec 21, 2024
2 parents 1ca0934 + 4e92508 commit dc19780
Show file tree
Hide file tree
Showing 33 changed files with 2,041 additions and 1,778 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# SEOmatic Changelog

## 4.1.8 - 2024.12.21
### Changed
* If an incoming URL has a trailing slash, preserve it for things like the Canonical URL ([#1547](https://github.com/nystudio107/craft-seomatic/issues/1547))
* Deprecate & remove from the UI the **Invalidate Sitemap Caches Automatically** aka `regenerateSitemapsAutomatically` setting, since it is no longer relevant with the paginated sitemaps
* Deprecate the CLI command `seomatic/sitemap/generate`, since it no longer needed with the paginated sitemaps

### Fixed
* Fixed an issue where the **News Publication Name** isn't displayed in Content SEO → Sitemap settings ([#1551](https://github.com/nystudio107/craft-seomatic/issues/1551))

## 4.1.7 - 2024.11.20
### Fixed
* Fixed an issue where newly created sections would not have Content SEO settings show up for ([#1544](https://github.com/nystudio107/craft-seomatic/issues/1544))
Expand Down
527 changes: 250 additions & 277 deletions buildchain/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions buildchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"version": "1.0.0",
"dependencies": {
"@riophae/vue-treeselect": "^0.4.0",
"apexcharts": "^3.8.0",
"apexcharts": "^4.0.0",
"axios": "^1.6.2",
"regenerator-runtime": "^0.13.2",
"vue": "^2.6.0",
"vue-apexcharts": "^1.3.6",
"vue-apexcharts": "^1.7.0",
"vue-axios": "^2.1.5",
"vue-confetti": "^0.4.2",
"vue-events": "^3.1.0",
Expand Down
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 4. It is a turnkey SEO system that is comprehensive, powerful, and flexible.",
"type": "craft-plugin",
"version": "4.1.7",
"version": "4.1.8",
"keywords": [
"craft",
"cms",
Expand Down
30 changes: 4 additions & 26 deletions docs/docs/configuring/content-seo.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,39 +50,17 @@ Search engines no longer accept [sitemap pings](https://developers.google.com/se

### Sitemap Generation

SEOmatic generates sitemaps on demmand when requested on the frontend, and then caches the sitemap for future requests so they are fast.
SEOmatic generates sitemaps on demand when requested on the frontend, and then caches the sitemap for future requests so they are fast.

Normally SEOmatic will invalidate the cache for a sitemap for a Section, Category Group, or Product any time you save an element. However, if you prefer to invalidate the sitemap caches manually you can disable the **Invalidate Sitemap Caches Automatically** option in SEOmatic’s Plugin Settings.
SEOmatic will automatically invalidate the cache for a sitemap for a Section, Category Group, or Product any time you save an element.

![Screenshot of a console running the following command to generate a blog sitemap: `./craft seomatic/sitemap/generate --siteId=1 --handle=blog`](../resources/screenshots/seomatic-sitemap-console-command.png)

You can then regenerate the sitemap via CLI. This will regenerate all sitemaps:
Because SEOmatic now paginates sitemaps, they are no longer generated via lengthy queue jobs, and the CLI command to regenerate them:

```bash
./craft seomatic/sitemap/generate
```

You can also limit it to a specific Section, Category Group, or Product handle:

```bash
./craft seomatic/sitemap/generate --handle=blog
```

...or you can regenerate all sitemaps for a specific `siteId`:

```bash
./craft seomatic/sitemap/generate --siteId=1
```

...or both:

```bash
./craft seomatic/sitemap/generate --handle=blog --siteId=1
```

::: tip Manually Updating Sitemaps
If you disable **Invalidate Sitemap Caches Automatically**, sitemaps can _only_ be updated via CLI command, or by clearing SEOmatic’s sitemap caches via **Utilities****Clear Caches**.
:::
...has been deprecated as well.

### Additional Sitemaps

Expand Down
1 change: 0 additions & 1 deletion docs/docs/configuring/plugin-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Plugin Settings let you control various SEOmatic settings across all sites/langu
* **Plugin name** – The name used for the plugin throughout the control panel.
* **Automatic Render Enabled** – Controls whether SEOmatic automatically renders metadata on your pages. If you turn this off, you will need to manually render the metadata via `seomatic.tag.render()`, `seomatic.link.render()`, etc. Selectively disable rendering via Twig with `{% do seomatic.config.renderEnabled(false) %}`.
* **Sitemaps Enabled** – Controls whether SEOmatic will automatically render front-end sitemaps for your site.
* **Invalidate Sitemap Caches Automatically** – Controls whether sitemap caches will automatically be invalidated when entries are saved.
* **Include Homepage in Breadcrumbs** – Should the homepage be included in the generated Breadcrumbs JSON-LD?
* **Manually Set SEOmatic Environment** – If off, SEOmatic will automatically attempt to determine the current environment. Turn this on to manually set the environment.
* **Environment** – The server environment, either `live`, `staging`, or `local`. If `devMode` is on, SEOmatic will override this setting to local Development. This setting controls whether certain things render; for instance only in the `live` production environment will Google Analytics and other tracking tags send analytics data. SEOmatic also automatically sets the `robots` tag to `none` for everything but the `live` production environment.
Expand Down
Loading

0 comments on commit dc19780

Please sign in to comment.