blob: 5c69d3425169ec9f82fb3abb2343dbf4ffc706b9 [file] [log] [blame]
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="CACHE-CONTROL" content="NO-CACHE"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Apache Royale v0.9.9 released!</title><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"><link rel="stylesheet" href="/css/styles.css"><link rel="shortcut icon" href="/img/favicon.ico"></head><body class="page post" id="main"><header class="docs-header"><div class="container"><div class="topbar"><div class="topbar-left"><a href="/"><span class="site-title">Apache Royale</span></a></div><div class="topbar-center"></div><div class="topbar-right"><button class="topMenu-dropbtn"><i class="fa fa-bars"></i>&nbsp;Menu</button><ul class="topMenu"><li><a href="/features">Features</a></li><li><a href="https://apache.github.io/royale-docs/get-started">Get Started</a></li><li><a href="/download">Download</a></li><li><a href="/docs">Docs</a></li><li><a href="/blog">Blog</a></li><li><a href="https://github.com/apache/royale-asjs/wiki/Apache-Royale-Source-Code-Repositories"><i class="fa fa-github"></i> GitHub</a></li></ul></div></div><div class="post-header"><h1>Apache Royale v0.9.9 released!</h1><div class="post-meta">by Yishay Weiss on March 30, 2022</div></div></div></header><div class="page-content"><div class="container"><article><p>The Apache Royale community is pleased to announce the release of <strong>Apache Royale 0.9.9</strong>.</p><p>The Apache Royale project is the next generation of the Apache Flex SDK. It lets developers use <strong>MXML</strong> and <strong>ActionScript 3</strong> to generate <strong>HTML/JS/CSS</strong> applications which can run natively in browsers. The cross-compiled code can also run on platforms like <strong>Electron</strong> or <strong>Apache Cordova</strong> (Adobe PhoneGap) to build mobile applications.</p><p>This release should be considered 'beta' quality, although <em>we're very close to a 1.0 release</em> and <em>we have many applications in production</em> at this point. The purpose of this release is to continue to gather feedback about Royale's features and the project's implementation strategies, and to recruit new contributors. We hope to grow the code base into an SDK and tool chain that delivers the highest productivity when developing applications that can run on many platforms. Beta releases, however, may not handle all production needs.</p><h2>Changes in 0.9.9:</h2><h3>Apache Royale Framework 0.9.9</h3><ul><li>MXRoyale<ul><li>MXRoyale has been split 2 libs : MXRoyaleBase (mostly non-UI code) and MXRoyale (mostly UI code). Users of MXRoyale should see no immediate changes as the build of this swc remains the same.</li><li>Listen to children's resize events to fix some layout issues</li><li>Various fixes to measured sizes (ComboBox, and other UI components)</li><li>Fixes to labels in item renderers not displaying correctly</li><li>ComboBox prompt fixes</li><li>ArrayCollection.refresh() updating lists</li><li>Various fixes to labels in item renderers not showing correctly</li><li>Add option to add custom header renderers to data grids</li><li>Fix issues with Menu.show() when receiving non-null parent arguments</li><li>Improve emulation of ADG's expand/collapse behavior</li></ul></li><li>SparkRoyale<ul><li>ComboBox sizing improvements</li></ul></li><li>Basic<ul><li>Improvements to DragBead's out of bounds behavior</li></ul></li><li>RoyaleUnit<ul><li>Fix coercion error in MetadataRunner when expecting an exception in a test, like [Test(expected=&quot;RangeError&quot;)]</li></ul></li><li>Reflection<ul><li>getQualifiedSuperclassName() can find the superclass of a Class object in JS, matching the behavior of SWF</li></ul></li><li>Examples<ul><li>Ace example running in Maven</li><li>Added Jewel TriStateCheckBox example in <a href="https://royale.apache.org/tourdejewel/">Tour De Jewel</a></li></ul></li><li>Jewel<ul><li>Improved:<ul><li>Added emphasized and secondary sass settings for Jewel CheckBox / Switch</li></ul></li><li>New:<ul><li>Added Jewel TriStateCheckBox and some associated beads: TriStateCheckBoxTooltipState, TriStateCheckBoxState</li><li>Added ComboBoxReadOnly bead</li></ul></li></ul></li><li>Icons<ul><li>Icon constants have been added to MaterialIconType and FontAwesome5IconType</li></ul></li><li>Dozens of bugs reported, investigated, and squashed. For details of closed bug reports see <a href="https://github.com/apache/royale-asjs/issues?q=is%3Aissue+is%3Aclosed">GitHub Issues list</a>.</li></ul><h3>Apache Royale Compiler 0.9.9</h3><ul><li><strong>asformat</strong> is a new command line code formatter for ActionScript and MXML, with a programmatic API for use in editors and IDEs.</li><li>Added a boolean new compiler option <code>compiler.mxml.force-local-id</code> - (short commandline form <code>force-local-id</code>). This is a quick way to avoid propagating id attributes to browser DOM in JSRoyale.</li><li>(JS) Added new string compiler options <code>js-getter-prefix</code> and <code>js-setter-prefix</code> to optionally specify different prefixes to use instead of 'get_' and 'set_' for accessors in the generated JavaScript. Useful for integrating with JS libraries/languages that use a different naming convention.</li><li>(JS) Fix for <code>@royalesuppressexport</code> feature which had stopped working</li><li>(JS) Fix for <code>mx.managers.SystemManager</code> subclass not being generated for applications that were not direct subclasses of the relevant application classes.</li><li>(JS) Improvement in output of locale properties files as ResourceBundles. Now using original Flex/SWF parsing approach for improved parity.</li><li>(JS) First implementation of multiple-catch support in Javascript</li><li>(JS) Added unsafe option for outputting literal javascript (via externally defined jsUnsafeNativeInline function)</li><li>Fixed <code>&lt;!----&gt;</code> in MXML being incorrectly detected as an unclosed ASDoc comment, instead of an empty regular comment.</li><li>(JS) Improved the generated JavaScript for <code>if</code>, <code>else if</code>, and <code>else</code> statements that contained only a semicolon and no braces.</li><li>(JS) Generated JavaScript for <code>parseInt()</code> passes <code>0</code> instead of <code>undefined</code> for radix argument to avoid number format exception.</li><li>(JS) Fixed several issues with generated JavaScript for E4X expressions when using <code>js-dynamic-access-unknown-members</code> compiler option.</li><li>(JS) Fixed a couple of issues with generated JavaScript when using custom namespaces.</li><li>Fixed missing <code>[Event]</code> metadata in playerglobal.swc classes generated from documentation.</li><li>Fixed parse exception when binding to XML.</li></ul><p>For additional information on recent issues that have been closed, see <a href="https://github.com/apache/royale-compiler/issues?q=is%3Aissue+is%3Aclosed">Github Issues List</a></p><p>You can download a <a href="https://royale.apache.org/download/">binary distribution</a>, the <a href="https://royale.apache.org/source-code/">source code</a> or browse our <a href="https://github.com/apache/royale-asjs/wiki/Apache-Royale-Source-Code-Repositories">GitHub repositories</a>. If you're a NPM user you can check <a href="https://www.npmjs.com/org/apache-royale">Apache Royale at NPM</a>.</p><p>As well, you can help us <a href="https://github.com/apache/royale-asjs/issues">filing bug reports for issues you encounter in the framework</a> or <a href="https://github.com/apache/royale-compiler/issues">compiler</a>.</p><p>For questions about how to use Royale, send email to <a href="users@royale.apache.org">mailto:users@royale.apache.org</a>. For questions and feedback on the development of the source code in the release, send email to <a href="mailto:dev@royale.apache.org">dev@royale.apache.org</a>.</p><p>Enjoy! 🙂</p></article></div></div><footer class="footer"><div class="footer-row"><div class="footer-column"><ul class="footer-list"><li class="apacheroyale"><a href="/">Apache Royale</a></li><li><a href="/">Home</a></li><li><a href="/features">Features</a></li><li><a href="/download">Download</a></li><li><a href="/ides">IDEs and Editors</a></li><li><a href="/showcase">Showcase</a></li><li><a href="/blog">Blog</a></li><li><a href="/team">Team</a></li><li><a href="/thanks-to">Thanks To</a></li><li><a href="https://apache.org/logos/#royale"><i class="fa fa-external-link-square"></i> Logos</a></li><li><a href="https://www.apache.org/licenses/"><i class="fa fa-external-link-square"></i> Apache License v2.0</a></li></ul></div><div class="footer-column"><ul class="footer-list"><li class="documentation"><a href="/docs">Documentation</a></li><li><a href="https://apache.github.io/royale-docs/get-started">Get Started</a></li><li><a href="/docs">Docs</a></li><li><a href="/asdoc">API Reference</a></li><li><a href="https://github.com/apache/royale-asjs/wiki"><i class="fa fa-github"></i>Wiki</a></li><li><a href="https://stackoverflow.com/questions/tagged/apache-royale"><i class="fa fa-stack-overflow"></i> StackOverFlow Tag</a></li></ul><ul class="footer-list"><li class="community"><a href="/get-involved">Community</a></li><li><a href="/get-involved">Get Involved</a></li><li><a href="/mailing-lists">Mailing Lists</a></li><li><a href="/faq">FAQ</a></li></ul><ul class="footer-list"><li class="development"><a href="/source-code">Development</a></li><li><a href="https://github.com/apache/royale-asjs/wiki/Apache-Royale-Source-Code-Repositories"><i class="fa fa-github"></i> Github</a></li><li><a href="https://github.com/apache/royale-asjs/issues"><i class="fa fa-github"></i> Issues</a></li><li><a href="/source-code"><i class="fa fa-code"></i> Source Code</a></li></ul></div><div class="footer-column"><ul class="footer-list"><li class="social_t">Social</li><li><a href="https://twitter.com/apacheroyale"><i class="fa fa-twitter"></i> Twitter</a></li><li><a href="https://facebook.com/ApacheRoyaleSDK/"><i class="fa fa-facebook"></i> Facebook</a></li><li><a href="https://www.linkedin.com/groups/12118437"><i class="fa fa-linkedin"></i> LinkedIn</a></li><li><a href="/feed/index.xml"><i class="fa fa-rss"></i> RSS</a></li></ul><ul class="footer-list"><li class="apache"><a href="https://www.apache.org/">Apache</a></li><li><a href="https://www.apache.org/"><i class="fa fa-external-link-square"></i> Apache</a></li><li><a href="https://www.apache.org/foundation/contributing.html"><i class="fa fa-external-link-square"></i> Donations</a></li><li><a href="https://www.apache.org/events/current-event"><i class="fa fa-external-link-square"></i> Events</a></li><li><a href="https://www.apache.org/foundation/sponsorship.html"><i class="fa fa-external-link-square"></i> Sponsorship</a></li><li><a href="https://www.apache.org/foundation/thanks.html"><i class="fa fa-external-link-square"></i> Thanks</a></li><li><a href="https://www.apache.org/security/"><i class="fa fa-external-link-square"></i>Security</a></li></ul></div><div class="aboutusdiv"><p class="aboutus">About Us</p><p class="aboutus_p"><img class="aboutus-logo" src="/img/apache-royale-logo-footer-circle-grey.svg"><a href="/" class="aboutus_a">Apache Royale™</a> is a highly productive open source application technology for building expressive frontend applications that outputs to different formats and deploy consistently on all major browsers, desktops and devices.</p><p><img class="aboutus-apache-logo" src="/img/Apache_PoweredBy.svg"> <a href="/" class="aboutus_a">Apache Royale™</a>, <a href="https://www.apache.org" class="aboutus_a">Apache™</a> and the <a href="https://www.apache.org/foundation/press/kit/" class="aboutus_a">Apache feather logo™</a> are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. Read more about our privacy policy on our <a href="/privacy-policy">Privacy Policy page</a>.</p></div></div><div class="asf">Copyright &copy; 2017-2022 <a href="https://www.apache.org">The Apache Software Foundation</a>, Licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a></div></footer></body></html>