Skip to content

Commit feabec7

Browse files
committed
release 2.0
1 parent 66a1a79 commit feabec7

File tree

5 files changed

+26
-19
lines changed

5 files changed

+26
-19
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG
22

3-
## v2.0.0 (2025-07-07)
3+
## v2.0.0 (2025-07-09)
44

55
#### Details
66

Makefile

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
APP_ENV ?= dev
44

55
phpstan:
6-
APP_ENV=test bin/phpstan.sh
6+
APP_ENV=$(APP_ENV) bin/phpstan.sh
77

88
ecs:
9-
APP_ENV=test bin/ecs.sh --clear-cache
9+
APP_ENV=$(APP_ENV) bin/ecs.sh --clear-cache
1010

1111
fix:
12-
APP_ENV=test bin/ecs.sh --fix
12+
APP_ENV=$(APP_ENV) bin/ecs.sh --fix
1313

1414
install:
1515
rm -f composer.lock
@@ -24,17 +24,17 @@ install:
2424
backend: recreate_db var
2525

2626
frontend:
27-
APP_ENV=test tests/Application/bin/console assets:install
27+
APP_ENV=$(APP_ENV) tests/Application/bin/console assets:install
2828
(cd tests/Application && yarn install --no-lockfile)
2929
(cd tests/Application && GULP_ENV=prod yarn build)
3030
@make var
3131

3232
recreate_db:
33-
APP_ENV=test tests/Application/bin/console doctrine:database:drop --force --if-exists
34-
APP_ENV=test tests/Application/bin/console doctrine:database:create --no-interaction
35-
APP_ENV=test tests/Application/bin/console doctrine:migrations:migrate --no-interaction
36-
APP_ENV=test tests/Application/bin/console doctrine:schema:update --force --complete --no-interaction
37-
APP_ENV=test tests/Application/bin/console doctrine:migration:sync-metadata-storage
33+
APP_ENV=$(APP_ENV) tests/Application/bin/console doctrine:database:drop --force --if-exists
34+
APP_ENV=$(APP_ENV) tests/Application/bin/console doctrine:database:create --no-interaction
35+
APP_ENV=$(APP_ENV) tests/Application/bin/console doctrine:migrations:migrate --no-interaction
36+
APP_ENV=$(APP_ENV) tests/Application/bin/console doctrine:schema:update --force --complete --no-interaction
37+
APP_ENV=$(APP_ENV) tests/Application/bin/console doctrine:migration:sync-metadata-storage
3838

3939
var:
4040
rm -fr tests/Application/var
@@ -45,20 +45,20 @@ var:
4545
chmod -R 777 tests/Application/var
4646

4747
cache:
48-
APP_ENV=test tests/Application/bin/console cache:clear
48+
APP_ENV=$(APP_ENV) tests/Application/bin/console cache:clear
4949
chmod -R 777 tests/Application/var
5050

5151
fixtures:
5252
@make recreate_db
53-
APP_ENV=test tests/Application/bin/console sylius:fixtures:load default --no-interaction
53+
APP_ENV=$(APP_ENV) tests/Application/bin/console sylius:fixtures:load default --no-interaction
5454
@make var
5555

5656
lint:
57-
APP_ENV=test bin/symfony-lint.sh
58-
APP_ENV=test bin/doctrine-lint.sh
57+
APP_ENV=$(APP_ENV) bin/symfony-lint.sh
58+
APP_ENV=$(APP_ENV) bin/doctrine-lint.sh
5959

6060
behat:
61-
APP_ENV=test bin/behat.sh
61+
APP_ENV=$(APP_ENV) bin/behat.sh
6262

6363
init: install backend frontend
6464

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ MailChimp Plugin
2828
* This plugin, unlike others, can handle large mailing lists
2929

3030
<p align="center">
31-
<img src="https://github.com/3BRS/sylius-mailchimp-plugin/blob/SLS-21-MailChimp-Plugin-to-2.0/doc/admin.png?raw=true"/>
31+
<img src="https://github.com/3BRS/sylius-mailchimp-plugin/blob/master/doc/admin.png?raw=true"/>
3232
</p>
3333

3434
## Installation

UPGRADE-2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# UPGRADE FROM 1.0.0 to 2.0.0
1+
# UPGRADE FROM 1.1.0 to 2.0.0
22

33
## File Location Changes
44

@@ -16,8 +16,8 @@ Templates are now rendered using Twig hooks, which is the standard in Sylius 2:
1616

1717
* **Admin**
1818

19-
* [admin_hooks.yaml](https://github.com/3BRS/sylius-contact-form-plugin/blob/sylius_2_upgrade_AK/src/config/app/twig_hooks/admin/show_message_hooks.yaml) contains config for Twig hooks used in Admin
19+
* [admin_hooks.yaml](https://github.com/3BRS/sylius-mailchimp-plugin/blob/master/config/app/twig_hooks/admin_hooks.yaml) contains config for Twig hooks used in Admin
2020

2121
* **Shop**
2222

23-
* [shop_hooks.yaml](https://github.com/3BRS/sylius-contact-form-plugin/blob/sylius_2_upgrade_AK/src/config/app/twig_hooks/shop/messages_hooks.yaml) contains config for Twig hooks used in Shop
23+
* [shop_hooks.yaml](https://github.com/3BRS/sylius-mailchimp-plugin/blob/master/config/app/twig_hooks/shop_hooks.yaml) contains config for Twig hooks used in Shop

UPGRADE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# UPGRADE FROM 1.0.0 to 1.1.0
2+
3+
### 1. Interface Method Renamed
4+
5+
The method `syncSubstriptionStateFromMailChimp()` in `CustomerListenerInterface` was renamed to `syncSubscriptionStateFromMailChimp()` to correct a typo.
6+
7+
If you implement this interface, you must update your implementation accordingly.

0 commit comments

Comments
 (0)