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

SDK

  • Installation
  • 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.0-dp1 - Changelog

Release Date: June 15 2016

This is the first Developer Preview release of the brand new Pebble SDK 4.0. This changelog collects only changes visible to developers using the emulator. A complete changelog will be provided when 4.0 ships on physical watches.

Changes to Firmware

  • Added support for Pebble 2.
  • Added AppGlances and Timeline Peek Quick View.

Changes to SDK

  • Added the new "Diorite" platform for the Pebble 2.
  • Added PBL_COMPASS, PBL_SMARTSTRAP_POWER, and PBL_PLATFORM_DIORITE defines.
  • Added preferred_result_display_duration to get the recommended number of milliseconds a result window should be visible before it should closed.
  • Added AppExitReason and exit_reason_set for an application to be able to notify the system of the reason it is exiting.
  • Added AppGlanceSlice, AppGlanceResult, AppGlanceReloadSession, app_glance_add_slice, AppGlanceReloadCallback and app_glance_reload. to support AppGlances.
  • Added Unobstructed Area APIs: UnobstructedAreaWillChangeHandler, UnobstructedAreaChangeHandler, UnobstructedAreaDidChangeHandler, UnobstructedAreaHandlers, layer_get_unobstructed_bounds, unobstructed_area_service_subscribe and unobstructed_area_service_unsubscribe to enable a watchface to adapt to overlays partially obstructing it, such as during a Timeline Peek Quick View.
  • Added HealthMetricAlert, HealthAggregation, health_service_peek_current_value, health_service_peek_current_value, health_service_aggregate_averaged, health_service_aggregate_averaged, health_service_metric_aggregate_averaged_accessible, health_service_register_metric_alert, health_service_register_metric_alert and health_service_cancel_metric_alert in preparation for heart rate support. Note that these are not yet implemented.
  • Report memory usage for Pebble Packages at build time.

Changes to Documentation

  • Added AppGlances Guide
  • Added Unobstructed Area Guide
  • Added AppExitReason Guide
  • Added One Click Action Guide
  • Added API documentation for new HealthService, App Glance, UnobstructedArea and AppExitReason APIs.

Known Issues

  • Creating an AppGlanceSlice with a .expiration_time of APP_GLANCE_SLICE_NO_EXPIRATION_TIME results in an AppGlanceSlice that is never displayed.
  • The UnobstructedAreaHandlers object must be created before being passed into the unobstructed_area_service_subscribe method.
  • The Diorite emulator is still a little shy and will occassionally shake upon starting. If your emulator doesn't stop shaking, try installing an app - that usually brings it out of its shell.

Overview

  • Changes to Firmware
  • Changes to SDK
  • Changes to Documentation
  • Known Issues