<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rostislav Vítek on Medium]]></title>
        <description><![CDATA[Stories by Rostislav Vítek on Medium]]></description>
        <link>https://medium.com/@rostislav.vitek?source=rss-50616cd2d79b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*eQnZO0xUkP6cr6OQO45BYg.png</url>
            <title>Stories by Rostislav Vítek on Medium</title>
            <link>https://medium.com/@rostislav.vitek?source=rss-50616cd2d79b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 01:45:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rostislav.vitek/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Shopsys Framework Release Highlights — v8.0.0]]></title>
            <link>https://medium.com/@rostislav.vitek/shopsys-framework-release-highlights-v8-0-0-319edc32ad81?source=rss-50616cd2d79b------2</link>
            <guid isPermaLink="false">https://medium.com/p/319edc32ad81</guid>
            <category><![CDATA[e-commerce-software]]></category>
            <category><![CDATA[release-notes]]></category>
            <category><![CDATA[shopsys-framework]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Rostislav Vítek]]></dc:creator>
            <pubDate>Mon, 05 Aug 2019 09:21:36 GMT</pubDate>
            <atom:updated>2019-08-05T13:55:18.520Z</atom:updated>
            <content:encoded><![CDATA[<h3>Shopsys Framework Release Highlights — v8.0.0</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*YT_YbUK5T6OddgKd" /></figure><p>We have released a new version of Shopsys Framework — v8.0.0!</p><p>We have continued our work in the areas we <a href="https://blog.shopsys.com/shopsys-framework-reveals-their-plans-for-the-coming-months-a7fe2204cb6d">defined</a> a few months ago, so in this version, you can look forward to the basics of our backend API, increased frontend performance, and upgrades to the administration.</p><p>8.0 version wraps all changes that have been introduced in previous minor versions <a href="https://blog.shopsys.com/shopsys-framework-release-highlights-v7-1-0-616a2a07a87e">7.1</a>, <a href="https://blog.shopsys.com/shopsys-framework-release-highlights-v7-2-0-283ddace757d">7.2</a> and <a href="https://blog.shopsys.com/shopsys-framework-release-highlights-v7-3-0-lts-6514e1cfb439">7.3 LTS</a>, giving you all of the performance boosts and pricing upgrades that we introduced previously.</p><p>As this is a <a href="https://semver.org/">major</a> release, you can expect some features to have difficulty with backward compatibility, however, there’s no need to worry since every change has been covered in our detailed <a href="https://github.com/shopsys/shopsys/blob/master/docs/upgrade/UPGRADE-v8.0.0md">upgrading instructions</a>.</p><h3>What is new in Shopsys Framework?</h3><h4><strong>Introducing the Backend API</strong></h4><ul><li>Do you want to manage your products in ERP and transfer it to your e-commerce project? The API is the easiest way! Our goal is to create a clear backend API that will allow manipulation with entities from outside of the framework.</li><li>In this version, we’ve included basic solutions to manage goods via API. It covers the whole <a href="https://en.wikipedia.org/wiki/Create,_read,_update_and_delete"><em>CRUD</em></a>, so it is possible to export all the products from the e-shop, import them into another e-shop, and modify or delete them using the <a href="https://en.wikipedia.org/wiki/Representational_state_transfer"><em>REST</em></a> API. See <a href="https://github.com/shopsys/shopsys/blob/v8.0.0/docs/backend-api/api-methods.md">API Methods article</a> in our docs.</li><li>Not every project needs such functionality and we want to keep the framework lean, so the API is implemented as a <a href="https://github.com/shopsys/backend-api">standalone package</a> and is not included in the default project-base. However, there is an automated script that makes the API installation super easy! See our <a href="https://github.com/shopsys/shopsys/blob/v8.0.0/docs/backend-api/backend-api-installation.md">Backend API Installation article</a> for more information.</li><li>This step will be followed in the future by adding API methods for manipulation of prices, orders, and other features.</li></ul><h4><strong>20% performance boost and scalability for frontend product lists</strong></h4><ul><li>A few weeks earlier (in v7.3.0 release), we introduced a new layer in Shopsys Framework called <a href="https://github.com/shopsys/shopsys/blob/v8.0.0/docs/model/introduction-to-read-model.md"><em>read model</em></a> that clearly separates the application model and view templates.</li><li>You can see it in action on frontend product lists where the read model objects are used instead of Doctrine entities, and data for displaying the products are obtained from Elasticsearch.</li><li>Now, to display a list of products on the frontend, you do not need a single call to the relational database (PostgreSQL).</li><li>Thanks to this the load times of product lists and search results have decreased by 20%.</li></ul><h4><strong>Administration facelift</strong></h4><ul><li>Overcoming the technical debt is also one of our priorities.</li><li>Even though we, as developers, focus mainly on the framework’s internal operations and usage of up-to-date technologies, we understand that the user experience and a modern look of the application are equally important.</li><li>The frontend is always heavily customized for every project, but the administration part usually remains untouched, so in the v8.0.0 release, we decided to give it a facelift!</li></ul><p>Dashboard before:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xtGg2xzTvboGHe81tkc1Cg.png" /><figcaption>Dashboard before the facelift</figcaption></figure><p>Dashboard after:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7dndCqcZNxNHrM8UwvocZw.png" /><figcaption>Dashboard after the facelift</figcaption></figure><p>Product detail before:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6qvsbeICmB_7T6f7DJ5eZA.png" /><figcaption>Product detail before the facelift</figcaption></figure><p>Product detail after:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GDS7czLlMua30C41PZ4tBA.png" /><figcaption>Product detail after the facelift</figcaption></figure><h4><strong>Developer experience improvements</strong></h4><ul><li>The creation of new frontend pages is now easier thanks to the simplified registration of <em>BreadcrumbGenerator</em> (<a href="https://github.com/shopsys/shopsys/pull/1141">#1141</a>) and <em>FriendlyUrlDataProvider</em> (<a href="https://github.com/shopsys/shopsys/pull/1140">#1140</a>) classes.</li><li>Extending the model layer is a bit easier as entities don’t depend on services anymore (<a href="https://github.com/shopsys/shopsys/pull/1123">#1123</a>).</li><li>All languages and collations are supported by default, thanks <a href="https://github.com/henzigo">@henzigo</a> for creating PR <a href="https://github.com/shopsys/shopsys/pull/1004">#1004</a>.</li><li>We’ve included <a href="https://github.com/shopsys/shopsys/blob/v8.0.0/docs/introduction/start-building-your-application.md">Start Building Your Application article</a> in our documentation that gathers the most important information that developers need when they start building a new project (<a href="https://github.com/shopsys/shopsys/pull/1201">#1201</a>).</li><li>Support for PHP 7.1 is dropped as this PHP version is not maintained anymore (<a href="https://github.com/shopsys/shopsys/pull/1066">#1066</a>)</li></ul><p>The boring code-related standards are checked and fixed automatically:</p><ul><li>All nullable parameters must be defined using the nullability (?) symbol (<a href="https://github.com/shopsys/shopsys/pull/1010">#1010</a>).</li><li>Visibility must be explicitly set for constants, methods, and properties (<a href="https://github.com/shopsys/shopsys/pull/1254">#1254</a>).</li><li>Formatting of type hinted return values (<a href="https://github.com/shopsys/shopsys/pull/1255">#1255</a>)</li><li>Consistent indentations in YAML files, thanks <a href="https://github.com/sspooky13">@sspooky</a> for creating the tool and creating the PR <a href="https://github.com/shopsys/shopsys/pull/539">#539</a>.</li><li>Strict typing is enforced in the project-base (<a href="https://github.com/shopsys/shopsys/pull/1256">#1256</a>).</li></ul><p>…for more see the <a href="https://github.com/shopsys/shopsys/blob/v8.0.0/CHANGELOG.md">full changelog of v8.0.0</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=319edc32ad81" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shopsys Framework Release Highlights — v7.3.0 LTS]]></title>
            <link>https://medium.com/@rostislav.vitek/shopsys-framework-release-highlights-v7-3-0-lts-6514e1cfb439?source=rss-50616cd2d79b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6514e1cfb439</guid>
            <category><![CDATA[release-notes]]></category>
            <category><![CDATA[elasticsearch]]></category>
            <category><![CDATA[shopsys-framework]]></category>
            <category><![CDATA[e-commerce-software]]></category>
            <dc:creator><![CDATA[Rostislav Vítek]]></dc:creator>
            <pubDate>Tue, 09 Jul 2019 14:11:31 GMT</pubDate>
            <atom:updated>2019-07-09T14:11:31.130Z</atom:updated>
            <content:encoded><![CDATA[<h3>Shopsys Framework Release Highlights — v7.3.0 LTS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*4_KxoUK71TGRHcu-" /></figure><p>A new version of Shopsys Framework is out — <strong>v7.3.0 LTS</strong>! This will be the last minor release before 8.0.0 is released. This is the first long-term support (LTS) version, which basically means that we are going to offer support in the form of release patch versions on a regular basis up until 9.0.0 is released. If your project is based on this version, you can be sure you will get all the important bugfixes.</p><p>In this release, we generalized VAT calculations to simplify its worldwide usage, improved the work with Elasticsearch, and as always, we devoted some time to the incorporation of the feedback from our community. We are grateful that many improvements and bugfixes were merged thanks to the reported issues and proposed pull requests.</p><h3>What is new in Shopsys Framework?</h3><p><strong>VAT calculation (</strong><a href="https://github.com/shopsys/shopsys/pull/1129"><strong>#1129</strong></a><strong>)</strong></p><ul><li>We do not use a rounded VAT coefficient for the price calculation anymore.</li><li>The price calculation is simplified to be in accordance with VAT laws in the majority of countries worldwide.</li><li>Selling prices with VAT are not affected at all by this change (only selling prices without VAT are changed).</li><li>Prices in the orders that were created in the past are not affected in any manner.</li></ul><p><strong>Projects based on Shopsys Framework go to the Cloud</strong></p><ul><li>In the last few weeks, we helped a few implementation teams to successfully run their Shopsys Framework based projects in Cloud solutions (AWS, OpenStack). Thanks to that, we are gaining more and more experience from real-life scenarios which in turn helps us make the framework run better and better in the Cloud.</li></ul><p><strong>Elasticsearch tweaks</strong></p><p>We are leveraging Elasticsearch more and more to boost the performance and we are improving its usage along the way:</p><ul><li>The data structure in Elasticsearch is now updated swiftly during deploy which results in significantly shorter downtimes (<a href="https://github.com/shopsys/shopsys/pull/1133"><strong>#1133</strong></a>).</li><li>Data sorting in Elasticsearch now respects the specific language sort order (<a href="https://github.com/shopsys/shopsys/pull/1069"><strong>#1069</strong></a>).</li><li>Elasticsearch debug toolbar can be a very handy feature for project developers for streamlining everyday functions; thanks <a href="https://github.com/pk16011990"><strong>@pk16011990</strong></a> for creating PR <a href="https://github.com/shopsys/shopsys/pull/1053"><strong>#1053</strong></a>!</li><li>For now, we have decided to support two implementations of product filtering using either SQL or Elasticsearch. Both the approaches are covered by automated tests and project developers have a choice on which implementation they want to use. There are instructions for a project developer who extend one of the implementations (<a href="https://github.com/shopsys/shopsys/pull/1130"><strong>#1130</strong></a>). If interested, you can read about the two implementations in <a href="https://github.com/shopsys/shopsys/blob/v7.3.0/docs/model/front-end-product-filtering.md">Front-end Product Filtering</a>.</li><li>The memory usage during data export to Elasticsearch is now stable even with an increased number of products (<a href="https://github.com/shopsys/shopsys/pull/1122"><strong>#1122</strong></a>).</li><li>When a product is created, edited, or deleted in administration, the data is exported to Elasticsearch instantly, hence the users can see the changes immediately (<a href="https://github.com/shopsys/shopsys/pull/1153"><strong>#1153</strong></a>).</li></ul><p><strong>Other improvements and fixes</strong></p><ul><li>Developers have a new awesome section in Symfony debug bar available! It includes useful information about their project, such as which version of Shopsys Framework they use. Thanks <a href="https://github.com/henzigo"><strong>@henzigo</strong></a> for the implementation in <a href="https://github.com/shopsys/shopsys/pull/1015"><strong>#1015</strong></a><strong>.</strong></li><li>Services configuration in project-base is now unified with the one in the framework. That means when a developer extends a service in his project, they can be sure their class is <a href="https://symfony.com/blog/new-in-symfony-3-3-psr-4-based-service-discovery">configured</a> the same way as the parent one from the framework. Thanks <a href="https://github.com/pk16011990"><strong>@pk16011990</strong></a> for proposing the change in <a href="https://github.com/shopsys/shopsys/pull/1049"><strong>#1049</strong></a><strong>.</strong></li><li>Shopsys Framework source codes are improved to fulfill PHPStan level 4 rules so your project will be automatically checked for hard to spot mistakes, like incorrect return types of methods. This allows potential bugs to be discovered and fixed in advance (<a href="https://github.com/shopsys/shopsys/pull/1040"><strong>#1040</strong></a>).</li><li>We value community involvement, and are always looking for ways to make it easier to contribute to Shopsys Framework. There were already standards checks and unit tests run on Travis for each pull request made on <a href="https://github.com/shopsys/shopsys">Github</a>, but now we’ve also added functional, smoke, and acceptance tests so a developer knows whether their modifications pass all the important checks (<a href="https://github.com/shopsys/shopsys/pull/1031"><strong>#1031</strong></a>).</li><li>Phing targets (console commands for the application management) are restructured, refactored, cleaned up and made upgradable! The project developers are now able to use and extend them with ease (<a href="https://github.com/shopsys/shopsys/pull/1068"><strong>#1068</strong></a>).</li><li>It is now easier to extend the framework’s Twig extensions. The classes in the namespace are now watched by <a href="https://github.com/shopsys/shopsys/blob/v7.3.0/packages/coding-standards/src/CsFixer/ForbiddenPrivateVisibilityFixer.php">ForbiddenPrivateVisibilityFixer</a> to be sure there are no private properties or methods (<a href="https://github.com/shopsys/shopsys/pull/1114"><strong>#1114</strong></a>). Thanks <a href="https://github.com/henzigo"><strong>@henzigo</strong></a> for reporting!</li><li>Image config definition now works properly with additional image sizes in types; thanks <a href="https://github.com/HakimFractal"><strong>@HakimFractal</strong></a> for fixing the bug in PR <a href="https://github.com/shopsys/shopsys/pull/1092"><strong>#1092</strong></a>!</li><li>…for more see the <a href="https://github.com/shopsys/shopsys/blob/v7.3.0/CHANGELOG.md">full changelog of v7.3.0</a>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6514e1cfb439" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shopsys Framework Release Highlights — v7.1.0]]></title>
            <link>https://medium.com/@rostislav.vitek/shopsys-framework-release-highlights-v7-1-0-616a2a07a87e?source=rss-50616cd2d79b------2</link>
            <guid isPermaLink="false">https://medium.com/p/616a2a07a87e</guid>
            <category><![CDATA[shopsys-framework]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Rostislav Vítek]]></dc:creator>
            <pubDate>Thu, 11 Apr 2019 08:01:20 GMT</pubDate>
            <atom:updated>2019-04-11T08:01:20.897Z</atom:updated>
            <content:encoded><![CDATA[<h3>Shopsys Framework Release Highlights — v7.1.0</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*VYmGcZ1ER9Ss_J4-" /></figure><p>We are very proud to introduce you to the first minor release of the stable version of Shopsys Framework. Minor version means that it is backward compatible with the 7.0.0 version according to our <a href="https://github.com/shopsys/shopsys/blob/v7.1.0/docs/contributing/backward-compatibility-promise.md">BC promise</a>.</p><p>We’ve focused on improving the documentation so it is easier to adopt Shopsys Framework and to build your own projects.</p><p>Along with the documentation, we’ve made 10 improvements and fixes to various aspects of front-end and administration, in addition to working with the Redis storage.</p><h3>What is new in Shopsys Framework?</h3><h4>New documentation articles</h4><ul><li><a href="https://github.com/shopsys/shopsys/blob/v7.1.0/docs/model/how-to-work-with-money.md">How to Work with Money</a> (<a href="https://github.com/shopsys/shopsys/pull/870">#870</a>) which describes how to work with the classes and concepts added in the v7.0.0</li><li><a href="https://github.com/shopsys/shopsys/blob/v7.1.0/docs/administration/grid.md">Documentation of Grid</a> (<a href="https://github.com/shopsys/shopsys/pull/864">#864</a>) with two cookbooks explaining how to <a href="https://github.com/shopsys/shopsys/blob/v7.1.0/docs/cookbook/create-basic-grid.md">create a basic grid</a> or <a href="https://github.com/shopsys/shopsys/blob/v7.1.0/docs/cookbook/create-advanced-grid.md">an advanced one</a></li><li><a href="https://github.com/shopsys/shopsys/blob/v7.1.0/docs/introduction/using-form-types.md">Using Form Types</a> (<a href="https://github.com/shopsys/shopsys/pull/883">#883</a>) explaining types that you can use when creating or editing forms, what options they have, and what they do along with improving the article about <a href="https://github.com/shopsys/shopsys/blob/v7.1.0/docs/extensibility/form-extension.md">form extension</a></li></ul><h4><strong>Added version prefix to Redis caches</strong> <strong>(</strong><a href="https://github.com/shopsys/shopsys/pull/886"><strong>#886</strong></a><strong>)</strong></h4><ul><li>Each build of your application prefixes the Redis keys with a unique timestamp to prevent mixing caches from the old and the new build. Now your application can be deployed more safely.</li><li>The application doesn’t log an error when you’re trying to clear an empty cache (<a href="https://github.com/shopsys/shopsys/pull/846">#846</a>)</li><li>Thanks to <a href="https://github.com/henzigo">@henzigo</a> for bringing this up</li></ul><h4>Product category filter in advanced search in administration (<a href="https://github.com/shopsys/shopsys/pull/895">#895</a>)</h4><ul><li>An administrator can now filter products by a category they belong to</li></ul><h4><strong>Redesigned print page of product detail page</strong> (<a href="https://github.com/shopsys/shopsys/pull/808">#808</a>)</h4><ul><li>You can see a better looking print page when you need to print product detail</li><li>You can create your own styles for printing various pages to a newly prepared structure</li></ul><h4><strong>Sniff that forbids Doctrine Inheritance mapping</strong> (<a href="https://github.com/shopsys/shopsys/pull/848">#848</a>)</h4><ul><li>Easy inheritance of Doctrine entities from Framework is guaranteed thanks to new architectonic sniff</li></ul><h4>A couple of minor fixes</h4><ul><li>The width of select boxes using selectize.js now adapts to the content and doesn’t overflow (<a href="https://github.com/shopsys/shopsys/pull/882">#882</a>)</li><li>Opening subcategories in menu animates only once to prevent blinking (<a href="https://github.com/shopsys/shopsys/pull/881">#881</a>)</li><li>Validation message on unique email constraint doesn’t overflow anymore (<a href="https://github.com/shopsys/shopsys/pull/885">#885</a>)</li><li>EntityExtensionTest was fixed when entity related to Product is extended (<a href="https://github.com/shopsys/shopsys/pull/899">#899</a>)</li><li>Maximum count in progress bar in Performance\CategoryDataFixture was fixed (<a href="https://github.com/shopsys/shopsys/pull/902">#902</a>)</li><li>and thanks to <a href="https://github.com/Rixafy">@Rixafy</a> for fixing a typo in the Article::$hidden annotation (<a href="https://github.com/shopsys/shopsys/pull/874">#874</a>)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=616a2a07a87e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shopsys Framework Release Highlights — v7.0.0]]></title>
            <link>https://medium.com/@rostislav.vitek/shopsys-framework-release-highlights-v7-0-0-ff7ac3015a5?source=rss-50616cd2d79b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff7ac3015a5</guid>
            <category><![CDATA[backward-compatibility]]></category>
            <category><![CDATA[shopsys-framework]]></category>
            <dc:creator><![CDATA[Rostislav Vítek]]></dc:creator>
            <pubDate>Thu, 28 Feb 2019 13:19:42 GMT</pubDate>
            <atom:updated>2019-03-08T08:10:46.031Z</atom:updated>
            <content:encoded><![CDATA[<h3>Shopsys Framework Release Highlights — v7.0.0</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pdA3sAEG0-AeIauK-lhT2A.png" /></figure><p>After 5 months in the beta stage, we’ve finished the first phase of implementation of all the feedback we’ve received from our users, and we are happy to announce the release of the stable version of Shopsys Framework!</p><p>We are also changing the format of this article as we found the previous “release highlights” articles a little too chatty, so this one will be really brief. Please, let us know in the comments below whether you like it better this way.</p><h3>What is new in Shopsys Framework?</h3><h4><strong>Backward Compatibility Promise </strong>(<a href="https://github.com/shopsys/shopsys/pull/800">#800</a>)</h4><ul><li>Thanks to the new <a href="https://github.com/shopsys/shopsys/blob/v7.0.0/docs/contributing/backward-compatibility-promise.md">BC promise</a> you know exactly what kind of changes you can expect in each release based on the major/minor notation and you can plan your upgrades based on that.</li></ul><h4><strong>Monetary Values Representation </strong>(<a href="https://github.com/shopsys/shopsys/pull/821">#821</a>)</h4><ul><li>You can use a new value object responsible for strict and consistent typing of monetary values.</li><li>If interested, see <a href="https://github.com/shopsys/shopsys/issues/745">the analysis and discussion</a> that preceded the decision.</li></ul><h4><strong>Data Fixtures in project-base </strong>(<a href="https://github.com/shopsys/shopsys/pull/854">#854</a>)</h4><ul><li>In favor of better usability, you can now modify your demo data directly without any additional effort.</li></ul><h4><strong>Microservices Removal </strong>(<a href="https://github.com/shopsys/shopsys/pull/793">#793</a>)</h4><ul><li>Native installation of Shopsys Framework and product search extension has been simplified!</li><li>The microservices we’ve integrated have taught us a lot about how to scale our system, and given us the chance to become even more familiar with Docker and Kubernetes. You can look forward to a separate article on this topic that will be released soon. It will describe the reasons behind the removal of the microservices, as well.</li></ul><h4><strong>Design by Domains </strong>(<a href="https://github.com/shopsys/shopsys/pull/792">#792</a>)</h4><ul><li>A unique look for each of your domains!</li><li>By following the new <a href="https://github.com/shopsys/shopsys/blob/v7.0.0/docs/cookbook/creating-a-multidomain-design.md">cookbook</a>, you can easily set up distinct styles and templates for particular domains.</li></ul><h4><strong>Support </strong>(<a href="https://github.com/shopsys/shopsys/pull/766">#766</a>)<strong> and Implementation </strong>(<a href="https://github.com/shopsys/shopsys/pull/836">#836</a>)<strong> of Multiple Image Sizes</strong></h4><ul><li>Easier incorporation of pictures on frontend thanks to the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture">picture element</a>!</li><li>You are able to speed up your page loads and satisfy your customers’ visual feel by defining multiple dimensions for a picture based on device width.</li><li>See our <a href="https://github.com/shopsys/shopsys/blob/v7.0.0/docs/frontend/configuring-image-sizes-for-individual-devices-width.md">docs</a> for detailed instructions.</li></ul><h4><strong>Model Layer Refactorings</strong></h4><ul><li>Simplified ways of using and extending of the cart (<a href="https://github.com/shopsys/shopsys/pull/765">#765</a>), countries (<a href="https://github.com/shopsys/shopsys/pull/762">#762</a>) and order items (<a href="https://github.com/shopsys/shopsys/pull/715">#715</a>) objects!</li><li>Many thanks to all our users for valuable feedback!</li></ul><figure><a href="https://www.shopsys.com/?utm_source=blog.shopsys.com&amp;utm_medium=blog%20post&amp;utm_campaign=march"><img alt="" src="https://cdn-images-1.medium.com/max/900/1*vCGC_cYpckVxlHJkrxEakw.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff7ac3015a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[6 developer tools we use in Shopsys and why you want to use them on your projects]]></title>
            <link>https://medium.com/@rostislav.vitek/6-developer-tools-we-use-in-shopsys-and-why-you-want-to-use-them-on-your-projects-69d45182244a?source=rss-50616cd2d79b------2</link>
            <guid isPermaLink="false">https://medium.com/p/69d45182244a</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[shopsys-framework]]></category>
            <category><![CDATA[phpstorm]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[gatling]]></category>
            <dc:creator><![CDATA[Rostislav Vítek]]></dc:creator>
            <pubDate>Fri, 01 Feb 2019 09:27:36 GMT</pubDate>
            <atom:updated>2019-03-07T12:27:55.846Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*nNgoS8NxZ8WdiBLagMRDKg.jpeg" /></figure><p>In Shopsys, we like to work effectively and we automate most of our routines so our processes are easily adaptable by newcomers. In order to keep our development process smooth, we always look for suitable tools that are proven to make the work more effective so we aren’t reinventing the wheel.</p><p>We briefly present 6 the tools that help us do our more mundane tasks. As developers, we consider them crucial and hope you’ll also find some use for them on your own projects.</p><h3>PhpStorm</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/185/1*6jVhJGraCBiSS_2qFwhqIA.png" /></figure><p><strong>What is it: </strong>PHP Integrated Development Environment (IDE)</p><p><strong>Why we use it:</strong> It is the best IDE available and our favorite. The development of new features, as well as refactoring, can be done quickly with PhpStorm as it really understands the code. Moreover, it makes the development of our Symfony based framework much easier and faster thanks to the <a href="https://plugins.jetbrains.com/plugin/7219-symfony-plugin">Symfony plugin</a>.</p><p><strong>How we use it: </strong>We use the IDE for everyday development of Shopsys Framework. Smart refactoring, finding usages, and three-way merges for resolving conflicts are the top features we adore. We also use the built-in extensions like the command line interface or integrated Git client.</p><p><strong>How you can start using it: </strong>Go to <a href="https://www.jetbrains.com/phpstorm/">the official website</a> and download it.</p><h3>Git</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/185/1*zhIjReQvmMxKkZpP018fnA.png" /></figure><p><strong>What is it? </strong>A version control system, i.e. software that helps the development team with managing the changes to source code over time.</p><p><strong>Why we use it:</strong> Git is a #1 version control and it enables us to watch the changes in our codebase over time, and work on multiple features simultaneously. It is also really fast even on bigger projects like Shopsys Framework. We have tens of thousands of files in the framework and Git can handle it in the blink of an eye.</p><p><strong>How we use it? </strong>Because it’s so important, we almost take it for granted. We use it to keep the teamwork consistent by using the so-called <a href="https://cs.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow">feature branch workflow</a>. We are very thorough with the form of each commit, and even have <a href="https://github.com/shopsys/shopsys/blob/master/docs/contributing/guidelines-for-creating-commits.md">guidelines for creating commits</a> in our documentation. To keep a clean project history we leverage advanced Git features like <a href="https://fle.github.io/git-tip-keep-your-branch-clean-with-fixup-and-autosquash.html">fixup commits and an interactive rebase with the autosquash option</a>.</p><p><strong>How you can start using it? </strong>Download it from <a href="https://git-scm.com/downloads">the official website</a> and check <a href="https://git-scm.com/doc">the documentation</a>. The basics are really easy and the advantages of using Git version control are priceless.</p><h3>Github</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/185/1*niaq4EBhNQELK4FXN5uy4Q.png" /></figure><p><strong>What is it: </strong>Web service where members of the opensource community help each other to create some of the best projects possible.</p><p><strong>Why we use it: </strong>It provides<strong> </strong>the standard way to publish our code as opensource. It is also a great tool for effective team collaboration on the code level.</p><p><strong>How we use it: </strong>We manage all the Shopsys Framework repositories on Github. We accept contributions and issue reports from our users. We love the <a href="https://help.github.com/articles/incorporating-feedback-in-your-pull-request/">new (beta) feature</a> that enables making suggestions during the code review! We also make pull requests to other libraries we use whenever we find an issue or a bug.</p><p><strong>How you can start using it: </strong><a href="https://github.com/join">Create an account</a> and you are ready to contribute to any opensource project! <a href="https://help.github.com/articles/create-a-repo/">Add your public repository</a> and invite people to help you with your development or help others to make their projects better.</p><h3>Jenkins</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/185/0*jgCMxF_L9t8A6dUW" /></figure><p><strong>What is it: </strong>An<strong> </strong>automation service.</p><p><strong>Why we use it:</strong> We love automation and Jenkins allows us to automate many development tasks, such as building, deployment, or testing of our application.</p><p><strong>How we use it: </strong>When we create a new feature branch, Jenkins builds the application on this branch on a CD server. The build checks coding standards and runs tests, including Codeception tests, ensuring the feature does not break anything. Moreover, Jenkins creates the instance of the application a unique URL that is available for manual testing and business validation by our product owner. We also use Jenkins for many other automated actions, such as splitting of the Shopsys monorepo using our <a href="https://github.com/shopsys/monorepo-tools">monorepo tools</a>.</p><p><strong>How you can start using it: </strong>See the official <a href="https://jenkins.io/doc/pipeline/tour/getting-started/">“Getting started” reference</a>. You can also install Jenkins very easily using Docker by looking at the <a href="https://jenkins.io/doc/book/installing/#docker">official documentation</a>.</p><h3>Gatling</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/185/1*ns5BhYgAqDXrpQluj5yESQ.png" /></figure><p><strong>What is it: </strong>A tool for automated load testing of a web application.</p><p><strong>Why we use it:</strong> We need to monitor the performance of Shopsys Framework easily and repeatedly under simulated traffic.</p><p><strong>How we use it: </strong>We fill our shop with performance data (40,000 products) and let Gatling load test the application with concurrent users in various scenarios. When we work on a feature that is expected to influence Shopsys Framework performance, we watch the tests results before and after the implementation of such a feature. Also, we run the load tests after each release of a new version of Shopsys Framework. Gatling simply watches the Shopsys framework performance and lets us know if there are any issues.</p><p><strong>How you can start using it: </strong><a href="https://gatling.io/download/">Download it from the official webpage</a> and write the first testing scenario using <a href="https://www.scala-lang.org/">Scala programming language</a> or let the Gatling generate the script for you using a recorder tool. See the <a href="https://gatling.io/docs/current/quickstart/">quickstart reference</a> for more information.</p><h3>Google Cloud</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/185/1*3N86swhueK59-UcA3c9s9Q.png" /></figure><p><strong>What is it: </strong>A suite of cloud computing services.</p><p><strong>Why we use it:</strong> Shopsys Framework is designed for big projects and enterprise use, so we prepare it to be automatically scaled as your business grows. Cloud deployment offers such a feature and Google is one of the greatest cloud providers.</p><p><strong>How we use it:</strong> We have prepared scripts and configuration files along with a cookbook <a href="https://github.com/shopsys/shopsys/blob/master/docs/kubernetes/how-to-deploy-ssfw-to-google-cloud-platform.md">“How to deploy SSFW to Google Cloud Platform”</a> so our users are able to deploy their projects to the cloud solution easily. Also, whenever we need to test any new configuration or server installation guide, we utilize the possibility of running a new virtual server in the desired configuration with a click of a mouse.</p><p><strong>How you can start using it: </strong>Go to the <a href="https://cloud.google.com/">official website</a> and you can start playing with it. For more information, see the <a href="https://console.cloud.google.com/getting-started">“Getting started” manual</a>, or you can take a look at <a href="https://github.com/shopsys/shopsys/blob/master/docs/kubernetes/set-up-google-cloud.md">our documentation</a> to see how to set up Google cloud for usage with your project based on Shopsys Framework.</p><h3>Conclusion</h3><p>There are many effective and quality tools we use on a daily basis. Once you find the tool that suits your needs and help you with your everyday problems, it becomes priceless for you. We want to leverage the power of such tools as much as possible so we can focus on the real problems of our e-commerce domain and don’t waste time. We hope we inspired you a little bit and if you use any other tool that you would like to recommend to us, please let us know in the comment section below the article!</p><figure><a href="https://www.shopsys.com/?utm_source=blog.shopsys.com&amp;utm_medium=blog%20post&amp;utm_campaign=march"><img alt="" src="https://cdn-images-1.medium.com/max/900/1*vCGC_cYpckVxlHJkrxEakw.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69d45182244a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shopsys Framework Release highlights — v7.0.0-beta5]]></title>
            <link>https://medium.com/@rostislav.vitek/shopsys-framework-release-highlights-v7-0-0-beta5-ed29f15f406a?source=rss-50616cd2d79b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed29f15f406a</guid>
            <category><![CDATA[shopsys-framework]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <dc:creator><![CDATA[Rostislav Vítek]]></dc:creator>
            <pubDate>Wed, 23 Jan 2019 07:29:30 GMT</pubDate>
            <atom:updated>2019-03-08T08:13:25.447Z</atom:updated>
            <content:encoded><![CDATA[<h3>Shopsys Framework Release Highlights — v7.0.0-beta5</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*d1W0SJwjVCHo38gi" /></figure><h3>Introduction</h3><p>In December, we continued with our intensive work on the framework orchestration possibilities, implementing feedback from the community and performing one of the last huge backward compatibility breaking refactorings before the upcoming stable release.</p><h3>Google Cloud Platform deployment</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*GExXT5Xk9GNjctSG" /></figure><p>Shopsys Framework is dedicated to the development of large e-commerce solutions (or companies already on their way towards growing into this bracket). For such projects, it is vital to<strong> handle heavy traffic peaks</strong>, and we believe that proper cloud deployment is the right solution for them.</p><p>The last few months, we have been working thoroughly on the possibility of deploying Shopsys Framework to the Cloud solutions while defining <strong>the</strong> <strong>infrastructure as a code</strong>. Therefore, any change of the architecture is now performed as a commit to the Git repository and we are able to test it. We adopted suitable tools for that, such as:</p><ul><li><strong>Terraform</strong> to define testable infrastructure on Cloud so you do not need to click it via GUI every time.</li><li><strong>Kustomize</strong> to differentiate your environment settings.</li><li><strong>Kubernetes</strong> for orchestration of your application and management of your Docker images.</li></ul><p>For more information see the new section “<a href="https://github.com/shopsys/shopsys/blob/v7.0.0-beta5/docs/index.md#orchestration">Orchestration</a>” in our docs.</p><p><strong>Configurations of all the necessary tools</strong> mentioned above are defined in a new repository <a href="https://github.com/shopsys/kubernetes-buildpack">shopsys/kubernetes-buildpack</a> in the form of Dockerfile. Then, in your project, you’ll find prepared shell scripts and Kubernetes manifests that use the Docker image of the buildpack and enable <strong>deploying your Shopsys Framework project to the Google Cloud Platform</strong>. You can see all the implementation details in <a href="https://github.com/shopsys/shopsys/pull/633">the pull request #633</a>.</p><p>By leveraging our prepared solution, you are able to deploy your project to the Cloud within 15 minutes. You do not need to configure everything from scratch on your own, you can <strong>save yourself around 400 hours of development</strong>, and you have a solid background for building your project that can be autoscaled with Kubernetes on Cloud.</p><h3>Refactoring of Service Model Layer</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*0YDxllxgGSvKmdFhfD7jvA.jpeg" /></figure><p>The first stable release of Shopsys Framework is fast approaching. We want to <strong>have the model layer of our framework as clean as possible</strong> by then so implementing new projects is as easy and intuitive as possible.</p><p>We decided to get rid of a whole layer of our model — we removed all the classes with the <em>*Service </em>suffix. The original purpose of such classes was a separation of business logic, however, it was not followed strictly and the unclear concept was not easy to explain to novices.</p><p>So, some of the <em>*Service</em> classes were renamed to describe their purpose better (e.g. DomainService was renamed to DomainIconResizer), some of the <em>*Service</em> classes were removed completely and <strong>the</strong> <strong>logic was moved into entities in accordance with the </strong><a href="https://blog.pragmatists.com/domain-driven-design-vs-anemic-model-how-do-they-differ-ffdee9371a86"><strong>domain driven design</strong></a>. In addition, the former nomenclature is not causing confusion with Symfony services anymore.</p><p>It was a huge backward compatibility break (see the “<a href="https://github.com/shopsys/shopsys/blob/v7.0.0-beta5/docs/upgrade/services-removal.md">Upgrade Instructions for Services Removal</a>” article or all the related pull requests — <a href="https://github.com/shopsys/shopsys/pull/627">#627</a>, <a href="https://github.com/shopsys/shopsys/pull/652">#652</a>, <a href="https://github.com/shopsys/shopsys/pull/657">#657</a>, <a href="https://github.com/shopsys/shopsys/pull/670">#670</a>, <a href="https://github.com/shopsys/shopsys/pull/671">#671</a>, <a href="https://github.com/shopsys/shopsys/pull/672">#672</a>, and <a href="https://github.com/shopsys/shopsys/pull/691">#691</a>) hence we wanted to do it now, in beta phase, before the stable is released.</p><h3>Improvements from community feedback</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*dG9y0NMPVCh_4K8sAeNT_w.jpeg" /></figure><p>We really appreciate any kind of feedback from our users regarding how to make the framework better and <strong>fit their needs</strong>. The first beta version of Shopsys Framework was released 3 months ago and we have been collecting feedback from project developers since then. In the last month (i.e. since <a href="https://github.com/shopsys/shopsys/releases/tag/v7.0.0-beta4">the last release</a> on 28th of November), we have managed to <strong>close 21 issues and accepted 5 pull requests</strong> proposed by the community. We would love to thank all the contributors and reporters!</p><p>We also <strong>improved our upgrading instructions</strong>. We have our own <a href="https://github.com/shopsys/demoshop/">demoshop</a> built on Shopsys Framework that we upgrade with every new release. We also gathered and implemented the feedback on the upgrading instructions from the projects that are being built. Thanks to the new form of the instructions, adapting new versions of Shopsys Framework will be faster and easier. To see all the changes made, check <a href="https://github.com/shopsys/shopsys/pull/699">the pull request #699</a>.</p><p>Last but not least, we <strong>extended our documentation </strong>with new information:</p><ul><li><a href="https://github.com/shopsys/shopsys/pull/659">Differences between installation of project-base and monorepo</a></li><li><a href="https://github.com/shopsys/shopsys/pull/693">Translations and how to use them on Shopsys Framework</a></li><li><a href="https://github.com/shopsys/shopsys/pull/709">What are data objects good for</a></li><li><a href="https://github.com/shopsys/shopsys/pull/645">How to display generated SVG icons</a></li><li><a href="https://github.com/shopsys/shopsys/pull/705">Cookbook for basic data import</a></li></ul><h3>New features</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*JK33wM6JgkCQZFBwOYt62g.jpeg" /></figure><p>Based on our experience in the e-commerce field, we implement new features that are convenient for project developers. The list below mentions the most interesting of them:</p><ul><li><strong>Frontend performance boost</strong> (<a href="https://github.com/shopsys/shopsys/pull/703">PR #703</a>) — by using a customized (smaller) jQueryUI library, moving most of the javascripts to the bottom of the page and proper setting of gzip compression, based on the Google Page Speed Insights, we <strong>significantly improved performance</strong> — on a desktop, we achieved a <strong>score of 99/100 points!</strong></li><li><strong>Prefixes for Redis and Elasticsearch </strong>(PR <a href="https://github.com/shopsys/shopsys/pull/673">#673</a> and <a href="https://github.com/shopsys/shopsys/pull/651">#651</a>) — these are very handy features when you need to use multiple instances (i.e. stages like development, pre-production, etc.) of your project and want to <strong>save some server resources</strong>; you can connect all of them to the same instances of Redis and Elasticsearch.</li><li><strong>Generalized AJAX pagination</strong> (<a href="https://github.com/shopsys/shopsys/pull/579">PR #579</a>) — there is a new generalized frontend component that can be used for<strong> dynamic pagination of any entity</strong> using “load next XY items” button. We added a new cookbook “<a href="https://github.com/shopsys/shopsys/blob/v7.0.0-beta5/docs/cookbook/adding-ajax-load-more-button-into-pagination.md">Adding Ajax Load More Button into Pagination</a>” to our docs so you have the instructions on how to do it.</li><li><strong>Debian instead of Alpine for php-fpm Docker image </strong>(<a href="https://github.com/shopsys/shopsys/pull/702">PR #702</a>) — despite the fact it is larger, we decided to use Debian as a platform for our php-fpm Docker image because it is better known in the community, its commands are easier to understand, and it provides more features (e.g. it is able to connect to MSSQL databases, unlike Alpine we used before).</li></ul><figure><a href="https://www.shopsys.com/?utm_source=blog.shopsys.com&amp;utm_medium=blog%20post&amp;utm_campaign=march"><img alt="" src="https://cdn-images-1.medium.com/max/900/1*vCGC_cYpckVxlHJkrxEakw.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed29f15f406a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shopsys Framework Release Highlights — v7.0.0-beta3 & v7.0.0-beta4]]></title>
            <link>https://medium.com/@rostislav.vitek/shopsys-framework-release-highlights-v7-0-0-beta3-v7-0-0-beta4-a74611182cb6?source=rss-50616cd2d79b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a74611182cb6</guid>
            <category><![CDATA[code-quality]]></category>
            <category><![CDATA[refactoring]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Rostislav Vítek]]></dc:creator>
            <pubDate>Tue, 11 Dec 2018 11:40:13 GMT</pubDate>
            <atom:updated>2019-03-08T08:13:57.586Z</atom:updated>
            <content:encoded><![CDATA[<h3>Shopsys Framework Release Highlights — v7.0.0-beta3 &amp; v7.0.0-beta4</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*cKS7Qz95LmIpmIyPVl_KBA.png" /></figure><p>Recent weeks have been very exciting for us in terms of several projects that are being built on Shopsys Framework, both by external agencies and by our colleagues in other Shopsys teams. Thanks to some of these implementations, we are receiving very valuable feedback. We would particularly like to acknowledge the efforts of all our contributors and reporters, including <a href="https://github.com/henzigo">@henzigo</a>, <a href="https://github.com/dzarda86">@dzarda86</a>, <a href="https://github.com/TomasVotruba">@TomasVotruba</a>, and <a href="https://github.com/ondrejmirtes">@ondrejmirtes</a>! Based on their feedback and contributions, we are working to improve the framework to fit the needs of our users.</p><h3>Refactoring &amp; Code Quality</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*MJc0Puy8V--2Th-nsP7q4w.jpeg" /></figure><p>Based on input from our users, we have been refactoring the problematic parts of the framework, as well as improving the code quality itself.</p><ul><li>We started with <a href="https://github.com/shopsys/shopsys/pull/595">simplifying the pricing</a> that was very complex originally. This feature covered various scenarios (e.g. automatic price calculation based on pricing group coefficients) and was quite cumbersome and difficult to customize or extend. By <strong>simplifying the price calculation to make it a bit clearer and to enable easier customization</strong>, we were also able to completely remove the automatic price calculation, which led to a huge reduction in the source code — we removed over 1,000 lines!</li><li>One of the currently implemented projects contains almost 10 domains and the developers reported some problems with data fixtures (i.e. demo data). Another important refactoring involved making the fixtures work properly with multiple domains. With these new <a href="https://github.com/shopsys/shopsys/pull/568">changes</a>, you are now able to <strong>install demo data for any number of domains</strong> you need.</li><li>It is worth mentioning that after <a href="https://github.com/shopsys/shopsys/pull/576">refactoring of the order form</a>, <strong>all the important forms in the administration are now extensible by creating a form extension only</strong> (see <a href="https://github.com/shopsys/shopsys/blob/v7.0.0-beta4/docs/cookbook/adding-new-attribute-to-an-entity.md#enable-administrator-to-edit-the-extid-field">how to add a new field to the Product form</a>), without the need for overwriting their twig templates.</li><li>We also embraced <a href="https://github.com/shopsys/shopsys/pull/554">new fixers to our coding standards</a> that look after <strong>proper usage of annotations</strong>. There were many discussions on that topic and thanks to the automation, there’s no longer any conflict about whether or not to annotate a particular method.</li><li>We believe that the high code quality makes its usage easier, therefore we wanted to be very thorough and used some of the most current tools available to achieve <strong>the highest quality possible</strong>. One such tool is <a href="https://github.com/phpstan/phpstan">PHPStan</a> and we are proud to collaborate with its author, <a href="https://github.com/ondrejmirtes">Ondřej Mirtes</a>, who helped us <a href="https://github.com/shopsys/shopsys/pull/524/">prepare our codebase to meet more strict rules</a>.</li></ul><h3>Documentation &amp; Education</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*1mXwPx2swzsTWlKFbCAXlg.jpeg" /></figure><p>Besides changes in the source code itself, we are <strong>constantly extending our knowledge base</strong>. We want to provide our users with as much information as possible about Shopsys Framework concepts, along with instructions for creating their own projects based on the framework.</p><ul><li>There is a new <strong>awesome </strong><a href="https://github.com/shopsys/shopsys/blob/v7.0.0-beta4/docs/introduction/faq-and-common-issues.md"><strong>FAQ section</strong></a> in our documentation that answers questions like <em>“How to change a domain URL?”</em>, <em>“Is the application HTTPS ready?”</em>, <em>“How do calculated attributes work?”</em>, and many more. If you are missing an answer to your question, do not hesitate to <a href="https://github.com/shopsys/shopsys/issues/new">create an issue</a> on our Github!</li><li>Shopsys Framework provides <strong>many handy commands that can be used during application installation, development, deployment</strong>, etc. All of them are described in the article <a href="https://github.com/shopsys/shopsys/blob/v7.0.0-beta4/docs/introduction/console-commands-for-application-management-phing-targets.md"><em>“Console Commands for Application Management”</em></a>. The article has been <a href="https://github.com/shopsys/shopsys/pull/556">linked</a> from many others documentation pages to make it easier; this way you don’t need to implement all the processes by yourself.</li><li>As you probably already know, from your project point of view, the administration part of Shopsys Framework is located in the vendor folder (we call this is a “glassbox” part of the framework). Therefore you can not modify the sources directly, otherwise, you would lose the advantage of upgradability. There are already some <a href="https://github.com/shopsys/shopsys/tree/v7.0.0-beta4/docs/cookbook">cookbooks</a> for extending the PHP glassbox parts. In the recent release, we have added a new cookbook <a href="https://github.com/shopsys/shopsys/blob/v7.0.0-beta4/docs/cookbook/modifying-a-template-in-administration.md"><em>“Modifying a Template in Administration”</em></a><em> </em>with <strong>step by step instructions for how to change something in the administration page</strong>.</li><li>In addition to writing documentation, we are organizing <strong>online workshops</strong> where we are teaching participants the <strong>basic concepts of programming on Shopsys Framework</strong> by implementing a simple modification — assigning related products to an article. You can take a look at <a href="https://www.youtube.com/watch?v=qdCybLSP_WM">the recording on YouTube</a> and try it yourself!</li></ul><h3>Installation Improvements</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*5ZpqtnfoR4cx6lrnwgZRFA.jpeg" /></figure><p>During the last few weeks, we have <strong>simplified the installation process</strong> using a few tweaks to make the life of developers a little bit easier.</p><ul><li>There is <a href="https://github.com/shopsys/shopsys/pull/551">no need for setting Github token</a> during the installation anymore thanks to <a href="https://medium.com/p/ef7263fe593e#84ec">the composer improvements</a> we did a few weeks ago.</li><li>Also, you now don’t have to worry about accidentally setting a production environment during your development installation as this has been <a href="https://github.com/shopsys/shopsys/pull/543">automated</a> based on the way you install composer dependencies.</li><li>In addition, we have <a href="https://github.com/shopsys/shopsys/pull/546">created a new Symfony command “shopsys:environment:change”</a> so now you can change the environment much more comfortably.</li><li>Ultimately, you do not have to configure your domains during installation anymore as this step has been <a href="https://github.com/shopsys/shopsys/pull/540">automated</a> as well.</li></ul><h3>Final Thoughts</h3><p>This article covers the recent two releases, beta3 and beta4, which were released within two days. After releasing beta3, our installation started to fail on account of a lack of memory available for composer. We figured out that by releasing the new tag, all our repositories have grown a little bit (and probably some of the external packages have grown as well). Therefore, composer suddenly needed more memory than the default value.</p><p>Thanks to <a href="https://blog.shopsys.com/18-steps-for-releasing-a-new-version-of-an-application-that-works-77185e042d91">our release process</a> we discovered this problem right after the release, and then we came up with <a href="https://github.com/shopsys/shopsys/pull/635">a fixup solution</a> immediately and released beta4 on the very next day. We also informed our users on Slack so they are aware of the problem since all the previous versions of Shopsys Framework were affected by this issue. Moreover, we even improved our release process by adding an automated test of the release candidate installation to prevent such problems in the future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*vCGC_cYpckVxlHJkrxEakw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a74611182cb6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Install Shopsys Framework]]></title>
            <link>https://medium.com/@rostislav.vitek/how-to-install-shopsys-framework-4f3ce269659f?source=rss-50616cd2d79b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f3ce269659f</guid>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Rostislav Vítek]]></dc:creator>
            <pubDate>Mon, 05 Nov 2018 14:26:12 GMT</pubDate>
            <atom:updated>2019-03-08T08:16:10.236Z</atom:updated>
            <content:encoded><![CDATA[<h3>How To Install Shopsys Framework</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*1gJwwxQrgrtL65-0Ds8EtQ.jpeg" /></figure><p>This article lists all the possible ways of installing Shopsys Framework and provides links to corresponding articles in the documentation that contain step by step instructions. No matter which type of installation you choose, thanks to the detailed guides you will be able to start developing your project on Shopsys Framework in no time.</p><p>One of the ultimate goals of Shopsys Framework is good scalability. A long time ago, when we were discussing the future architecture of the framework, we figured that by making the application containerized we would open up the opportunity for lots of scaling possibilities, e.g., a containerized application is well suited for deployment and scaling in cloud solutions like Google Cloud, AWS or Azure. Moreover, when using containers, adding new technology to the application stack is much easier for developers. Even though most of us were Windows users at the time, we decided to make Docker on Linux our default development platform as it is the most natural environment for working with containers.</p><h3>Local development</h3><h4>Linux &amp; Docker Installation (The recommended way)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/170/0*mB8g-CEG5Sxddpos" /><figcaption>Linux</figcaption></figure><p>As mentioned in the introduction, using Docker on Linux is the recommended way of installing Shopsys Framework. In this environment, development is quick, easy, and straightforward.</p><p>For installation instructions, follow the article <a href="https://github.com/shopsys/shopsys/blob/master/docs/installation/installation-using-docker-linux.md">“Installation Using Docker for Linux”</a> in our documentation.</p><h4>MacOS &amp; Docker Installation</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/170/1*-BZFOMerud2a3q2FR7PSlg.png" /><figcaption>MacOS</figcaption></figure><p>If you are a MacOS user, you need one extra piece of technology, i.e. <em>Docker-sync</em> tool that enables fast synchronization of the application files between your machine and Docker container.</p><p>All installation steps are described in our documentation in the article <a href="https://github.com/shopsys/shopsys/blob/master/docs/installation/installation-using-docker-macos.md">“Installation Using Docker for MacOS”</a>.</p><h4>Windows &amp; Docker Installation</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/170/1*9m-3Q8YI4J3o456oY62QMQ.png" /><figcaption>Windows</figcaption></figure><p>For a long time, we were facing huge performance issues when trying to use Docker on Windows. However, after adopting a similar approach to the one we use on MacOS, i.e. leveraging the <em>Docker-sync</em> tool, it is now possible to develop Shopsys Framework projects using Docker on Windows as well. The minimum required Windows version is 10 Pro.</p><p>In the <a href="https://github.com/shopsys/shopsys/blob/master/docs/installation/installation-using-docker-windows-10-pro-higher.md">“Installation Using Docker for Windows 10 Pro and higher”</a> article in our documentation, you will find all the necessary instructions that will guide you through the process.</p><h4>Native Installation</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*W5SsPKjK5NyogXTQ" /></figure><p>Using Docker is really easy and brings lots of advantages to developers. However, if you do not want to use Docker for some reason, there is the possibility to install Shopsys Framework natively. This is the least recommended way as you need to set up each technology (PHP-FPM, Postgres, Elasticsearch, Redis, etc.) manually. Also, as the framework uses microservices, you need to install them separately and run them manually.</p><p>All the steps necessary for installing Shopsys Framework natively are described in <a href="https://github.com/shopsys/shopsys/blob/master/docs/installation/native-installation.md">“Native Installation”</a> article in our documentation.</p><h3>Continuous Integration and Production Server</h3><p>Our ultimate goal for production server installation is a usage of Kubernetes for cloud deployment. So far, we have successfully started using Kubernetes for deployment of our application on a continuous integration server. All the configuration steps are described in the cookbook <a href="https://github.com/shopsys/shopsys/blob/master/docs/kubernetes/continuous-integration-using-kubernetes.md">“Continuous Integration Using Kubernetes”</a> in our documentation.</p><p>For those who may consider the Kubernetes solution too complex for their projects, our recommendation is to use simple Docker installation with all the data storages installed natively. This approach is described in detail in the article <a href="https://github.com/shopsys/shopsys/blob/master/docs/installation/installation-using-docker-on-production-server.md">“Installation Using Docker on Production Server”</a>.</p><h3>Problems and troubleshooting</h3><p>We are doing our best to provide you with the detailed installation instructions regardless of the solution you choose. Despite this, it is possible you may run into some issues during the installation. In such an event, do not hesitate to ask for help in the <em>#installation</em> channel in <a href="http://slack.shopsys-framework.com/">our Slack</a>. Also, if you find a problem in any of the guides, we always appreciate our community <a href="https://github.com/shopsys/shopsys/issues/new">reporting an issue</a> or <a href="https://github.com/shopsys/shopsys/compare">creating a pull request</a> on our <a href="https://github.com/shopsys/shopsys">Github</a>.</p><h3>Conclusion</h3><p>The most preferred solution for developing Shopsys Framework projects is using Docker. It provides the easiest way of running the application without the need for setting everything manually. Moreover, we are planning to add new technologies to the technology stack (e.g. RabbitMQ), and this is a really simple task with Docker.</p><p>Regarding an operating system, we recommend using Linux as this way you get the best developer experience and a maximum speed of the application on your localhost. However, you can easily use MacOS or Windows 10 Pro and higher as well.</p><figure><a href="https://www.shopsys.com/?utm_source=blog.shopsys.com&amp;utm_medium=blog%20post&amp;utm_campaign=march"><img alt="" src="https://cdn-images-1.medium.com/max/900/1*vCGC_cYpckVxlHJkrxEakw.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f3ce269659f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shopsys Framework Release Highlights — v7.0.0-beta1]]></title>
            <link>https://medium.com/@rostislav.vitek/shopsys-framework-release-highlights-v7-0-0-beta1-e0b695586b83?source=rss-50616cd2d79b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0b695586b83</guid>
            <category><![CDATA[symfony]]></category>
            <category><![CDATA[ecommerce-web-development]]></category>
            <category><![CDATA[ecommerce-software]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Rostislav Vítek]]></dc:creator>
            <pubDate>Thu, 20 Sep 2018 09:42:52 GMT</pubDate>
            <atom:updated>2019-03-08T08:18:31.066Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*93c8Rr6EBs-RbSeO-H3ZDw.png" /></figure><p>In the recent weeks, we’ve directed our focus towards intensive work on orchestration possibilities. Additionally, we’ve continued our experiments with the microservice architecture and keep improving developer experience of the framework extensibility. For the full list of changes that have been made in the last releases, you can check our <a href="https://github.com/shopsys/shopsys/blob/v7.0.0-beta1/CHANGELOG.md">changelog</a>.</p><h3>Kubernetes Orchestration</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/209/1*7iL8kxciTg2L0ATbH38o7A.png" /></figure><p>As Shopsys Framework runs naturally in Docker containers, we plan to deploy it to the production server using Kubernetes. This is an orchestration tool that is suitable for running the containerized application in the cloud solutions like AWS, Google Cloud or Azure where it is ready for scaling easily when you need it. You can read more about it in <a href="https://github.com/shopsys/shopsys/blob/v7.0.0-beta1/docs/kubernetes/introduction-to-kubernetes.md">the “Introduction to Kubernetes” article</a> in our documentation.</p><p>We have never worked with Kubernetes orchestration before but we gained some experience when we tweaked Jenkins CI to do some basic orchestration in the past, even without Kubernetes. Our developer, Matouš Czerner, described all the tricks we used in his <a href="https://www.youtube.com/watch?v=WNwUjFu2DXM">“Jak na Jenkins CI pro aplikaci v Dockeru” presentation</a> (in Czech) on “Friends of PHP meetup” in Brno on 18.4.2018.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/209/1*IUnpaAJc0cQkiInaKHOzfA.png" /></figure><p>Now, we have taken a huge step towards making Shopsys Framework ready for usage in cloud solutions by implementing Kubernetes for our continuous integration on Jenkins. You can read more about that in <a href="https://github.com/shopsys/shopsys/blob/v7.0.0-beta1/docs/kubernetes/continuous-integration-using-kubernetes.md">the “Continuous Integration Using Kubernetes” article</a> in the docs. Because we currently keep our <a href="https://en.wikipedia.org/wiki/Infrastructure_as_Code">infrastructure as code</a>, you can see all the changes that have been made in the source code in <a href="https://github.com/shopsys/shopsys/pull/393">pull request #393</a>.</p><h3>Elasticsearch Data Export in Microservice</h3><p>In <a href="https://blog.shopsys.com/shopsys-framework-release-highlights-v7-0-0-alpha5-f298b69008a6">the last Release Highlights article</a>, we described the development of our first microservice. Since then, we’ve created yet another microservice that is responsible for exporting products’ data into Elasticsearch. As a result, the framework is now completely independent of Elasticsearch and the whole communication with the search engine is done via microservices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zZqN7SLa-4C_1Vxwa4PCJg.png" /></figure><p>The great advantage of this approach is that the whole functionality is now ready to be developed, deployed, and scaled separately. Besides that, there were several more reasons for implementing the data export in the new standalone microservice. It fits the single responsibility principle that is very important with the microservices approach, and product export has now no impact on product search performance whatsoever. Also, as we are still learning how to use the microservices architecture, we thought it vital to implement more than one in order to gain the real-life experience. To explore technical details about the implementation, see <a href="https://github.com/shopsys/shopsys/pull/429">pull request #429</a>.</p><p>Furthermore, the microservices are built as docker images. This is the next step for microservices independence which makes it much easier to install and use them. You can see the actual changes in the source code in<a href="https://github.com/shopsys/shopsys/pull/430"> pull request #430</a>.</p><h3>Better developer experience</h3><p>For extending the framework (e.g. adding a new attribute to an entity), we use the PHP class inheritance. In order to ease the development as much as possible, we prepared empty extended classes in the project-base for the most commonly edited entities (such as Product, Customer, Transport, Payment, Order). The entity itself is not the only class that needs to be extended; there are also data objects, forms, factory classes, etc., so the developer does not need to create whole new classes anymore and can modify the prepared ones instead.</p><p>As a result, it is now much easier to extend an entity, effectively reducing the amount of the code a developer has to write <strong>from 190 to 30 lines. </strong>This is according to changes which you can find in <a href="https://github.com/shopsys/shopsys/blob/v7.0.0-beta1/docs/cookbook/adding-new-attribute-to-an-entity.md">the cookbook for adding a new attribute to an entity</a><strong>.</strong> You can see the changes in the source code in <a href="https://github.com/shopsys/shopsys/pull/409">pull request #409</a>.</p><p>All our developers who use Docker on Mac are a lot happier as well because we optimized the Docker settings and improved the stability of the files synchronization between the host machine and container in<a href="https://github.com/shopsys/shopsys/pull/468"> pull request #468</a>.</p><h3>Performance improvements</h3><p>Performance is a topic that we work on continuously. Recently, we improved an application’s performance by approximately 8% by fine-tuning the Postgres configuration. You can see the actual changes in the configuration in<a href="https://github.com/shopsys/shopsys/pull/444"> pull request #444.</a></p><figure><a href="https://www.shopsys.com/?utm_source=blog.shopsys.com&amp;utm_medium=blog%20post&amp;utm_campaign=march"><img alt="" src="https://cdn-images-1.medium.com/max/900/1*vCGC_cYpckVxlHJkrxEakw.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0b695586b83" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[18 Steps For Releasing A New Version Of An Application That Works!]]></title>
            <link>https://medium.com/@rostislav.vitek/18-steps-for-releasing-a-new-version-of-an-application-that-works-77185e042d91?source=rss-50616cd2d79b------2</link>
            <guid isPermaLink="false">https://medium.com/p/77185e042d91</guid>
            <category><![CDATA[release-management]]></category>
            <category><![CDATA[process]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[checklist]]></category>
            <dc:creator><![CDATA[Rostislav Vítek]]></dc:creator>
            <pubDate>Mon, 11 Jun 2018 10:40:07 GMT</pubDate>
            <atom:updated>2019-03-07T12:25:34.759Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*27SdjWXH4SEPYhnH4jpDQA.jpeg" /></figure><p>It has been some time since we started development of our Symfony based ecommerce framework as an open source project. Before, all of us were used to working with proprietary software where releasing new versions only involved publishing a new git (or SVN) tag. But times have changed and our product is now dedicated to helping developers all over the world. Even though we learned about open source development as we went, we knew from the beginning that publishing a newer version of the framework deserved a little bit more attention.</p><h3>The Checklist</h3><p>When striving for perfection, we created a checklist for our release process which prevents maintainers from forgetting anything important when releasing a new version of Shopsys Framework. Needless to say, the process is constantly evolving as we verify it in practice during each iteration. Now, let us go through the checklist and briefly describe all the work that needs to be done when a new version is released.</p><h4>Step 1 - Check TravisCI</h4><p>Shopsys Framework is <a href="https://github.com/shopsys/shopsys/blob/v7.0.0-alpha2/docs/introduction/monorepo.md">developed in monorepo</a> and our internal CI server builds and checks the whole monorepo altogether. Because of that, the functionality of single packages is tested by TravisCI after a feature is merged into the master branch and the monorepo is split. So, the release time is suitable for ensuring that all packages of monorepo work properly on their own, i.e. all projects in our Travis CI have green statuses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*2j_JkQtNirshwCiZVRmJNQ.png" /><figcaption><a href="https://travis-ci.org/shopsys/">https://travis-ci.org/shopsys/</a></figcaption></figure><h4>Step 2 - Create new git feature branch</h4><p>Releasing a new version always requires some changes in the code, so a new git branch has to be created. The standard convention is that the branch be prefixed with <em>rc- </em>(as in “release candidate”) and followed with the name of the upcoming version, e.g. <em>rc-v7.0.0-alpha2</em>.</p><h4>Step 3 - Prevent others from merging into master</h4><p>It is important to inform everyone in the team that the release process is in progress, and therefore merging new features into the master branch is temporarily disallowed. Usually, we put the information on our team slack channel and also write a warning message on the scrum whiteboard in our office.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fI_mSmZkPn80W3SwshUFUw.jpeg" /><figcaption>Shopsys Framework scrum whiteboard</figcaption></figure><h4>Step 4 - Examine composer dependencies</h4><p>In our composer.json, we use <a href="https://getcomposer.org/doc/articles/versions.md#caret-version-range-">caret version range</a> for a definition of our external dependencies. But there are a few exceptions to this rule (which should be <a href="https://github.com/shopsys/shopsys/commit/5cb2404c7403b7ed73a0e46ccaa42e05d7a0c6cc">described in a commit message</a>). The release process is a suitable time for examining these non-standard dependencies and defining them the standard way if possible, e.g. <a href="https://github.com/shopsys/shopsys/pull/133/commits/1b59802a49669ed9d917ac2cbc5366e300a352aa">new version of given package including important bug fix is available</a>. Also, all <a href="https://github.com/shopsys/shopsys/blob/v7.0.0-alpha2/composer.json#L46">forked repositories</a> should be checked to see if their usage is still relevant or whether it is possible to use the original package.</p><h4>Step 5 - Update translations</h4><p>Since Shopsys Framework supports multiple languages, all translatable texts are exported into files for translations using <a href="https://github.com/shopsys/shopsys/blob/v7.0.0-alpha2/build.xml#L180">phing targets</a>. Sometimes a developer forgets to fill the corresponding translation for their new strings and, again, the release process is a suitable time for adding any forgotten translations into translation files, as well as performing <a href="https://github.com/shopsys/shopsys/pull/133/commits/718e11c9ffaf0e95bd6a8adc99e532a85ce939b7">any other translations corrections</a>.</p><h4>Step 6 - Update changelog and upgrading notes</h4><p>Changelog and upgrading notes are maintained continuously, and new entries are added into <em>“Unreleased”</em> section during a regular development process. Before releasing a new version, it is important to <a href="https://github.com/shopsys/shopsys/pull/133/commits/ede744f4738335fcb0609ec63078134c3b76fdd0">set the new version number and release date</a> for all unreleased changes.</p><h4>Step 7 - Change dependencies in monorepo packages</h4><p>To provide the functionality of the whole monorepo ecosystem during development between releases, all the packages are dependent on each other’s master versions. But in the released version, the <a href="https://github.com/shopsys/shopsys/commit/bd98ad992d6beb8a5c3b6b4ea529a721de3abf78">dependencies must be changed to the upcoming version number</a>. As Shopsys Framework is in the alpha stage now, each change can cause BC breaks so the dependencies are set to the concrete version numbers. This prevents application from unwanted breaks during the composer update.</p><h4>Step 8 - Verify functionality</h4><p>By building the application locally and on the CI server, we verify that everything works well after all the changes are done.</p><h4>Step 9 - Let your work be reviewed</h4><p>Our standard development process includes a code review that takes place in the <a href="https://github.com/shopsys/shopsys/pull/133/">pull request on GitHub</a>. Releasing new versions is no exception.</p><h4>Step 10 - Let your work be tested</h4><p>Despite the fact that we do write automated tests, the release is so important to us that in this step we rely on a human tester to manually test the application.</p><h4>Step 11 - Check the release date</h4><p>Sometimes the release process can take a few days so it vital that we check the release date in the changelog just before the new version is actually released.</p><h4>Step 12 - Merge the feature branch into master</h4><p>We try to keep our git history as readable as possible. We believe that writing descriptive commit messages even for changes during the release process, rebasing feature branches on master branch, and creating merge commits serves to enhance clarity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*QW_uSigGJXIOInPJZl66sA.png" /><figcaption>Feature branch is rebased and merged using a merge commit</figcaption></figure><h4>Step 13 - Create and push a new git tag</h4><p>After the feature branch is merged into the master, it is necessary to mark the merge commit as the new version of our framework. This is done simply by using a git tag.</p><p><em>git tag v7.0.0-aplha2 &amp;&amp; git push — tags</em></p><h4>Step 14 - Check the new release</h4><p>This is the step when we verify that everything works well for the last time, i.e. check all Travis builds as well as builds on internal CI, check whether the new version is available on <a href="https://packagist.org/packages/shopsys/project-base">packagist</a>, and double-check the installation of the released version by manually following <a href="https://github.com/shopsys/shopsys/tree/v7.0.0-alpha2/docs/installation">installation guides</a>.</p><h4>Step 15 - Change the dependencies in monorepo packages back</h4><p>After the new version is released, we <a href="https://github.com/shopsys/shopsys/commit/670dc60ef001534ea881cea271e5e3fc675dec10">revert the dependencies</a> of monorepo packages to ensure that new unreleased versions are capable of working together properly.</p><h4>Step 16 - Add release notes on GitHub</h4><p>Each good release on GitHub needs proper release notes. Luckily for us, we write nice notes into our changelog so we just copy and paste the information from there.</p><h4>Step 17 - Let people know about the new release</h4><p>A brief message summarizing the new version should be written in <a href="http://slack.shopsys-framework.com/">Shopsys Framework Slack</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*QXybmGWKqx8l52yGq0pTMQ.png" /><figcaption><a href="http://slack.shopsys-framework.com/">http://slack.shopsys-framework.com/</a></figcaption></figure><h4>Step 18 - Celebrate the new release</h4><p>Releasing new version is always a good cause for a little celebration!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3C4feV2Axg0C7ps2SakM8g.jpeg" /><figcaption>Our team is happy when the new version is released…</figcaption></figure><h3>Conclusion</h3><p>Even though it seems that most of these steps are really simple, it is very useful to have them all written down so even a novice in our team can handle the whole process when following the instructions. We also include important notes about unusual situations that can occur during the process so nobody else is unpleasantly surprised when something weird happens.</p><p>The good thing about keeping the checklist is that when you really put it all down on paper, you almost immediately spot steps that can be improved (or, even better, automated). As mentioned before, our release checklist keeps changing and we are always looking for ways to optimize these steps in the following weeks and months. Do you see any room for improvement of our process? Let us know in the comments below or <a href="https://github.com/shopsys/shopsys/issues/new">create a new issue on our GitHub</a>. It will likely be interesting to see how the process evolves over time.</p><figure><a href="https://www.shopsys.com/?utm_source=blog.shopsys.com&amp;utm_medium=blog%20post&amp;utm_campaign=march"><img alt="" src="https://cdn-images-1.medium.com/max/900/1*vCGC_cYpckVxlHJkrxEakw.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77185e042d91" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>