From dcf6ca12fb26b67a4dcd86954d204106e0da206f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Fr=C3=A9mont?= Date: Thu, 9 Aug 2018 17:49:16 +0200 Subject: [PATCH 1/7] improve currency specs --- .../Component/Currency/spec/Model/CurrencySpec.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Sylius/Component/Currency/spec/Model/CurrencySpec.php b/src/Sylius/Component/Currency/spec/Model/CurrencySpec.php index b29c5bba1eb..3967f753c02 100644 --- a/src/Sylius/Component/Currency/spec/Model/CurrencySpec.php +++ b/src/Sylius/Component/Currency/spec/Model/CurrencySpec.php @@ -39,6 +39,18 @@ function its_code_is_mutable(): void $this->getCode()->shouldReturn('RSD'); } + function it_does_not_return_name_when_it_has_no_code() + { + $this->setCode(null); + $this->getName()->shouldReturn(null); + } + + function it_returns_name_of_currency_code(): void + { + $this->setCode('EUR'); + $this->getName()->shouldReturn('Euro'); + } + function it_initializes_creation_date_by_default(): void { $this->getCreatedAt()->shouldHaveType(\DateTimeInterface::class); From e44f2f507e36d5e6862612a45f8c1996014c046f Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Mon, 13 Aug 2018 07:29:57 +0200 Subject: [PATCH 2/7] Change application's version to v1.1.12 --- src/Sylius/Bundle/CoreBundle/Application/Kernel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php index fc7c1cd5e5f..bf9955e98bb 100644 --- a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php +++ b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php @@ -31,12 +31,12 @@ class Kernel extends HttpKernel { - public const VERSION = '1.1.12-DEV'; + public const VERSION = '1.1.12'; public const VERSION_ID = '10112'; public const MAJOR_VERSION = '1'; public const MINOR_VERSION = '1'; public const RELEASE_VERSION = '12'; - public const EXTRA_VERSION = 'DEV'; + public const EXTRA_VERSION = ''; /** * {@inheritdoc} From 0fcacd13108881ef4b24c140cc157d7c3e1ad446 Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Mon, 13 Aug 2018 07:41:40 +0200 Subject: [PATCH 3/7] Generate changelog for v1.1.12 --- CHANGELOG-1.1.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG-1.1.md b/CHANGELOG-1.1.md index 2123f417fe6..807b978e80c 100644 --- a/CHANGELOG-1.1.md +++ b/CHANGELOG-1.1.md @@ -1,5 +1,17 @@ # CHANGELOG FOR `1.1.X` +## v1.1.12 (2018-08-13) + +#### TL;DR + +- Database migrations support MySQL 8 ([#9622](https://github.com/Sylius/Sylius/pull/9622)) + +#### Details + +- [#9622](https://github.com/Sylius/Sylius/pull/9622) Quote row_number identifier for MySQL queries (@alcaeus) +- [#9624](https://github.com/Sylius/Sylius/pull/9624) Fix missing "required" class on some form fields (@teohhanhui) +- [#9634](https://github.com/Sylius/Sylius/pull/9634) [Core] Fix OrderItemNamesSetter specification (@Zales0123) + ## v1.1.11 (2018-07-27) #### TL;DR From 7a4e57c4e6c2bdb9bcdf3b00ad1e875f13ad7699 Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Mon, 13 Aug 2018 07:42:18 +0200 Subject: [PATCH 4/7] Change application's version to v1.1.13-DEV --- src/Sylius/Bundle/CoreBundle/Application/Kernel.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php index bf9955e98bb..becf4c53d9f 100644 --- a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php +++ b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php @@ -31,12 +31,12 @@ class Kernel extends HttpKernel { - public const VERSION = '1.1.12'; - public const VERSION_ID = '10112'; + public const VERSION = '1.1.13-DEV'; + public const VERSION_ID = '10113'; public const MAJOR_VERSION = '1'; public const MINOR_VERSION = '1'; - public const RELEASE_VERSION = '12'; - public const EXTRA_VERSION = ''; + public const RELEASE_VERSION = '13'; + public const EXTRA_VERSION = 'DEV'; /** * {@inheritdoc} From 3faf68b9b68d573b3908af288937fc28d13f9755 Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Mon, 13 Aug 2018 07:44:10 +0200 Subject: [PATCH 5/7] Change application's version to v1.2.5 --- src/Sylius/Bundle/CoreBundle/Application/Kernel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php index 2bbc4368615..b1c2453dd27 100644 --- a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php +++ b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php @@ -31,12 +31,12 @@ class Kernel extends HttpKernel { - public const VERSION = '1.2.5-DEV'; + public const VERSION = '1.2.5'; public const VERSION_ID = '10205'; public const MAJOR_VERSION = '1'; public const MINOR_VERSION = '2'; public const RELEASE_VERSION = '5'; - public const EXTRA_VERSION = 'DEV'; + public const EXTRA_VERSION = ''; /** * {@inheritdoc} From 2b30f3008cd12029c0be987da2e52ef6c98083ea Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Mon, 13 Aug 2018 07:55:41 +0200 Subject: [PATCH 6/7] Generate changelog for v1.2.5 --- CHANGELOG-1.2.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG-1.2.md b/CHANGELOG-1.2.md index db1a466d94b..aec3189852e 100644 --- a/CHANGELOG-1.2.md +++ b/CHANGELOG-1.2.md @@ -1,5 +1,18 @@ # CHANGELOG FOR `1.2.X` +## v1.2.5 (2018-08-13) + +#### TL;DR + +- Database migrations support MySQL 8 ([#9622](https://github.com/Sylius/Sylius/pull/9622)) + +#### Details + +- [#9622](https://github.com/Sylius/Sylius/pull/9622) Quote row_number identifier for MySQL queries (@alcaeus) +- [#9624](https://github.com/Sylius/Sylius/pull/9624) Fix missing "required" class on some form fields (@teohhanhui) +- [#9634](https://github.com/Sylius/Sylius/pull/9634) [Core] Fix OrderItemNamesSetter specification (@Zales0123) +- [#9642](https://github.com/Sylius/Sylius/pull/9642) [Currency] Improve currency specs (@loic425) + ## v1.2.4 (2018-07-27) #### TL;DR From 1b47b854c0784d2ab271dd8f7fc744a547d7d294 Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Mon, 13 Aug 2018 07:56:23 +0200 Subject: [PATCH 7/7] Change application's version to v1.2.6-DEV --- src/Sylius/Bundle/CoreBundle/Application/Kernel.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php index b1c2453dd27..964273df6a1 100644 --- a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php +++ b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php @@ -31,12 +31,12 @@ class Kernel extends HttpKernel { - public const VERSION = '1.2.5'; - public const VERSION_ID = '10205'; + public const VERSION = '1.2.6-DEV'; + public const VERSION_ID = '10206'; public const MAJOR_VERSION = '1'; public const MINOR_VERSION = '2'; - public const RELEASE_VERSION = '5'; - public const EXTRA_VERSION = ''; + public const RELEASE_VERSION = '6'; + public const EXTRA_VERSION = 'DEV'; /** * {@inheritdoc}