Pebble SDK 2.0
Refer to the 2.0 Migration Guide
for a list of changes.
Pebble SDK 1.12
- Version number of Pebble SDK now follows firmware version number
- Added App Logging
- Added app_comm_set_sniff_interval which can be used to reduce App Message latency
- Added C stdlib API with snprintf(), time(), rand(), srand(), and a non-standard time_ms(). strcmp(), strncmp, strcpy(), strncpy(), strcat(), strncat(), strlen(), memset(), memcpy(), and memmove() are also exported through the same channel to help reduce 3rd party app size.
- Added GCompOpSet, a new graphics bitmap compositing mode which acts as the inverse of GCompOpClear
- Bugfix: Added APP_TIMER_INVALID_HANDLE
- Bugfix: GCompOpAnd now correctly operates without artifacts
- Bugfix: text_layer_get_max_used_size now always returns the correct size after multiple calls
- Bugfix: graphics_draw_pixel(), graphics_draw_circle(), graphics_draw_round_rect now all correctly draw in the layer the GContext resides in instead of the framebuffer
- Bugfix: graphics_draw_rect() and graphics_draw_round_rect() now correctly use the stroke color when drawing the rectangle bounds
- Bugfix: gpath_draw_outline() has been improved to be able to better handle concave shapes resulting in less or no cuts. For future compatibility, it is recommended to specify GPath points in clockwise order.
- Bugfix: Added various missing API symbols, graphics_draw_rect, vibes_cancel, menu_layer_get_selected_index, gpoint_equal, grect_contains_point, grect_align, grect_clip, grect_crop, grect_equal, grect_is_empty, grect_standardize, gsize_equal, INT_MAX
- A previous font was renamed to Bitham. If your app can't compile because a certain FONT_KEY_... is undeclared, try FONT_KEY_BITHAM_... with the same suffix as before. All available system fonts are listed in pebble_fonts.h.
Pebble SDK Version 3.2 (for firmware 1.11)
- Added gbitmap_init_as_sub_bitmap()
- Added gbitmap_init_with_data()
Pebble SDK Version 3.1 (for firmware 1.10)
- Added UUID field in app's metadata, see PBL_APP_INFO
- Changed PBL_APP_INFO and PBL_APP_INFO_SIMPLE macros to take UUID and major/minor version arguments.
- Added various APIs, related to Layers, TextLayer, InverterLayer, BitmapLayer, MenuLayer, ScrollLayer, Window, AppMessage, ActionBarLayer, AppSync, NumberWindow.
Pebble SDK Version 3.0 (for firmware 1.9)