Skip to content

Commit

Permalink
Merge pull request #8819 from pamil/1.0-prepare-release
Browse files Browse the repository at this point in the history
Prepare 1.0.1 release
  • Loading branch information
GSadee committed Oct 11, 2017
2 parents cbcbe74 + 1e0ff18 commit 3c30b0c
Show file tree
Hide file tree
Showing 8 changed files with 85 additions and 16 deletions.
72 changes: 72 additions & 0 deletions CHANGELOG-1.0.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,77 @@
## CHANGELOG

### v1.0.1 2017-10-11

- [#8815](https://github.com/Sylius/Sylius/pull/8815) Revert "Changed CustomerChoiceType for a ResourceToIdentifierTransformer in OrderType of SyliusAdminApiBundle"
- [#8814](https://github.com/Sylius/Sylius/pull/8814) [Documentation] Updated platform sh guide (1.0 branch backport) (@lchrusciel, @Crell)
- [#8798](https://github.com/Sylius/Sylius/pull/8798) [Installation] Add setting a username during installation (@GSadee)
- [#8751](https://github.com/Sylius/Sylius/pull/8751) [ProductAttribute] Fix select product attribute choice value delete (@GSadee)
- [#8809](https://github.com/Sylius/Sylius/pull/8809) PHPStan: initial config & first fixes (@pamil)
- [#8812](https://github.com/Sylius/Sylius/pull/8812) [Installation] Add setting an email as username during installation (@GSadee)
- [#8808](https://github.com/Sylius/Sylius/pull/8808) Apply coding standard fixes (@pamil)
- [#8755](https://github.com/Sylius/Sylius/pull/8755) [Attribute] Configuration validation of text and select attributes (@GSadee)
- [#8807](https://github.com/Sylius/Sylius/pull/8807) [Documentation] Remove outdated exchange rate info from Order docs (@venyii)
- [#8800](https://github.com/Sylius/Sylius/pull/8800) Mention ^PHP7.1 requirement when installing Sylius (closes 8765) (@stefandoorn)
- [#8777](https://github.com/Sylius/Sylius/pull/8777) Move user impersonated listener to shop bundle (@GSadee)
- [#8770](https://github.com/Sylius/Sylius/pull/8770) Run security:check to actively check issues in Composer dependencies (@stefandoorn)
- [#8804](https://github.com/Sylius/Sylius/pull/8804) [tests] Remove duplicate scenario (@juukie)
- [#8802](https://github.com/Sylius/Sylius/pull/8802) [AUTO] Updated translations from Crowdin (@SyliusBot)
- [#8796](https://github.com/Sylius/Sylius/pull/8796) [Documentation] Quick typo fix (@GSadee)
- [#8790](https://github.com/Sylius/Sylius/pull/8790) [Documentation] Update docs about creating custom tax calculators (@GSadee)
- [#8786](https://github.com/Sylius/Sylius/pull/8786) [Documentation] Update docs about creating custom shipping calculators (@GSadee)
- [#8791](https://github.com/Sylius/Sylius/pull/8791) [Documentation] Clarification of how to install assets in a new theme (@johnrisby)
- [#8778](https://github.com/Sylius/Sylius/pull/8778) Changed CustomerChoiceType for a ResourceToIdentifierTransformer in OrderType of SyliusAdminApiBundle (@jdeveloper)
- [#8773](https://github.com/Sylius/Sylius/pull/8773) [Behat] Remove unnecessary current channel context (@GSadee)
- [#8779](https://github.com/Sylius/Sylius/pull/8779) [ProductImage] Fix association between images and variants (@GSadee)
- [#8782](https://github.com/Sylius/Sylius/pull/8782) [UserBundle] Decouple UserBundle from CoreBundle (@GSadee)
- [#8774](https://github.com/Sylius/Sylius/pull/8774) [Documentation] Update PR template in contribution guide (@GSadee)
- [#8783](https://github.com/Sylius/Sylius/pull/8783) [Documentation] Update locales page in book (@GSadee)
- [#8762](https://github.com/Sylius/Sylius/pull/8762) [Bug][Admin] Avoid deleting Product Variant when removing the associa… (@ylastapis)
- [#8678](https://github.com/Sylius/Sylius/pull/8678) [ReviewBundle] Recalculate subject rating on review post create event (@loicmobizel)
- [#8756](https://github.com/Sylius/Sylius/pull/8756) [Documentation] Updated platform sh guide (@lchrusciel, @Crell)
- [#8760](https://github.com/Sylius/Sylius/pull/8760) [AUTO] Updated translations from Crowdin (@SyliusBot)
- [#8737](https://github.com/Sylius/Sylius/pull/8737) [ProductAttribute] Fix select product attribute choice value rename (@GSadee)
- [#8750](https://github.com/Sylius/Sylius/pull/8750) Fixed a typo in docs (@dborsatto)
- [#8743](https://github.com/Sylius/Sylius/pull/8743) Load lazy taxon tree using a single click (@pamil)
- [#8749](https://github.com/Sylius/Sylius/pull/8749) Add coding standard section to docs (@pamil)
- [#8746](https://github.com/Sylius/Sylius/pull/8746) Use sylius-labs/coding-standard (@pamil)
- [#8742](https://github.com/Sylius/Sylius/pull/8742) Do flush after enabling a user in user registration listener (@pamil)
- [#8738](https://github.com/Sylius/Sylius/pull/8738) Make contributing easier - issues & pull requests templates (@pamil)
- [#8741](https://github.com/Sylius/Sylius/pull/8741) Do not close sidebar when clicking outside of it (@pamil)
- [#8740](https://github.com/Sylius/Sylius/pull/8740) Add missing license headers (@pamil)
- [#8736](https://github.com/Sylius/Sylius/pull/8736) [AUTO] Updated translations from Crowdin (@SyliusBot)
- [#8733](https://github.com/Sylius/Sylius/pull/8733) Adjust coding standard settings (@pamil)
- [#8723](https://github.com/Sylius/Sylius/pull/8723) Add even more coding standard fixers (@pamil)
- [#8729](https://github.com/Sylius/Sylius/pull/8729) [Docs] Typos in SyliusTaxationBundle (@juukie)
- [#8725](https://github.com/Sylius/Sylius/pull/8725) [Mailer] Added missing PHPDoc argument (@sweoggy)
- [#8718](https://github.com/Sylius/Sylius/pull/8718) Do not crash admin while listing partially shipped orders (@pamil)
- [#8722](https://github.com/Sylius/Sylius/pull/8722) [Documentation] Fix broken link to UPGRADE file (@GSadee)
- [#8714](https://github.com/Sylius/Sylius/pull/8714) Set up upgrade file for 1.1 (@pamil)
- [#8713](https://github.com/Sylius/Sylius/pull/8713) Update contributing guide (@pamil)
- [#8712](https://github.com/Sylius/Sylius/pull/8712) Partition changelog & upgrade files (@pamil)
- [#8716](https://github.com/Sylius/Sylius/pull/8716) [Behat] Minor typo fix (@GSadee)
- [#8710](https://github.com/Sylius/Sylius/pull/8710) [AUTO] Updated translations from Crowdin (@SyliusBot)
- [#8709](https://github.com/Sylius/Sylius/pull/8709) [AUTO] Updated translations from Crowdin (@SyliusBot)
- [#8664](https://github.com/Sylius/Sylius/pull/8664) [Documentation / README] Simplified installation guide (@bpolaszek)
- [#8705](https://github.com/Sylius/Sylius/pull/8705) Fix coding standard (@pamil)
- [#8706](https://github.com/Sylius/Sylius/pull/8706) Enhance README (@pamil)
- [#8707](https://github.com/Sylius/Sylius/pull/8707) Update CHANGELOG (@pamil)
- [#8697](https://github.com/Sylius/Sylius/pull/8697) [Documentation] Non-existent action used (@kate-kate)
- [#8687](https://github.com/Sylius/Sylius/pull/8687) [Travis] Validating yarn packages on travis tests suite (@loicmobizel)
- [#8686](https://github.com/Sylius/Sylius/pull/8686) gitignore webserver pid files (@gabiudrescu)
- [#8696](https://github.com/Sylius/Sylius/pull/8696) [Documentation] Syntax typo fix (@kate-kate)
- [#8685](https://github.com/Sylius/Sylius/pull/8685) [Fixtures] Docs & tests about disabling listeners / fixtures in a suite (@pamil)
- [#8690](https://github.com/Sylius/Sylius/pull/8690) [AUTO] Updated translations from Crowdin (@SyliusBot)
- [#8682](https://github.com/Sylius/Sylius/pull/8682) Gitignore webserver pid files (@gabiudrescu)
- [#8677](https://github.com/Sylius/Sylius/pull/8677) [Docs] Corrections on OrderItemQuantityModifier (@juukie)
- [#8675](https://github.com/Sylius/Sylius/pull/8675) Treat `dev-master` as 1.1 (@pamil)
- [#8663](https://github.com/Sylius/Sylius/pull/8663) [Documentation] Fix PHP min version (@kochen)
- [#8646](https://github.com/Sylius/Sylius/pull/8646) [ResourceBundle] Fix variable name (@plozmun)
- [#8662](https://github.com/Sylius/Sylius/pull/8662) fix link to BitBager PayUPlugin (@kochen)
- [#8668](https://github.com/Sylius/Sylius/pull/8668) Typo's (@juukie)
- [#8669](https://github.com/Sylius/Sylius/pull/8669) [AUTO] Updated translations from Crowdin (@SyliusBot)
- [#8660](https://github.com/Sylius/Sylius/pull/8660) Make README great again (@pamil)

### v1.0.0 2017-09-13
- [#8647](https://github.com/Sylius/Sylius/pull/8647) Prepare v1.0.0 Stable Release (@pjedrzejewski)
- [#8655](https://github.com/Sylius/Sylius/pull/8655) [Translation] Use TranslationInterface (@GSadee, @pamil)
Expand Down
1 change: 0 additions & 1 deletion src/Sylius/Behat/Context/Setup/ProductAttributeContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ public function thisProductHasSelectAttributeWithValues(
string $productAttributeName,
string ...$productAttributeValues
): void {

$values = [];
foreach ($productAttributeValues as $value) {
$values[$this->faker->uuid] = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
namespace Sylius\Behat\Page\Admin\ProductAttribute;

use Behat\Mink\Element\NodeElement;
use Behat\Mink\Exception\ElementNotFoundException;
use Sylius\Behat\Behaviour\ChecksCodeImmutability;
use Sylius\Behat\Page\Admin\Crud\UpdatePage as BaseUpdatePage;
use Webmozart\Assert\Assert;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function it_adds_a_violation_if_max_entries_value_is_lower_than_min_entries_valu
ExecutionContextInterface $context,
AttributeInterface $attribute
): void {
$constraint = new ValidSelectAttributeConfiguration;
$constraint = new ValidSelectAttributeConfiguration();

$attribute->getType()->willReturn(SelectAttributeType::TYPE);
$attribute->getConfiguration()->willReturn(['multiple' => true, 'min' => 6, 'max' => 4]);
Expand All @@ -53,7 +53,7 @@ function it_adds_a_violation_if_min_entries_value_is_greater_than_the_number_of_
ExecutionContextInterface $context,
AttributeInterface $attribute
): void {
$constraint = new ValidSelectAttributeConfiguration;
$constraint = new ValidSelectAttributeConfiguration();

$attribute->getType()->willReturn(SelectAttributeType::TYPE);
$attribute->getConfiguration()->willReturn([
Expand All @@ -75,7 +75,7 @@ function it_adds_a_violation_if_multiple_is_not_true_when_min_or_max_entries_val
ExecutionContextInterface $context,
AttributeInterface $attribute
): void {
$constraint = new ValidSelectAttributeConfiguration;
$constraint = new ValidSelectAttributeConfiguration();

$attribute->getType()->willReturn(SelectAttributeType::TYPE);
$attribute->getConfiguration()->willReturn(['multiple' => false, 'min' => 4, 'max' => 6]);
Expand All @@ -89,7 +89,7 @@ function it_does_nothing_if_an_attribute_is_not_a_select_type(
ExecutionContextInterface $context,
AttributeInterface $attribute
): void {
$constraint = new ValidSelectAttributeConfiguration;
$constraint = new ValidSelectAttributeConfiguration();

$attribute->getType()->willReturn(TextAttributeType::TYPE);

Expand All @@ -100,7 +100,7 @@ function it_does_nothing_if_an_attribute_is_not_a_select_type(

function it_throws_an_exception_if_validated_value_is_not_an_attribute(): void
{
$constraint = new ValidSelectAttributeConfiguration;
$constraint = new ValidSelectAttributeConfiguration();

$this
->shouldThrow(\InvalidArgumentException::class)
Expand All @@ -111,7 +111,7 @@ function it_throws_an_exception_if_validated_value_is_not_an_attribute(): void
function it_throws_an_exception_if_constraint_is_not_a_valid_select_attribute_configuration_constraint(
AttributeInterface $attribute
): void {
$constraint = new ValidTextAttributeConfiguration;
$constraint = new ValidTextAttributeConfiguration();

$this
->shouldThrow(\InvalidArgumentException::class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function it_throws_an_exception_if_validated_value_is_not_an_attribute(): void
function it_throws_an_exception_if_constraint_is_not_a_valid_text_attribute_configuration_constraint(
AttributeInterface $attribute
): void {
$constraint = new ValidSelectAttributeConfiguration;
$constraint = new ValidSelectAttributeConfiguration();

$this
->shouldThrow(\InvalidArgumentException::class)
Expand Down
6 changes: 3 additions & 3 deletions src/Sylius/Bundle/CoreBundle/Application/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
*/
class Kernel extends HttpKernel
{
public const VERSION = '1.0.0';
public const VERSION_ID = '10000';
public const VERSION = '1.0.1';
public const VERSION_ID = '10001';
public const MAJOR_VERSION = '1';
public const MINOR_VERSION = '0';
public const RELEASE_VERSION = '0';
public const RELEASE_VERSION = '1';
public const EXTRA_VERSION = '';

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use Doctrine\ORM\Event\LifecycleEventArgs;
use Sylius\Component\Attribute\AttributeType\SelectAttributeType;
use Sylius\Component\Product\Model\ProductAttributeInterface;
use Sylius\Component\Product\Model\ProductAttributeValue;
use Sylius\Component\Product\Model\ProductAttributeValueInterface;
use Sylius\Component\Product\Repository\ProductAttributeValueRepositoryInterface;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function it_removes_select_product_attribute_choices(
['choices' => [
'8ec40814-adef-4194-af91-5559b5f19236' => 'Banana',
]],
]
],
]);

$entityManager
Expand Down Expand Up @@ -97,7 +97,7 @@ function it_does_not_remove_select_product_attribute_choices_if_there_is_only_ad
'8ec40814-adef-4194-af91-5559b5f19236' => 'Banana',
'1739bc61-9e42-4c80-8b9a-f97f0579cccb' => 'Pineapple',
]],
]
],
]);

$entityManager
Expand Down Expand Up @@ -131,7 +131,7 @@ function it_does_not_remove_select_product_attribute_choices_if_there_is_only_ch
'8ec40814-adef-4194-af91-5559b5f19236' => 'Banana',
'1739bc61-9e42-4c80-8b9a-f97f0579cccb' => 'Watermelon',
]],
]
],
]);

$entityManager
Expand Down

0 comments on commit 3c30b0c

Please sign in to comment.