Release Notes
v9.3.0
API Changes
New Features
Add
String.split()andString.join().Add
Math.min(),Math.max()andMath.abs().Add new values to the
Position.Configurationenum. These new values are only valid for devices that have Dynamic SatIQâ„¢ support.Add
Audiomodule for capture and playback of audio.
Simulator Changes
New Features
Add Rowing to Heart Rate Zones in User Profile Editor dialog.
Add FTP and Power Zones to User Profile Editor dialog.
Bug Fixes
Allow distance/calories to be edited in the Activity Monitor Info dialog if they are not driven by fit file playback or data simulator dynamically.
Update
UserProfile.walkingStepLengthunits to match what is shown on device (and documented).Update HTTP Viewer to display JSON payloads correctly.
Fix a bug where the simulator would freeze when an action menu was removed using
popView().Fix an issue where
WatchUi.DataField.compute()was not being called when a DataField alert was displayed.Fix issues with PNG transparency for non-GPU devices.
Fix a simulator crash when calling
Communications.transmit().
Compiler Changes
New Features
Add support for defining system font definitions and a scale factor in scalable font resource references.
Add support for scalable font literals in MSS classes.
Bug Fixes
Fix an issue in error handling on private symbols accessed on objects that are not
self.Improve dictionary/tuple/interface type check errors for better readability.
Reduce the generated PRG size of some apps with global constants.
Fix a bug in floating-point arithmetic that results in an
Infinityvalue.Fix PRG generation bug when animation resources are used but some part numbers do not support animations.
Improve typecheck diagnostics when using APIs that do not meet the target device's minimum API level.
Improve typecheck diagnostics on private members when there is a has check on the private symbol.
Improve typecheck diagnostics on excluded methods when there is a has check on the method symbol.
Fix a critical compiler error generated when private members are accessed on objects.
Fix an issue in type checking constants which could cause unexpected errors.
Improve handling of
Array.sort()function on tuple types.Improve app export diagnostics.
Improve the
--build-statscommand line option diagnostics.Improve warnings on large JSON resource payloads.
Improve uniformity of scalable font diagnostics.
Improve translation warning on string resources configured with the
settingsscope.Fix a bug which restricted usage of the
Rez.Stylesmodule in the background/glance app when there were no resources configured with the respective app scope.Improve typecheck diagnostics on class definitions (not objects) used in arrays/tuples/dictionaries.
Fix a bug in the optimizer which resulted in locals not showing up in the VS Code debugger correctly.
Truncate strings at embedded (non-unicode) null characters.
Improve typecheck diagnostics on unit test methods.
Prevent an infinite loop when a circular super class dependency is defined.
Improve application scope diagnostics for subclasses in the type checker.
Improve typecheck diagnostics on
Array.indexOf().Improve typecheck diagnostics on tuples when created with an unknown size.
Improve typecheck diagnostics on the arguments of functions invoked on poly types.
Improve diagnostics generated when an invalid argument is passed to the
--debug-log-outputcommand line option.
Language Server Changes
New Features
Add support for folding ranges on single line comments.
Documentation Changes
New Features
Add support for interface member API documentation on named types.
Document the
--build-statscompiler command line option.
Bug Fixes
Various documentation fixes.
Other Changes
Bug Fixes
Fix/improve typing in the sample apps.
Fix bug in watchface template where the wrong time was being displayed at the midnight hour in 12-hour mode.
v9.2.0
API Changes
New Features
Add a sleep score complication.
Increase character limit for TextPicker from 32 to 256 characters.
Bug Fixes
Fix a bug where Dc.clearClip() can fail to properly clear the clipping area.
Set currentLocation to null instead of if no valid location data is present.
Simulator Changes
New Features
Add bonded connection support in the simulator.
Add support for the sleep score complication.
Bug Fixes
Fix issue where the simulator crashed when launching a BLE app when the dongle was not connected.
Fix simulator crash that occurred when pushing a progress view for Edge 550 and Edge 850 devices.
Fix the loading and saving issues in the App Settings Editor.
Fix issue where triggering the app settings from always-on display mode would raise a burn-in error.
Compiler Changes
Bug Fixes
Prevent a critical compiler error from being generated when there are duplicate resource ids.
Fix an issue where the compiler would error when background or glance resources were used in barrel code.
Improve error message when the PRG size exceeds the memory limit to include the available number of bytes.
Improve code generation when the
(:glance)annotation is used without implementing AppBase.getGlanceView.Fix color distortion bug for jpg and yuv bitmaps.
Allow the permissions 'Activity Prompts' and 'Activity Control' to be enabled in barrels.
Documentation Changes
New Features
Update BLE firmware download links in the Programmer's Guide.
Bug Fixes
Fix broken links to 'Toybox.Complications.Id' in the Programmer's Guide.
Update links in the SDK's Programmer's Guide to link to the API docs included in the SDK.
Other Changes
Bug Fixes
Fix issue where the ERA viewer was not remembering credentials between launches on MacOS.
Improve the 'Activity Prompts' permission display string in the VS Code extension.
v9.1.0
API Changes
New Features
Add support for QRCode generation with the
ScanCodemodule.Add
getHeartRateZones2(),getPowerZones(),getFunctionalThresholdPower()andgetCurrentSport2()to theUserProfilemodule.Add
Communcations.regsiterForPhoneAppMessageErrors().Add
ConnectIQ-API-Versionto crash reports.Add support for the FIT duration types related to heart rate, calories, power, reps, training stress score and open ended to
WatchUi.DataField.setWorkout().Add
UserProfile.Profile.upcomingWakeTimeandUser.Profile.upcomingSleepTime.Allow actionless notifications with
Notifications.showNotification()by passing an empty array for:actionand not including:datain theoptionsparameter.Increase app log file size from 5kiB to 64kiB on API 6.0 devices.
Bug Fixes
Improve throughput for communicating with the mobile SDK.
Fix typing on several functions.
Fix issues with sideloading a PRG with mutiple periods in the filename.
Fix issue where a BLE device paired with secured bonding was not added to the connected devices list.
Fix alpha mask decoding with PNG formatted images on devices without a GPU.
Fix some cases where an app would keep runnning after a crash.
Fix a case where app related files would be left on the device after app uninstall.
Fix
Background.deleteApplicationWakeDismissedEvent()not unregistering for the event.Fix some cases where app storage could fail.
Fix bug preventing accel and gyro sensors from being disabled.
Simulator Changes
New Features
Add support for
onTimerSplitStartandonTimerSplitEnd.
Bug Fixes
Fix the timestamp in
ActivityMonitor.History.startOfDayto be successive days instead of 1 second apart.Fix response content display issues in the HTTP Traffic Logs viewer.
Enforce max JSON response size limit for BLE web request.
Fix issue where analog hands kept moving when time simulation was paused.
Fix issue where the 24 hour heat map simulation was not stopped by the stop button in the time simulation dialog.
Fix crash caused by tapping an action menu item.
Fix issue where the paired sensors list became corrupted when the simulator was restarted.
Compiler Changes
Bug Fixes
Fix issue where passing an empty dictionary as a dictionary parameter would emit a type check error.
Fix issue where new class creation in a has check block would cause a type check error.
Fix issue where a dictionary/tuple inside a collection would error when passed into a collection inside a collection.
Prevent an error from being generated in creation type checking when
Lang.Methodis not instantiated with the proper number of arguments.Fix issue where a has check on
selfwould cause private variables in that has check block to not be mangled.Fix bug in activity filter validation.
Fix color distortion with semi-transparent pixels in png, jpg, yuv images.
Documentation Changes
New Features
Add a sample for triggering
onActionMenuviaView.setActionMenuIndicatorAPI in the Action Views documentation.Document running sensor native pairing in VS Code extension and command line.
Document running complication apps in VS Code extension.
Add documentation for
onTimerSplitStartandonTimerSplitEndsupport in the simulator.
Bug Fixes
Fix broken links throughout the documentation.
Fix page formatting issues caused by the unlock URL example in the App Trials documentation.
Various documentation fixes.
v8.4.1
Compiler Changes
Bug Fixes
Improve activity filter diagnostics for incompatible sports and sub-sports.
Improve IQ file structure when generated using 7zip compression.
Error for unsupported API in style classes.
Other Changes
New Features
Require Connect credentials to use the ERA tool.
Add logout option to the ERA Viewer.
Bug Fixes
Add support for reading IQ files generated with 7zip compression to the monkeygraph tool.
Fix typing error in audio content provider app template.
Documentation Changes
New Features
Update documentation for the ERA tool about the new workflow by using Connect credentials.
v8.4.0
API Changes
New Features
Add the
Toybox.ActivityPromptsmodule.Add
Toybox.WatchUi.DataField.setWorkout()andToybox.WatchUi.DataField.routeTo()functions.Allow data fields to use the
Toybox.PersistedContentmodule.
Simulator Changes
New Features
Add notification title scrolling support for Vivoactive 5 and Venu 3 / 3s.
Add support for automatically scaling a control bar title per the device configuration.
Add Activity Audio Prompts dialog support.
Bug Fixes
Improve custom menu support to better match device behavior.
Fix issues with MenuItem focus on Menu2.
Improve notification support to better match Instinct Crossover device behavior.
Fix glance view not showing app name if
AppBase.getGlanceView()returnsnull.Fix crash when quitting simulator through macOS dock.
Prevent exception from being thrown when trying to configure or retrieve
Toybox.TouchEventSettings.Fix toggle touch screen setting.
Compiler Changes
New Features
Update IQ file generation to use 7zip compression.
Bug Fixes
Disable lexical only constants removal optimization on APIs not supported by the target build device.
Prevent an exception being thrown when a typedef is redefined.
Documentation Changes
Bug Fixes
Fix broken links on the Monetization overview page.
Other Changes
Bug Fixes
Remove unsupported devices from the ConfigurableWatchFace sample app.
v8.3.0
API Changes
New Features
Add API for watch apps to be able to control whether the touch-screen is enabled or disabled.
Simulator Changes
New Features
Add synchronized sensors data support.
Add device settings changed notification support for the Time Display, Units Display, Language, First Day of Week, Tones, Vibrate, Activity Tracking, Toggle Touchscreen, Do Not Disturb, and Enhanced Readability Mode settings.
Bug Fixes
Fix action menu indicator issue for expandable entries.
Fix swiping left to show action menu in notification when action menu hint presents.
Fix long label name for Sunset complication.
Fix first complication cannot be selected via tap in watch face editor.
Fix bug in save/close of watch face editor to match device behavior.
Fix a bug generating bad data in the profiler function table.
Fix occasional simulator crash in memory viewer caused by invalid memory handle with media apps.
Compiler Changes
New Features
Add validation to the command line parser to verify there are no duplicate options.
Bug Fixes
Fix if-splitting bug, which caused an out of memory error for long if/else statements.
Improve type checking to prevent null values from being assigned to array/dictionary types that are typed to have non-nullable values.
Improve the handling of module definitions in the type checker.
Improve the handling of class definitions (not objects) in the type checker.
Fix if-splitting bug in type mutations on member variables.
Improve if-splitting in the type checker by not clearing type mutations on non-Toybox member variables for Toybox invocations.
Fix constant folding optimization of string and boolean types to match API behavior.
Avoid undefined symbol errors in barrel builds for interface symbols.
Fix undefined symbol checking on the 'Styles' symbol if the 'Rez.Styles' module is optimized out.
Improve usage/help information diagnostics generated by the Monkey C compiler.
Improve diagnostics generated when reading a barrel manifest file.
Fix the function override type check when using a typedef.
Improve jungle evaluation diagnostics.
Fix branch elimination optimization critical error for switch statements.
Fix RunNoEvil tests running multiple times.
Fix crash caused by recursive typedefs.
Improve diagnostics on invalid string resource values.
Fix critical error in resource Monkey C code generation if the glance view is not supported by the application.
Improve resource Monkey C code generation to not assume full screen context for the Dc object.
Fix bug in ternary type checking in the else block.
Fix bug in module lookup for import statements.
Improve type inference on Lang.Method objects.
Fix unexpected typing error when assigning values to constants.
Fix typo in generated resource compiler error.
Improve diagnostics on poly types containing poly types.
Improve diagnostics on empty interface types.
Language Server Changes
New Features
Fix '<' and '>' in the language server hover.
Fix bug in jungle file autocompletion.
Fix crash caused by an invalid import statement.
Fix crash in language server document highlight.
Documentation Changes
New Features
Add the Forerunner 970 series and Venu X1 to the device monetization list.
Document the (:optimizer(do_not_remove)) annotation.
Add 'deprecated' and 'note' columns to enum and constant variable API documentation.
Bug Fixes
Update the 'App Types' header to 'App Types and Runtime Contexts'.
Various documentation fixes.
Other Changes
New Features
Add Monkey Motion support for reading relative paths from the *.mmm file.
Add the ability to embed the specific activity types supported by a datafield so that only those activities will be displayed during post-install activity selection.
Bug Fixes
Fix/improve typing in the sample apps.
v8.2.3
General Changes
Update ERA viewer not to error on apps which do not have the correct developer key.
v8.2.2
General Changes
Update ERA viewer to only show apps which have valid keys in "Manage Apps" window.
v8.2.1
Documentation Changes
Bug Fixes
Fix developer documentation not being included in Mac and Linux.
v8.2.0
API Changes
New Features
Add an option to include timestamps for accelerometer and gyroscope data samples in
Sensor.SensorData.Newer devices will require SDK 7.4.3 or greater in order to sideload an app. SDK 7.4.3 or newer will build sideloadable apps for all devices.
Simulator Changes
Bug Fixes
Match device behavior when a menu theme is selected that is not available.
Fix large pressure values being returned by the API.
Fix incorrect string showing for Toasts.
Add transparency to the default music player icons.
Fix custom menu drawing issues when dragging on touch devices.
Disable the
Save FIT Databutton inData Fields > Activity Dialoguntil an activity has been saved.Fix menus not wrapping to the bottom when the up key was pressed.
Fix issues with some OAuth flows.
Fix widget app types not launching in glance mode.
Fix incorrect start button behavior on Vivoactive 6 when the action menu is visible.
Fix incorrect accel sensor data being returned via the API.
Compiler Changes
New Features
Move constant folding of has checks with API functions to the
-poptimization level.
Bug Fixes
Fix incorrect permission error when a poly type contains a type that requires a permission that is not enabled.
Fix compilation failure when a typedef with a callback references itself.
Fix project export not erroring when the selected SDK does not support the downloaded device configurations.
Fix type casting using
?being treated as a ternary expression.Fix compiler errors when XML files contained UTF-8 BOM encoding.
Fix circular dependency error not being caught with
self.Fix circular dependency error not being caught during super class static initialization.
Fix critical compiler error when path contains special symbols.
Fix type check error when static member expressions reference another static member.
Fix
selfnot referencing the subclass when used in the parent class.Fix incorrect array index out of bounds error when a poly type contains multiple tuples of different sizes.
Fix incorrect type check error when using the new operator with a poly type.
Fix type checking bug on enum value comparisons.
Fix a bug in the branch elimination optimization, which caused invalid processing of ternary expressions.
Language Server Changes
New Features
Add support for call hierarchy.
Bug Fixes
Fix signature help not showing in certain cases.
Fix real-time error checking showing errors that are not seen in a full build for device.
Reduce memory usage of the language server.
Documentation Changes
New Features
Change documentation format delivered with the SDK.
Add section for the new Notifications module.
Bug Fixes
Various updates to documentation.
v8.1.0
API Changes
New Features
Add API to allow notifications to be dismissed when a new one is shown. This is now also the default behavior.
Update WatchFaceDelegate.getComplicationDrawable() API to allow explicitly specifying the bounds of a complication drawable.
Bug Fixes
Update altitude complication value to be a float that has not been rounded.
Update typing for Storage.setValue() to include all allowed value types.
Fix a bug where onTap was not passed to input delegates when using watch face settings.
Fix a bug where custom sensor configuration views could be pushed multiple times.
Fix a bug where Sensor.getRegisteredSensors() could return sensors from different CIQ apps.
Simulator Changes
New Features
Allow debugging of sensor pairing flow.
Bug Fixes
Do not send WatchUi.CONFIRM_NO when the back button is pressed on a confirmation page.
Match Edge key press behavior by not sending WatchUi.PRESS_TYPE_DOWN and WatchUi.PRESS_TYPE_UP when a key is pressed.
Allow body battery and stress size to match the loaded device values.
Show the IQ logo when crashing during app start-up instead of a white screen.
Compiler Changes
New Features
Allow hex in resource XML files where decimal is allowed.
Add compiler version to debug logs.
Bug Fixes
Fix an issue where the file and line number reported in a jungle file error could be incorrect.
Fix warnings caused by referring to another module from a previous
importorusingstatement.Fix incorrect cannot find symbol warnings inside if blocks when using
has.Fix internal compiler error when a tuple references itself.
Fix run-time crash caused by some ternary expressions.
Fix compiler crash caused by some ternary expressions.
Fix crash caused by an apostrophe in the app's path.
Fix crash caused by
border_colornot being present whenborder_widthwith<shape>resource definitions.Fix crash caused by subtracting a number from character.
Fix path resolution in local variables in jungle files.
Fix issue where
Rez.Styleswas not being fully removed during optimization.Fix an issue where if-splitting could fail under certain conditions.
Truncate strings at embedded null characters.
Language Server Changes
New Features
Add renaming support to the language server.
Autocomplete reserved annotations (i.e.
:debug,:release).
Bug Fixes
Fix crash when attempting to autocomplete in jungle files.
Fix type hierarchy for API members.
Fix not all symbols showing up when searching all document symbols.
Fix bug where some
ArrayandDictionarytypes were not recognized.Fix autocompletion adding a second access modifier to function definitions.
Allow untyped warnings in MSS files to be displayed.
Prevent a crash that could occur with autocompletion.
Fix autocomplete for imported barrels.
Fix formatting errors when hovering over a function.
Documentation Changes
New Features
Add documentation for
paletteIntensityin the<bitmap>resource tag.Add attributes table for
WatchUi.ActionMenu.Add new properties to the Visual Studio Code launch.json documentation.
Other Changes
New Feature
Update the default launcher icon for newly created projects.
Bug Fixes
Update the RecordSample app to pass null when disabling location events.
Fix typing errors in sample apps.
v8.0.0
API Changes
New Features
Add the Toybox.Notifications module.
Add new helper methods to
Add methods to WatchUi.Menu2 to allow setting custom header and footer drawing and selection event handling.
Add Toybox.BluetoothLowEnergy API to allow using a connection strategy that will pair and bond in a single step.
Add support for WatchUi.Menu2 to be inserted into a WatchUi.ViewLoop.
Add new APIs to allow Connect IQ apps to pair sensors via the native sensor list.
Add an API to detect the operating system of the phone paired to a device.
Add support for watch faces to fully integrate with the new native watch face editor feature on fenix 8 series devices.
Add new fields to Weather.CurrentConditions and Weather.HourlyForecast objects.
Add a new callback API for apps to get notified when device settings have been changed by the user.
Add support for annotating sections of code to be placed in extended code space, reducing memory overhead for app code by allowing it to be paged to disk and loaded on demand.
Update Graphics.getVectorFont() to support system font definitions and a scale factor.
Add support for a new intent "system://pairing" to allow apps to jump to the native sensor pairing page.
Add support for transient mobile SDK messages.
Bug Fixes
Fix a bug with BLE connection intervals that prevented some third party accessories from connecting via Connect IQ.
Disable radial/angled text drawing if a product does not have a GPU.
Simulator Changes
New Features
Add support for watch face configuration mode.
Add support for setting new weather data: UV index, dew point, visibility, pressure and cloud cover.
Add support for setting the phone OS for the new DeviceSettings.phoneOperatingSystem API.
Add support for new WatchUi.Menu2 features.
Add support for the new "system::pairing" intent to open the Sensors window.
Add support for notifications.
Add support for insecure connection prompts when pairing to certain sensors.
Update the add sensor dialog and support native app sensor pairing.
Bug Fixes
Fix crash at simulator startup on MacOS 11 and earlier.
Fix WatchFace.onExitSleep() not being called when changing from the display being off to high power mode.
Compiler Changes
New Features
Add support for an improved Visual Studio Code experience. Requires SDK 8.0.0 or greater and the Monkey C Visual Studio Code extension 1.1.0 or greater.
Add support for extended code space using the
(:extendedCode)annotation.Add support for watch face configuration settings in resource XML files.
Bug Fixes
Change unreachable code from an error to a warning.
Improve the unreachable code warning with if statements.
Documentation Changes
New Features
Add ExtendedCodeSpace sample.
Add Notifications sample.
Update TrueTypeFonts sample to use the new callback.
Other
New Features
Update templates to reference the resources.xsd to facilitate autocomplete with XML files.
v7.4.3
General Changes
Allow building of Enduro 8 and Fenix 8 devices.
Simulator Changes
No Changes
Compiler Changes
No Changes
v7.4.2
General Changes
No Changes
Simulator Changes
No Changes
Compiler Changes
Revert the "Improve the unreachable code error with if statements" change from 7.4.0.
Revert the update to the default launcher icons.
v7.4.1
General Changes
No Changes
Simulator Changes
No Changes
Compiler Changes
Fix issue preventing upload of IQ files.
v7.4.0
General Changes
Add documentation about arrays in MSS classes.
Fix an issue displaying bitmaps on monochrome devices.
Various documentation fixes in the Programmer's Guide.
Update default launcher icons to be based on app type.
Simulator Changes
Fix the
Peak Stack TraceandShow Peak Memorybuttons in the memory viewer being disabled.Fix unable to load a debug.xml file in the profiler on MacOS.
Fix the Edge browser not being used on some Windows computers.
Fix
View.onUpdate()being called too many times during an animation.Fix several issues with
WatchUi.Menu2.Fix weather observation time not saving correctly in the Set Weather dialog.
Fix header images in
WatchUi.Menu2from being incorrectly scaled.Display a pop-up when calling bonded BLE functions which are not currently supported in the simulator.
Match each device complication format for calendar event times.
Better match the toast UX for each device.
Change the keyboard shortcut for the Simulation menu to
min order to not conflict with the Settings menu shortcut.Prevent crash when closing the simulator through the MacOS dock.
Update the message displayed in the Screen Burn-in Simulator window.
Prevent crash on MacOS 12 and earlier when launching the simulator.
Compiler Changes
Improve the unreachable code error with if statements.
Add jungle and manifest files to the debug logs.
Fix incorrect code generation for a
WatchUi.Menu2resource.Fix constant folding of float and long types to match API level behavior.
Fix out of memory errors when compiling an app containing large resources.
Fix incorrect symbol not found errors when calling functions on an enum value.
Fix incorrect type checking error when using typedefs.
v7.3.1
General Changes
Update documentation about
Requesting Reviews.
Simulator Changes
Fix crash on MacOS when a computer has been asleep for longer than 10 minutes.
Fix crash on MacOS when calling
SensorHistory.getBodyBattery()with the default parameters.Fix app crash on Windows when calling
SensorHistory.getBodyBattery()with the default parameters.Update the current temperature complication to return a
Floatinstead of aNumber.Update the displayed error message when newer device configurations are being used with an older SDK.
Compiler Changes
No Changes
v7.3.0
General Changes
Update the watch face template to no longer use
AppBase.getProperty().Add support for enhanced readability font scaling in device settings.
Add support for divider line in
Menu2.Fix documentation for
AffineTransform,Menu2andMenuItem.setIcon().Add note to
Sensor.Infofield documentation.
Simulator Changes
Add UI for setting the font scaling.
Add divider line support for Menu2.
Show the number of new resource allocations in the memory viewer.
Update the action menu UI to better match the UI on device.
Fix the display of toast icons on 1-bit devices.
Fix timeout errors when re-launching an app.
Fix issue preventing stepping from working in the debugger.
Fix playback of FIT files when the GPS signal is lost.
Fix some web requests not working when
Use Device HTTPS Requirementsis checked.Fix an issue casuing a custom menu's title appearing twice.
Fix simulated pulse ox values to not include 0.
Fix simulated body battery and stress time stamps being in the future.
Fix simulated body battery values to return values between 0 and 100.
Fix the weather complication from returning an incorrect value when
Settings > Set Weather > Weather Data Availableis unchecked.Fix HTTP Viewer colors in dark mode on MacOS.
Fix display of unicode characters in the App Settings Editor and Complication launch view.
Fix an activity's calorie count being reset when pausing an activity.
Fix latitude and longitude being 0 in activity data simulation.
Fix incorrect display of PNG packed bitmaps for some devices.
Prevent crash on MacOS when running an animation.
Prevent the status bar going blank on Windows in certain conditions.
Update swipe right handling to better match the device. A swipe right may now generate WatchUi.KEY_ESC instead of WatchUI.SWIPE_RIGHT when the swipe starts close to the left side of the screen.
Update the app review UI to match devices by not exiting the app but instead pushing a native view on top of the app.
Compiler Changes
Allow keywords to be used as a symbol name.
Allow arrays to be used in .mss files as a value.
Allow a
WatchUi.LAYOUT_*enum to be used in a resource file for label, text-area and selectable elements.Allow comments in JSON resource files.
Allow negative values in .mss files.
Fix compilation error when path contained parentheses.
Fix compilation error when a resource file contained negative numbers in an array.
Fix crash caused by duplicate file names when generating debug logs.
Fix crash when optimizing the PRG in some cases.
Fix incorrect typing warning when a constant refers to a constant with the same name but in a different module.
Fix the line number of an error or warning when a function is decorated with annotations.
Fix
Could not log function sizes of generated codeerror.Fix a runtime crash caused by a static constant referring to another static constant.
Validate the app name and launcher icon resource references in the manifest file.
v7.2.1
General Changes
Fix a behavioral inconsistency for older devices when adding Long and Char types.
Fix a behavioral inconsistency for older devices when equality comparing objects of various types.
Simulator Changes
No Changes
Compiler Changes
No Changes
v7.2.0
General Changes
Fix multiple API documentation errors.
Fix multiple programmer's guide documentation errors.
Fix an issue where calls to
makeImageRequest()would fail during an activity.Fix an issue with BLE where calling
registerProfile()multiple times for devices already connected could result in an app crash.Fix a bug where apps could not properly enable sensors in their app's
initialize()method in some cases.Fix a bug where the device could crash if a data field connects to a BLE peripheral at app initialization.
Fix a potential memory leak when using sensor APIs.
Fix some situations where burn-in protection was not correctly enforced.
Fix an issue where an incorrect alpha mask was applied when rendering launcher icons on devices that do not have an onboard GPU.
Fix an issue where attempting to draw a
BufferedBitmapReferencecould result in an invalid value error if the underlying bitmap had been evicted from the image cache.Allow
onFileDownloadProgress()to be called for individual HLS segments if either a file size is specified in http header or duration is provided in segment manifest.Allow BLE scan results to show up for devices that had not disconnected yet due to the delayed disconnect feature.
Update VO2MAX API to return null if data is not available.
Throw
OperationNotAllowedExceptionif an inactive app tries to start activity recording.Add support for (Char + Long) and (Long + Char) arithmetic operations.
Simulator Changes
Fix
setFocus()not working in custom menus.Fix transparency issue on the user profile editor dialog in MacOS.
Update action menu to better match forerunner devices.
Update the simulated values returned for pressure to produce valid values for Earth.
Update the recovery time complication to be in minutes and remove the unit.
Update the pre-filled text in the Simulation > Phone App Message dialog to show that JSON is expected.
Update the last round golf score complication to match devices by not giving a short label.
Update the output of RunNoEvil when the test name is long.
Various fixes to the Menu2 UI to better match devices.
Call
AppBase.onStop()for glances that do not support live updates.Do not call
InputDelegate.onKeyPressed()andInputDelegate.onKeyReleased()for some devices, such as the GPSMAP.Send
WatchUi.KEY_ESCon a right swipe to match device behavior.Prevent exception from being thrown when trying to get the pushes complication when not in wheelchair mode.
Prevent exception from being thrown when trying to get the steps or floors climbed complications when in wheelchair mode.
Prevent the data simulation dialog from starting in a running state.
Allow clicking on the time field in the time simulation dialog.
Allow the oauth request window to appear on MacOS versions prior to 10.15 (Catalina).
Add translations to complication labels.
Return a non-zero exit code when unit tests fail.
Compiler Changes
Add
--build-statsparameter when building a barrel.Update error message when a newer SDK is needed to build for the chosen device.
Error when two settings are given the same id.
Allow trailing commas on tuples.
Improve error message for mistyped dictionary keys.
Do not allow a tuple to be assigned the incorrect type.
Fix bug causing incorrect stack traces when a crash occurred after a try statemnt.
Fix casting of tuples.
Fix typing error when passing an enum to a function that is expecting an Object.
Fix generated code when using a drawable for a selectable.
Update error format for jungle files to allow highlighting by VS Code.
v7.1.1
General Changes
No Changes
Simulator Changes
Fix
Position.enableLocationEvents()not working if called inAppBase.initialize().
Compiler Changes
Fix compiler crash when optimizing ternary expressions.
Fix compiler crash when breaking out of a loop within a try / catch statement.
v7.1.0
General Changes
Fix MonkeyMotion error when loading in a manifest file with comments.
Fix launching an app using BluetoothLowEnergy from a glance may result in app crashes when attempting to continue using those APIs.
Fix crash caused by apps using BluetoothLowEnergy when rendering their glance view.
Simulator Changes
Fix BLE devices not pairing.
Fix 24 hour simulation for devices that use luminance for screen protection.
Fix crash due to switching between a device that supports wheel chair mode and one that doesn't.
Update the temperature complications by removing the unit type and the value is now converted to the user's preferred units.
Update the stress complication by removing the
%unit to match devices.Fix crash when dismissing an action menu.
Add support for green and orange shift.
Add scrolling support to Menu2 for the Instinct Crossover.
Fix the recovery time having a max value of 256.
Close the Applications.Properties dialog when an app exits.
Fix
Position.info.speedbeing 0 during playback of a GPX file.Fix the selection indicator size in Menu2 entries with a custom height.
Allow some devices to not have a selection indicator in Menu2.
Fix occasional crash when using the Memory Viewer window.
Fix over/under par in golf complication.
Fix issues with FIT file playback.
Compiler Changes
Deprecate the
-ccommand line option.Remove the deprecated
-scommand line option.Add
-disable-api-has-check-removalto keep run-timehaschecks on API symbols.Add
--disable-v2-opcodesto force API level 5.0.0 and greater devices to only generate older opcodes.Fix a stack overflow crash due to setting a typedef to include itself.
Fix escaped character processing in JSON and default settings.
Allow
selfto be used in catch and extends.Add the part number and minimum device version to the debug.xml file.
Generate an error when using
selformein an import, typedef or as a symbol.
v7.0.2.beta3
General Changes
No Changes
Simulator Changes
Fix crashes seen in Linux.
Compiler Changes
No Changes
v7.0.1.beta2
General Changes
No Changes
Simulator Changes
Fix crashes seen in macOS Sonoma.
Compiler Changes
No Changes
v7.0.0.beta1
General Changes
Allow data fields to use the
Communicationsmodule and listen for push notifications directly, without having to use backgrounding.Various documentation improvements.
Update AMOLED screen protection algorithm to use total screen luminance rather than percentage of screen used.
Fix potential memory leak from system heap.
Update API typing to use Tuple rather than Array where appropriate.
Allow up to 255 function arguments for API Level 5.0.0 and greater.
Add support for more efficient opcodes.
Fix a bug where Menu2 would not re-draw.
Add optimizations to CODE and DEBUG section parsing.
Fix a bug decoding PNGs on MIP products.
Fix various typing errors in the API.
Fix various API documentation errors.
Update API typing to prevent null being returned from
getInitialView().Allow
Bitmap.setBitmap()to accept null.Update graphics pool memory allocations to throw an exception if the allocation fails due to being out of shared memory.
Add new BLE APIs to support bonded connections (not currently supported in simulator).
Add new
Lang.ResourceIdtype.Allow null callback with enableLocationEvents.
Simulator Changes
Build universal binaries for MacOS to natively support Apple silicon.
Add support for stress history.
Add support for the last golf round complication.
Add peak pixel usage to the Screen Heat Map.
Add luminence based burn-in detection.
Add Display Mode support.
Add Apply button to Weather dialog.
Allow the steps to be edited in the Activity Monitor Info dialog.
Connect the current weather condition dialog with the current weather complication.
Fix assertion seen on Linux when launching some devices.
Fix power mode menu state when re-launching an app.
Fix the Activity Monitor Info dialog to return the recovery time in minutes instead of seconds.
Fix issue which would cause the
Trigger App Settingsmenu item to become disabled.Complications related to training status use the values set in the Training Status dialog.
The Set Battery Status dialog allows values less than .1.
Update Menu2 implementation to better match the analog watch implementation.
Fix the display of the Pushes complication to match what is shown on device.
Compiler Changes
Increase function parameter limit from 10 to 255 for API Level 5.0.0 and greater.
Add new opcodes to help reduce code space, increasing the memory available to an app.
Add a new classdef format to help reduce data space.
Add tuples to improve type checking.
Place constant array and dictionary definitions into the data space to reduce code space.
Improve short-cutting an if statement short circuiting.
Remove code branches that only jump to another branch.
Remove debug constants in debug builds from the data section.
Evaluate has checks against API modules.
Support the new
ResourceIdtype for all devices.Allow more than 255 fields (variables, functions, etc.) in a module or class for API Level 5.0.0 and greater.
Allow comparison of null and Boolean values.
Fix casting error that would occur with constant variables.
Fix incorrect typing error when casting dictionaries and arrays.
Fix error when an SVG with a gradient was missing the offset attribute in a stop tag.
Fix incorrect typing error when passing in a
Methodtype into aObjecttype parameter.Fix type checking on empty dictionaries.
Add warning when a watch face's view returned from
getInitialView()extendsViewinstead ofWatchFace.Output the PRG size when using
--build-stats.Treat
System.exit()as the end of the function while type checking only for the watch-app app type.
v6.4.2
General Changes
No Changes
Simulator Changes
Fix crashes seen in macOS Sonoma.
Compiler Changes
No Changes
v6.4.1
General Changes
Fix error in code sample for
Communications.makeWebRequest().
Simulator Changes
Fix audio content provider crashes when in the media player playback view.
Compiler Changes
No Changes
v6.4.0
General Changes
Support running tests on barrels using the
barreltestscript.Remove the NumberPicker and ObjectStore samples as they use deprecated APIs.
Add new APIs in
Media.PlaybackProfileto allow custom time deltas to be set for skip forward / backward operations.Add support for background processes to access system complication iterators.
Fix a bug where
ActivityMonitor.getInfo() would generate a Symbol Not Found error with some simulated devices.Fix a bug where ANT would not be properly enabled for apps having the ANT permission on some products.
Fix a bug where app memory handles could be leaked based on heap usage.
Fix a bug where apps would crash if attempting to show an
ActionMenufrom a watch face or data field settings view.Fix a bug where jpg encoded image data on was not correct for 16-bit color devices with no GPU support.
Fix a bug where
VectorFontcould not be used withTextArea.Fix a bug where view operations were allowed from an
ActionMenu. Attempting to callswitchToView(),pushView(), orpopView()will result in anOperationNotAllowedExceptionbeing thrown.Fix a bug where WIFI could get into a bad state causing downloads via the sync system to fail.
Fix API typing for
ActionMenu.onSelect().Fix API typing for
ActionMenuDelegate.onSelect().Fix API typing for
AppBase.getGlanceView().Fix API typing for
BikeLightListener.onBikeLightUpdate().Fix API typing for
Button.initialize().Fix API typing for
Communications.makeWebRequest().Fix API typing for
DailyForecast.highTemperature.Fix API typing for
Dc.drawText().Fix API typing for
DeviceSettings.isTouchScreen.Fix API typing for
FitnessEquipmentListener.onFitnesEquipmentUpdate.Fix API typing for
UserActivity.duration.Various API documentation fixes.
Simulator Changes
Fix issue where the custom menu header height changed based on the row height.
Show the percentage of pixels used in the Screen Heat Map for watchfaces.
Use per device settings for graphics pool size.
Remember the last used directory FIT data was loaded from.
Format JSON in the HTTP Viewer.
Use mm for
UserProfile.walkingStepLengthandUserProfile.runningStepLength.Set default value for wheelchair pushes in the Activity Monitor window to 1000.
Compiler Changes
Generate an error when using an undefined resource for buttons in a layout.
Allow casting for non-assignment syntax.
Fix issue where compilation time could increase dramatically in some cases when type checking is active.
Package resource files when
--debug-log-level 3is used during compiliation.Do not allow duplicate
sortOrdervalues on custom FIT fields.Warn when a watch face extends from
WatchUi.Viewinstead ofWatchUi.WatchFace.Fix issue where nested classes did not have their documentation generated when running
monkeydoc.Fix issue where duplicate classes would have their documentation overwritten when running
monkeydoc. Now each class lists the annotations in which the class will be built.Ensure that any temporary files created during export are deleted.
Improve type errors and warnings for non-poly types.
Add file and line number to resource file errors.
Warn when using language resources but no languages have been defined in the manifest file.
Add compiler error when there is a circular dependency during module or class initialization.
Improve type checking for instanceof checks on InterfaceTypes.
Fix incorrect type checker warning about byte array values not being a Number.
Prevent a stack overflow error when compiling that was seen with some versions of Java.
v6.3.1
General Changes
No Changes
Simulator Changes
Improvements to login flow when using
Communications.makeImageRequest()
Compiler Changes
Fix type checking error when using vector fonts in resources
v6.3.0
General Changes
Update the Primates sample to use the native page indicator.
Add a new sample, TrueTypeFonts, to highlight the new vector font APIs.
Add the wheelchair API usages to the ActivityTracking sample.
Add non-binary gender to the UserProfile sample.
Allow the FPS to be set higher than 10 in the MonkeyMotion app.
Fix a bug where PNG images were not accurately decoded for non-GPU enabled devices in the simulator
Fix a bug where a deadlock could sometimes occur when installing new apps
Fix a bug in API level 4.x products where makeImageRequest() would return a bitmap resource instead of a resource reference.
Fix a bug where loading images from application storage would temporarily use app memory instead of allocating from the shared resource pool.
Fix a bug where getRegisteredSensors() would not return the correct enabled states for onboard hear-rate and onboard pulse-ox sensors.
Fix a bug where setEnabledSensors() did not work correctly for onboard heart-rate and onboard pulse-ox sensors.
Add a more useful error string when encountering an illegal access error on accessing an invalid class member by providing the class name and context.
Fix a bug where duplicate app listings could be seen after firmware updates.
Fix a bug where DCs were not properly invalidated after onUpdate() was called. If an app saved a reference to this DC and attempted to use it while in an invalid state, a device crash could occur.
Add support for setting sampling frequency to 100hz for real-time accelerometer data.
Add APIs for getting real-time gyroscope and magnetometer data. Gyroscope supports sampling rates up to 100hz, whereas magnetometer supports up to 50hz.
Simulator Changes
Add support for enhanced readability mode.
Add support for Archery, Mixed Martial Arts, Motor and Water sports in the activity profile dialog.
Add support for Overland and Trolling Motor sub sports in the activity profile dialog.
Add support for higher frequency sensor sampling rates.
Add support for wheelchair mode.
Add support for triggering calls to
AppBase.onActive()andAppBase.onInactive().Add support for non-binary gender in the user profile editor.
Fix issue where the touch screen could be disabled for touch only devices after running a touch and button device.
Fix several issues with the Menu2 implementation.
Adjust the toast page to better match the fr965 and fr265 implementation.
Allow float input for the battery remaining in days dialog.
Allow ANT HR sensors to connect.
Fix issue where the user profile editor wouldn't allow entry for some values.
Wrap text in confirmation page if needed.
Display the device's API level in the title bar.
Prevent double counting of an object's memory in the memory viewer.
Fix transparent pixels being rendered as black when drawing a bitmap on 16 color palette devices.
Fix rendering Thai characters on certain devices.
Fix log in issue when trying to login to a Connect account on Windows.
Fix issue seen with some OAuth providers when using
makeOAuthRequest()on Windows.Fix simulator crash when editing app settings.
Compiler Changes
Fix incorrect 'Value may not be initialized' error after a return statement.
Add error message indicating that the entry point must have a module as a parent.
Change the error message when the optimizer fails.
Fix bitmap scaling to be relative to the screen size, as documented, and not the image size.
Fix incorrect type checking error when using Array.addAll().
Fix type checker incorrectly stating a value could be null after retrieving a value from a dictionary and checking that it does not equal null.
Add message indicating that compilation was successful.
Adjust the 'Typedef Summary' and 'Method Summary' sections to match the rest of the documentation when using monkeydoc.
Fix type casting with certain l-values.
Fix symbol not found error when calling an object's instance method from within a static function of the same class.
Fix constant folding between char and number types.
Update type checker error messages to not remove duplicate types from a dictionary.
Apply scope checking for the background and glance portions of an app when the entire app is loaded into these processes.
Allow setting an equal or greater dependency on a barrel version in the manifest file.
Allow resource IDs to start with an underscore.
Fix bug when the exporting and the output path didn't include a directory.
Fix incorrectly allowing a non-null class member to be set to null by assigning it to itself in
initialize().Fix typecheck error when using an enum that is assigned to null.
Fix incorrect code generation when removing the Test.assert calls from a release build.
Fix value being returned inside a try/catch block being modified in the finally statement.
Prevent a stack overflow error when returning from a finally statement.
v6.2.2
General Changes
No changes
Simulator Changes
Fix symbol not found error when calling
WatchUi.makeReviewTokenRequest()on 3.4 devices.Match the on-device page indicator for the Venu 2 family.
Fix issue preventing hitting breakpoints in
Application.onStop().Keep the communication open with debugger when a background app stops or the running app is restarted.
Compiler Changes
Fix incorrect optimization of static constants that would lead to a runtime crash.
Fix the type checker to use the correct type for
Array.removeAll().Revert a change from 4.2.1 that caused an issue where a parent class's member function isn't called in some cases.
v6.2.1
General Changes
No Changes
Simulator Changes
Fix steps complication being returned as an int once steps reach 10000.
Fix transparency when displaying toasts on some devices.
Compiler Changes
Fix issue with byte arrays that could prevent an app from exporting if byte array usage is surrounded by a has check.
Improve the too many members in module error when using Rez.Styles by suggesting a solution.
Fix complication icon scaling when the source image size does not match the complication icon size.
v6.2.0
General Changes
Add APIs to support true type fonts
Add API
Graphics.Dc.drawBitmap2()to support drawing bitmaps with a transformation, blend mode, or a filter.Add missing type information for
MenuItem.getId().Fix a bug that could cause an app crash if items have null identifiers.
Add
WatchUi.startUserReview()API to allow prompting users to review your app.Add support for debugging foreground and background apps simultaneously.
Fix a bug where
onStop()could be called twice for data fields.Add support for
Graphics.FONT_AUX1andGraphics.FONT_AUX2to support italic fonts in menus on supported devices.Add caching for barrel bitmaps and barrel fonts.
Add
Graphics.AffineTransformAPI.Fix return type definition for
UserProfile.getUserActivityHistory()Add API
ActionMenu.getLabel()Fix a bug where
WatchUi.ViewLoopcould not be set as an initial view.Fix a bug where updating complications could result in an incorrect exception indicating the provided index does not exist.
Fix a bug where loading images from application storage would temporarily increase app memory usage on API level 4.x devices.
Update samples to compile with strict type checking.
Show deprecated classes in generated documentation.
Prevent some devices as being listed as supporting some features when they do not.
Simulator Changes
Drop support for Windows XP
Allow debugging of foreground and background apps.
Fix crash when passing
COMPLICATION_TYPE_CALORIEStoComplications.exitTo().Add a toggle to switch between centered and browse for map view on supported touchscreen devices.
Add the App Review flow.
Draw the header and footer like on device with an empty
CustomMenuFix action menu implementation to expand like on devices.
Add support for selected menu entry fonts.
Update the
Menu2theme if it changes after creation.Prevent an app crash when running unit tests and the app does not contain any tests.
Correctly process new lines in menus.
Show toasts, analog hands, and control bars in screenshots.
Fix screenshots when taken in landscape mode.
Change Activity Monitor Info dialog label for distance to use centimeters.
Allow the current coordinates to update while stopped in the debugger.
Launch an app in normal mode instead of glance when calling
exitTo().Update status bar to better indicate flashlight color.
Center toast icon when it is smaller than the allowed size.
Compiler Changes
Fix internal compiler error when initializing an enum to null.
Support TTF fonts as a resource and in .mss files.
Prevent infinite loop when a class extends itself.
Fix issue with the resource cache not rebuilding some resources when building for a different device.
Fix issue where an app didn't show up in the glance list if the entry point was in a module.
Prevent null pointer exception if the number of static modules exceeds the field limit.
Add
add inferiorcommand to mdd to allow debugging of background apps.Generate a syntax error when
self.selfis referenced.Do not warn when passing a variable to
Method.invoke()when type checking is enabled.Fix symbol not found error when using types on static class functions.
Do not allow keywords to be used as resource identifers.
Class enums are now static by default, allowing access without an object instance.
Prevent access to instance members without an object instance when type checking is enabled.
Fix a bug where the if / else if block could clear member typing in the subsequent else / else if blocks.
Support the bling operator (
$) in type declarations.Create errors and warnings at the actual line in a
switchblock instead of the line that containsswitch.Fix dictionary types changing during type checking.
Fix initialization issue when importing a Rez module.
Prevent an infinite loop at run time when a
continuestatement is in aswitchthat is inside a loopDo not show the compiler stack trace when compiling barrels.
Clarify error message shown when attempting to build for a device that doesn't meet the app's minimum API Level.
Remove the unused attributes of
borderWidth,borderColorandcornerRadiusfrom the resource XML schema.`Clarify error message when the result of an expression is not used.
Clarify error message when exceeding the member limit in a class or module.
List the resource file name when unable to process it.
Improve the error message when using octal as switch case values.
Clean up error messages involving poly types.
Fix code generation to execute a
finallyblock whenreturn,breakorcontinueis used within thetryorcatchblocks.Detect circular inheritance outside of type checking.
Improve integer overflow detection.
Improve error message when an empty resource id is given.
Improve error message when there is an error in an .svg file.
Support the bling operator (
$) in the extends clause.
v4.2.4
General Changes
No Changes
Simulator Changes
Fix issue with drawing fonts on 16 color devices with transparent set as the background color.
Compiler Changes
No Changes
v4.2.3
General Changes
Allow the Selectable sample to build on MacOS and Linux.
Simulator Changes
No Changes
Compiler Changes
Fix the additional memory usage associated with the 4.2.1 release.
Allow usage of Graphics module in .mss files when
-l 3is passed as an argument.Improve warning about adding the entry point to the glance or background process to indicate if it was due to the annontations being from the app or an included barrel.
v4.2.2
General Changes
No Changes
Simulator Changes
Fix some graphics issues with devices that have a GPU.
Compiler Changes
Fix app exports when complications are used but some part numbers are not System 6.
v4.2.1
General Changes
Fix the color count of some devices in the Programmer's Guide.
Change the
ComplicationsPublisherpermission toComplicationPublisher.Update typing and documentation for Menu2 label and subLabel to indicate support for String, Symbol or null arguments as appropriate.
Update documentation to reflect that the dimensions passed to
Graphics.createBufferedBitmap()must be positive integers.Fix a bug in
Gregorian.moment()that prevented use with dates beyond 2038-01-19T03:14:07Z which may have been returned from a call toGregorian.info().Fix a rare bug that could cause a
Time.Momentto store an uninitialized value.Add type information for parameters to
Weather.getSunrise()and Weather.getSunset().Fix a documentation error with
String.toLongWithBase().Fix a bug in the debugger where string values ending with '\n' would not print properly.
Rename
WatchUi.ThemetoWatchUi.ActionMenuTheme.Fix a bug where an app could crash if
Ant.GenericChannel.sendBurst()is called more than 15 times on the sameBurstPayloadobject.
Simulator Changes
Add
Settings > Flashlight Configurationsmenu to select between different flashlight configurations for the running device(s).Add support for Menu2 themes.
Expand action menus to the length of the longest entry.
Do not launch a widget in glance mode if it doesn't support glances.
Do not allow
Settings > Trigger App Settingsfor pre-3.2 devices when running a watch face.Fix an issue where the menu item text would start off the screen if it was too long to fit.
Fix time simulation not using the set time.
Fix crash when pressing on a watch face when running a pre-System 6 device.
Fix launching to a native complication.
Fix Menu2 layout of some devices.
Compiler Changes
Add file name and line numbers to resource compiler errors.
Add support for Menu2 themes.
Ignore the deprecated
-soption.Ignore the deprecated build exclusion files.
Fix constant folding with symbols.
Fix caching of complication and launcher icons.
Fix null pointer exception when using anonymous interfaces in a function.
Fix incorrect line number being reported when an error occurs in a catch statement.
Fix lookup of static const members of a parent class.
Do not allow overriding the types of a parent class's function.
Do not warn about unused parameters or catch block variables.
Do not error when using the
ComplicationPublisherpermission in a project that contains a device that only support widgets.Error when
!is detected in the SDK path.
v4.2.0.beta2
General Changes
Fix an app crash when
GenericChannel.sendBurst()is called more than 15 times on the sameBurstPayloadobject.Rename
WatchUi.ThemetoWatchUi.ActionMenuTheme.Add
ActionMenuItem.getLabel().Fix glance views not displaying.
Fix debugger to print string value properly.
Fixed a rare device crashed on GPU device when reading palettized image.
Fix a BLE link transmit callback issue.
Fix a rare bug that could cause a
Time.Momentto store an uninitialized value.Add type information for parameters to
Weather.getSunrise()andWeather.getSunset().Fix a documentation error with
String.toLongWithBase().Fix a bug in
Gregorian.moment()that prevented use with dates beyond 2038-01-19T03:14:07Z which may have been returned from a call toGregorian.info().
Simulator Changes
Fix wrapping on Menu2 items for certain devices.
Fix the Menu2 toggle item layout for certain devices.
Fix crash when initializing TextPicker with long unicode text.
Fix crash after running unit tests and one fails.
Improve simulator launch time to fix app launch issues with VS Code when the simulator isn't running.
Fix strings that end in
\nnot displaying correctly in the VS Code debugger.Sync GNSS API validation with how it is done on devices.
Fix crash when launching an app that doesn't support glance mode but the menu item to launch in glance mode was enabled.
Fix simulator lock up due to a large number of breakpoints being set.
Fix datafield borders not being displayed.
Display a popup when attempting to load an unsupported device.
Compiler Changes
Fix incorrect type check warning when using instanceof with enums.
Fix incorrect error when processing SVG files with non-integer widths and heights.
Fix ambiguous error message when compiling resources.
Fix incorrect error when optimizing the ! operator when used on integers.
Add warning for unused variables.
Add
translatable=<boolean>attribute to strings. This will prevent warnings about untranslated strings.Fix instance member with same name as super class generating a runtime error.
Sort warnings generated from .jungle files by line number.
Use the updated compiler when compiling with
-O0.Show warnings and then errors after compilation.
Fix issue where multiple annotations were not applied correctly when exclusions were used.
Allow an SVG image for the launcher icon.
Add error when project.manifest is not present in a barrel jungle file.
Fix symbol not found errors when calling static class methods and variables.
List the needed permission when generating a permission required error.
Add an error for
The result of this expression is not used.Apply lexical only constants optimizations to -O1.
Fix error when using
selfin ahascheck.Sync lexical constant folding behavior with the virtual machine.
Change deprecation messages from errors to warnings.
Fix incorrect warning about the personality class
''could not be found when listing the personalities across multiple lines.Allow widgets built as an app to use Complications.
Fix font filters not working for Arabic.
Allow
:to be used to as a separator for the-fcommand on MacOS and Linux.Allow loading multiple PRGs with the
monkeydoandmonkeydo.batscripts.Do not error when overriding a parent's private function.
Limit the number of bitmap resources to 2047.
Limit the number of font resources to 4095.
Allow float percentage values in .mss files.
v4.2.0.beta1
General Changes
Fix BurstPayload.add() to accept a ByteArray parameter as shown in the documentation.
Added app review support. See WatchUi.makeReviewTokenRequest() and WatchUi.startUserReview() for more details.
Add support for system and app complication. See "Complications" module for details.
Add support for page indicator.
Add support for action menu.
Add support for toast notifications.
Add support for drawing menu2 icon on the subscreen area for Instinct 2.
Add new api "setFlashlightMode()" and "hasFlashlightColor()" in Attention module to support flashlight control on available devices.
Add packingFormat support in image request. Supported formats includes 'jpg', 'png' and 'yuv'. Only effective for certain devices (e.g. w/amoled screen).
Add support for new GPS modes
Simulator Changes
Add support for GPS Modes.
Add complication viewer.
Add support for Menu2 subscreen icons.
Add support for page indicator.
Add support for action menu.
Add support for system complication.
Add support for flashlight.
Compiler Changes
Add support for setting "project.typecheck" and "project.optimization" properties in a Jungle file.
Use the api.db from the SDK when doing an export if it is not specified as a command line option.
Add MSS support.
Add generated resource caching support.
Add Resource Compiler Complications support.
Add Resource Compiler action menu support.
Add Resource Compiler Menu2 subscreen icon support.
v4.1.7
General Changes
No Changes
Simulator Changes
No Changes
Compiler Changes
Fix static class functions and members not being found when compiling with optimizations enabled.
Fix static member lookup to match the virtual machine.
Fix using self in a has check causing compiler error.
Do not error when using -l 3 and the warning is due to using a deprecated function.
Apply lexical only constant optimizations at -O1.
Fix compiler error when an enum type is used in an instanceof check.
Improve the error message when a permission is required to access an API to include the name of the permission needed.
Generate an error when the result of an expression is not used, except in the case of creating an object.
Allow newly created objects to be an lvalue.
v4.1.6
General Changes
Add analog clock hand APIs.
Add new Activity.SPORT_* and Activity.SUB_SPORT_* enum values.
Add GPS Mode API.
Change Ant.BurstPayload.size and Ant.BurstPayload.burstDataBlob to private.
Fix an issue that prevented data fields with developer data from being able to start if they previously crashed.
Fix a text rendering issue with transparent background color on forerunner55.
Fix unicode characters being dropped off in debugger messages for string variables.
Update typing on Media.setAlbumArt, Communications.openWebpage, and WatchUi.switchToView.
Simulator Changes
Add GPS Modes support.
Add support for instinct2analog.
Fix RunNoEvil failed to start error for music apps issue.
Fix music app crash when changing settings.
Fix an issue that caused the DeviceSettings.isTouchScreen flag to be improperly set after launching a device.
Update heart rate zone labels in the user profile dialog.
Allow starting a stopped activity in the simulator.
Compiler Changes
Add compiler optimizations.
Add compiler logging for submitting bug reports.
Add resource file information to resource errors and warnings.
Add support for setting 'project.typecheck' and 'project.optimization' properties in a Jungle file.
Enable type checking by default.
Allow WeakReference to be explicitly or implicitly casted.
Fix the type checker to only generate a type check warning when doing a 'instanceof' operation on type Any.
Fix bug in converting settings resources to JSON.
Fix bug in check for ambiguous import statements, which caused an error to be generated for duplicate import statements.
Fix a bug in code generation that caused classes with the same name as the extends class name to be looked up rather than the actual super class.
Fix a bug where nested Array and Dictionary types caused an error.
Fix a bug where imported modules were applied outside of their scope.
Fix a bug where local variables with the same name as an imported module were sometimes mistakenly treated as the imported module.
Fix a bug where some const variables were using the inferred type of the variable instead of the type declared during initialization.
Fix a bug which did not allow nested classes to lookup symbols in its module hierarchy.
Fix bugs in the type checker's lookup algorithm, which should replicate the virtual machine's lookup algorithm.
Add type check error when casting a function definition.
Ignore invalid devices with MonkeyMotion entry point when using the -m option.
Fix a bug when using the 'me' keyword that caused type checking to error that the 'me' variable is uninitialized.
Fix a type checking bug in expression type testing for String additions with Boolean and Symbol types.
v4.1.5
General Changes
Fix a potential json parsing error when handling long long value.
Fix String.substring() documentation about allowing null as an index.
Fix Gregorian.localMoment to expect a Time.Moment and to allow a Lang.Number for compatibility. Fix Gregorian.localMoment documentation and snippets to show arguments in the proper order.
Fix memory leaks related to Gregorian.LocalMoment usage.
Simulator Changes
Fix item alignment in Menu2 for devices with a subscreen.
Allow an app to override the custom menu title height in the control bar. To disable the custom menu title, set "titleItemHeight" to 0.
Remove "Unable to connect to an ANT device; no devices available" message shown when lanching the simulator from the command line.
Compiler Changes
Fix issues with dithering when compiling bitmaps for devices using ARGB2222 color format.
v4.1.4
General Changes
Update BLE firmware links in Programmer's Guide.
Add "-m" as optional MonkeyMotion command-line argument to load devices from a manifest.xml.
Fix issue that caused a Toybox symbol not found error in Menu2InputDelegate.
Clarify documentation for Communications functions.
Buffer profiler data writes to improve performance.
Selectable/Button state will be restored if the user "canceled" the touch, e.g. moves finger off the button after touching the screen.
Allow SensorLogging for magnetometer and gyrometer to be disabled for devices.
Add functionality to expose night mode to applications.
Add functionality to expose control bar to applications.
Fix the start time timestamp in UserActivityHistory to be based on the Unix epoch.
Simulator Changes*
Fix issue where intent will not launch when persisted setting to always launch is selected.
Add time and pixel thresholds for swipe event to prevent false behavior in simulator.
Fix an issue where "onWorkoutStarted" is not called if timer is started first without playing workout file.
Fix Menu2 menu item text offset.
Connection Type menu is now enabled without needing to start an app first.
Allow selection of "Default" language for app settings.
Change Settings > Glance View to Settings > Glance Launch Mode. DevicesSettings.isGlanceModeEnabled will return true for 4.x devices. For 3.x devices, DeviceSetings.isGlanceModeEnabled will reflect menu state.
Add a night mode toggle to the settings menu.
Add support for the control bar.
Fix not being able to playback FIT and GPX files in the simulator.
Fix custom tone playback being broken in the simulator.
Fix the issue where media download fails when the app is started in sync mode in simulator
Compiler Changes
Allow assigning $(product.lang) in jungle file.
Fixed a potential compiler error when generating some resources.
Exclude preview devices from export.
v4.1.3
General Changes
Fix onStorageChanged() not getting invoked immediately when the watchface app is sleeping.
Throttle calls to Ui.requestUpdate() to avoid causing performance problems and device crashes.
Allow null to be passed into String.substring() to indicate starting at the start or going to the end of the string.
Allow negative indexes for String.substring() to offest from the end.
Fix transparent issue when drawing palettized image on a palettized BufferedBitmap.
Fix monkeydo incorrectly saying the app crashed when calling System.exit().
Simulator Changes
Fix a bug that would cause the profiler to run for 0 seconds.
Update layout of the battery settings dialog.
Add Settings > Reset Simulator which removes any saved settings for the simulator.
Re-enable the save button in the settings editor after the settings are saved.
Prevent the app from locking up when choosing to not launch an app when calling System.exitTo().
Compiler Changes
Fix error when using a character as a key for a dictionary type.
Fix type check error that did not allow arrays or dictionaries to be passed as a Toybox.Lang.Object.
v4.1.2
General Changes
Remove duplicate listing of 4.1.x SDK in the Eclipse plug-in.
Simulator Changes
Update wording of settings editor dialog when the app doesn't have any settings.
Prevent crash when dragging and flicking on native views.
Fix an issue where simulator could be using wrong device configurations when loading multiple devices without closing the simulator in between app runs.
Remove option to automatically refresh the memory window.
Remove unintended shortcut to File > Save Screen Capture in Linux.
Reset an app's saved settings if its default settings change since the last app run. This requires VS Code Monkey C extension 1.0.3 to properly work.
Disable native save button when editing lists in the app settings editor.
Fix issue that caused the app settings editor to not work in Linux.
Fix OAuth window not showing up in MacOS.
Fix crash with SensorHistory.getBodyBatteryHistory() and SensorHistory.getStressHistory().
Fix fit playback issues with some FIT files.
Compiler Changes
No Changes
v4.1.1
General Changes
Add support for 4.1 devices in the Eclipse plug-in.
Fix an issue where image request sent from 4.0 background app will always fail due to permission issue. Restore the image request behavior to pre-4.0 where a BitmapResource is returned.
Fix a behavior discrepancy between 3.x and 4.x when drawing text on palettized BufferedBitmap with transparent background color.
Reduce heart rate and other sensor type histories (except body battery and stress) app memory usage by half.
Fix incorrect example in System.getSystemStats() documentation.
Fix incomplete callstacks when Method.invoke() is in the callstack.
Change GyroscopeData members from Number to Float.
Fixed a text wrapping bug where the hyphen can extend beyond line limit.
Fix consistency and correctness issues with op==. Produce results that are consistent with Java when comparing Long/Float, Float/Long, Char/Float, Float/Char, Char/Double, Double/Char, Char/Long, Long/Char. Previously these all returned false.
Always return false when comparing a numeric type (Number, Float, Boolean, Long, Double, Char) to a non-numeric type. Previously, this would return true in some cases.
Fix return types for Weather.getDailyForecast() and Weather.getHourlyForecast().
Set UserProfile.UserActivity values to null when they cannot be determined.
Move body battery and stress history into SensorHistory.
Fix crash in Monkey Motion when creating animations for some devices.
Sort device names in Monkey Motion preview screen.
Update documentation for SensorLogger.initialize() to remove the incorrect note that it can throw an exception.
Simulator Changes
Update to libwebkit2 and libgtk3 for linux.
Use libsecret-1, if available, to store Connect login tokens for linux.
Fix a bug that caused canceled web or image requests to still be executed but delivered to the wrong callback.
Require Connect account login to use the app settings editor in the simulator.
Add button and touch scroll support in devices that have both button and touch screens, such as the fenix7 and epix2.
Persist setting for Settings > Enable Touch Screen.
Always show Settings > Toggle Touch Screen menu item and enable or disable it based on the current device.
Unchecking Settings > Toggle Touch Screen causes System.DeviceSettings.isTouchScreen to return false.
Allow activity simulation and parsing to continue after closing the Activity Data dialog.
Allow memory window usage while debugging.
Update current wind speed control in the weather editor to allow setting in steps of .1.
Fix venu2 HR sensor history behavior to reset at midnight.
Add support for triggering Authentication Requests to the app by using the Simulation > Background Events menu.
Add option to select a fixed amount of time to profile in the profiler menu.
Set the default option in the FIT playback dialog to data simulation.
Change location of the simulator config.ini file to the same place where other configuration files are stored.
Fix Thai language display issue in simulator.
Add ability to filter by function names in the profiler.
Move save button for app settings from the web view to the bottom of the native UI.
Fix simulator image request for fenix 7 products.
Add ability to select multiple lines and copy text from the profiler data lists.
Allow activities to be started by any app type.
Improve resizing profiler window panels.
Add 'Average Time' column to profiler window.
Fix workout playback with data simulation.
Fix the simulator locking up when switching media modes while profiling.
Fix potential sim crash issue when switching between glance and full app mode when memory view window is shown.
Fix crash when selecting cancel after launching the settings editor and needing to login to the SDK Manager.
Improve speed of peak memory detection in the memory viewer.
Clear the device screen when a crash occurs.
Update the memory viewer and peak memory stack viewer to fix display issues.
Re-use existing peak memory window in the mMemory viewer instead of creating a new one.
Fix memory viewer window in dark mode on MacOS.
Prevent crash on MacOS when viewing the memory viewer.
Fix intermittent crash when getting the peak memory in the simulator's memory viewer.
Fix image trasparency rendering on monochrome screen.
Restore 3.x burn-in rules for 3.x devices such as Venu and Venu Sq.
Fix an Epix (original) custom font rendering issue.
Fix an issue that caused the profiler to report unexpected execution times for functions that failed due to runtime errors.
Fix an issue that caused the debugger to not connect to the simulator.
Fix debugger crash when viewing certain resource types.
Document rollover behavior for System.getTimer().
Fixed a simulator background crash happening on older devices with CIQ 3.1 and older.
Reduce the simulated distances for UserProfile.UserActivity.distance.
Compiler Changes
Fix an issue that could lead to long compilation times with some versions of Java.
Fix an issue with monkeydoc that caused type information for option parameters to be incomplete if more than one type was specified.
Remove warning when overriding a string resource.
Added justification support for bitmap, rectangle, circle, ellipse, polygon and drawable-list. Use attribute tag horizontalJustification="left" or "right" or "center" for horizontal justification and verticalJustification="top" or "bottom" or "center" for vertical justification. Note, this attribute can't be used when screen justification (e.g. x="center") is already set.
Improve type checking when there are multiple 'has' checks.
Improve type check errors for 'has' checks.
v4.1.0.beta1
General Changes
Add new APIs to the sensor module for getting magnetometer and gyroscope data at 25hz. Note that simulation for this feature is not yet available.
Add new APIs to the WatchUi module to support drag and flick events.
Add new API to drawables that allows you to set whether it should be visible or not.
Add new API in system stats to get battery life in days.
Add new APIs to the weather module to get the sunrise and sunset times based on location.
Add new APIs to the user profile module to get running and cycling VO2 max.
Add new APIs to the user profile module to get user activity history.
Add new APIs to activity monitor info to get current recovery time and respiration rate.
Add new APIs to activity monitor module to get body battery history.
Add new APIs to activity monitor module to get stress history.
Add support for debugging apps through the visual studio code extension.
Add support for profiling Connect IQ apps.
Relax screen burn-in protection rules for Venu 2 and future AMOLED products products to only require using less than 10% of screen pixels.
Add support for new app settings features.
Simulator Changes
Fix an issue that caused strings returned from CustomButton to be displayed incorrectly if they contained an embedded newline.
Update app settings editor to be modeless.
Add support for new FIT simulation and playback dialog.
Fix a bug where the sim would crash switching between glance mode and full app mode.
Add an option to enable live updating of the memory window.
Update activity monitor info dialog to be modeless.
Fix a bug where the data field menu can be enabled for non data-field app types.
Add support for setting the battery days left and simulating body battery history, stress history, and activity history.
Add MonkeyC code profiler dialog.
Fix a bug where position, track, and heading could sometimes not be reset when switching FIT files for playback.
Fix an issue that allowed multiple HTTP traffic dialogs to be shown.
Add a dialog to set the user profile information.
Add recovery time and respiration rate to the Activity Monitor Info dialog.
Compiler Changes
Fix an issue that caused projects compiled with the monkeyc or barrelbuild scripts to display multibyte UTF-8 strings incorrectly.
Support type checking on Monkey Barrels that are dependent on other barrels.
Add new command-line option (-k) to build a PRG with support for profiling enabled.
Add support for array properties to resource compiler.
v4.0.10
General Changes
Add WatchUi.getSubscreen() to query subscreen area for devices that have subscreens.
Add new screen shape SCREEN_SHAPE_SEMI_OCTAGON.
Simulator Changes
Add glance support for devices with subscreen support.
Compiler Changes
No Changes
v4.0.9
General Changes
No Changes
Simulator Changes
Fix crash with Memory Viewer on MacOS.
Fix Memory Viewer in dark mode on MacOS.
Speed up Memory Viewer when detecting the peak memory usage.
Compiler Changes
No Changes
v4.0.8
General Changes
No Changes
Simulator Changes
Fix simulator image request for fenix 7 products.
Compiler Changes
No Changes
v4.0.7
General Changes
The minimum supported macOS is now 10.12.
End the Visual Studio Code debug session if launching app failed or sim crashed.
Show crash message in debugger if app crashes during startup.
Fix a memory leak that would occur when using makeWebRequest on a WiFi/LTE connection to download an animation manifest.
Fix a memory leak that would occur when using makeWebRequest on a WiFi/LTE connection and the response JSON included duplicated value strings.
Reduce application memory usage when processing makeWebRequest responses from a WiFi/LTE connection.
Update Graphics API documenation to use the FontType typedef instead of the classes that make up the typedef.
Fix broken link in WatchUi.IconMenuItem documentation.
Fix parameter typing on Communications.registerForOAuthMessages().
Prevent memory corruption when using small coefficient arrays with the IIR filter.
Fix the PRG not getting pushed if its path contains a space.
Simulator Changes
Fix AppBase.onAppInstall() not getting launched for the first app run in a newly opened simulator.
Fix issue where the current day's vigorous intensity minutes were used when calculating the total moderate intensity minutes.
Fix memory leak with makeImageRequest for some simulated devices.
Compiler Changes
Improve initialization checking on symbols that are confirmed to exist for an object using a 'self has' check.
Add type checking to 'object' syntax.
Fix a type check bug that caused an error when using 'NaN'.
v4.0.6
General Changes
Enable System.exit() for widget apps launched from glance mode if device has 4.0.6 SDK support.
Fix issue that caused WiFi requests to not be made until the app was closed.
Simulator Changes
Add ability to display stack trace and heap status information for peak memory conditions in Memory Viewer.
Compiler Changes
Improve type checking to update member variable types after an assignment.
Add type check error when a 'self' or 'me' symbol is defined.
v4.0.5
General Changes
Fix typing issues with WatchUi.Bitmap.
Fix Comm.checkWifiConnection not properly checking wifi connection is available.
Add new wifi connection status enum values.
Add Communications.startSync2().
Improve typing of the BackgroundTimer sample.
Fix a bug that prevented creating barrel projects in the Visual Studio Code Extension.
Add documentation for application scope type checking, including information on how to disable the check if necessary.
Simulator Changes
Prevent the simulator from locking up when launching a new app while debugging.
Add the SEND command to mdd for sending files to the simulator.
Compiler Changes
Apply the --Eno-invalid-symbol command line option to undefined symbol checking done during type checking.
Improve type checking to update local variable types after if statements based on the if conditions.
Improve how poly types are printed in compiler error and warning messages.
Fix misspelling in compiler warning message generated when a Connect IQ project consumes a Monkey Barrel that supports languages unsupported by the project.
Fix bug in try / catch block code generation which potentially caused accessing invalid portions of the stack.
Fix a code generation bug for function calls followed by an array access that caused a Monkey C intermediate representation parsing error.
Add if-splitting to while and for statements in the type checker.
Improve if-splitting logic on nested if-else statements.
Fix bug in type checker if-splitting logic, which was caused by not factoring in "else if" cases.
Improve type check errors when a statement is not reachable and when a variable is not initialized in a try-catch statement.
Fix type check error when assigning variable to itself in an if statement.
v4.0.4
General Changes
Fix a bug that resulted in bad links for references to enum types in generated documentation.
Fix a problem with monkeydoc that caused it to stop processing input if a typedef inside a class declaration was encountered.
Fix a bug where the "Glance View" menu state isn't updated when entering full view mode.
Add new option to monkeydoc that allows the api.mir file to be provided to avoid warnings for references to API classes.
Update symbol references in generated documentation to show partially qualified names.
Improve typing of Json Data Resources, Menu 2, and Picker sample apps.
Fix a bug where web or image requests made via Wi-Fi can be canceled by the same app running in different modes, such as background mode.
Fix a bug where clearing a palettized BufferedBitmap with transparent color would cause visual artifacts.
Fix multiple typos in API documentation.
Add type checking for options passed to Picker.setOptions().
Fix an invalid error thrown for ANT apis when invoked from data fields.
Set the return type for the Mailbox Iterator next() function.
Fix an issue that caused an exception to be thrown when requesting SensorHistory data for a short period.
Simulator Changes
Fix invalid Average and max cadence values during FIT simulation and playback.
Improve error message in the simulator's app settings editor for a missing settings file.
Fix a bug where the initial focus item was set incorrectly for some menu items.
Fix a bug where switching a progress bar from "busy" mode to "progress" mode did not work correctly.
Fix a bug where screenshots taken in apps running on devices with soft menu bars would be stretched.
Fix a bug where the simulator would crash if an app uses a custom media button but doesn't implement getState() or getText().
Fix a simulator crash that occurred when attempting to edit an animation resource in the application storage viewer.
Compiler Changes
Add compiler error when compiling for a device that requires a newer API Level.
Fix type checking error when a poly type is assigned to a non-poly type.
Generate a warning if a bitmap resource defined in a layout will override a bitmap resource with the same id and different data in another layout.
Improve type check warnings for symbols not found on poly types and fix bug in if-splitting logic for non-local assignments.
Fix bug in code generation for RunNoEvil test functions that have 'assert' at the beginning of the function name.
Fix a compiler bug that caused an 'Unable to detect scope' warning when using the '$' symbol.
v4.0.3
General Changes
No Changes
Simulator Changes
Fix issues with the app settings editor that prevented settings from loading
Fix UI issues with the app settings editor
Compiler Changes
No Changes
v4.0.2
General Changes
Update all sample apps to use Monkey Types.
Add an API to specify the header and footer item heights for CustomMenu objects.
Fix a bug where some numeric types passed to the the FIR Filter and IIR Filter apply() methods would cause type checking errors.
Fix crash and rendering issues with some images when drawing on two-color products.
Fix a memory leak when using custom fonts.
Fix a potential app crash when using image palletes on RGB 332 format products.
Fix an issue that caused Activity::Info::currentCadence to be twice the expected value.
Remove unsupported languages from the Visual Studio Code extension.
Fix type checking issues related to the Char type.
Fix broken links in Programmer's Guide.
Fix an issue that may cause the delay of app start.
Fix an issue that caused an exception to be thrown if a String resource was passed to the MenuItem constructor.
Fixed a memory leak when saving and deleting image resources.
Simulator Changes
Add app settings editor.
Fix a bug where openWebPage() would not properly show the web view on Linux.
Fix an issue that caused the simulator to generate cadence data that resembled step counts when cycle counts were expected.
Fix an issue that caused month and weekday names to appear incorrectly.
Fix an issue that caused String.equals() to return incorrect results for some strings with non-ASCII characters.
Add simulator support for playback profile update requests from music apps.
Fixed image request issues for GPU products such as venu2.
Compiler Changes
Relax function scope checking to reduce incorrect compiler errors for glance and background code sections.
Fix a bug where SVG files that did not explicitly specify the width and height in the header would cause resource compiler errors.
Fix a bug in the resource compiler that could cause images of certain bit depths to be packed as black and white.
v4.0.1
General Changes
Release the official public version of Connect IQ 4.0.1.
Fix a potential memory leak when adding items to a dictionary.
Fix a bug where some images serialized to application storage could not be retrieved correctly.
Fix a bug where visual artifacts can be present when drawing fills with anti-aliasing enabled.
Simulator Changes
No Changes
Compiler Changes
Fix scope checking issues in the Rez module with type checking enabled.
Fix a bug in the type checker where passing a polytype to a function that takes an object results in a type check error.
Fix a bug where the array of fonts specified for a TextArea resource would not be properly type casted, resulting in type check errors.
Fix a bug where instanceOf checks could incorrectly result in type check errors.
Fix bug in logic checking a function's application scope assuring that functions do not call other functions that are not in the same scope.
v4.0.0
General Changes
Normalize radius in fillRoundedRectangle and drawRoundedRectangle.
Fix an issue that caused application crashes when converting a Dictionary with a null value to a String.
Fix palettized image causing app crash on RGB332 devices such as venusq.
Add :launchedFromGlance option to AppBase.onStart(). This will be set to true when the app is launched from the glance list.
Add support for app suspension and resuming. When an app is suspended, :suspend will be passed into the options parameter for AppBase.onStop(). When resuming, :resume will be passed into the options parameter for AppBase.onStart().
Add Dc.setStroke().
Crash the app if it switches to or pushes a null view.
Fix custom font not getting rendered on subsequent onUpdate() calls.
Fix an issue that could cause sensor states to not be set or restored properly.
Fix Dc.drawCircle() when anti-aliasing is enabled.
Fix multiple apps using GPS at the same time.
Add Graphics.BitmapTexture which is used in DC draw calls.
Add type information to the API.
Add support for yuv and jpg image format.
Fix errors in documentation.
Add Background.onPhoneMessageEvent() and supporting functionality to allow phone messages to be processed by a background process.
Add new Graphics APIs for alpha color support, offset bitmap drawing, and scaled bitmap drawing.
Add support for loading font and bitmap resources into separate memory pool.
Fix distorted color when playing back animation in Monkey Motion for certain devices.
Add name of invalid Monkey Motion file to error message.
Require MacOS 10.9 or greater for Monkey Motion
Require MacOS 10.9 or greater for the Connect IQ Simulator
Expose the Sensor module to data field apps so they may call Sensor.getRegisteredSensors(). Calling any other Sensor module function from a data field app will result in a 'Symbol Not Found' error.
Fix an issue that allowed a disabled Selectable to process input events.
Fix Selectable state parameter API documentation.
Add support for using PNG as a target image resource packing format. Use
<packingFormat="png">when defining drawable resources for supported devices.Update new project code templates to use the type system.
Fix a bug that caused the Menu2/CustomMenu 'deleteItem' method to cause app crashes.
Fix a bug that caused partial transparency to not work for buffered bitmaps on some products.
Fix a bug that caused custom user states to no longer work to Selectable objects.
Fix a bug where dictionaries that contained BitmapReference objects would cause setValue() calls in application storage to throw exceptions.
Miscellaneous API documentation fixes.
Simulator Changes
Add support for Monkey Types.
Add support for glances in watch-app types.
Add support for resource pool memory usage in memory viewer.
Add new settings menu to simulate wifi status: Settings->Connection Type->WiFi->Status.
Fix app crash when relaunching multiple times without closing simulator.
Fix an issue that text drawing with transparent backgound would stop working after re-launching an app.
Fix a sim crash when pushing media player more-controls page.
Fix a bug where the blue triangle is rendered as the initial screen when an app is started.
Add simulated activity data during workout fit file playback.
Compiler Changes
Disable Automatic palette for launcher icons.
Automatically switch app type to watch-app when compiling a widget and targetting a 4.x device.
Add typing information to documentation generator.
Fix command line debugger bug that wouldn't allow spaces before a print command.
Add support for relative and absolute image scaling, jpg/yuv as output format, SVG as source format, and auto scaling of the launcher icon.
Fix a bug which could have caused runtime logic errors when the default case was not written last in a switch statement.
Add error when an enum is a duplicate symbol.
Add error when an uninitialized local variable is assigned to itself.
Generate warning instead of error when app exceeds glance memory limit.
Fix incorrect warning about not all paths returning a value in a switch statement where a case fall through returns a value.
Improved code generation for if statements.
Fix compiler bug when processing member variables initialized with a hexadecimal value ending in 'd'.
Fix local scoping error.
Indicate which compiler command line options are deprecated in the "help" description.
Deprecate the "-u" command line option of the Monkey C compiler.
Improve compiler error generation when a Monkey C number cannot be parsed.
v3.2.5
General Changes
File I/O operations such as calls to loadResource() in onPartialUpdate() will now trigger a call to onPowerBudgetExceeded().
Fix a music app bug where skipping songs rapidly can cause playback to stop.
Fix a bug that could potentially cause memory leaks.
Fix a bug that caused Background.getLastTemporalEventTime() to return null for watch-apps and widgets.
Simulator Changes
No Changes
Compiler Changes
Fix a bug in app templates that referenced the wrong extension name in build instructions.
v3.2.4
General Changes
Allow spaces in paths when running monkeydo.
Fix a bug where the last step in a workout activity was not handled properly.
Fix a potential crash in Graphics.fitTextToArea().
Fix a bug in MapPolyline.addLocation() that resulted in errors if an array of locations was provided.
Fix issues with Graphics.fitTextToArea() for multi-byte code points.
Add app encryption support for app types other than audio content provider.
Fix miscellaneous documentation errors.
Simulator Changes
Fix a simulator crash when running on macOS Big Sur.
Drop support for macOS 10.9 and older.
Prevent simulator lock-up that could occur on app launch.
Fix bugs in the object store editor where some values were not read-only.
Fix an issue that allowed a widget base view to receive input events.
Fix a crash due to out-of-bounds access on Menu2 views.
Fix a bug where the app settings menu was not properly enabled / disabled based on running app state.
Compiler Changes
Fix a permission bug with new project templates.
v3.2.3
General Changes
Allow spaces in paths when running monkeydo.
Fix a bug where the last step in a workout activity was not handled properly.
Fix a potential crash in Graphics.fitTextToArea().
Fix a bug in MapPolyline.addLocation() that resulted in errors if an array of locations was provided.
Fix issues with Graphics.fitTextToArea() for multi-byte code points.
Add app encryption support for app types other than audio content provider.
Fix miscellaneous documentation errors.
Fix issue that prevented user fonts from being used with a TextArea.
Fix distorted color when playing back animations in Monkey Motion for certain devices.
Update manifest.xml in template projects
Simulator Changes
Fix a simulator crash when running on macOS Big Sur.
Drop support for macOS 10.9 and older.
Prevent simulator lock-up that could occur on app launch.
Fix bugs in the object store editor where some values were not read-only.
Fix an issue that allowed a widget base view to receive input events.
Fix a crash due to out-of-bounds access on Menu2 views.
Fix a bug where the app settings menu was not properly enabled / disabled based on running app state.
Fix a permission bug with new project templates.
v3.2.2
General Changes
Add ability to search generated documentation by method and variable name.
Simulator Changes
No Changes
Compiler Changes
No Changes
v3.2.1
General Changes
Fix a bug where monkeygraph can lock up if data is missing in the fit file.
Add API for reading current oxygen saturation.
Add API to SensorHistory to support oxygen saturation.
Add API to get resting heart rate.
Add API to get current solar charge intensity.
Add API to support anti-aliased primitive drawing.
Add support for watch faces and data fields to provide custom, in-app settings views.
Add API to support fetching weather data.
Add API to support data fields implementing custom alert views.
Add API for data fields to access current workout step information.
Add API for data fields that is triggered when a workout starts.
Add support for background processes writing to application storage.
Add API for background processes to be notified when a phone message is received from the mobile SDK.
Add API to allow fetching a list of all sensors registered with a device.
Add API to allow enabling / disabling sensors by type.
Add API to support fetching current activity profile info.
Add support for per-file media download progress.
Add API to enable specific GPS constellations.
Add API to allow setting GPS mode for aviation.
Add support for command-line debugging.
Add support for persisting BLE scan result objects to application storage.
Add API to allow determining if a BLE scan result object contains a particular address.
Add API to test if BLE scan result objects are equal.
Add new tool to allows developers to create formal API documenation that can be posted to the web.
Separate device configurations from the core SDK.
Add a new standalone tool for managing which device configurations and SDKs are downloaded.
Add API to determine if an app is installed by searching for its app ID.
Fix an issue that would result in an UNABLE_TO_PROCESS_IMAGE error when an HTTP error should have been reported.
Fix an issue that could result in UNABLE_TO_PROCESS_IMAGE errors being generated when receiving compressed image data.
Fix a bug where disabled selectables would still get UI input events.
Fix resource leaks that could occur when making web requests via WIFI
Fix bugs that caused rendering issues with fitTextToArea() on TTF-based devices.
Fix a bug in fitTextToArea() where inter-line spaces were not properly accounted for.
Update bitmap initializer and setBitmap() to allow passing a BitmapResource.
Allow data fields access to read-only Sensor module APIs.
Fix a bug where widgets that use BLE and glances could cause unrelated glance view crashes.
Fix an issue that could cause an application crash when using user types as keys in a Dictionary
Add debugger support for viewing animation resource metadata.
Fix a device crash that can occur when an app using BLE shuts down.
Fix an issue where the ellipsis can fail to be added when text is truncated via fitTextToArea() calls.
Fix miscellaneous API documentation errors.
Simulator Changes
Fix an issue that Sim can't connect to BLE device after restart.
Reduce height of Venu and fenix 6x pro images
Move Glance View option from the Simulation to the Settings menu, and treat it like a device setting. Update input handling for glance view to re-launch the app in glance view if the glance for the active app is selected
Ensure navigation data angles are always in the proper range.
Fix User-Agent header sent with web requests from the simulator.
Fix issue with secure http connections not working consistently, often associated with use of Let's Encrypt certificates.
Compiler Changes
Fix an issue with the resource compiler that caused warnings to be generated when compiling menu2 resources.
Improve glance / background app type warning conditions to provide more accurate warnings.
Fix issue that monkeymotion tool will generate wrong bit depths animations when multiple devices that share the same resolution but different bit depths were selected as targets
Allow negative variables and function calls in expressions.
v3.1.9
General Changes
Require MacOS 10.9 to run the simulator and Monkey Motion
Ensure navigation data angles are always in the proper range
Fix incorrect Eclipse plug-in link in the Getting Started section of the Programmer's Guide
Fix datafield images in UX Guide Appendix
Add support for the Edge® 130 Plus, Edge® 1030 Plus, and the MARQ™ Golfer
Add support for Venu Mercedes-Benz® Collection
Fix issue causing y4m files to not be selectable as an alpha channel filter in the Monkey Motion UI tool
Set the conversion settings in the settings window when loading a .mmm using File > Load in the Monkey Motion UI tool
Prevent web request callbacks from being sent to the wrong callback
Update errors in documentation
Add Media.stopPlayback()
Add System.isAppInstalled()
Add Graphics.FONT_GLANCE_* enumerators for glance fonts
Fix an issue that would crash an app when receiving a JSON response that is too large to be parsed
Fix widgets not being able to access Position module when running as a Glance
Fix an issue that caused the Activity::Info::maxCadence to match averageCadence on many devices
Fix issue found in devices that support live glance updates where it can not support more than 4 widgets in the glance mode
Simulator Changes
Enable simulator support for glances on the fr245, fr245m, and fr945
Fix an issue with the obscurity value for the top field in the four field layout on approachs62
Compiler Changes
Remove compiler check on PRG size limits when building an app for RunNoEvil testing
Fix IQ file export bug, which can occur when exporting an app that has barrel dependencies that contain annotated subcomponents
Automatically generate an image palette of 256 colors or less for 16-bit color devices. This can be disabled by adding a automaticPalette attribute to the bitmap definition with the value "false". Palette reduction for 16 and 64 color devices can be enabled by setting the value to "true"
v3.2.0
General Changes
No Changes
Simulator Changes
No Changes
Compiler Changes
No Changes
v3.1.8
General Changes
Update minimum firmware versions for multiple APAC product variants.
Simulator Changes
No Changes
Compiler Changes
No Changes
v3.1.7
General Changes
Reduce memory consumption of member variables initialized to primitive types.
Update ERA viewer to only fetch crash logs for the most recent app version.
Fix issue that prevented the Connect IQ Plugin from working with SDK versions prior to 3.1.0.
Add WatchUi.cancelAllAnimations() to cancel animations started with WatchUi.animate().
Fix incorrect Lang.StorageFullException being thrown for Media apps.
Fix Media.CacheStatistics.capacity reporting the incorrect size.
Update BLE makeWebRequest to always provide response bodies no matter the http status code.
Fix an issue that caused position information to drift over time.
Increase watch face memory limit to 512K for vivoactive® 4 / 4s.
Add support for the Approach® S62.
Add support for the tactix® Delta Sapphire.
Simulator Changes
Move Glance View option from the Simulation to the Settings menu, and treat it like a device setting.
Update Glance View to re-launch the app as a widget when the glance for the active app is selected.
Enable isGlanceModeEnabled flag support.
Fix invoking onLayout() for each visible data field.
Fix watchface memory on vivoactive® 4 / First Avenger / Darth Vader™ to match the actual device.
Update power mode handling to not initially enter low power mode when starting a watch face. It is now up to the developer to explicitly toggle the power mode via the menu.
Compiler Changes
Fix bug that caused duplicate init method fields to be added to class definitions.
Fix a bug in the MonkeyMotion entry point, which caused a Null Pointer Exception to be thrown if an output file was not provided and the video file was just a filename (i.e., the file had no absolute / relative parent path associated with it).
Fix MonkeyMotion bug, which could potentially throw a divide by zero exception when processing a GIFs encoded delay rate.
v3.1.6
General Changes
Add support for the Garmin Swimâ„¢ 2.
Update minimum firmware and supported CIQ versions for the vivoactive® 4 / 4s, Venu™, and Edge® 130 / 520+ / 820 to support CIQ 3.1.
Add support for GPSMap 66 / 66i APAC.
Add support for Legacy Saga series devices.
Fix a bug that caused properly urlencoded strings to be cut short at the first triplet in the string.
Fix an issue that caused onLayout to be called for a view when the view on top of it in the view stack was popped.
Fix a bug where onPartialUpdate would continue to be invoked after a watch face had crashed.
Fix potential random app crashes when invoking onHide/onUpdate.
Update ERA viewer to show all known crash reports for each app across all app versions.
Simulator Changes
Enable widget glance support for MARQâ„¢ series devices.
Update data field layouts for the vivoactive® 4 series and Venu™ to better match the device.
Fix an issue that prevented the simulator from launching apps when TMPDIR was on a case-sensitive file system on MacOS.
Fix a bug where app crashes can cause the simulator to shut down.
Fix a bug where calls to requestApplicationWake() would crash the simulator.
Fix a bug where the map controls were in the wrong location on the edge 530.
Update Menu2 title draw area for fenix6 devices to be correct.
Fix a bug where progress bars would not update.
Compiler Changes
No Changes
v3.1.5
General Changes
Add support for the MARQâ„¢ Adventurer and MARQâ„¢ Commander.
Update minimum firmware and supported connect IQ version for the vivoactive® 3 / music / LTE devices
Update minimum firmware and supported connect IQ version for the MARQ™ and fenix® series devices.
Fix MapTrackView.setMapVisibleArea to update the map everytime it is called.
Add new DeviceSettings API isGlanceModeEnabled to determine if widget glances are enabled.
Simulator Changes
Fix issue that prevented WiFi/LTE connection info from being provided on devices that did not have audio content provider app support.
Fix a few simulator crashes that can occur when pairing BLE sensors.
Fix incorrect data field layouts for the GPSMAP® 66 and 86 devices.
Fix issue with fenix® 6 series fonts being slightly different from device.
Fix incorrect supported connect IQ API version listed for the vivoactive® 4 / 4s and Venu™.
Compiler Changes
Fix a crash that can occur in when compiling an animation from a GIF with frame delays set to 0.
Fix the app memory limit check for background / glance apps, which should not be checked when a device does not support the app type.
v3.1.4
General Changes
No Changes
Simulator Changes
Add support for showing the current screen position of the cursor in the status bar.
Fix a font selection bug in simple data fields where a text font would be chosen if a number contained a minus sign.
Fix a bug on mac where the simulator would crash if you completed a 24-hour screen burn-in simulation.
Fix a bug where memory limits were not set correctly for widget glances.
Fix an issue that onLayout isn't invoked for data fields, also disabled the Force onHide menu when running a data field, as onHide will never be invoked for it.
Compiler Changes
Fix null pointer exception seen when using automatic build with a project using antialised custom fonts.
v3.1.3
General Changes
Add device support for the vivoactive® 4 and 4s.
Add device support for the Venuâ„¢.
Add device support for the fenix® 6 series.
Add device support for First Avenger and Captain Marvel.
Add support for AMOLED burn-in protection for watch faces.
Add support for widget glances.
Add the new Application.loadResource() API to allow background processes to load resources.
Add era and era.bat to easily launch retrieve crashes for an app using the command line.
Simulator Changes
Fix an issue that caused the simulator fail connecting to BLE devices after restart.
Fix a bug where using exitTo would not shut down the current app before launching the target app.
Fix issue that would cause an app crash when switching between media player modes.
Fix bugs that could cause the simulator to lock-up.
Update edge520plus, edge530 and edge830 data field layouts to match devices.
Increase audio content provider app max memory to 512kb for multiple devices.
Fix screen and button position issues with the Edge 130 device configuration.
Distribute MSVC 14 runtime libraries with Windows simulator builds.
Fix inconsistencies between memory limits on devices and the simulator.
Fixed a simulator hang issue when closing.
Fix menu2 icon positioning on 218x218 resolution devices.
Fix an issue that eclipse console no longer display information after switching to "Glance View" or any app restart.
Fix an issue that Sim can't connect to BLE device after restart.
Compiler Changes
Fix an issue that prevented the provided TextArea fonts from being used.
Fix bug in the resource compiler, which prevented bitmaps from being defined within drawable-lists if the bitmap's x,y coordinates were not defined in the xml.
Add a compiler error if an app that supports backgrounding won't fit within a background app's memory limitations.
Add a compiler warning if backgrounding support is specified and no :background annotations are encountered.
Add a compile time error when duplicate declaration flags (ex: static static var foo;) are used.
Add a "scope" attribute support for all resources to allow access for background and glance processes.
Convert the error for no animation support to a warning allowing developers to use a runtime check instead when updating older apps (with low minimum sdk versions) to use animations.
Add compile time error in the scenario that a developer attempts to build an app for a device that is not supported in the project's manifest file.
v3.1.0.beta3
General Changes
Fix issue that caused System.println() and System.println() to stop working after a background process had exited.
Fix bug in the RunNoEvil framework, which was causing only a single test to be executed when the developer chose to execute more than one unit test.
Apply special handling for requests to clear buffered bitmaps to transparent.
Fix a thread safety issue.
Fix a bug with ActivityRecording auto-start that would cause a new session to be created unexpectedly after a session that used auto-start was saved or discarded.
Overhaul Animation APIs and introduce new WatchUi.Layer class
Add DeviceSettings.systemLanguage to get the language being used by the device or simulator.
Update the Media.CacheStatistics.size / capacity API documentation with the correct return type.
Fix an issue that prevented some background events from running.
Fix an issue that caused an unexpected type error when passing a MapMarker to MapView::setMapMarker().
Add SDK version to "Help > About" in the ERA Viewer.
Allow marking a crash report as new again in the ERA Viewer.
Allow drag-and-drop sorting when managing apps in the ERA Viewer.
Add a drop-down box to choose a sorting method for crash reports in the ERA Viewer.
Sort newly downloaded apps by name in the ERA Viewer.
Add menu option to reset the data stored by the ERA Viewer.
Do not require loading a project's manifest file to select devices in the animation converter.
Give the Eclipse plug-in's debugger the ability to open Monkey Barrel source code when directly linking to a barrel project.
Introduce a script that converts GIFs to a YUV video format and attempts to apply some optimizations, which results in a smaller encoding of the video file.
Fix alpha transparency issues seen when rendering transparent bitmaps on 8-color devices like the Forerunner® 45.
Fix non-square animation playback error.
Add support for the Edge® 530, Edge® 830, Forerunner® 245, Forerunner® 245 Music, Forerunner® 945, and Forerunner® 45.
Fix an issue that prevented some background events from running.
Reduce memory required to load app settings.
Fix an issue that caused an unexpected type error when passing a MapMarker to MapView.setMapMarker().
App Storage now supports saving Dictionary and Array objects that contain resources such as images and animations.
Simulator Changes
Fix apparent simulator hang seen when using too many calls to System.print() or System.println().
Remove random GPS quality changes when simulating FIT data.
Fix issues handling of swipe events when using picker views.
Update Battery Status dialog to set the focus to the Okay button when the user is editing the the battery percentage value and presses enter.
Fix an issue that caused auto-lap functionality to be enabled when simulating or playing back FIT data.
Update device images to avoid showing draw area behind device.
Fix issues escaping strings sent to the debugger output window.
Disable unsupported options under "Settings > Connection Type" when loading a new device.
Avoid clearing app storage on device change. Instead, clear the requested background events so they do not run on devices that do not have backgrounding support.
Fix a crash that occurred when downloading jpeg image files via makeImageRequest.
Edit Persistent Storage dialog refactored to support resource preview and switching to use tree list for object exploration.
Persist simulator settings across runs.
Fix issue with Edge® 130 fonts.
Compiler Changes
Fix bug in the MonkeyMotion video encoder, which caused pixels to be cut off if the resolution was not a multiple of 4.
Fix bug in the opcode generation logic of a try / catch statement when a Toybox exception is being caught.
Reduce memory consumption of fonts that have the antialias attribute set to true for devices that do not have the ability to render anti-aliased fonts by overriding the attribute. These devices include the the Forerunner® 45, the Forerunner® 920XT, and the Edge® 130.
Fix bug in variable initialization checking for switch statements containing for loops.
v3.1.0.beta2
General Changes
Fix a bug that caused the ERA tool to not find entered developer IDs.
Simulator Changes
Improve simulator ProgressBar to wrap text and look more like what is seen on a physical device.
Fix a bug where the time simulator was not launchable.
Fix a bug where exitTo() calls would crash.
Compiler Changes
No Changes
v3.1.0.beta1
General Changes
Add support for new view transition SLIDE_BLINK.
Add API for accessing ANT+ shifting sensor data.
Fixed issues with automatic hash resize allocating too much memory when growing and never shrinking.
Add API to enable receiving push notifications.
Add API to enable watch apps to sync data over Wi-Fi.
Add statistics functions mean, mode, stdev and variance to the Math module.
Update dc.drawBitmap() to check whether the bitmap parameter is of an accepted type, and throw an UnexpectedTypeException if it is not.
Update Position.Info.altitude to always use GPS altitude.
Add new encodeNumber() and decodeNumber() methods to ByteArray.
Add API to enable animation playback.
Add API to enable communcating with BLE devices.
Add API to read ANT+ manufacturer pages.
Add new Toybox.Graphics.fitTextToArea() API to generate wrapped strings.
Allow native UI pages to be set as the initial view.
Allow switchToView() to work between native pages, and from non-native to native pages.
Add new MonkeyMotion tool for compiling animation resources.
Add new tool to allow developers to view crash logs for their published apps from the Connect IQ ERA.
Add Attention module API to support custom tone playback similar to existing custom vibration processing.
Add WatchUi.TextArea API to allow defining a specific screen area in which to draw wrapped text.
Simulator Changes
Add ability to select target app to receive background events.
Clear application storage when switching devices.
Wrap Menu2 title text instead of truncating.
Fix issue that prevented a back behavior generated from a swipe event from popping the media sync view.
Fix issues that prevents back behaviors generated from swipe events from getting to the Menu2InputDelegate or the delegate associated with a ProgressBar.
Fix issue that caused fonts to anti-alias with incorrect colors on 16 color products.
Fix an issue that caused a symbol not found error when calling setKeyToSelectableInteraction() from View.onShow().
Fix version in 'About' page to reflect the SDK version, rather than the device version.
Compiler Changes
Eliminate multiple dc.getWidth() and dc.getHeight() calls from generated layout and drawable list code.
Add support for relative positioning in layouts.
Add support for
<text-area>resources in layouts.Fix bug in the resource code generation logic when attempting to relatively position text horizontally in a layout.
Fix a bug that caused entry classes that are not global to be unresolvable by the Monkey C compiler.
Implement basic resource compiler improvements, including using the globals scope ($) whenever possible in generated code, correcting the logic for centering text in a layout, and improving selectable attribute error processing.
Improve the code generated by the resource compiler by removing unnecessary calls to dc.getWidth() and dc.getHeight() when the device is known at compile time.
Generate correct private variable name when a local variable name collides with a member variable.
Fix bug in processing of language-specific resources where languages that are not supported by the main application are being pulled into a generated PRG when an included Monkey Barrel supports the language.
Fix bug in the barrel builder that caused language specific resources to not get packaged in the barrel when exported.
Add byte array validation at compile-time for primitive types.
Allow paths to contain "+" when compiling files.
Fix incorrect redefinition of label errors generated by the compiler.
v3.0.11
General Changes
Fix an issue that caused an unexpected type error when passing a MapMarker to MapView.setMapMarker().
Reduce memory required to load app settings.
Add support for the Edge® 530, Edge® 830, Forerunner® 245, Forerunner® 245 Music, Forerunner® 945, and Forerunner® 45.
Simulator Changes
No Changes
Compiler Changes
No Changes
v3.0.10
General Changes
Add support for HTTP Live Stream content download.
Add Time.getCurrentTime() to allow getting a Moment from GPS time or the real-time clock.
Add ability to specify auto-lap entry and exit lines when creating an activity recording.
Increase serialized object max size to 32 KB.
Add new ActivityRecording.SPORT enum values.
Add the ServiceDelegate.onActivityCompleted() method that gets called when an activity is completed.
Add Media.setAlbumArt() to allow an app to set the album art for the currently playing song.
Add support for the MARQ™ series, the vivoactive® 3 Mercedes-Benz® Collection, and the vivolife.
Simulator Changes
Add ByteArray and Char support to Persistent Storage Editor.
Fix a crash that could happen when switching between devices when simulating music apps.
Compiler Changes
Fix a bug where language-specific resources were not getting packaged into barrels.
v3.0.9
General Changes
Fix bug where app settings were not being translated correctly for some languages.
Update min firmware version for Rino 7xx, Oregon 7xx, and GPSMAP® 66.
Fix a bug in StringUtils.charArrayToString and utf8ArrayToString that caused the resulting string to have length 0.
Fix issue that prevented errors during media app startup from being reported.
Fix argument parsing for monkeydo.bat to handle quoted paths properly.
Update minimum firmware version for Vivoactive3 Music, Forerunner 645 Music APAC, D2 Delta PX APAC
Simulator Changes
Fix zoom +/- during setMapVisibleArea() for MapTrackView.
Update media player views to work with touch devices.
Compiler Changes
Automatically generate an image palette when compiling images that have bitmap definitions with no colors in the palette element.
Fix null pointer exception bug that could potentially be generated while writing out FIT contribution JSON data.
v3.0.8
General Changes
Add support for the vivoactive® 3 Music LTE device.
Fix 'System Error' seen when calling Application.Storage.setValue().
Generate informative error messages for permission issues.
Fix crash when running an audio content provider app on a device running a CIQ version prior to 3.0.3.
Fix graphics issues on map overlays.
Fix an issue where exceeding the maximum allowed points for Graphics.drawPolygon could cause unexpected behavior.
Simulator Changes
Update edge device images to properly expose screen edges.
Update Descent MK1 minimum firmware version and add support for Connect IQ 3.0.
Update data field sizes in simulator to match actual devices.
Add support for configuring LTE connection state
Fixed the Activity Monitor dialog to apply changes when the Apply button is clicked.
Compiler Changes
No Changes
v3.0.7
General Changes
Fix some API and programmer's guide documentation errors.
Add support for the APAC variant of the D2â„¢ Delta PX
Simulator Changes
Fix an issue where touch events for data fields on the Edge® 820 device were not being generated.
Fix an issue that caused buttons to be processed incorrectly for some devices when clicking them in the simulator.
Fix font sizes used by simulator to more closely match those used by devices.
Fix a crash in the "now playing" media app view.
Fix "Audio Provider" menu being disabled when media apps are being run in certain modes like the "now playing" view.
Fix a crash that can occur when syncing large playlists in music apps.
Fix incorrect Application.Storage limit for some music products.
Compiler Changes
Improve the performance of the Monkey C compiler by using a less expensive prediction mode when possible.
v3.0.6
General Changes
Fix issue that caused mangled private symbol names to appear in the Eclipse debugger.
Add support for viewing byte arrays in the debugger.
Fix an issue with Position.createBoundingBox() that would allow it to return garbage values if the input array was empty. It will now return null.
Fix an issue where GPS position timestamps in Position.Info were incorrect.
Reduce memory/object usage when reading app settings from storage.
Simulator Changes
Add time simulation dialog to for time related manipulation, only supported for watch face app.
Fix an issue where the activeMinutesWeek fields of the ActivityMonitor::Info structure were zero when they should not have been.
Fix an issue that caused Layout submenu to get invalid entries in some cases.
Add 'Apply' button to simulator editor windows.
Fix incorrect memory limit for watch faces on the 645m.
Compiler Changes
No Changes
v3.0.5
General Changes
No Changes
Simulator Changes
Fix miscellaneous issues causing the simulator to lock up or crash.
Compiler Changes
No Changes
v3.0.4
General Changes
Add new System.BUTTON_INPUT_* values for detecting device buttons available.
Prevent device lock-up when calling Communications.cancelAllRequests().
Fix an issue that could cause the device to restart when calling Communications.makeWebRequest() when connected to wifi.
Send Communcations.UNABLE_TO_PROCESS_IMAGE instead of crashing when an image cannot be processed when downloading with makeImageRequest().
Simulator Changes
Fix an issue where the Background Events dialog displayed an entry with no name.
Fix version in 'About' page to reflect the SDK version, rather than the device version.
Improve error messages with file context to use canonical paths instead of absolute paths.
Escape System.print() commands that contain \r so they show up in the plug-ins console window.
Fix the calculation of emulated peak memory usage for 1.x devices.
Fix issue causing symbol not found errors to appear when launching non-3.0.0 devices in the simulator.
Compiler Changes
Improve checks for uninitialized variables and missing return statements.
Add character location information to syntax-related compiler errors / warnings.
Add device name and Connect IQ version to build warnings along with part number.
Improve duplicate symbol definition error message that is generated when such a scenario is detected by the compiler.
Fix the code generated by the resource compiler when COLOR_TRANSPARENT shapes are defined in a drawable-list with a border.
Improve token recognition error reporting by being sure that the file name where the error was found is appended to the error message.
Fix bug causing warnings to be suppressed when building a Monkey Barrel project when that project contains no errors.
Fix Menu2 XML processing bug, which caused the ordering of menu items to not always be kept within the generated Menu2.
Add support for Drawable resource references within the drawable-title node of Menu2 XML, which is already supported programatically.
Fix bug in launcher icon overriding logic, which caused the icon to not be overridden.
Expand the Monkey C enum capabilities by allowing them to be initialized with expressions, strings, longs, floats, and doubles (anything that can initialize a constant variable).
v3.0.3
General Changes
Add support for Estonian, Latvian, Lithuanian, Romanian, and Ukrainian.
Update minimum firmware versions for APAC CIQ 2.4.x devices.
Add support for the GPSMAP® 66.
Add Position.createBoundingBox() API.
Fix Symbol Not Found error in MapPolyline.clear() function.
Return Communications.UNABLE_TO_PROCESS_MEDIA when a downloaded song cannot be processed by the system.
Simulator Changes
Change the call frequency of onUpdate() to 1Hz for MapView View objects.
Compiler Changes
Generate compile error for calls to protected constructors made from scopes that should not have access.
v3.0.2
General Changes
Fix an issue that prevented app name from being found when the app name resource was not overridden for the selected language.
Simulator Changes
Add ability to read/write Long/Double values in App Storage editor.
Fix issue causing symbol not found errors to appear when launching apps on non-3.0.0 devices.
Fix a bug that caused the eclipse console to stop updating after after language change or app restart.
Update "Reset App Settings" menu item to "Reset All App Data" and update the functionality to remove all app data for the current app.
Fix an issue where the initial data field layout did not have the correct obscurity.
Fix an issue displaying devices in landscape mode on Linux.
Compiler Changes
Add support for Long/Double properties to the resource compiler.
Fix a bug in processing of escaped char literals.
v3.0.1
General Changes
Fix device crash that could happen when an app fails to load properly
Fix Toybox::Activity::SWIM_STORKE_BUTTERFLY enum element name
Prioritize BBI data from a strap over that from an onboard sensor. Filter out unreasonable data values.
Add support for using ByteArray as the key in a Dictionary
Fix a resource leak when cancelling wifi web requests
Prevent device crashes that can occur if the wifi connection drops during a web request
Add Application.AppBase.onAppInstall() and onAppUpdate() to allow code to run when an app is installed or updated
Add Media.startSync() to allow audio content provider apps to request an immediate sync
Add "Background:" prefix to messages generated by background processes
Allow saving bitmap resources in Application Storage. Note that for audio content provider apps, downloaded images count against allowed media download size not overall app storage size. For all other app types the existing application storage capacities are enforced.
Fix a bug that allowed classes with private initialize methods to be called from outside the class
Add Media.ContentDelegate.onRepeat() function to support repeat states being controlled by the application
Simulator Changes
Fix bug on Linux where the menu accelerator(shortcut) would not respond after a device is loaded
Fix a crash that occurs when closing the simulator via the Dock in macOS
Move map marker labels above the icon in map views to match device behavior
Fix a bug where onLayout would be called twice when running data fields
Fix a bug where media app crashes were not detected if they happened during a sync
Add Http Traffic Dialog for web request monitoring. This can be accessed via the File menu under File -> View HTTP Traffic
Fix a bug where the crash logo would be displayed if an app called System.exit()
Add Hebrew language support to Forerunner® 735XT
Fix a bug where 'print' logs for messages generated from ServiceDelegate or woken background apps would not be displayed in eclipse console
Fix text rendering in map views
Fix flickering while rendering MapView
Compiler Changes
Add a compiler warning when attempting to reference a private symbol (ex: var a = :mIAmPrivate), which do not result in looking up the scope of the symbol.
Update the Monkey C grammar to require catch / finally statements be attached to try statements, which is consistent with other languages
Generate compile error for calls to private constructors made from scopes that should not have access
Add a check to generate compiler errors when code is written using ByteArray for devices that do not support them
Add runtime checking to verify generated initialize methods are never called with arguments
Fix build warning for Logger.initialize() seen when compiling unit tests.
v3.0.0.beta3
General Changes
Add support for CustomMenu menu types
Add new APIs for apps to manage their persisted content.
Add new Cryptography.createPublicKey() API to allow creating a public key directly from a byte array.
Fix a potential system crash when decompressing certain image (e.g. single color) received via makeImageRequest.
Fix multiple app memory leaks when running audio content provider apps.
Generate relevant error message for serialization failure.
Add serialization support for byte arrays. This allows them to be written out as values to the object store.
Simulator Changes
Improved the user experience of launching media apps within the simulator by adding a media mode setting option that allows for easily switching between modes without having to relaunch the app each time. Additionally, bug fixes were made that now allow media apps to be debugged using the Eclipse debugger.
Fix a bug that prevented Menu2 instances from working when they did not have at least one menu item after initialization.
Enable tone support for Edge® 130.
Update the simulator image for the Edge® 130.
Fix simulator crash when exiting with active http requests.
Add new buttons in memory view to expand or collapse all items in the view.
Compiler Changes
Updated the Monkey C grammar to allow left hand side values that invoke methods (ex: getSomething().someVariable = 1;).
v3.0.0.beta2
General Changes
Fix issue where updates for ANT listeners were sometimes not being sent.
Fix memory leak when using the new Lang.ByteArray type.
Add Position.Location.getProjectedLocation() to get a Location given a distance and bearing from another Location using a flat Earth model.
Fix issue where private ANT network channels couldn't switch frequency or msg period.
Add ByteArray.equals() for comparing ByteArray objects.
Add Cryptography.createPublicKey() API for creating a public key object from a byte array.
Simulator Changes
Show the ContentDelegate and ContentIterator for audio content provider applications in the memory viewer.
Fix screen capture not working for map views.
Add ByteArray support to the memory viewer.
Add support for the "Map Track" map view type.
Fix a bug in map views that prevented clearing the view.
Fix some threading issues with map views that could cause the simulator to lock-up or crash.
Clean up private variable names in the memory viewer.
Fix polyline segment breaks when drawing a polyline with more than 10 vertices in a map view.
Fix a bug where the simulator would freeze if attempting to draw a polyline with more than 20 vertices in a map view.
Compiler Changes
Fix a bug that caused symbols to be name mangled if the symbol matched another symbol within a class that had been defined as a private member.
Fix NullPointerException bug seen when specifying a Jungle file at the command line when the Jungle file has no parent path (relative to the current working directory).
Known Issues
Known issues are tracked in the Connect IQ forums.
v3.0.0.beta1
General Changes
Add support for the following new features (see API documentation and Programmer's Guide for details):
Cartography/Map views
Audio Content Provider Applications
Cryptograpy APIs
Byte Array object type
ANT+ Bike Radar, Bike Speed, Bike Cadence, and Bike Speed+Cadence sensors.
Heart Beat Interval data (BBI)
Communcations via WiFi (Audio Content Provider Applications only)
Update FR 645/645M and Edge 1030 CIQ version to 3.0.0.
Add support for text/plain MIME type with the function Communications.makeWebRequest.
Update templates and samples to use module names instead of aliases.
Add Gregorian.DAY_ and Gregorian.MONTH_ enumeration values.
Add firstDayOfWeek to System::DeviceSettings.
Add ability to intialize classes which extend AntPlus.Device without having a listener.
Add an option to ActivityRecording.createSession that allows the pool length to be configured for a session. This is only used for sessions configured to :sport=>SPORT_SWIMMING and :subSport=>SUB_SPORT_LAP_SWIMMING.
Add additional callbacks to the DataField class for workout step and multisport activity leg transitions.
Improve application and vm error logging. Formats output as yml with the application name, filename, uuid, store version, the device part number, and firmware version.
Allow all application types to enable the Position permission. The enableLocationEvents() method is still only available to widget and application types. Some sources of device location that may have previously provided device location have been restricted from providing valid data unless the Position permission has been enabled.
Improve synchronization of GPS callbacks with the system state.
Fix an issue in Dc.drawPolygon where not all edges were fully rendered.
Add support for subtracting a Time.Duration from a Time.Moment via moment.subtract(duration).
Simulator Changes
Add simulator support for firstDayOfWeek setting.
Add simulator keyboard mappings for FIND (F), ZOOM_IN (I), ZOOM_OUT (O), PAGE (P) and MENU (M), KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_ENTER, and KEY_ESC.
Add controls for WiFi connection to the Simulation menu.
Fix simulator ANT+ sensor connection issue.
Add support for reading HRV/BBI data from FIT files.
Simulate HRV/BBI data based on simulated heart rate.
Add ability to toggle battery charging flag from simulator.
Fix a crash that could happen when attempting to exit the simulator while running code that used the BikePower AntPlus API.
Add support to pop up Memory Analyzer window when double clicking the memory usage in the simulator status bar.
Runtime errors in onEnterSleep and onExitSleep are no longer ignored in the simulator.
Compiler Changes
Add ability to create private constructors.
Added invalid symbol checking feature to the Monkey C Compiler. Pass --Eno-invalid-symbol at the command line to make the compiler report this as a warning instead of an error.
Fix a bug in the code generation of the background process, which was causing excluded annotations to not be excluded.
Improved resource compiler code generation to allow for the use of WatchUi.* and Graphics.* in resource files.
Improve compiler's ability to detect invalid application names.
Add constant folding optimization for primitive char operations.
Improve error checking for invalid enum initialization.
Improve error messaging when packaging an app.
Add support to accept file paths with '@' in Jungles.
Add the debug.xml generated for each device build folder into exported IQ files.
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.4.9
General Changes
Add support for the D2â„¢ Delta series devices
Simulator Changes
None
Compiler Changes
None
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.4.8
General Changes
Add support for the Edge® 1030, Bontrager and the Edge® Explore
Update minimum firmware version for the vivoactive® 3 music and Forerunner® 645 / 645 music
Fixes an issue that would make it appear as though the Application.Storage module was available on devices without support
Improve heap performance
Simulator Changes
None
Compiler Changes
None
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.4.7
General Changes
Add support for the fenix® 5 Plus and the vivoactive® 3 Music
Remove the position permission requirement from the currentLocationAccuracy field
Fixes a bug where error codes from wifi requests would not be passed to the web request callback in some cases.
Simulator Changes
None
Compiler Changes
None
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.4.6
General Changes
Add support for the Edge® 520 Plus APAC
Add support for the Edge® 130 APAC
Allow all application types to enable the Position permission. The enableLocationEvents() method is still only available to widget and application types.
Restrict Acitivy.Info device location to require the positioning permission.
Update vivoactive APAC to CIQ version 1.4.2
Simulator Changes
None
Compiler Changes
None
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.4.5
General Changes
Add support for the Edge® 520 Plus device
Add support for the Edge® 130 device
Simulator Changes
None
Compiler Changes
Fixed issue that prevented RunNoEvil testing from being usable on epix device configurations
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.4.4
General Changes
Show correct stack trace when an Exception is thrown from an invoked function.
Update documentation for the day_of_week and month fields of Gregorian.Info to match the implementation.
Fixed a bug that could corrupt the data stored in Application.Properties.
Fixed an issue that could cause the device to crash in rare cases.
Fixed an issue that could corrupt the heap.
Fixed an issue where an app incorrectly reported it was out of memory.
Simulator Changes
Fixed simulator bug where boolean parameters were being sent as True/False instead of true/false.
Compiler Changes
None
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.4.3
General Changes
Fix a heap corruption issue in the virtual machine.
Update minimum firmware versions on 1.4.x devices.
Add CIQ Support for Forerunner® 645 / 645m APAC devices.
Simulator Changes
Fix crash logo to not appear when app is terminated through System.exit().
Compiler Changes
None
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.4.2
General Changes
Fix execute permissions bug for shell scripts.
Add support for Descent® Mk1 APAC.
Improve Activity Tracking sample to use a more standard widget flow.
Add support for the Forerunner® 645 / 645m devices.
Add file playback support for course files to data simulation.
Fix bug found when computing maximum speed when parsing certain types of FIT files.
Restore access to Sys.getSystemStats() from RunNoEvil tests.
Improve out of memory error handling of JSON responses.
Fixed issue that could cause animations to stop if another application was opened.
Update Position.info to use UTC time as the standard format.
Fix bug in arc drawing of small angles.
Improve web request cancellation behavior to indicate with a callback that the request was cancelled.
Fix file lookup bug in debugger.
Make various documentation improvements.
Update minimum firmware version for Approach® S60.
Update minimum firmware version for fenix® 3 and fenix® 3 HR.
Simulator Changes
Fix race condition scenarios causing the simulator to crash.
Add support for timers to the memory viewer. If one or more timers are running they will appear in the Timers section.
Compiler Changes
Add multi-line instruction support within Jungle files.
Detect and report when an invalid device is specified for a build.
Add error messaging if missing a default translation string.
Add error messaging when referencing a resource that does exist.
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.4.1
General Changes
Reduce memory usage of some API elements.
Improve error handling when invalid values are provided to drawText justification.
Fix bug that could cause failures when longs or doubles were used as Dictionary keys.
Decrease the memory usage of Dictionaries with very few elements.
Fix bug that could cause a failure with constants in rare circumstances.
Fix bug with runtime defrag of Application.Storage data.
Fix potential device crash that could happen after an application crashed due to attempting an out of bounds array access.
Add an identifier that uniquely identifies an application install based on the device, developer, and application.
Fix issue when requesting downloadable content and specifying a Content-Type header
Clean up several documentation issues.
Simulator Changes
Display Connect IQ crash icon when applications crash.
Correct bugs and add improved functionality to the memory viewer.
Add option to clear all applications from the simulator. Previously run applications are retained in the simulator and may continue to run background processes. This option removes those applications.
Package msvc dependent dlls to eliminate dependency on MSVC 12 runtime install.
Compiler Changes
Sanitize file names including ~ to prevent issues with short filenames.
Detect and report errors when too many global objects are created.
Jungle files can link to barrels as source.
Manifest file must be specified with the project.manifest property within an app's jungle file.
Improve cleanup of Monkey Barrel artifacts
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.4.0.beta1
General Changes
Adds "as" to the keyword table in the programmer's guide.
Allow rescheduling of a momentary background services timer after app startup:
The last temporal event time is reset on application and widget startup if the event was set to occur at a specific moment. This allows a new timer to be scheduled immediately without risking an exception.
Background.getLastTemporalEventTime() will return null for applications and widgets on startup, even if the app has recently had a temporal event triggered.
Fix issue where custom FIT records could no longer be written after that applications background service ran during the session.
Updates the Strings sample to add all supported languages to its manifest.
Add a new Application.Storage module:
A new object store that reduce app's memory footprint and allows for more storage space.
The existing getProperty(), setProperty(), deleteProperty() and clearProperties() APIs have been deprecated.
For more information, please refer to the Programmer's Guide and the ApplicationStorage sample.
Add missing datafield layouts to vÃvoactive® 3:
Update Java requirement to 1.8.
Add pressure APIs to Activity.Info for use in data-fields:
Pressure sensor support calibrated to sea level.
Add support for ambient (local) barometric pressure and unfiltered ambient (local) barometric pressure.
Fix incorrect rendering of arcs in Connect IQ, where drawArc() will draw incomplete arcs.
Programmer's Guide and API documentation improvements:
Update background api documentation to be supported by all app types.
Fix bug in makeWebRequest example in api docs.
Document dynamic handles in new heap
Simulator Changes
Gregorian.utcInfo() is no longer available to 1.2.x devices within the simulator to correctly emulate epixâ„¢ firmware capability.
Fix font names for Roboto Condensed for Edge® 1030.
Update ConfirmationDialogue to support vÃvoactive® 3 / Edge® 1030.
Added support for the FE-C ANT+ profile:
Support bi-directional resistance control for ANT+ bike trainers, indoor cycling (IC) bikes and simulation systems (displays).
Support for access to cadence, ground contact time and balance, stride length and more.
Allow for empty web responses.
Heap changes for TVM:
Add support for dynamic handles to extend the number of objects in Monkey C to 65536.
Fix several instability issues in the heap that would result in application crashes under certain memory usage conditions.
Fix console messages to be separated by newline.
Compiler Changes
Made resource compiler validation stricter. Invalid resources will now result in an error as opposed to a warning.
Fix issue where if a JSON resource is encountered and a target device did not have JSON resource support, no error message was emitted.
Added support for Jungles files:
Supports the ability to write custom build instructions for a Monkey C Project.
Support for definitions per-device or per-family paths to source and resource files.
Exclude portions of source code with annotations, or specify Monkey Barrels.
For more information, please refer to the Programmer's Guide.
Added support for Monkey Barrels:
Support to create libraries containing source code and resource information that can be shared.
Adds support for code sharing and re-usability.
For more information, please refer to the Programmer's Guide.
Allow trailing comma for array/dict/enum declarations.
Fix line number reporting for 'else if' statements.
Add support for :debug and :release annotations, when the compiler is instantiated in debug mode the :release annotation will get compiled out and vice versa.
Return the manifest file that the compiler reads.
Update layout compiler to prevent reloading fonts.
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.3.5
General Changes
Added support for APAC vÃvoactive® 3 devices.
Added support for the Descent® MK1.
Added Vietnamese language support.
Fixed an issue where calorie data was being reported incorrectly.
Updated minimum firmware versions for the Edge® 1000 and Oregon® 7xx.
Simulator Changes
Added ON_BACK behavior support for swipe gestures in menus. If an ON_BACK behavior is issued by a swipe, pop the active menu. Emulates the current device behavior under these circumstances.
Compiler Changes
None
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.3.4
General Changes
None
Simulator Changes
Account for transparency when updating the palette for a BufferedBitmap.
Fixed transparency display issue with 1-bit custom fonts.
Compiler Changes
None
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.3.3
General Changes
Added support for the Edge® 1030.
Added support for the vÃvoactive® 3.
Updated the Approach® S60 to support Connect IQ 2.3.
Added behavior handling for swipe actions.
Fixed formatting of negative durations in datafields.
Fixed an issue which could cause variable corruption in certain cases.
Simulator Changes
Updated gesture handling to allow a swipe mapped to onBack to pop the current view.
Allow for empty web responses.
Compiler Changes
Fixed a bug where a resource would be loaded multiple times when using a layout.
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.3.2
General Changes
Added support for the D2â„¢ Charlie.
Updated the Approach® S60 watch face memory limit to 96KB.
Fixed a bug that prevented temporal events from running after exiting mass storage.
Fixed a bug where the incorrect number of bike lights was returned if the user removed a light.
Fixed bugs which could cause a device crash when fetching a font at runtime.
Fixed onPartialUpdate execution cost calculation error in regards to unused clipping regions.
Fixed errors in the API documentation.
Simulator Changes
Updated the default user profile birth year in the simulator.
Updated the JSON parser to better reflect the web request behavior of the devices.
Improved the general OAuth flow including:
The HTTP code is now more informative on Windows and macOS.
The timing when the callback is hit during redirects is more consistent with GCM.
Fixed a bug when handling percent encoded URLs.
Fixed a bug where data field height and width returned from the dc parameter to onUpdate() was incorrect.
Fixed a bug where complex data-fields would not respond to background color changes.
Fixed a bug where the push and pop view events executed in the incorrect order for confirmation page selections.
Fixed a potential bug with key handling within menus.
Compiler Changes
None
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.3.1
General Changes
Added support for the Approach® S60.
Corrected the watchface memory limit for the Fenix5 and Fenix Chronos.
Added backgrounding support for data fields.
Fixed bugs in the Analog sample including issues with the 1Hz update power budget and a bug where the second hand would never get drawn for non-1Hz devices.
Fixed bug where HTTP responses with no message body were not being handled correctly.
Fixed a bug where the Fenix Chronos launcher icon size was incorrect.
Removed unused function onBack() from the MenuTest sample.
Added Korean language support to the Oregon 750T.
Fixed bug in Picker sample where the picker arrows were being drawn in the wrong location.
Disabled the App Trials feature for watchfaces.
Disabled watchdog timer for the RunNoEvil Test Framework to allow for more complex tests.
Updated "Phone Connected" setting to now apply to web and download requests.
Fixed a bug where an OAuth message request caused a device crash when not connected to a phone.
Fixed a bug where an existing timer was not being deleted when a new timer was assigned to the old value without being stopped first.
Added Toybox.Math.ln api for natural logarithm of a value.
Fixed issues with ANT+ when starting / stopping applications.
Fixed a bug where CIQ data fields were causing a slowdown in performance during navigation.
Fixed a bug where the background process was terminated if a data field was launched.
Fixed a bug where ANT+ smart trainer power data was not available.
Fixed a bug which caused an app crash if a menu was pushed before setting the title of that menu.
Fixed a bug where incorrect callstacks could be reported in some scenarios.
Fixed a bug where globally referencing a menu view instance could cause some apps to crash.
Many fixes/enhancements to API documentation and Programmer's / UX guides.
Simulator Changes
Simplified memory status bar text to only show current vs. max memory. More detailed information has been moved to the memory window such as total memory and the number of objects being used.
Added dialog for watchface performance diagnostics to support 1Hz update feature.
Fixed issue selecting langauges on the Linux simulator.
Fixed bug where FIT files were not supported as downloadable content for some devices.
Fixed bug where the simulator would hang at startup in some cases.
Fixed a memory leak introduced when goal views are triggered.
Fixed bug where the simulator would not immediately drop out of low power mode when toggled off.
Added support for generating crash dumps in the Windows simulator, which will be stored in the DEBUG folder of the GARMIN directory.
Fixed issue where device settings were being cleared when re-launching an app from the plugin.
Added a new menu option in the simulator to disable HTTPS requirements for testing purposes only.
Fixed a bug preventing JSON requests from being enabled for Epix in the simulator.
Fixed an issue where some websites were not working with HTTPS on Windows.
Updated simulator to handle HTTP redirects in makeWebRequest().
Fixed an issue where using a NumberPicker view would crash the simulator.
Compiler Changes
Implemented a few syntax improvements:
Allow the use of 'L' to signify longs
Allow exponents to start with 0
Fixed bug where directory build exclusions were not excluding sub-directories.
Fixed a bug in switch statements where code blocks were required for fall-through cases.
Fixed a bug where various 64-bit integral constants could not be parsed including INT64_MAX / MIN.
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.3.0.beta1
General Changes
Add support for the following new features (see API documentation and Programmer's Guide for details):
App background services
Once-per-second watch face updates
Accelerometer data streaming and logging
IIR / FIR filters
App trial mode (preview)
Embedded JSON resources
Encrypted ANT channels
App debugging (requires Eclipse plugin)
Fix a bug in the HR History sample where invalid values could be used when constructing the graph.
Add support for the MonkeyC char, long and double types to object serialization.
Update SensorHistory to use barometric pressure instead of ambient pressure.
Fix bugs in SensorHistory where bad values could be returned if no valid data was present.
Fix SensorHistory to return Moment objects for OldestSampleTime and NewestSampleTime.
Fix SensorHistory to default the sample ordering to NEWEST_FIRST.
Fix a bug where data fields without labels could be drawn incorrectly.
Update String.toNumber() and String.toFloat() to return null if the conversion is not valid instead of issuing a system error.
Improve error recovery of corrupt settings / property data stored on the filesystem.
Overhaul API documentation to include more detailed descriptions, examples, links, and additional information.
Improved error logging and reliability that a call stack will be generated (if a debug build).
Bitmap resources can now be compressed by adding the 'compress="true"' attribute.
Improved argument count and address sanity checking when executing methods.
Fix issue where animation callbacks were unable to reset the animation.
Add method to Symbol class that allows for converting a symbol into it's numeric value. Symbol.toString() returns the string
symbol (<sym>)in Release builds will be returned, where<sym>is the integer value of the symbol. On development builds, a string of the actual symbol name should be returned.Fix issue where OAuth messages were not always passed back to the application.
Improved determinism of memory tracking within the heap to prevent small spikes in usage in certain situations.
Correctly enforce SensorHistory permission for applications built with a 2.3.0 compiler or greater.
Simulator Changes
Update FIT SDK to version 20.26.
Update ANT library to improve platform compatibility.
Improve stability of Memory Window and circular reference error detection.
Improved number picker simulation to better emulate functionality on devices.
Remove pure simulated devices (round-watch, square-watch, semi-round-watch, tall-watch).
Fix bug where the FIT persisted content type didn't work for some devices in the simulator.
Improve stability / accuracy of SensorHistory data simulation.
Improve emulation of the presence or absence system API's on different devices / firmware versions.
Allow devices to be openend without an active app running.
Add option to kill the currently running app and keep the device open.
Add ability to launch background processes by simulating specific events.
Add an option to clear an app's settings / properties.
Fix a bug where the selected data field layout was not preserved after an app restart.
Fix a bug where OAuth browser windows can be blank on macOS.
Fix a bug on Windows where browser windows were operating in Internet Explorer 7 mode which caused some compatibility issues with certain websites.
Require the use of HTTPS addresses in all web communications API calls.
Fixed numerous deadlocks and improved simulator fatal error handling.
Add Linux support! At this time only recent Ubuntu LTS distributions have been minimally tested.
Compiler Changes
Add support for the following new MonkeyC language features (see API documentation and Programmer's Guide for details):
switch / case statements
public / private / protected variables
Allow multiple increment expressions in for loops.
Fix a bug where the width of bitmaps could be computed incorrectly in the resource compiler.
Remove several unused keywords from the grammar.
Fix a bug where a build error would be generated if globals were defined on the same line in separate files.
Fix a bug where module variables and functions could not be directly accessed from functions inside their owner module without being qualified with the module name.
Fix a bug where annotations on variable declarations that include intialization resulted in symbol not found errors.
Fix a bug where code blocks defined within nested code blocks would cause the compiler to crash.
Warn when inner classes are declared with one of the protected / hidden / private keywords. Classes are always public.
No longer allow "self" and "me" to be defined as symbol names.
Fix issue where compiler errors would replace all underscores in module names with '.'.
Improve compiler consistency with the "Some but ot all code paths return a value" error. The "Variable used before being initialized in all code paths" error is no longer returned if initialized in one path of if-else and a return statement is in the other path
Known Issues
Known issues are tracked in the Connect IQ forums.
v2.2.6
General Changes
Add quatix 5 device support to SDK and samples.
Update APAC Chronos FW version.
Fix issues related to multiple apps using AntPlus.
Simulator Changes
None.
Known Issues
Known issues will now be tracked in the Connect IQ forums.
v2.2.5
General Changes
Add Forerunner 935 device support to SDK and samples.
Eliminate possible erroneous error logs when an application exits.
Return a null value instead of critically failing when Lang.String.toNumber() or Lang.String.toNumberWithBase() is called with a string that cannot be converted.
Prevent system errors if an invalid base is provided to Lang.String.toNumberWithBase().
Fix issue that could cause an app to fail to save properties when exited with System.exit()
Fix bug that could cause some characters to be dropped when using Lang.format().
Added missing documentation for Communications.registerForPhoneAppMessages().
Fixed an issue that could cause system Data Field counts to get out of sync.
Simulator Changes
Add support for Longs, Doubles, and Chars in the memory window
Improve sensor history simulation to better match device behavior.
Known Issues
Known issues will now be tracked in the Connect IQ forums.
v2.2.4
General Changes
Fixed a compiler bug where launcher-icon resources could not be properly overridden using device families.
Added support for APAC Fenix5 devices
Updated minimum firmware versions for the vivoactive HR
Simulator Changes
None
Known Issues
Known issues will now be tracked in the Connect IQ forums.
v2.2.3
General Changes
Add fenix 5, fenix 5S and fenix 5X device support to SDK and samples.
Remove support for the "Round 240x240 Family" preview device. Existing apps should be directly migratable to either the fenix 5 or 5X and will be assisted by the Eclipse plug-in or console output.
Fix issue where animations that are started in AppBase or View initialize functions did not work in some cases.
Fix loading lag for apps that do not have settings.
Fix issue where deleting a non-existant mailbox would cause the app the crash.
Prevent device crash that could occur in rare conditions during startup.
Prevent device crash with FitContributor.setData() that could occur under certain circumstances.
Send a burst error when an Ant.GenericChannel burst fails instead of crashing the app.
Fix an unexpected type error that occured when attempting to access nested class members from the parent.
Properly handle key presses on System.exit() to prevent unexpected device behavior.
Update device minimum firmware versions.
Many documentation improvements and bug fixes.
Simulator Changes
Close a widget when a NEXT_PAGE or PREVIOUS_PAGE behavior is issued on the base view to match devices.
Fix issue where power meter support was not available on some simulated devices.
Support Enhanced Speed / Altitude (D2 Bravo / Titanium) in simulator FIT parsing.
Prevent failure to auto-pop a view when the back key is pressed if there was no delegate.
Fix issue where Attention.vibrate did not work on the MacOS Simulator.
Known Issues
Known issues will now be tracked in the Connect IQ forums.
v2.2.2
General Changes
Sign the MacOS Simulator and distribute SDK as a DMG file
Fix incorrect moderate and vigorous weekly totals in ActivityMonitor.info
Fix weak pointer memory leak that could occur in specific circumstances
Fix possible GPS issues if already on when an app or widget that uses GPS tries to enable it
Fix memory leak when creating a Selectable / Button input event
Do not allow modulus operator to be used with float / double when folding constants
Correctly evaluate boolean operations when comparing Numbers when folding constants
Fix several issues in API Documention / Programmer's Guide documentation
Deprecated Communications.setMailboxListener(). Use Communications.registerForPhoneMessages() instead.
Clarify compiler error message when tyring to compile for an invalid device ID
Remove support for communicating with the mobile Connect IQ SDK in the API for Edge, Oregon, and Rino devices.
Prevent an app crash when a character is not present in a device's font set.
Allow the setting of headers and HTTP method when using
Communications.makeWebRequest()to download GPX and FIT files.Correct the type of several
System.DeviceSettingsvalues from Booleans to Numbers.
Simulator Changes
Prevent potential memory leak when registering for OAuth and Phone App messages
Improve unsupported downloadable content request handling by throwing exceptions
Fix issue preventing unit test framework from being available to all devices
Prevent crashes / garbage in the memory viewer tool
Fix crash in makeImageRequest() with 16 color devices
Fix crash when using the NumberPicker and pressing a button / tapping the screen
Fix memory leak that can occur when calling makeJsonRequest() and using the POST method
Known Issues
Known issues will now be tracked in the Connect IQ forums
v2.2.1
General Changes
Update the compiler to include warnings when a module and class share the same name.
Prevent zero/negative width characters in custom fonts.
Fixed directory name build exclusion bug. Now excluding "source_fenix3" won't also exclude "source_fenix3hr".
Fix compile time error with using clauses when trying to use a previously defined 'using' label in another 'using' label.
Fix bugs in the "Not all code paths return a value" and "Variable used before being initialized" error detection logic.
Update the Windows monkeydo script to prevent shortening of PRG file names.
Enable limited Selectable functionality in data-fields; the Highlighted state is not possible in this mode due to input restrictions. Remove support for Buttons and
View.setKeyToSelectableInteraction()when in data-fields.Various fixes related to stability and security.
Updated Programmer's Guide, UX Guide and API documentation with fixes and new additions.
Simulator Changes
Fix issues which may cause a crash when trying to download FIT files.
Fix a crash that occurred when clicking a progress bar.
Add an ANT+ sensor dialog that shows ANT+ sensor and allows pairing and unpairing.
Add menu item to clean up persisted content storage within the simulator.
Fix "pen" set-up issues to draw primitive shapes correctly.
Update monkeydo.bat to support /t and -t, and correct the Programmer's Guide to specify use of -t for Run No Evil commands.
Fix vivoactive HR swipe direction definitions.
Fix NumberPicker / isSleepMode missing on Connect IQ 1.x simulated devices (fenix 3, Forerunner 920xt, etc).
Add a 240x240 Round Device.
Deprecate Round Watch, Square Watch, Semi-Round Watch and Tall Watch generic devices. If one of these generic devices is detected in a manifest file at compiler time a warning is printed indicating the device will be removed in the future.
Known Issues
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
v2.2.0
General Changes
Change assertEquals(), assertEqualsMessage(), assertNotEquals(), and assertNotEqualsMessage() to use .equals() instead of the == operator.
Add access to saved waypoints, courses, and workouts on a device with the PersistedContent module. See the Programmer's Guide for more details.
Deprecate the PersistedLocations module. Use PersistedContent.saveWaypoint() instead.
Add support for Bike Light status and control using ANT+.
Add support for Bike Power using ANT+.
Add support for bursting in Ant.GenericChannel.
Add support for downloading FIT files and loading them onto the device. See the makeWebRequest() section in the Programmer's Guide for more details.
Allow a watch-app or widget to open another CIQ app or native application using System.exitTo(). See the Programmer's Guide for more details.
Optimize apps by having the compiler fold constants into a single value.
var number = 4 + 5;will now compile tovar number = 9;instead of performing an add operation.Clean up samples to only support devices that can run them.
Several API / documentation fixes
Add Call to Parent's initialize() in RunNoEvil
Limit the size of an app's mailbox from a partner app to 8kb.
Simulator Changes
Simulate navigation data.
Simulate Accel and Mag data.
Save waypoints created with PersistedContent.saveWaypoint().
Simulate APIs available to the device being run. For example, Pressure History is no longer available to the Forerunner 735 in the simulator.
Support pairing Bike Lights.
Fix UTF8 strings in memory window
Known Issues
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
v2.1.5
General Changes:
Corrected APAC Edge 820 Connect IQ versions to match the VM that they are currently using
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
v2.1.4
General Changes:
Update minimum firmware versions for certain products
Fix some minor documentation errors in the programmer's guide.
Fix a memory leak caused by the Picker class
Fix a bug where some apps incorrectly report available updates via Garmin Express
Simulator Changes
Update battery status settings dialog to allow floating point input
Add a menu option that allows the user to select where to save the last recorded fit session via a save file dialog.
Fix a bug where menu bars were not visible when native menu views were active on touch-screen edge devices.
Fix a simulator crash when launching apps in certain cases
Fix a bug where incorrect error messages were reported when exceptions are not caught
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
v2.1.3
General Changes:
Add support for fenixâ„¢ Chronos.
Add ability to target specific SDK version when building for a device.
Fix a crash in image requests on 2.1 devices.
Cancel pending image and JSON requests when an app is closed.
Fix a bug where max cadence overwrites average.
Fix a bug where formatted strings weren't properly terminated.
Fix a bug where settings files were being deleted for new apps loaded via Garmin Express.
Fix unintialized variable in input sample project.
Add missing device support for some sample projects.
Compiler Changes
Add -s option to target a specific SDK version when compiling. Example uses of this would be "-s 2.1.1" or "-s 1.3.1".
Simulator Changes
Fix a bug where the status bar truncates memory information.
Fix a bug in handling of transparency for some devices.
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
v2.1.2
General Changes:
Removed support for Oregon APAC units.
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
v2.1.1
General Changes:
Add ability to target an SDK version within a project.
Remove Steps permission and do not require it to be used to access the ActivityMonitor module.
Do not set response type as URL-encoded if not provided with a makeWebRequest() call.
Generate generic error with a PC for symbol not found error for apps built in release mode.
Correctly delete the PRG and all supplemental files when user data is cleared on a device.
Fix device crash occurring after user data is cleared when pre-loaded apps were deleted.
Fix crash when launching a goal view.
Fix issue where Toybox.ActivityMonitor.getInfo() would crash on some products.
Improve speed of signature checks when exiting mass-storage on a device.
Fix issue where application settings would not work with GCM.
Fix issue where Object Store (STR) files would be truncated at 255 bytes.
Fix issue where step distance would be 1/10 its actual value.
Fix bug in the sensor history options parsing where newest/oldest did not match expectations.
Fix an issue preventing all apps from enabling a sensor after previous app run.
Fix OAuth requests not being able to accept UTF-8 characters in the application name.
Allow non-strings to be passed into System.error().
Allow files greater than 64KB in size to be sent via makeImageRequest() on 2.1.x devices. This increases the amount of RAM required to extract the image, but is necessary for new large screen / hi-color devices.
Fix problem where apps would not update from GCM until mass-storage was entered / exited.
Change the onSelectable() API to receive SelectableEvent containing instance and previou state of selectable.
Correct UP/DOWN key map to prev/next selectable.
Remove %g/G specifiers from acceptable print() format input.
Delete an existing Object Store (STR) file or prevent creating a new one when the device is in an error state and attempts to use it.
Properly delete an apps Object Store (STR) file when decryption fails.
Remove the Fit Contributions created by a session when the session is closed. This preserves the association of Fit contributions with the session object.
Fix a bug introduced when Sensor History was added that changed invalid values in HR History from 255 to null.
Add invalid values to heart rate history.
Clean up the memory held by the settings in workarea before loading new settings from Eclipse / GCM / Express.
Fix several crashes when handling error conditions.
Support native FIT field value in developer fields and update the Moxy Data Field to use these native fit values.
Better handling of paths in the compiler.
Update palette processing to allow transparent colors to be inserted anywhere in the palette.
Update bitmap processing to allow more efficient color matching for devices with a palette greater than 8 bpp.
Add support for the Rino 7xx to the SDK.
Add support for the Korean Forerunner 735xt variant.
Many API documentation improvements and fixes.
Compiler Changes:
Add support for build file resources. A build file resource allows you to exclude Monkey C code at compile time via directories, files or annotations.
Fix a bug where the product signature was not being added to the manifest product entry during app packaging if a "square_watch", "round_watch", etc were also present in the manifest file.
Add support for a new optional attribute in the
<bitmap>drawable tag called "paletteIntensity" that will allow a developer to specify a color multiplier to apply to the device palette prior to sending any images they're using through the dithering algorithm.Remove dashes before writing the app UUID to a PRG for consistent handling / identification.
Add error checking for
<menu>tags to validate no more than 16<menu-item>child elements are present.Fix a null pointer exception that could occur if a relative path was provided for the PRG output file.
Add support in the compiler to define builds as resources. These resource builds let a developer define either a file, directory or annotation to exclude when building. When compiling the most detailed, relevant build file defined will be used. See Programmer's Guide for more information.
Update the Connect IQ versions of target devices so features such as argument count checking and font RLE compression are enabled, since the compiler is version dependent.
Allow both Gfx and Graphics in resources.
Allow a class to be specified for Buttons and Selectables via XML. If a class is specified an instance of that class will be created instead of a Button/Selectable.
Fix a bug that prevented developers from overriding an app's launcher icon.
Simulator Changes:
Add support for a single field layout for the vivoactive HR.
Update samples for products with no vibe support.
Add pressed and released events to the Input sample.
Log signature failures to shell output instead of pushing a dialogue box.
Fix crashes in SensorHistory sample.
Fix crashes when viewing / editing an Object Store.
Update OAuth sample to fix several issues including calling makeJsonRequest() for Twitter when it should have used makeWebRequest() to be able to parse URL encoded responses. The Google app needed to set the Content-Type header for a makeWebRequest() call as the Google services require it. Also require authorization every time for the Google portion so the web page stays up during the oauth flow.
Add goal view support to Analog sample.
Fix several issues in the simulated native pages on Edge devices.
Reduce frequency of Out of Memory Errors and fix an intermittent crash when calling makeWebRequest().
Fix memory leak that occured with makeWebRequest() and makeImageRequest().
Fix performance / stability issues when using makeImageRequest() with the Edge 1000 simulated device.
Adds Fit Contributions to the Moxy Data Field for current, lap, and session averages of Hemoglobin concentration and percentage.
Change Strings and Sensor Widgets to Watch Apps.
Lowercase the memory stats display.
Fix issue where the Sample picker did not respond to onMenu().
Fix issue where visiting a URL for the OAuth sample / Google provider could not be completed.
Correct a problem where Activity.Info.elapsedDistance would report 1/10 its actual value.
Add support for all devices to WebRequest sample.
Adds pages for the system fonts to the font test app.
Fixes an issue that caused the display to become distorted on views with a menu bar after pushing a native view and then popping it.
Update Drawable sample to support D2 Bravo Titanium and FR735xt.
Correct handling of makeJsonRequest()/makeWebRequest() to match GCM experience.
Improve Simulator crash handling.
Pull image processing improvements into the simulator.
Add encryption support to the edit object store dialog.
Replace wxSockets with Winsock for the Windows simulator build.
Add a Fit simulation indicator to the simulator's status bar.
Many Programmer's Guide / UX Guide improvements and fixes.
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
v2.1.0
General Changes:
Apps need permission for Steps to access ActivityMonitoring information.
Call onStop() and save settings when app exits through a System.exit() call.
Add front and rear derailleur index and max metrics to the Activity Info object.
Fix device crash involving Ui.animate().
Add Turkish to the languages available in CIQ.
Add new "System" font enumerations (TVM_GFX_SYSTEM_FONT_*) to the Graphics module, extending the current enumeration with device-specific fonts. The non-system fonts will have more portability between screens of the same shape/size.
Invoking Exception.printStackTrace() now prints the result of Exception.getErrorMessage().
JSON requests are now compressed to speed up the transmission of data between a phone and device.
Add support for the new Ui.Selectable and Ui.Button features which allow touch screen products to easily create selectable objects or buttons using Monkey C or layouts. See Programmer's Guide for more information.
Add support for OAuth 1.0a HMAC-SHA1 and OAuth 2 logins via GCM with Communications.makeOAuthRequest(). See Programmer's Guide for more information.
Only allow signed applications to run on a device. See Programmer's Guide for more information.
Require encryption for Connect IQ storage files (STR) so that program storage is private to an application instance.
Add Time::Gregorian::utcInfo() to avoid local time conversion implicit in Time::Gregorian::info().
Deprecate the isSleepMode value in the Activity Monitoring Module.
Add the current timer state to ActivityInfo::timerState. See ActivityInfo::TIMER_STATE_* for more details on the different states.
The Attention module is now allowed in data fields.
Add String::toNumberWithBase() that allows specifying the base radix of the a string when converting to a Number.
Add active minutes and floors climbed to the ActivityMonitor module for devices that support those metrics.
Add support for custom FIT recording fields. Developers can define custom data values and record them along side native FIT data. These custom values can be added to Record, Lap, and/or Session messages. See Programmer's Guide for more information.
Add Fit Graph tool for viewing graphs generated by new FIT recording. See Programmer's Guide for more information.
Check the number of arguments for functions at run-time. An error will be issued if the argument count issued does not match the routine.
Add the Do Not Disturb mode setting to System::DeviceSettings::doNotDisturb.
Add goal views to Application::AppBase. Goal views are triggered from the WatchFace app type, and are briefly shown when a user reaches the current Step, Climb, or Activity goal.
Fix an issue with String.toNumber() where it would interpret numbers with leading 0s as octal.
Add new methods add, addAll, remove, removeAll, reverse, and slice to Lang::Array.
Add the SensorHistory module that can provide historic data from Heart Rate, Temperature, Pressure, and Elevation sensors if available on the device.
Fix "has" operator to work with class definitions instead of instances only.
Add toRadians, toDegrees, floor, round, ceil, and atan2 to the Math module.
Add support for getting HR zones to the UserProfile module.
Add timer event functions to the WatchUi::DataField class. These are called when the timer is started, stopped, lapped, paused resumed and reset. See Programmer's Guide for more information.
Fix many issues within API documentation.
Prevent a buffer overflow which could occur when compressing an image during Communication::makeImageRequest().
Add support for opening a web page on the phone (or Simulator) with Communications.openWebPage(). See Programmer's Guide for more information.
Add the RunNoEvil test framework which implements Monkey C unit test generation, a command line interface, and asserts. See Programmer's Guide for more information.
Add ability for some Connect IQ 1.x products to charge watch-apps memory when creating FIT recording sessions.
Fix menu transition type not being respected on devices.
Language Changes:
Add global scope operator to MonkeyC Language ($). See Programmer's Guide for more information.
Fix compilation error caused by inheriting from a class located in another file.
Add support for a new Monkey C primitive type (Char) and supporting APIs. See Programmer's Guide for more information.
Compiler Changes:
Allow a developer to import anti-aliased fonts. By default all fonts remain non-anti-aliased. When importing a custom font, add the attribute antialias="true" to the font tag.
Update the XML parsing to pass values set in the standard XML attributes for a Drawable definition to a developer defined Drawable class. This means if the attribute "x" is defined it will be passed as "locX" to the Drawable class it's associated with.
Update resource compiler to start using all attributes values. This means values like "center", "left", "right" and "fill" should start working for drawables. A warning will be issued if the attribute doesn't match one of the pre-defined regular expressions.
Allow multiple multi-line comments in a single Monkey C source file.
If the "class" attribute is defined in a
<bitmap>or<label>definition we'll use the class defined instead of Ui.Bitmap or Ui.Text.Add support for specifying a so-called device "family" in the resource folder naming structure. This allows a developer to target a group of devices, characterized by their screen shape and size, rather than just a specific device. Examples of this would be resources-round, resources-semi_round, and resources-round-218x218. See Programmer's Guide for more information.
Disallow duplicate declarations of a single symbol within the same scope.
Add support for the background attribute on label resource tags. The background value gets passed onto the WatchUi object as the :backgroundColor attribute.
Add default launcher icon even without a device specified (via the monkeydo command).
Simulator Changes:
Support apps / widgets on the Edge 1000, and add a native button bar for Back / Menu soft keys.
Support apps / widgets on the Edge 520, and fix menu key not being present.
Fix multibyte JSON key characters becoming mangled.
Add a Selectable sample demonstrating use of the WatchUi::Selectable and WatchUi::Button classes.
Add usage text that is printed if monkeydo is run without any parameters or a parameter of "help", "-help" or "--help".
Fix crash when using App Settings in Eclipse and the Simulator on Mac OS X.
Add MenuTest sample that demonstrates the use of nested menus.
Clean up samples to add missing functionality, support more devices, adhere to cohesive coding standards and improve documentation.
Add maximum memory used tracking to the Simulator. The numbers are displayed as MEM:X/Y, PEAK:Z where X is the currently used memory, Y is the maximum memory available and Z is the peak memory usage.
Remove MathSample, C64Face, GameCube, and Layout samples which duplicated other existing sample functionality.
Improve Simulator time zone support.
Add BeersEarned data field sample that uses custom fit recording features to write out the following fields (all type float):
"current_beers" -> record field
"beers_per_lap" -> lap field
"total_beers" -> session field
Update the JsonRequest sample to use the makeWebRequest() API and rename it WebRequest.
Fix crash in when using the text picker and Keyboard sample with touchscreen enabled devices.
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
The format() method in the Number, Float, Long, and Double classes do not support the %g and %G format specifiers on all devices.
v1.2.11
General Changes:
Add support for Edge 820 and Edge 820 Touring
Update D2 Bravo minimum firmware version
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
v1.2.10
General Changes:
Add shifter data to ActivityInfo API
Add navigation data to ActivityInfo API
Added Arabic, Hebrew, and Bulgarian language support
Add support for the Oregon 7 series
Add support for FR235 Korea
Prevent data fields from starting a high priority search on the ANT radio
Allow has operator to work with classdefs
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
v1.2.9
General Changes:
Add support for the D2 Bravo Titanium
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
v1.2.8
General Changes:
Add support for getting HR zones to the UserProfile module.
Update device minimum firmware versions.
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
v1.2.7
General Changes:
Add FR735XT support.
Add color palette images to the UX Guide.
Add data field dimensions to the UX Guide.
Update fenix 3/D2 Bravo font sizes in UX Guide.
Add font information for the FR 230, FR 235 and FR 630 to Appendix B of the UX Guide.
Disable high priority timeout search in the MO2 sample. The API now also defaults high priority search to off. It is not recommended for developers to use high priority search.
Enable help URL support for app settings.
Simulator Changes:
Handle large JSON responses better.
Remove shadow from the Edge 1000 image.
Add support for 1 and 2 field layouts on vivoactive.
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
v1.2.6
General Changes:
Fix Monkey C scope resolution to correctly find a parent class's member when it has the same symbol as a global variable.
Fix APAC fonts on Fenix 3 / HR and D2 Bravo.
Update Tall Watch/VVA-HR to allow two-field data field configuration.
Fix missing background color on Edge when displaying fonts.
Fix Tall Watch / VVAHR Medium Font.
Simulator Changes:
Let App Settings Editor read settings of type password instead of overwriting the setting with an empty string.
Fix Settings Editor to write UTC values for data fields instead of local values.
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
v1.2.5
General Changes:
Add documentation for Custom Drawables to the programmer's guide.
Update Input sample to be compatible with the Tall Watch screen type.
Fix application icon overriding bug.
Fix out-of-memory error when allocating large objects (such as parsing large JSON responses).
Fix a bug in custom font generation where xoffset was incorrectly used to determine width versus position within the glyph itself.
Simulator Changes:
Add vivoactive HR device and update Tall Watch with final fonts, memory sizes and data-field parameters.
Reduce Simulator run-time system memory usage.
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
The compiler is processing custom fonts in a way that allows for more data to be specified, but hand-made font files may display slightly different.
v1.2.4
General Changes:
Address custom font rendering problems on the 920XT.
Fix case where it was possible to upload Edge 1000 / 520 widget or watch-app.
Fix memory leak when creating / destroying a device context (dc).
Reduce memory consumption when creating large numbers of objects.
Simulator Changes:
Adjust System.getDeviceSettings() to take into account landscape mode in the Simulator.
Fix occurrences of "Too Many Objects" error when receiving JSON requests in the Simulator. Very large JSON requests may still produce this error, although valid in this instance to better emulate devices.
Better alignment of reported memory estimates between OS X and Windows.
Devices have a limit to the number of objects they can allocate. A "Too Many Objects" error is issued when this limit is reached; the number has been increased to better reflect device capability.
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
The compiler is processing custom fonts in a way that allows for more data to be specified, but hand-made font files may display slightly different.
v1.2.3
General Changes:
Prevent sensor permissions from being selectable for watch-faces in Eclipse.
Update UX Guide page layouts graphics.
Update string format API documentation.
Fix case where a symbol was being added to the Rez.String module for each language defined.
Fix case where string routines would return an out-of-memory error instead of the actual error that occurred.
Fix an intermittent crash that occurred in certain applications over long periods of execution.
Fix memory leak that would occur when loading application settings.
Fix issue where application icons did not display correctly on Edge device in landscape mode.
Simulator Changes:
Properly blend fonts when running on 16-bit devices.
Update Tall Watch Icon Size to 40x33.
Update number fonts on the Edge 520 to match the device.
Correct 20pt number font on FR920XT.
Add quatix 3 device support, update D2 Bravo FW version.
Remove "suspend/resume app" from Simulator tool-bar as it is currently not functional.
Update Fenix 3 data field layouts to match recent firmware releases.
Better estimate application memory usage on OS X machines.
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
The compiler is processing custom fonts in a way that allows for more data to be specified, but hand-made font files may display slightly different.
v1.2.2
General Changes:
Improve API documentation based on feedback.
Replace the Input sample with a new version which tests more permutations of input than the original.
Add support for "Tall Watch" profile, a new/upcoming device which has new screen dimensions.
Add better documentation for each released sample within the README.
Extend Primates sample to use a BehaviorDelegate and demonstrate multiple types of bitmaps.
Update the Layouts sample to have a blue triangle as the background, and clean up build warnings.
Add check to make sure the type of the application being compiled is supported by the device that's being targeted.
Add 16-bit alpha channel support to the resource compiler for compatible devices (Edge only).
Add ability to preview data fields on the non-active profile without running them (Edge only).
New memory management system which improves object creation/deletion performance by up to 3x (Edge only).
Allow comments as last line of a Monkey C file.
Deprecate loadProperties() and saveProperties().
Allow Unicode support for custom fonts.
Replace the Weather sample with JsonRequest which prints arguments duplicated and returned by httpbin.org, a free service.
Simulator Changes:
Fix the encoding of Unicode characters in Communications.encodeURL() in the Simulator.
Correct an issue that sometimes caused a System Error in the simulator when loading an app.
Fix the data contained in ActivityMonitor.Info when Activity Tracking is disabled in the simulator.
JSON responses greater than 512 characters are now allowed.
Correct an issue with the Picker sample that caused the initial screen to not display correctly.
Prevent an empty string from being chosen in the TextPicker, which emulates behavior on devices.
The Simulator will now issue callbacks with negative Communications status codes.
Fix Simulator crash when passing C format specifiers to print()/println().
The Simulator now requires a minimum of 1 second when choosing a duration with a number picker.
Fix incorrect purple (palette) definitions for semi-round watch, FR630, FR235 and FR230.
Add landscape mode setting which allows Edge devices that support a landscape rotation (90/270 degrees) to run data fields in that mode.
Resolve several crashes with the Simulator Memory Window.
Support the FR230/235/630 in the Picker sample.
Allow for simulating and FIT file playback of swim lap data.
Add Fenix 3 HR, tactix Bravo and new APAC device support.
Ensure onUpdate() is called during a push/pop/switch view operation.
Only call onStop() once on during application shut-down.
Do not respond to the ENTER key in Menus on devices that do not map it to onSelect().
If an ON_BACK behavior is issued by pressing the ESC key, pop the view if the key is not used, i.e. false is returned by the input or behavior delegate. Emulates the current device behavior under these circumstances.
Fix several crashes occurring in various circumstances when using the Number Picker.
API Additions:
Add support for heart rate history on devices with wrist-based heart rate monitoring; see ActivityMonitor.getHeartRateHistory() for more details. The FR235 will support this new API at a later date.
Bug Fixes:
Fix an issue preventing empty string resources from being defined.
<string id="emptyString"></string>now works as expected.Fix an issue that caused devices to reboot when deleting a class that used WeakReference.
A warning is now generated generated with Module.className.init(). Note: Module name is not checked against the module to which the parent class belongs.
If a class does not initialize its parent class, the compiler now includes a relevant line number for that warning - the line of the class's initialize if it exists and the line of the class declaration if it doesn't.
Adjust makeJsonRequest() to support Unicode in addition to 1252 as the source code page.
Fix hidden keyword functionality in the compiler, which will now generate a symbol not found error when a hidden item is accessed out-of-scope.
Exception errors now correctly print the call-stack.
Defines a new error "Invalid Resource" which is issued when a bitmap is loaded that is not compiled for the current system.
Invalid permissions errors will now display a "Permission Required" error versus the previous "Symbol Not Found Error".
Always ensure a call stack is printed when a Monkey C application crashes.
Toybox::WatchUi::DataField::getBackgroundColor() will now return either COLOR_WHITE or COLOR_BLACK.
Allow for :method to not be in the options hash, if passed into makeJsonRequest. This allows it to be null as it defaults to GET.
Fix a crash that occurred when pushing a menu with no items (empty).
Prevent pushing views in watch-faces or data-fields and generate an error.
Time.today() now returns the locally adjusted time of the beginning of the day in Unix time.
Fix several issues with stack trace handling.
Prevent the system from running out of timers if both a widget and application are running.
Fix System.exit() so that it doesn't "crash" the application or fail to exit.
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
The compiler is processing custom fonts in a way that allows for more data to be specified, but hand-made font files may display slightly different.
v1.2.1
General Changes
Updated the new project templates to use new features from 1.2.0.
Improved API documentation based on feedback.
Restored memory lost to apps in recent SDK releases.
Simulator Changes
Added simulator only support for Edge 520.
Added support for Communcations.makeImageRequest().
Added support for all HTTP method types in Communcations.makeJsonRequest().
API Additions
Added Communcations.makeImageRequest().
Deprecated WatchUi.NumberPicker and ActivityRecording.getGeometry(). These will still be available through the 2.x.x SDK.
Bug Fixes:
Defaulted the color of WatchUi.Text objects Graphics.COLOR_WHITE.
Corrected an issue causing System.DeviceInfo.monkeyVersion to always be null and System.DeviceInfo.firmwareVersion to return the incorrect value.
Prevent the simulator from crashing in several scenarios.
Fixed an erroneous icon size warning when compiling an app.
Allow negative coordinate values for Drawables inside of a resource file.
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed
v1.2.0
General Changes
Increased the Epix memory limits for CIQ apps.
Watch-Apps, Widgets, and Watchfaces get 1024 kB.
Data fields get 128 kB.
Changed the format of the README from text to HTML.
Changed the format of the UX Guide from PDF to HTML.
Changed the format of the Programmer's Guide from PDF to HTML.
The default launcher icons created in the plug-in are now 30x30.
The manifest and resource files are now validated against a schema. A
<drawable-list>can no longer be defined in a<layout>or<layouts>tag.Added support for app settings. For the beta, settings can be edited via the Eclipse plug-in. See the Programmer's Guide for more details. Also see the updated Object Store sample.
Added a complex data field template.
Allow multi-line C-style comments.
/*...*/Resources can now be referenced inside a resource by using the syntax
"@<resource submodule>.<resource id>". For example:
<resources>
<string id="date">Pick a date</string>
</resources>
<layout id="MainLayout">
<label id="date" x="5" y="5" text="@Strings.date" color="Gfx.COLOR_WHITE" justification="Gfx.TEXT_JUSTIFY_LEFT" />
</layout>Documentation improvements
Positioning
Activity
Sensor
WatchUi.switchToView
New Samples:
AccelMag
MoxyDataField
Picker
Allow custom drawables in Layouts.
The compiler now generates a warning when a class does not call its parent's initialize function.
Updated the ObjectStore sample to use onSettingsChanged().
Longs and doubles can now be stored in the ObjectStore.
Simulator Changes
Added the ability to edit the object store for the currently running application. This is available under the File > Edit Object Store menu. Dictionarys and Arrays can only be viewed in the editor.
Support per device memory limits.
Support the Edge 1000 and Edge Explore 1000.
Allow the datafield background color to be changed by using the Data Fields > Background Color menu.
Allow activity tracking to be enabled and disabled by using the Settings > Activity Tracking menu.
Added simulator interface for Events.
Added FIT simulation for Firstbeat values.
API Additions
Added WatchUi.Picker. This is a new Picker that allows for every picker element to be customized. See the Programmer's Guide for details.
Deprecated WatchUi.NumberPicker. This has been replaced by WatchUi.Picker.
Datafields are no longer able to call WatchUi.requestUpdate().
Widgets and Datafields may now use ANT.
Added more fields to System.DeviceInfo.
Added alarmCount and notificationCount to System.DeviceSettings.
Added onSelect() to WatchUi.BehaviorDelegate. This triggers when the user has performed a select behavior on the device. Examples of this behavior are tapping on the touch screen for vivoactive or pressing the enter key on the Forerunner 920XT.
Added getFontAscent() and getFontDescent() to the Graphics module.
Added POST/PUT/DELETE Support to Communications.makeJsonRequest(). Any provided parameters are appended to the URL of a DELETE request.
Added Grahpics.drawArc().
System.exit() now cleanly exits an application. For all other app types this call is ignored.
Added Communications.cancelAllRequests().
Added Lang.WeakReference class. See the Programmer's Guide for more details.
Added Application.onSettingsChanged(). This function is called when the app has been configured while it is running.
Added WatchUi.DataField.getBackgroundColor().
Added the Events module. See the Programmer's Guide for more details.
Added multi-channel support to the ANT Generic Channel.
Added Firstbeat values to Activy.Info. The new fields are trainingEffect and energyExpenditure.
Added background scanning to Ant.GenericChannel.
Added support for private network keys in the Ant module.
The progress bar can now take a WatchUi.InputDelegate when pushing a WatchUi.View.
Added new attributes to System.DeviceSettings:
screenShape
screenWidth
screenHeight
isTouchScreen
inputButtons
partNumber
firmwareVersion
monkeyVersion
temperatureUnits
alarmCount
notificationCount
activityTrackingOn
Added accelerometer and magnetometer to Sensors.Info. The new members are accel and mag.
The API now throws an UnexpectedTypeException instead of an unexpected type error. The exception can be caught and recovered from. It also provides more details on the expected types and what was given.
Bug Fixes:
App names are preserved when using monkeydo.bat on Windows.
Fix symbol not found error when hashing a Method object.
Allow a class to use it's parent function without prepending the parent class name to the function call.
Allow Gregorian.info() to work with dates prior to 1990.
Allow a timer to stop and restart in the timer callback.
Validate Gregorian.moment() options. An error is now given when invalid values are given for the date.
Fix GPS accuracy in the simulator. Values other than Position.QUALITY_LAST_KNOWN will be returned now.
Fix duration and moment addition.
Fix computation of clipping for data fields.
Fix ActivityHistory time ranges in the simulator.
Fix a bug in FIT file altitude parsing in the simulator.
Prevent simulator crash that could happen when exiting an app using ctrl-k/command-k.
Position.Info.when field now returns the current time in the simulator.
Known Issues:
As this is a beta release, this SDK will not be able to generate app packages for upload to the store.
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed
v1.1.4
Modified grammar to allow an expanded set of unicode characters in the ID definition. Fixes a bug where non-latin characters couldn't be used in hard coded strings because the compiler-generated label was using the string value (which contained non-latin characters).
Fixed an issue with using string resources qualified using
zhtandzhsinstead ofchtandchswhen running the app export wizardFixed a simulator-only memory leak in non-simple data fields when an application returned a value from the
compute()function.Fixed an issue where a large string value could crash the memory window
With specific projects a bug existed that didn't allow for the application icon to be overridden properly. This could cause compiler errors if the icon to be overridden was bigger than what the device allowed.
Added the
semi_round_watchprofile todevices.xmlto support new and exciting devices that will be launching to support Connect IQ.Fixed an issue where behavior delegate events were being sent when keys were pressed and released, and not only on the action event for those keys
Fixed an issue where the system pen width could be altered and affect native application behavior
Now exits with an error if an application tries to push or switch to something that is not a view
Increased reliability and speed of JSON requests on devices
Fixed an issue where a widget was able to pop the base view and put the unit into an undefined state, causing the unit to hang:
Menu 1: Pop view and push menu 2
Menu 2: Pop view (and auto pop pops base view)
The application will exit with an error in this situation.
Fixed an issue where the generic delegate was not being passed to the progress bar in order for it to be cancelled (if present)
Now always creates the
CIQ_LOG.txtin the event of an application crashStandardized the output of Error/Warning logging and prevent two errors being issued for a single instance
Fixed a memory leak in Dictionary API documentation
Improved memory usage reporting on the simulator in Mac OS X
Support new Asia/Pacific SKUs for vÃvoactive, fÄ“nix 3 and epix
Several other minor bug fixes and improvements
v1.1.3
Automatic URL encoding of parameters in Communications API documentation has been removed. Please use Communications API documentation, introduced in 1.1.2, as needed in your application.
All '
%' characters encountered by Communications API documentation are now encoded as '%25' to follow The RFC 3986 SpecificationFixed an issue that caused Application API documentation to intermittently fail
Several other minor bug fixes and documentation updates
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed
v1.1.2
Fixed issues with Exception API documentation so that user-implemented try/catch blocks will now work
Added call to Application API documentation after Application API documentation so any properties updated by an app after
onStop()are preservedFixed memory leak when receiving messages via the Communications API documentation module
Increased reliability of transmitting messages via the Communications API documentation module
Corrected the Time API documentation module's
initialize()method, which was never getting called automaticallyAdded WatchUi API documentation and WatchUi API documentation. These are used to detect when a hard key is pressed and subsequently released, allowing applications to access this type of input schema in addition to the basic key action
Added
KEY_CLOCKsupport for fenix 3 and epix in the simulatorRemoved
KEY_POWERandKEY_LIGHTfrom devices.xml for the simulator (since they are not supported by any devices)Corrected key behaviour mappings for a number of devices in the simulator
Added D2 Bravo, Japan fenix 3, and APAC epix device support
Now prevents sending input to view without a defined input/behaviour delegate
Fixed device crashes when reading corrupt PRG files
Fixed bug that truncated FIT session names
Fixed issues with rapid key presses causing key messages to hit a view after a push or pop had already occurred
Application API documentation will now always be called when a data field exits
JSON request URLs are now percent-encoded so that any special characters are replaced by their identifying hex pair
Added the new routine Communications API documentation, which allows apps to encode JSON request URLs as described in above
Add deprecation tags to the ActivityRecording API documentation class and related methods, which will not be supported in the Connect IQ 2.0 release
Added interface to simulate GPS quality which allow the simulator to control the accuracy of the current GPS for testing
Fixed several memory leaks that occurred under specific error-recovery conditions
The ActivityMonitor API documentation module times now use UTC as the standard format
Circular memory references are now detected and after an app is shut down, and an error will be written out to the ConnectIQ log file (device only,
/GARMIN/APPS/LOGS/CIQLOG.txt)Now prevents processing view push/pop messages from applications that have already closed
Added HTTPS support to CURL requests in the simulator
Properly handles condition where Communications API documentation returns an Array API documentation by default instead of an object
Fixed palette bitmap padding offset on the Forerunner 920XT, and ellipse border offset on all devices
Re-added support for escaped characters to String API documentation resources
Add four menu items to control settings in the simulator:
Set Battery Status allows the user to set the level of the battery currently
Force onHide forces the onHide method to run for the current view
Force onShow forced the onShow method to run for the current view
Phone Connected toggles whether a phone is connected or not
Now allows spaces in project and SDK Paths
Removeed the extra menu for toggling low power mode and creates a checkbox for low power in the settings menu. All apps now start up in low power mode by default and exiting an app resets the menu. Also adds in a menu option for toggling sleep mode for ActivityMonitor API documentation.
The simulator now supports memory tracking which adds a new window available at File > View Memory. This window shows a snapshot of the current allocations as well as any circular references. When the app starts to shut down, a snapshot is taken and if any circular references exist after the app is shut down, the snapshot is shown to the user along with a message about circular references.
Added activity history editing support to the simulator
Updated the epix simulator data field layouts and fonts to match the on-device experience
Fixed issue with converting coordinates to
GEO_MGRSImproved general Connect IQ stability across devices
Various other minor bug fixes, performance improvements and documentation updates
Known Issues:
If an Exception API documentation is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.
v1.1.1
No longer supports swipe up/down in simulator to match current device behaviour
Fixed simulator WatchUi API documentation event reporting incorrect coordinates
Fixed corrupted 1-bit palette bitmap display
Fixed size and alignment of round watch display region to prevent clipping
Added Japanese Gregorian translation
Added English support to APAC devices
Added Thai language support
Disabled "Not Set" language option for running applications
Allow applications to pass an input delegate into WatchUi API documentation when creating a progress bar. The progress bar should only be able to be popped if the developer specifies an input delegate when pushing the dialogue. If
nullis passed then the progress bar will remain on-screen regardless of input.The simulator now kills an application when pressing back on the base page
When adding a Time API documentation to a Time API documentation, Time API documentation will now return a Long API documentation to avoid floating point number precision loss
Fixed several stability issues with the geometry iterator
Activity API documentation now correctly initializes to
nullon devicesSystem API documentation now returns the correct used, free, and total memory amounts
The FIT recording session will now be saved when a new session is created, or if the application is closed
The
dstfield in System API documentation is now correctly populatedActivity monitoring history now uses the UNIX time epoch
Calling System API documentation now correctly prints
nullFixed issue where Application API documentation would not always delete a specified property depending on call order with Application API documentation
Changed the content of a property ID from a String API documentation to a Application API documentation, which will no longer result in a crash
Using a sub sport greater than
SUB_SPORT_FLEXIBILITY_TRAININGshould no longer give an unexpected type errorFixed several device crashes and memory leaks under various circumstances
Various other minor bug fixes and documentation updates
Known Issues:
Exceptions are not working correctly
v1.1.0
Added new project templates to SDK
Updated fenix 3 layouts to match hardware changes
Updated gender check in UserProfile sample app to report propertly
Updated watch face samples to extend WatchUi API documentation
Known Issues:
Exceptions are not working correctly
v1.0.3
Added shapes to WatchUi API documentation module
WatchUi API documentation has been added. This is a native text entry view that is device dependent. Note: Not all devices support this view. This is currently supported by the Forerunner Forerunner 920XT and fenix 3.
Fixed issue with interpreting hex values that ended in '
d' or 'f'Added phone connection state to the system settings
Made improvements to logging on devices
Made some localization updates
Updated the API documentation
Various bug fixes
Known Issues:
WatchUi API documentation list resources cannot be animated because they don't use the new Shape objects (and therefore don't extend
Drawable). If you want to animate a shape you can do so by creating and drawing it in code.
v1.0.2
Integrated the package tool with the compiler
Added support for packaging an application for different regions
Added Asian font support to the simulator
Updated Chinese language qualifiers from cht/chs to zht/zhs. The compiler will still accept cht/chs. All other languages follow the The ISO 639-2 Standard
Pulled project types and permissions out into a XML file. The compiler will now require a '
-p' option with the file path to the projectInfo.xml file inside the bin folderRemoved filepaths in release builds
Allows
%print syntax in System API documentation callsThe simulator now opens in the foreground on OSX
Updated the API documentation
Various bug fixes
v1.0.1
Added heading information for simulator
Various ANT+ improvements
Various bug fixes
v1.0.0
Native fonts now align at the top, like custom fonts, instead of the bottom. This will require adjustment of any text drawn on the screen.
Added WatchUi API documentation. This indicates what portions of a data field are obscured by a round screen.
Added number-only fonts under Graphics API documentation. These are larger fonts that contain only numbers and certain characters.
initialize()is now called for Application API documentation objects.Added System API documentation. This provides access to the device settings such as distance units and time format. Also added support for this in the simulator.
Added support for entering and exiting low power in the simulator to provide support for testing the WatchUi API documentation class
Simulated devices now use their correct font
Added simulator support for the vivoactive, fenix 3 and epix
Various bug fixes
0.3.0
A breaking change has been made to the compiler. Older apps will not run with this release and must be recompiled.
Added gesture support for watch faces. This allows a watch to provide 1 second updates while the user is looking at it. While not in low power mode watch faces have access to Timer API documentation and WatchUi API documentation.
Added
powerandpositionvalues to Activity API documentation to allow datafields to access this information. Removed current pace from Activity API documentation as it was a duplicate of speed.Various bug fixes
0.2.4
Symbol Not Found error includes the symbol name
Updates to the documentation
Various bug fixes
0.2.3
Added power to the Fit parsing and simulation
Added functions to WatchUi API documentation and WatchUi API documentation to allow certain attributes to be modified
Added support for exceptions:
try {
...
}
catch( ex instanceof AnExceptionClass ) {
...
}
catch( ex ) {
...
}
finally {
...
}Added support for simulating ActivityMonitor API documentation data in the simulator
Added tone and vibrate support in the simulator
The permission for using the Position API documentation module has changed from Position to Positioning
Added several new samples
Various bug fixes
Known Issues:
When extending a class, the full class name must be used, i.e.:
module Module {
class A {}
class B extends Module.A {}
}The using keyword can still be used in place of the full class name.
Power and swim fields are not available from the Activity API documentation module
SimpleDataFields do not currently accept strings as documented
Formatting issues from Communications API documentation sometimes causes responses to not be parsed
In the Windows simulator, apps will share an object store. A workaround will be to either use Application API documentation or to delete
%TEMP%\GARMIN\APPS\DATA\APP.str.
0.2.1
Added Attention API documentation API (tones, vibrate, and backlight)
Added WatchUi API documentation and WatchUi API documentation
Added a time zone offset field to the System API documentation object
Added 64 color support to compiler and simulator. When compiling for a device which supports 64 colors the compiler will make use of all the colors to better dither the image. A developer can specify a palette to use when compiling an image:
<bitmap id="AmericanFlag" filename="images/american_flag.png">
<palette>
<color>FF0000</color>
<color>FFFFFF</color>
<color>0000FF</color>
</palette>
</bitmap>If a palette is specified the compiler will take each specified color and map it to the closest color in the device palette. The image is then compiled using only those colors.
Added launcher icon support. The launcher icon and app name must now be specified as resource IDs. The launcher icon is optional (a default icon will be compiled in). If resources can be specified as:
<resources>
<string id="AppName">My App</string>
<bitmap id="LauncherIcon" filename="images/launcher_icon.png" />
</resource>The app name and launcher icon in the manifest would be:
<iq:application name="AppName" launcherIcon="LauncherIcon">The manifest file for existing projects must at least specify a name as a string resource or they will not compile.
Added support for Linux simulator
Restricted input to widget and watch type Connect IQ apps. Widgets will no longer receive the swipe left and swipe right inputs for their base view.
General bug fixes to the compiler
General bug fixes to the simulator
Known Issues:
Ant support on Linux is untested
0.2.0
Added support for suspending an app
Added an option to disable dithering
Fixed layouts and overriding issues with resource compiler
General bug fixes to the simulator
Known Issues:
Current pace, power fields and swim fields are not available from the Activity module
SimpleDataFields do not currently accept strings as documented
Formatting issues from Communications API documentation sometimes causes responses to not be parsed
SDKs downloaded using the SDK Manager in OSX will not run without giving the files execute permissions
0.1.1
Added the Forerunner Forerunner 920XT as a product for which you can develop
Added Graphics API documentation to get the height of fonts
drawText now handles '
\n'Fixed an issue with bike cadence being invalid
There was an issue with do/while loops not executing correctly that was address, which has been fixed
The keywords
breakandcontinuewere added. We will never speak of this again.Array API documentation types were having an out of bounds error when adding items to the last element
The time zone should now be correct when testing watch faces
Fixed a memory leak when using
Durationor Long API documentation types with simple data fields
0.1.0
Added support for complex data fields. These data fields receive the same sensor data as a simple data field but can draw custom graphics for the field.
Added support for ANT in the API under Ant API documentation and in the simulator. Devices that operate on the public and Ant+ networks can be communicated with using the new API. Note: In the simulator the ANT device must be a few feet from the USB ANT stick. On OS X only USB2 and USBM sticks are supported. Ensure that no other programs are using the USB ANT stick on your computer.
Added support for BLE simulation in the simulator over ADB. Choose Connection > Start in the simulator for instructions on how to configure ADB. Support for BLE communications with iOS devices are currently not supported.
General bug fixes to the simulator
0.0.21
Added support for FIT file playback in the simulator. This is available in the FIT Data menu.
Added support for FIT simulation in the simulator
Added App permissions. Apps must request permissions for certain modules in their manifest.xml file. Apps must request permission to use the following modules: ActivityRecording, Communications, Position, and Timer.
Added support for timers. A timer can be started to call a callback after a certain amount of time. Timers are available in the Timer API documentation class
Added
subString()andfind()to String API documentationAdded support for data field app types
Added support for
++,--, andNaNAdded the ability to request images in the simulator. See Communications.makeImageRequest API Documentation documentation for details.
Added the ability to close the current running app and to take screenshots in the simulator
General bug fixes to the simulator
Known Issues:
The
monkeydocommand on OS X does not work if a path is included in the argument. For example,monkeydo myApp.prgworks, whilemonkeydo bin/myApp.prgdoes not.Speed, altitude, and position are not available for simulated FIT data. They are available when playing back a FIT file.
The heart rate value in the Sensor API documentation object always returns 0
0.0.20
Moved
Toybox.View.requestUpdate()to WatchUi API documentationThe simulator now has an interface for JSON in Communications API documentation
Resources have been moved into Rez as submodules
The simulator supports string resources and the language can be changed via the language menu
Menu support has been added in the simulator
Now prevents bad memory access on app close
Added a new compiler option for Devices so that devices.xml can be supplied
Notifications in the simulator have been fixed
A Sensor API documentation API has been added to interface with external sensors
The simulator can now accept a device ID on launch
The compiler can now test a function to make sure variables are initialized and return values can also be tested
The plug-in now supports widgets
Fixed bug in hash delete
Fixed a buffer overrun in string copying
Added WatchUi API documentation API
Fixed bug with Long API documentation and Double API documentation handling
Fixed a bug in reading strings from the application
Removed WatchUi API documentation
0.0.19
Added manifest editor to the plug-in
Added input handling. An input delegate is included when pushing a view.
// In Toybox.Application.AppBase.getInitialView()
return [ new BaseView(), new BaseInputDelegate() ];
// Using Toybox.WatchUi.pushView()
Toybox.WatchUi.pushView( new SecondView(), new SecondInputDelegate(), Ui.SLIDE_IMMEDIATE );Added Long API documentation and Double API documentation support. The syntax for a Long API documentation and Double API documentation is to append a '
l' or 'd', respectively.
var myLong = 345l; // long
var myDouble = 5.67d; // doubleImproved stability of the simulator.
0.0.18
Replaced
Toybox::WatchUi::Pagewith WatchUi API documentationFixed boundary checking bug in arrays.
Added the Communications API documentation API, which allows apps to open and read from a mailbox containing messages received over BLE. At this time, the mechanism for receiving messages is not complete, so this API is limited in capablity.
Fixed a memory counting bug when using the
isaoperatorFixed a memory counting bug when inserting objects over top of themselves in arrays, hashes, and objects
Added handling of
nullto the==operator so that 0 is not equal tonullAdded the ActivityRecording API documentation API, which allows apps to access the native FIT activity recording capabilities of Garmin devices. Apps can create a new session and control the activity timer.
Fixed a bug in Dictionary API documentation causing all keys to return
nullFixed bug where object type wasn't checked when inserting into a hash
Swapped the color order in the drawable Graphics API documentation function
Added WatchUi API documentation and WatchUi API documentation methods
Added Position API documentation API, which allows apps to subscribe to position events. The Position API documentation object provides an abstract way for developers to work with coordinates.
Added entry point to the project manifest file, and changed entry point names to UUID. All projects must specify an entry point and UUID in the manifest file. The manifest compiler option '
-m' is now mandatory.Added support for object storage, which allows an app to persist properties across runs. Application API documentation can be used to store data while Application API documentation can be used to retrieve it. Access to the currently running Application can be retrieved via Application API documentation so objects outside of the entry point have access to the object store.
Added input handling to simulator by using WatchUi API documentation - See the Programmer's Guide PDF for more details.
Fixed an issue causing the simulator to attempt to log some errors more than once
Allow inheritance in the API and user modules - Fixes a bug in the compiler that prevented API classes from inheriting from one another and only allowed user classes to inherit from a class in the global module.
Added XML drawables and WatchUi API documentation class - A list of shapes and bitmaps can be defined in XML which will then be compiled into a Monkey C object. See the Programmer's Guide PDF for more details.
Added options to remove trailing whitespace and convert tabs to spaces
Fixed bug where keywords could be highlighted inside other words
0.0.15
Mac Support - The SDK now runs on Windows and Mac OS X!
New Connect IQ simulator - Starting with this release, we are no longer using the product simulator and will instead use the Connect IQ simulator.
Initializers - In the past module/instance variables could only be initialized to constant numbers or strings. Now you can initialize using an expression:
module Foo
{
var value = new Value();
}Added text support into the resource compiler
Added a package tool for app deployment
Many changes to the Connect IQ plug-in
0.0.14
Enums have had their type names removed and now use common prefixes
Static methods in classes have been made part of their parent module to avoid the
Module.Class.method()syntaxSystem.rand()is now part of Math API documentationToybox.Lang.String.format()is now Lang API documentationToybox::Uiis now WatchUi API documentationGraphics API documentation now supports text justification
usingclauses no longer require theasportionContent Assist of Eclipse plug-in now supports function parameters
Run configuration now supports device
0.0.13
Added Date/Calendar support. There are two new classes in the Time API documentation module -
MomentandDuration. AMomentrepresents a fixed point in time, while aDurationrepresents a period of time.
The Time API documentation module allows the conversion from Gregorian date constructs to Moment objects. This allows for getting a Moment as follows:
// When the Flux capacitor was conceived
var date = Toybox.Time.Gregorian.moment( {:year=>1955, :month=>:november, :day=>5} );
var duration = Toybox.Time.Gregorian.duration( {:days=>5} );
var leaveDate = date.add( duration );Gregorian was separated from the Time module to support other calendar formats, though admittedly, it would take serious effort to support anything other than Julian, and I don't see the rise of the Roman empire coming anytime soon.
Resources are no longer loaded by default - a page has to explicitly load them. To load a bitmap or font, use WatchUi API documentation.
var resource = Toybox.WatchUi.loadResource( Rez.ID_RESOURCE );Once the instance exists, you can reference it where you formerly passed in the resource ID.
The binary format of executables has completely changed into a new extensible format
Added support for dynamically enumerating applications at startup
The compiler now supports a device flag that specifies for which device to generate resources
Fixed bugs in the plug-in that was causing lockups when the resource compiler failed
0.0.12
Added bitmap font support. Resource compiler now supports converting fonts from BMFont. Bitmap fonts can be passed into the same methods as the
Graphics.Fontdeclarations.The String API documentation class now has a static
format()method for doing string manipulation.format()is similar toTXT_format_stringin that it will reformat order (useful in translations).
var result = Toybox.Lang.String.format( "$1$ $2$",[firstName, lastName] );Number API documentation and Float API documentation now have a
format()method that allows for converting their values into strings of different formats. It supports the same conversions ofprintfforIntand Float API documentation.
var x = 5;
var y = x.format("02"); // Convert to "05"Added
size(),isEmpty(),keys(), andvalues()to Dictionary API documentationAdded
instanceofandhasoperators. This allows for runtime type checking and method support.
// Check if object has the print method
if (value has :print) {
value.print();
}The
usingclause is now handled internally by the compiler instead of at runtime, which should give a performance boostAdded a dynamic link table to Monkey C executable. This fixes issue where generated binaries only worked on matching API runtimes.
0.0.11
Added Dictionary API documentation support. You can now create a Dictionary API documentation with the following syntax:
var x = new {}; // New empty dictionary
var y = { 1 => "Hello", 2 => "World" }; // Initializer syntaxDictionaries dynamically resize and rehash themselves. See the Dictionary API documentation object documentation
Added annotation support. Annotations are symbols that can be associated with a class, variable, or function. Annotations are written as a list of symbols surrounded by '
()':
(:persistable :testOnly) class Person
{
var first_name;
var last_name;
}This will allow adding new features to the language without changing the language grammar. For now, annotations are written to the debug XML.
Fixed an issue with numeric
StringsFixed an issue with spaces in file names of source files
Fixed the double launch delegate issue
Fixed issue with builder ignoring resources
0.0.10
Includes the Eclipse plug-in for integrated development environment
0.0.9
Added the new
[1, 2, 3]array syntax to pre-fill an Array API documentationAdded Graphics API documentation, which takes an array of arrays (x,y) coordinates
Added System API documentation to get the current UTC time
Added the Math API documentation module, which contains trig and other functions
Added System API documentation to get battery power and free memory
Changed argument of Graphics API documentation to allow passing of font
0.0.8
The
Toyboxmodules were switched from lowercase to CamelCase. Originally I was naming them like Java packages, but MonkeyBrains (Connect IQ) modules are more like objects than just lexical naming, so I thought it made sense for them to share the naming convention of objects. To make things more confusing, I renamed the methods from underscore_style to camelCaseStyle, as a concession to the Java programmers. Basically, you can all begin hating me... NOW.Constructors! Now when you instantiate a class the
initialize()function will be called. You can pass arguments to it like a regular function.You can now use the
:symbolsyntax to create/use a Symbol API documentation. This is used by themethod()Object API documentation method to allow you to get a Method API documentation object. You can also get object members using theobject[:symbol]syntax.The new Method API documentation object allows you to create a callback object. You can create a method using
var m = object.method(:method_name). You can then call the method usingm.invoke(parameter list).Much of the page management has been moved to the WatchUi API documentation package. There is now a
PageManagerclass that you use to push pages onto the page stack. You can also create user menus to let the user select an item in a list.A resource compiler has been added to the Monkey C compiler. Currently it only supports bitmaps, but it will hopefully support localized text in the near future. You can read more about it's use at
Many bug fixes with expressions and initializers
0.0.7
Added support for "X=", where X is
*.%+-<<>>&^|Fixed an issue where String API documentation initializers were generating bad code
Added the
hiddenandconstkeywordsAdded the ability to call superclass methods
0.0.6
Fixing issues with
&&,||and!=Not equals was not working. Whoops.
The precedence of logical
ANDandORwas at the wrong level, which was causing issues. They have been lowered below other operators. Also, logicalANDwill now skip over the second expression if the first expression is false.Logical
ANDandORnow short circuit
0.0.5
Added the using clause
You can import a module now with the
usingclause:
class Foo
{
using Toybox.System as Sys;
function bar() {
Sys.print( "Hello" );
}
}The using clause adds a Symbol API documentation to your current class or module that lets you directly reference a foreign module without having to search up the global hierarchy. In a future change, you will be able to use using clauses with class extends.
0.0.4
Now with better numbers!
Added the
to_f()andto_i()methods to Number API documentation and Float API documentation to do casting operationsFixed
set_colorsofill_rectanglenow worksAdded
set_update_rateso an app can set it's refresh rate (in ms)
0.0.3
Now with numbers!
A number of the basic math operations like floating point and bitwise operations were not implemented. This adds floating point, bit shifting, logical and bitwise
ANDandOR,null,true, andfalse.
0.0.2
Now with static cling!
Added the ability to have static members of classes with
statickeywordMade global static table for modules and static members
Added System API documentation to get TSK timer
0.0.1
Initial release
Known Issues:
Colors on Mac OS X simulator are odd
Goes on...