Hey, everyone!
Grab the latest patch releases for both OpenFL and Lime from Haxelib to get the latest bug fixes, including improved support for the new Haxe 4.3.
Changelog
OpenFL
- Updated flash target externs for Haxe 4.3 compatibility
- Resolve new
@:enum abstractwarnings for Haxe 4.3 by replacing withenum abstract, if current Haxe version supports it - Fixed
TextFieldkeyboard shortcut support to account for AltGr key - Fixed double timer in
TextFieldthat would cause caret to keep blinking on focus out - Fixed exception in
TextFieldrendered by Cairo when the text contains ligatures - Fixed
nullexception inFileReference.browse()when no files are selected on html5 target - Fixed incorrect
acceptattribute on html5 input element if type filter is used once, but not second time - Fixed
Context3Dscissor rectangle (again), with better fix for both classic display list and Stage 3D - Fixed text for AM and PM returned by
DateTimeFormatteron html5 target - Fixed default locale on html5 for
DateTimeFormatterandLocaleID - Fixed drawing display object with
visible == falsetoBitmapData, which should have made it temporarily visible - Fixed default fallback
QName.urivalue to match flash target - Fixed bounds calculation of
Graphics.cubicCurveTo() - Fixed “Select error 22” exception when creating many
Socketobjects at once - Fixed uncaught exception when creating a
Socket - Fixed invalid
nullvalue passed toVectorconstructor on flash target - Fixed possible incorrect detection of current stage on
TextFieldmouse up - Fixed
Transform.matrix3Dsetter vertical scale value - Fixed default
blendModeused byShaderFilter - Fixed setting
topExtension,rightExtension,bottomExtension, andleftExtensioninShaderFilter - Fixed compilation of
RenderEventfor flash target - Fixed issue where setting
widthandheightofVideowas sometimes ignored - Fixed missing
System.totalMemoryandSystem.gc()on HashLink - Fixed
Graphics.lineGradientStyle()to allownullvalues foralphasandratiosparameters, similar tobeginGradientFill() - Fixed default fallback value for
ratiosparameter inGraphics.lineGradientStyle()andbeginGradientFill() - Fixed
Graphics(and text) jitter on HiDPI screens when using hardware acceleration by snapping to nearest device pixel instead of nearest stage pixel - Added missing parameters to
Context3D.drawToBitmapData()in flash target externs - Added new
openfl_disable_graphics_pixel_snappingdefine to optionally disable pixel snapping onGraphicstx/ty transformation - Translate environment variables that appear in
Filepath on Windows - When using flash target with Haxe 4.3, Lime 8.0.2 is required
Lime
- Resolve new
@:enum abstractwarnings for Haxe 4.3 by replacing withenum abstract, if current Haxe version supports it - Resolve new
@:externwarnings for Haxe 4.3 by replacing withextern, if current Haxe version supports it - Fixed HTTPS requests failing on macOS by updating cURL and mbedtls dependencies
- Fixed calling
JNI.callMember()andJNI.callStatic()with more than 7 arguments - Fixed DPI detection on Android by using
getDisplayMetrics() - Fixed passing
nullor empty string for default library toAssets.registerLibrary()to be more consistent with other APIs - Fixed failed Lime tools build with some Haxe versions by removing
-D no-inline - Fixed Haxe argument type of OpenAL
alFilteriwrapper that should beIntinstead ofDynamic - Fixed bad UTF string conversion for
FileDialogthat sometimes displayed incorrect characters on some platforms - Fixed HTTP request status 400 being incorrectly treated as successful on html5 target
- Fixed failed Adobe AIR for iOS build on Windows by removing check for simulators, which are available on macOS only
- Fixed detection of default iPhone simulator to avoid exceptions and support future versions of Xcode
- Fixed conflict between
window.Imageandlime.graphics.Imagewhen using Genes on html5 target - Fixed exception in Lime tools if assets directory does not exist
- Removed legacy
armv7from default iOS target architectures because it now results in an error (now defaults toarm64) - AIR for iOS or Android may specify
listen="port"in<config:air/>element to use USB debugging instead of wifi debugging - Improved fix for text fields updating properly on Android devices with html5 target
- Replaced “Could not find Neko API interface” error message with more detailed explanation and instructions
