{"id":21754,"date":"2025-03-26T11:14:21","date_gmt":"2025-03-26T11:14:21","guid":{"rendered":"https:\/\/mautic.org\/blog\/"},"modified":"2025-03-26T11:54:15","modified_gmt":"2025-03-26T11:54:15","slug":"mautic-6-0-orion-edition-is-released","status":"publish","type":"post","link":"https:\/\/mautic.org\/blog\/mautic-6-0-orion-edition-is-released","title":{"rendered":"Mautic 6.0: Orion Edition is released"},"content":{"rendered":"\n<p>Today we\u2019ve released Mautic 6.0: Orion Edition. This is a bridging release which will have a shorter cycle so that we can catch up with Symfony\u2019s release schedule and, in the long term, provide up to five years of support for each new major version of Mautic. You can read more about that in our <a href=\"https:\/\/mautic.org\/blog\/introducing-mautics-new-release-strategy-long-term-support-elts\/\">blog post<\/a>.<\/p>\n\n\n\n<p>Check out the release notes for 6.0 General Availability <a href=\"https:\/\/github.com\/mautic\/mautic\/releases\/tag\/6.0.0\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n\n\n\n<p>What follows includes some of the important information about this release.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"512\" src=\"https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/Mautic-6-Launch-Infographic-Cover.png\" alt=\"Dark blue background with Mautic&#039;s logo and an illustrated rocket with Mautic 6 launch below with the 6 in yellow and the rest of the text in white. 2615 files changed, 1035 commits, 50+ contributors, project started 5 Nov 2024, Alpha release 27 Jan 2025, Beta release 6 Mar 2025, Release Candidate 17 Mar 2025, General Availability 26 March 2025 on a timeline with launch Timeline in text above.\" class=\"wp-image-21752\" title=\"\" srcset=\"https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/Mautic-6-Launch-Infographic-Cover.png 1024w, https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/Mautic-6-Launch-Infographic-Cover-300x150.png 300w, https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/Mautic-6-Launch-Infographic-Cover-768x384.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Firstly a big thank you to everybody who has helped by contributing code, testing and reviewing contributions, creating imagery, writing content, managing social media, writing documentation &#8211; it takes a village to manage a release and there are <a href=\"https:\/\/mau.tc\/contribute\" target=\"_blank\" rel=\"noopener\">many ways<\/a> that people have helped get this release over the line.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Note about Docker&nbsp;<\/h2>\n\n\n\n<p>We are currently unable to release the Mautic 6 images for Docker due to a lack of active maintainers. We have an <a href=\"https:\/\/github.com\/mautic\/docker-mautic\/issues\/312\" target=\"_blank\" rel=\"noopener\">open call for maintainers<\/a> open on the GitHub repository where you can read more about getting involved as a Docker Maintainer for Mautic.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Marketer-facing changes<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Improving tooltip help and guidance<\/h3>\n\n\n\n<p>More improvements coming from the UX\/UI Tiger Team in this release include <a href=\"https:\/\/github.com\/mautic\/mautic\/pull\/13883\" target=\"_blank\" rel=\"noopener\">improving the tooltips and contextual help for the settings page<\/a>, explaining to users what each field does and what formats are expected. Here\u2019s a before and after:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>Before<\/td><td>After<\/td><\/tr><tr><td><img decoding=\"async\" src=\"https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/before-settings-1024x669.png\" alt=\"\" title=\"\"><\/td><td><img decoding=\"async\" src=\"https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/after-settings-1024x669.png\" alt=\"\" title=\"\"><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Improving user experience with Dynamic Web Content<\/h3>\n\n\n\n<p>One of my personal favourites, this release features a vastly improved user experience for <a href=\"https:\/\/github.com\/mautic\/mautic\/pull\/14372\" target=\"_blank\" rel=\"noopener\">Dynamic Web Content slot generation<\/a>, allowing you to generate the precise code required for embedding it within your website, including adding default content. You can grab the syntax commonly used for plugins (including being able to switch between square and curly braces) and for the plain HTML code.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"860\" height=\"427\" src=\"https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/dwc-slot-generator.png\" alt=\"\" class=\"wp-image-21763\" title=\"Mautic 6 is here: alpha release is ready for you to start testing 3\" srcset=\"https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/dwc-slot-generator.png 860w, https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/dwc-slot-generator-300x149.png 300w, https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/dwc-slot-generator-768x381.png 768w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Improving layout of tables and batch action features<\/h3>\n\n\n\n<p>If you\u2019ve updated to 5.2 you\u2019ll have noticed we\u2019ve dramatically improved the layouts of tables, and with 6.0 we\u2019ve got some more enhancements coming for you, this time focused on <a href=\"https:\/\/github.com\/mautic\/mautic\/pull\/14306\" target=\"_blank\" rel=\"noopener\">improving the batch functions<\/a>. They\u2019re now moved to the toolbar instead of being hidden under the \u2018three dot menu\u2019 in a much more intuitive layout.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Report on your focus items<\/h3>\n\n\n\n<p>We now have a new report source, called <a href=\"https:\/\/github.com\/mautic\/mautic\/pull\/14340\" target=\"_blank\" rel=\"noopener\">Focus stats<\/a>. This allows you to create a report which includes the following data from focus items: name, url, interaction, page hits, unique hits, description, focus type, style. This is super useful to keep track of how your focus items are performing.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"347\" src=\"https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/focus-item-stats-1024x347.png\" alt=\"\" class=\"wp-image-21764\" title=\"Mautic 6 is here: alpha release is ready for you to start testing 4\" srcset=\"https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/focus-item-stats-1024x347.png 1024w, https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/focus-item-stats-300x102.png 300w, https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/focus-item-stats-768x261.png 768w, https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/focus-item-stats.png 1350w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">New campaign email charts: weekday and hour based metrics<\/h3>\n\n\n\n<p>Have you ever wanted to see a chart which showed you how your emails within a campaign were performing by day or by hour? Thanks to <a href=\"https:\/\/github.com\/mautic\/mautic\/pull\/14414\" target=\"_blank\" rel=\"noopener\">this new PR<\/a> we\u2019ve now got an extra tab on the campaign which shows your email statistics.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"368\" src=\"https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/email-statistics-1024x368.png\" alt=\"\" class=\"wp-image-21765\" title=\"Mautic 6 is here: alpha release is ready for you to start testing 5\" srcset=\"https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/email-statistics-1024x368.png 1024w, https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/email-statistics-300x108.png 300w, https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/email-statistics-768x276.png 768w, https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/email-statistics.png 1246w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Mark fields as read-only on forms<\/h3>\n\n\n\n<p>When showing a Mautic form, sometimes you might want to have certain fields \u2018read-only\u2019 \u2013 such as the user\u2019s email address \u2013 so that they can only fill out the fields you require. Thanks to <a href=\"https:\/\/github.com\/mautic\/mautic\/pull\/14422\" target=\"_blank\" rel=\"noopener\">this new feature<\/a>, you can now set a field to be read only.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">New themes<\/h3>\n\n\n\n<p>We now have five new landing page themes and two new form themes to help you building beautiful experiences for your users &#8211; check them out and let us know what you think!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Set global company name and brand highlight color<\/h3>\n\n\n\n<p>Thanks to <a href=\"https:\/\/github.com\/mautic\/mautic\/pull\/14649\" target=\"_blank\" rel=\"noopener\">this PR<\/a> you can now set your company name and brand highlight colour globally, which will be used by the themes added since Mautic 5 automatically. A small but convenient change for marketers!<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"749\" height=\"292\" src=\"https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/accent-colour-company-name.png\" alt=\"\" class=\"wp-image-21766\" title=\"\" srcset=\"https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/accent-colour-company-name.png 749w, https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/accent-colour-company-name-300x117.png 300w\" sizes=\"(max-width: 749px) 100vw, 749px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"762\" height=\"483\" src=\"https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/email-theme-colour-company.png\" alt=\"\" class=\"wp-image-21767\" title=\"\" srcset=\"https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/email-theme-colour-company.png 762w, https:\/\/mautic.org\/wp-content\/uploads\/2025\/03\/email-theme-colour-company-300x190.png 300w\" sizes=\"(max-width: 762px) 100vw, 762px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Developer-facing changes<\/h2>\n\n\n\n<p>Since Mautic 3.0 we\u2019ve been diligently working on increasing the amount of our codebase which is covered by automated tests \u2013 these tests pick up on bugs and problems with code quality for developers to address before they get to you, the user. We\u2019re delighted to share that we\u2019re now at 64.75% coverage, up from from 30% with Mautic 3.0, 50.28% with Mautic 4.4 and 58.6% with Mautic 5.0 \u2013 a further demonstration of our commitment to delivering a more robust, reliable open source marketing automation platform.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Backward compatibility breaking changes<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">JavaScript<\/h4>\n\n\n\n<p>As the legacy builder was removed these JavaScript libraries were removed as well:<br><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Froala has been removed as it was outdated with security vulnerabilities<\/li>\n\n\n\n<li>CodeMirror JS has been removed from Core, but is still installed in the GrapesJS plugin<\/li>\n\n\n\n<li>jQuery UI&#8217;s plugin Safe Blur has been removed as it was no longer used.<\/li>\n\n\n\n<li>Modernizr has been removed as it\u2019s not necessary anymore as modern browsers support open standards<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">PHP<\/h4>\n\n\n\n<p>Mautic 6 removes a large volume of legacy, deprecated code. Please refer to the <a href=\"https:\/\/github.com\/mautic\/mautic\/blob\/6.x\/UPGRADE-6.0.md\" target=\"_blank\" rel=\"noopener\">UPGRADE-6.0<\/a> file for the full list.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Symfony notable changes<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">Getting a value from request must now be scalar<\/h5>\n\n\n\n<p>Meaning arrays cannot be returned with the get() method. Example of how to resolve it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>- $asset = $request-&gt;request-&gt;get('asset') ?? &#91;];\n+ $asset = $request-&gt;request-&gt;all()&#91;'asset'] ?? &#91;];<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h5 class=\"wp-block-heading\">ASC constants are replaced with enums in Doctrine<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>- $q-&gt;orderBy($this-&gt;getTableAlias().'.dateAdded', \\Doctrine\\Common\\Collections\\Criteria::DESC);\n+ $q-&gt;orderBy($this-&gt;getTableAlias().'.dateAdded', \\Doctrine\\Common\\Collections\\Order::Descending-&gt;value);<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Creating AJAX requests in functional tests<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>- $this-&gt;client-&gt;request(Request::METHOD_POST, '\/s\/ajax', $payload, &#91;], $this-&gt;createAjaxHeaders());\n+ $this-&gt;setCsrfHeader(); \/\/ this is necessary only for the \/s\/ajax endpoints. Other ajax requests do not need it.\n+ $this-&gt;client-&gt;xmlHttpRequest(Request::METHOD_POST, '\/s\/ajax', $payload);<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Logging in different user in functional tests<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>- $user = $this-&gt;loginUser('admin');\n+ $user = $this-&gt;em-&gt;getRepository(User::class)-&gt;findOneBy(&#91;'username' =&gt; 'admin']);\n+ $this-&gt;loginUser($user);<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Asserting successful response in functional tests<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>$this-&gt;client-&gt;request('GET', '\/s\/campaigns\/new\/');\n- $response = $this-&gt;client-&gt;getResponse();\n- Assert::assertTrue($response-&gt;isOk(), $response-&gt;getContent());\n+ $this-&gt;assertResponseIsSuccessful();<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Session service doesn&#8217;t exist anymore<\/h5>\n\n\n\n<p>Use Request to get the session instead.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>- use Symfony\\Component\\HttpFoundation\\Session\\SessionInterface;\n+ use Symfony\\Component\\HttpFoundation\\RequestStack;\nclass NeedsSession\n{\n-   public function __construct(private SessionInterface $session) {}\n+   public function __construct(private RequestStack $requestStack) {}\n\n    public function doStuff()\n    {\n-       $selected = $this-&gt;session-&gt;get('mautic.category.type', 'category');\n+       $selected = $this-&gt;requestStack-&gt;getSession()-&gt;get('mautic.category.type', 'category');\n        \/\/ ...\n    }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Mautic features<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Removal of gated video<\/h4>\n\n\n\n<p>Gated video used a very outdated, unsupported library and only worked with the legacy builder which is now removed. Therefore, the gated video feature has been <a href=\"https:\/\/github.com\/mautic\/mautic\/pull\/14284\" target=\"_blank\" rel=\"noopener\">removed from Mautic<\/a>. If developers would like to build this for GrapesJS, please make a PR for the core team to review!<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Removal of the legacy builder<\/h4>\n\n\n\n<p>It\u2019s finally time to say goodbye to the legacy builder which has served Mautic since the early days of Mautic 2.&nbsp;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>We hope that you enjoy using Mautic 6 &#8211; please let us know of any problems you encounter on <a href=\"https:\/\/forum.mautic.org\/c\/support\/mautic-6-install-upgrade-support\/111\">this forum category<\/a> or by posting in #mautic-6 on <a href=\"https:\/\/mautic.org\/slack\/\" data-type=\"page\" data-id=\"20023\">Slack<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mautic 6.0:Orion edition is now released, learn more about what&#8217;s included in our blog post.<\/p>\n","protected":false},"author":2,"featured_media":21755,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"publish_to_discourse":"","publish_post_category":"16","wpdc_auto_publish_overridden":"","wpdc_topic_tags":"","wpdc_pin_topic":"","wpdc_pin_until":"","discourse_post_id":"94262","discourse_permalink":"https:\/\/forum.mautic.org\/t\/mautic-6-0-orion-edition-is-released\/35360","wpdc_publishing_response":"success","wpdc_publishing_error":"","footnotes":""},"categories":[1498],"tags":[1091,1115,1127,1167],"class_list":["post-21754","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product-news","tag-mauticnewrelease","tag-newrelease","tag-opensource","tag-release"],"acf":[],"_links":{"self":[{"href":"https:\/\/mautic.org\/wp-json\/wp\/v2\/posts\/21754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mautic.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mautic.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mautic.org\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mautic.org\/wp-json\/wp\/v2\/comments?post=21754"}],"version-history":[{"count":8,"href":"https:\/\/mautic.org\/wp-json\/wp\/v2\/posts\/21754\/revisions"}],"predecessor-version":[{"id":21770,"href":"https:\/\/mautic.org\/wp-json\/wp\/v2\/posts\/21754\/revisions\/21770"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mautic.org\/wp-json\/wp\/v2\/media\/21755"}],"wp:attachment":[{"href":"https:\/\/mautic.org\/wp-json\/wp\/v2\/media?parent=21754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mautic.org\/wp-json\/wp\/v2\/categories?post=21754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mautic.org\/wp-json\/wp\/v2\/tags?post=21754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}