pebble
  • Tutorials
  • Get the SDK
  • Guides
  • Documentation
  • Examples
  • Community
  • Blog
  • More
Privacy
Cookies
Publish

SDK

  • Download
  • Installation
    • Mac OS X
    • Linux
    • Windows
  • Changelog
    • 4.3
    • 4.2.2
    • 4.2.1
    • 4.2
    • 4.2-beta5
    • 4.2-beta4
    • 4.1.4
    • 4.1.2
    • 4.1.1
    • 4.1
    • 4.0.1
    • 4.0
    • 4.0-rc20
    • 4.0-beta17
    • 4.0-dp3
    • 3.14
    • 4.0-dp2
    • 4.0-dp1
    • 3.13.1
    • 3.13
    • 3.12
    • 3.11.1
    • 3.11
    • 3.10.1
    • 3.10
    • 3.10-beta6
    • 3.10-beta2
    • 3.10-beta1
    • 3.9.2
    • 3.9.1
    • 3.9
    • 3.9-beta8
    • 3.9-beta7
    • 3.9-beta5
    • 3.8.2
    • 3.8.1
    • 3.8
    • 3.8-beta12
    • 3.8-beta10
    • 3.8-beta8
    • 3.7
    • 3.6.2
    • 3.6
    • 3.6-dp8
    • 3.6-dp7
    • 3.6-dp6
    • 3.6-dp5
    • 3.6-dp2
    • 3.4
    • 3.3
    • 3.2.1
    • 3.2
    • 3.1
    • 3.0
    • 3.0-beta12
    • 3.0-beta11
    • 3.0-beta10
    • 3.0-dp9
    • 3.0-dp8
    • 3.0-dp7
    • 3.0-dp6
    • 3.0-dp5
    • 3.0-dp4
    • 3.0-dp3
    • 3.0-dp2
    • 3.0-dp1
    • 2.9
    • 2.8.1
    • 2.8
    • 2.7
    • 2.6.1
    • 2.6
    • 2.5
    • 2.4.1
    • 2.4
    • 2.3
    • 2.2
    • 2.1.1
    • 2.1
    • 2.0.2
    • 2.0.1
    • 2.0.0
    • 2.0-BETA7
    • 2.0-BETA6
    • 2.0-BETA5
    • 2.0-BETA4
    • 2.0-BETA3
    • 2.0-BETA2
    • 2.0-BETA1
    • 2.0-BETA0
    • 2.0-DP3
    • 2.0-DP2
  • Getting Started with Pebble Time Round

Pebble SDK 4.2-beta4 - Changelog

Release Date: October 12 2016

This is a developer preview for SDK 4.2. No firmware is provided.

Changes to Firmware

  • Emery can now run apps compiled for Basalt (SDK 4.1 or earlier) or Aplite (SDK 3.7 or earlier) in "bezel mode".
  • Fixed health_service_metric_accessible for heartrate-related metrics.
  • Rocky.js: The reliability of the postMessage API has been improved.
  • Rocky.js: postmessageconnected, postmessagedisconnected and postmessageerror events have been added.
  • Rocky.js: Using regular expressions no longer results in substantial app log spam.
  • Rocky.js: The default app template has been improved.
  • Rocky.js: The coordinate system was adjusted by 0.5 pixels; (0, 0) now refers to top left of the first pixel, rather than the center of the pixel.
  • Rocky.js: The memorypressure event has been added. When fired with {level: 'high'}, the app must free up sufficient memory or it will be terminated.
  • Rocky.js: Content size is exposed via UserPreferences.
  • Rocky.js: watchInfo.platform now works as expected in the emulator.
  • Rocky.js: Removed the global print() function; use console.log().
  • Rocky.js: Fixed a crash when passing invalid values to clearTimeout or clearInterval.
  • Rocky.js: Provided constructors for CanvasRenderingContext2D, RockyCanvasElement and Event.
  • Rocky.js: Removed unimplemented methods that previously threw an exception when called, allowing for polyfills of those methods.
  • Rocky.js: Added the ability to unsubscribe from events using removeEventListener or off.
  • Bug fixes and improvements.

Changes to SDK

  • Added support for the Emery platform.
  • Rocky.js is now considered stable, and can be used to submit apps to the appstore.
  • Added preferred_content_size() to retrieve the user's preferred font size.
  • All JS bundling is now performed using webpack
    • Only JavaScript files that are actually used are now bundled.

Known Issues

  • Clay does not work after building with SDK 4.2-beta4.
  • Apps that use an external bundler and therefore expect require to exist at runtime in order to require('message_keys') will not work.

Overview

  • Changes to Firmware
  • Changes to SDK
  • Known Issues