Skip to content

Commit 8cbcf87

Browse files
committed
Remove dependency on stefandoorn/sitemap-plugin, move to suggest & describe in docs
1 parent fb96397 commit 8cbcf87

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

UPGRADE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# UPGRADE FROM 2.4 TO 2.5
2+
3+
* The `stefandoorn/sitemap-plugin` dependency has been removed, and moved to the `suggest` section of composer.json.
4+
If you didn't require this plugin by yourselves, but want to keep the sitemap support, consider requiring it directly in your project as described [here](doc/sitemap.md).
5+
16
# UPGRADE FROM 1.0 TO 2.0
27

38
* A lot of database modifications has been made. Read the below changelog first and then migrate your

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"php": "^7.3",
1313
"league/csv": "^9.1",
1414
"friendsofsymfony/ckeditor-bundle": "^1.1|^2.0",
15-
"stefandoorn/sitemap-plugin": "^1.0",
1615
"sylius/sylius": "^1.7"
1716
},
1817
"require-dev": {
@@ -43,6 +42,9 @@
4342
"symfony/web-profiler-bundle": "^4.4",
4443
"symfony/web-server-bundle": "^4.4"
4544
},
45+
"suggest": {
46+
"stefandoorn/sitemap-plugin": "Adds CMS pages & sections support to the Sylius sitemap plugin"
47+
},
4648
"conflict": {
4749
"symfony/symfony": "4.1.8",
4850
"symfony/browser-kit": "4.1.8",

doc/sitemap.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Sitemap
22

3-
This plugin uses Sylius sitemap plugin. It's already configured with the default installation
4-
and contains a page & section provider.
3+
This plugin suggests to install the Sylius sitemap plugin. The plugin is not installed automatically, but to install run:
4+
5+
```bash
6+
$ composer require stefandoorn/sitemap-plugin
7+
```
8+
9+
It's already configured after installation and contains a page & section provider.
510

611
For more information, read the original [SitemapPlugin documentation](https://github.com/stefandoorn/sitemap-plugin).

0 commit comments

Comments
 (0)