| <!DOCTYPE html><html lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> |
| <title>Apache Sling :: Apache Sling 11 released</title> |
| <link rel="icon" href="/favicon.ico"/> |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css"/> |
| <link rel="stylesheet" href="/res/css/site.css"/> |
| <script src='https://www.apachecon.com/event-images/snippet.js'></script><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/> |
| <script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js'></script><script> |
| hljs.initHighlightingOnLoad(); |
| </script> |
| |
| <!-- Matomo Web Analytics --> |
| <script> |
| var _paq = window._paq = window._paq || []; |
| /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ |
| /* We explicitly disable cookie tracking to avoid privacy issues */ |
| _paq.push(['disableCookies']); |
| _paq.push(['trackPageView']); |
| _paq.push(['enableLinkTracking']); |
| (function() { |
| var u="https://matomo.privacy.apache.org/"; |
| _paq.push(['setTrackerUrl', u+'matomo.php']); |
| _paq.push(['setSiteId', '6']); |
| var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; |
| g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); |
| })(); |
| </script> |
| <!-- End Matomo Code --> |
| <link href='/pagefind/pagefind-ui.css' rel='stylesheet'><script src='/pagefind/pagefind-ui.js' type='text/javascript'></script> |
| <script> |
| window.addEventListener('DOMContentLoaded', (event) => { |
| new PagefindUI({ element: "#searchbox" }); |
| }); |
| </script> |
| |
| </head> <body> |
| <div class="section"> |
| <div class="level is-marginless"> |
| <div class="logo"> |
| <a href="https://sling.apache.org"> |
| <img border="0" alt="Apache Sling" src="/res/logos/sling.svg"/> |
| </a> |
| </div><div class="header"> |
| <a href="https://www.apache.org"> |
| <img border="0" alt="Apache" src="/res/logos/apache.png"/> |
| </a> |
| </div> |
| </div><section class="searchbox level is-marginless"> |
| <div id="searchbox"></div> |
| </section><div class="columns is-gapless"> |
| <div class="column is-narrow sidemenu"> |
| <div class="container"> |
| <nav class="menu"> |
| <ul class="menu-list box is-shadowless is-marginless"> |
| <li> |
| <p class="menu-label"> |
| <strong>Documentation</strong> |
| </p><ul> |
| <li><a href="/documentation.html">Overview</a></li><li><a href="/documentation/getting-started.html">Getting Started</a></li><li><a href="/documentation/the-sling-engine.html">The Sling Engine</a></li><li><a href="/documentation/development.html">Development</a></li><li><a href="/documentation/bundles.html">Bundles</a></li><li><a href="/documentation/tutorials-how-tos.html">Tutorials & How-Tos</a></li><li><a href="/components/">Maven Plugins</a></li><li><a href="/documentation/configuration.html">Configuration</a></li> |
| </ul> |
| </li><li> |
| <p class="menu-label"> |
| <strong>API Docs</strong> |
| </p><ul> |
| <li><a href="/apidocs/sling12/index.html">Sling 12</a></li><li><a href="/apidocs/sling11/index.html">Sling 11</a></li><li><a href="/apidocs/sling10/index.html">Sling 10</a></li><li><a href="/apidocs/sling9/index.html">Sling 9</a></li><li><a href="/documentation/apidocs.html">All versions</a></li> |
| </ul> |
| </li><li> |
| <p class="menu-label"> |
| <strong>Support</strong> |
| </p><ul> |
| <li><a href="https://s.apache.org/sling.wiki">Wiki</a></li><li><a href="https://s.apache.org/sling.faq">FAQ</a></li><li><a href="/sitemap.html">Sitemap</a></li> |
| </ul> |
| </li><li> |
| <p class="menu-label"> |
| <strong>Project Info</strong> |
| </p><ul> |
| <li><a href="/downloads.cgi">Downloads</a></li><li><a href="https://www.apache.org/licenses/">License</a></li><li><a href="/news.html">News</a></li><li><a href="/releases.html">Releases</a></li><li><a href="https://issues.apache.org/jira/browse/SLING">Issue Tracker</a></li><li><a href="/links.html">Links</a></li><li><a href="/contributing.html">Contributing</a></li><li><a href="/project-information.html">Project Information</a></li><li><a href="/project-information/security.html">Security</a></li> |
| </ul> |
| </li><li> |
| <p class="menu-label"> |
| <strong>Source</strong> |
| </p><ul> |
| <li><a href="/repolist.html">Repositories</a></li><li><a href="https://gitbox.apache.org/repos/asf?s=sling">Git at Apache</a></li> |
| </ul> |
| </li><li> |
| <p class="menu-label"> |
| <strong>Apache Software<br>Foundation</strong> |
| </p><ul> |
| <li><a href="https://www.apache.org/foundation/thanks.html">Thanks!</a></li><li><a href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a></li><li><a href="https://www.apache.org/foundation/buy_stuff.html">Buy Stuff</a></li> |
| </ul> |
| </li><li> |
| <a class="acevent" data-format="square" data-event="random"></a> |
| </li><li> |
| <a href="https://apache.org/foundation/contributing.html" class="column"> |
| <img border="0" alt="Support the Apache Software Foundation!" src="/res/images/SupportApache-small.png" width="125"/> |
| </a> |
| </li> |
| </ul> |
| </nav> |
| </div> |
| </div><div class="column main"> |
| <div class="box is-shadowless is-marginless"> |
| <div class="level"> |
| <div class="pagenav"> |
| <div class="breadcrumb"> |
| <ul> |
| <li> |
| <a href="/"> |
| Home |
| </a> |
| </li><li> |
| <a href="/news.html"> |
| News |
| </a> |
| </li> |
| </ul> |
| </div> |
| </div><div class="tags"> |
| <span class="tag"> |
| <a href="/tags/launchpad.html"> |
| launchpad |
| </a> |
| </span> |
| </div> |
| </div><h1 class="title"> |
| Apache Sling 11 released |
| </h1><nav class="menu"> |
| <ul class="menu-list box is-shadowless is-paddingless"> |
| <li id="generatedToC"> |
| <p class="menu-label"> |
| <strong>Table of Contents</strong> |
| </p> |
| </li> |
| </ul> |
| </nav><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=title],h2,h3','ulClass':'menu-list'}); } );</script><div class="content is-marginless"> |
| <div class="row" data-pagefind-body="true"><div><section><p>The Sling 11 release adds better support for present and future Java versions, upgrades to the latest stable Oak and OSGi specification releases and features improved ACL setup for out-of-the-box.</p> |
| <p>To find out more about running Sling, see our <a href="/documentation/getting-started.html">getting started page</a>.</p> |
| <h2><a href="#removed-the-need-to-use-add-modules" id="removed-the-need-to-use-add-modules">Removed the need to use '--add-modules'</a></h2> |
| <p>Sling 10 worked just fine on Java 9 or newer but required the addition of the <em>--add-modules java.se.ee</em> flag. This is no longer needed, and Sling is validated to work on all Java versions from 8 to 11.</p> |
| <h2><a href="#update-to-oak-188" id="update-to-oak-188">Update to Oak 1.8.8</a></h2> |
| <p>We use the latest stable Oak version from the 1.8 stream, bringing in over 1200 fixes and improvements. See the <a href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20OAK%20AND%20resolution%20is%20not%20empty%20and%20fixVersion%20in%20(1.8.0%2C%201.8.1%2C%201.8.2%2C1.8.3%2C1.8.4%2C1.8.5%2C1.8.6%2C1.8.7%2C1.8.8)%20ORDER%20BY%20priority%20DESC%2C%20updated%20DESC">full list of resolved issues for Oak 1.8.0 to 1.8.8</a>.</p> |
| <h2><a href="#update-to-osgi-r7-implementations" id="update-to-osgi-r7-implementations">Update to OSGi R7 implementations</a></h2> |
| <p>The Config Admin, SCR, Event Admin, Metatype and HTTP bundles are now at the R7 level. These updates bring numerous improvements and fixes, such as:</p> |
| <ul> |
| <li>constructor injection for declarative services components</li> |
| <li>improved Java 9 support</li> |
| <li>bundle annotations</li> |
| <li>activation fields for declarative services components</li> |
| </ul> |
| <p>For more details, see <a href="https://blog.osgi.org/2018/02/osgi-r7-highlights-proposed-final-draft.html">A summary of the OSGi r7 release</a>.</p> |
| <h2><a href="#update-to-htl-14" id="update-to-htl-14">Update to HTL 1.4</a></h2> |
| <p>The 1.4 version of the HTML Template Language Specification brings the following enhancements:</p> |
| <ul> |
| <li><code>data-sly-list</code> and <code>data-sly-repeat</code> iteration control</li> |
| <li>the introduction of the <code>in</code> relational operator</li> |
| <li>support for negative Number literals</li> |
| <li>attribute identifier for the <code>data-sly-unwrap</code> block statement</li> |
| <li>an extended list of attributes for which the <code>uri</code> display context is applied automatically</li> |
| <li>a new block statement - <code>data-sly-set</code></li> |
| </ul> |
| <p>For more details, see the <a href="https://github.com/Adobe-Marketing-Cloud/htl-spec/releases/tag/1.4">HTL 1.4 release</a></p> |
| <h2><a href="#starter-content-moved-to-content" id="starter-content-moved-to-content">Starter content moved to /content</a></h2> |
| <p>The Sling Starter application now installs all content under <code>/content/starter</code> to prevent clashes with other applications.</p> |
| <h2><a href="#anonymous-access-restricted-to-content" id="anonymous-access-restricted-to-content">Anonymous access restricted to /content</a></h2> |
| <p>Moving all content under <code>/content</code> has made it possible for the Sling Starter to have a more secure setup out-of-the-box, where only <code>/content</code> is accessible to unauthenticated users.</p> |
| <h2><a href="#repoinit-enhancements" id="repoinit-enhancements">Repoinit enhancements</a></h2> |
| <p>Repoinit, the repository initialisation language, has received a number of enhancements:</p> |
| <ul> |
| <li>definition of intermediate paths when creating users</li> |
| <li>registration of custom privileges</li> |
| <li>support for empty <code>rep:glob</code> restrictions</li> |
| </ul> |
| <p>See the <a href="https://sling.apache.org/documentation/bundles/repository-initialization.html">repoinit documentation</a> for more details.</p> |
| <h2><a href="#form-based-login-for-web-console" id="form-based-login-for-web-console">Form-based login for Web Console</a></h2> |
| <p>The Web Console and regular Sling login experiences have been unified, and if a user accesses the web console without being authenticated the configured Sling login mechanism is used. By default this mechanism is the form-based one.</p> |
| </section></div></div><div data-pagefind-body="true" data-pagefind-weight="7.0" style="display:none;"> - ( Apache Sling 11 released )</div> |
| </div> |
| </div> |
| </div> |
| </div><footer class="footer"> |
| <div class="content has-text-centered is-small"> |
| <div class="editpagelink"> |
| This page can be edited on GitHub at <a href="https://github.com/apache/sling-site/edit/master/src/main/jbake/content/news/sling-11-released.md"> |
| content/news/sling-11-released.md |
| </a> |
| </div> <div class="revisionInfo"> |
| Last modified by <span class="author">Robert Munteanu</span> on <span class="comment">2018-10-23</span> |
| </div><p> |
| Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project |
| logo are trademarks of The Apache Software Foundation. All other marks mentioned |
| may be trademarks or registered trademarks of their respective owners. |
| </p><p> |
| Copyright © 2007-2024<a href="https://www.apache.org/"> |
| The Apache Software Foundation |
| </a>|<a href="https://privacy.apache.org/policies/privacy-policy-public.html"> |
| Privacy Policy |
| </a> |
| </p> |
| </div> |
| </footer> |
| </div> |
| </body> |
| </html> |