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 abstract
warnings for Haxe 4.3 by replacing withenum abstract
, if current Haxe version supports it - Fixed
TextField
keyboard shortcut support to account for AltGr key - Fixed double timer in
TextField
that would cause caret to keep blinking on focus out - Fixed exception in
TextField
rendered by Cairo when the text contains ligatures - Fixed
null
exception inFileReference.browse()
when no files are selected on html5 target - Fixed incorrect
accept
attribute on html5 input element if type filter is used once, but not second time - Fixed
Context3D
scissor rectangle (again), with better fix for both classic display list and Stage 3D - Fixed text for AM and PM returned by
DateTimeFormatter
on html5 target - Fixed default locale on html5 for
DateTimeFormatter
andLocaleID
- Fixed drawing display object with
visible == false
toBitmapData
, which should have made it temporarily visible - Fixed default fallback
QName.uri
value to match flash target - Fixed bounds calculation of
Graphics.cubicCurveTo()
- Fixed “Select error 22” exception when creating many
Socket
objects at once - Fixed uncaught exception when creating a
Socket
- Fixed invalid
null
value passed toVector
constructor on flash target - Fixed possible incorrect detection of current stage on
TextField
mouse up - Fixed
Transform.matrix3D
setter vertical scale value - Fixed default
blendMode
used byShaderFilter
- Fixed setting
topExtension
,rightExtension
,bottomExtension
, andleftExtension
inShaderFilter
- Fixed compilation of
RenderEvent
for flash target - Fixed issue where setting
width
andheight
ofVideo
was sometimes ignored - Fixed missing
System.totalMemory
andSystem.gc()
on HashLink - Fixed
Graphics.lineGradientStyle()
to allownull
values foralphas
andratios
parameters, similar tobeginGradientFill()
- Fixed default fallback value for
ratios
parameter 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_snapping
define to optionally disable pixel snapping onGraphics
tx/ty transformation - Translate environment variables that appear in
File
path on Windows - When using flash target with Haxe 4.3, Lime 8.0.2 is required
Lime
- Resolve new
@:enum abstract
warnings for Haxe 4.3 by replacing withenum abstract
, if current Haxe version supports it - Resolve new
@:extern
warnings 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
null
or 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
alFilteri
wrapper that should beInt
instead ofDynamic
- Fixed bad UTF string conversion for
FileDialog
that 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.Image
andlime.graphics.Image
when using Genes on html5 target - Fixed exception in Lime tools if assets directory does not exist
- Removed legacy
armv7
from 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