Changelog
All notable changes to the Pebble App Framework are documented in this file. Each version lists the framework changes a face developer has to know about first, then the wearer-visible changes, the ones someone wearing any face built on it would see without the face changing its code.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
7.1.1 - 2026-12-03
Wearer-Visible Changes
Fixed
- Fixed a plugin app's settings page failing every save with "setTimeout is not available to plugins" when the plugin acts on a save. The settings were kept, but the page stayed open with the error.
handleSettingsset a timer to cap theonSavedhook, and the plugin runtime has no timers.
7.1.0 - 2026-11-30
Plugin Changes
Added
- Frame Plugin: Added frame pages in folders under
frame/. A frame there is named by its path, such asseasons/winter, and bakes tobackground-seasons-winter~emery.png. A page's links resolve from its own folder, so it reaches shared sheets at../css/.
7.0.0 - 2026-11-20
Framework Changes
Added
- Added daily movement goals.
health/goals.hholds the step, distance, calorie, active minutes, sleep, and heart rate tables, andKNOWN_GOAL_STEPStoKNOWN_GOAL_HR,KNOWN_GOAL_VIBE, andKNOWN_GOAL_VIBE_CUSTOMkeep the wearer's picks. Callvibe_goal()from the health store callback to buzz the first time each day a goal is met.ts/pkjs/goal-rows.tsbuilds the settings rows, andbuildConfigadds them withgoals: {}. The Goal Met Vibration offers None, Short, Long, and Double, a face adds its own picks withvibePicksand Custom withcustom: true, and the build stops on a pick the watch cannot play as written, or on Custom with no Custom Vibration Pattern row. The eight new setting ids add 8 bytes of static RAM each to every face, 64 in all. - Added
appmessage_set_long_text(key, cap, provider, receiver)inio/appmessage/appmessage.h, for one text setting too long for the settings blob. The face names its message key and the most bytes the text takes, the receiver gets a text only when it differs from what the provider writes, and the settings reply carries the provider's text. Call it beforeappmessage_open, with both functions and a cap up toLONG_TEXT_CAP_MAX, 1024 bytes. The layer logs and refuses a later call, one missing either function, and at open one whose cap the outbox or the inbox cannot hold. Every face carries about 410 bytes more code and 9 bytes more static RAM for it, and a face that calls it about 310 bytes more. - Added
date_weeks_left_in_yearinclock/date.h, the daysdate_days_left_in_yearcounts in whole weeks, rounded down. It takes the same year andtm_yday. - Added
limit, the most instances a caller wants back, from 1 toSOURCE_LIMIT_MAX, 200, ints/plugin-app/source-limit.ts. A face passes it inSubscriptionOptionstocreateSourceSubscriptionor inChoiceOptionstofollowPluginChoice, and a plugin app reads it from itsSourceRequestints/plugin-app/runtime.ts. A source that caps its own count lets it raise the cap. - Added
descriptiontoCalendarEvent, an event's notes as plain text of up to 300 characters, cleaned byplainDescriptionints/calendar/description.ts.parseIcalreads it when passed{ descriptions: true }in a new fourth argument,eventsFromUpdatekeeps one an update carries, andeventInstanceserves it as alongText.CALENDAR_EVENT_SOURCEgaineddescription, so copy it into the plugin block'ssourcesagain, and subscribe withCALENDAR_PROPERTIES_WITH_DESCRIPTIONto have the built-in send it. - Added
free,tentative, anddeclinedtoCalendarEvent.parseIcalsets them when passed{ marks: true }, fromTRANSP:TRANSPARENT, fromSTATUS:TENTATIVEor the wearer's ownPARTSTAT=TENTATIVE, and fromPARTSTAT=DECLINED, the wearer's own being an attendee whose address is one of thewearerAddressesoption's. The wearer'sPARTSTAT=ACCEPTEDunder any of those addresses marks neither. - Added short time labels to
eventInstance. Pass{ style: 'short', nowSeconds, clock, locale }as its fourth argument for14:30or2:30ptoday,Thuwithin six days, and the date in the locale's own order for any other day, past days included, such asNov 27. An end is counted from its start's day, so it reads its time on the same day or at the midnight that closes it. - Added
ts/plugin-app/preferences.ts.readPebbleAppPreferences(pebble)andpreferencesFrom(envelope)read the wearer's units,clock, andlocalefrom the built-in Preferences plugin. - Added
maxEventstoparseIcal's options, the most events it keeps, up toSOURCE_LIMIT_MAX. Left out, it keeps 64. - Added
fetchFailure(error)ints/plugin-app/request.ts, which sorts whatfetchTextthrows, or whatpluginRequestanswers, into a kind a plugin app can keep and show:HTTPwith the status,TIMEOUT,NOT_ALLOWED, orFAILED.FETCH_FAILURE_KINDSlists them. - Added
fingerprint(text)ints/pkjs/fingerprint.ts, the short fingerprintkeyPrintgives a quota ledger's key, for a plugin app that notices a changed key or link without keeping it. - Added
insertTimelinePin,deleteTimelinePin,showNotification, andregisterActionHandlertoPluginPebble, with the action request and responder types.ts/plugin-app/timeline.tstypes a pin asTimelinePin, andinsertPinanddeletePinresolve to whether the call was handed over, never throwing. The Pebble app drops a pin it refuses without a word, such as one with noTimelinegrant, so make pin calls before answering the request. - Added
handleActions(actions)ints/plugin-app/actions.ts, which routes a plugin app's actions by name and answersINVALID_REQUESTfor one it does not have.fakePluginPebbleints/testing/plugin-pebble.tsstands in for the runtime in a spec of pins and actions. - Added
keywordMatcher(list),matchesKeyword(title, keywords), andparseKeywords(list)ints/calendar/keywords.ts, which match a title against a comma-separated list the wearer types, from the start of a word and ignoring case. - Added
anyOftovisibleWhen. An entry{ anyOf: [...] }holds when any one of its conditions does, so a row can show while either of two controls allows it.VisibilityRuletypes an entry, andruleNamesints/clay/rows.tssays whether one reads a control.
Changed
- Breaking:
buildConfig's theme picker now reads Theme, "The face's colours." Passtheme.labelandtheme.descriptionto keep other wording. - Breaking: The steps control now reads Steps Readout, "Whether the steps readout shows steps or the distance walked." Pass
steps.labelandsteps.descriptionto keep other wording. - Breaking: The Quiet Time icon toggle's help line now reads "Show an icon while Quiet Time is on." Pass
quietTime.descriptionto keep another. - Breaking:
ts/plugin-app/weather.tsno longer exports the wearer's units read or the read's failure words. ImportunitsFrom,readPebbleAppUnits,pebbleAppUnits,NO_UNITS,DEFAULT_UNITS,BUILT_IN_PREFERENCES,WeatherUnits, andUnitOverridesfromts/plugin-app/preferences.ts, andfailureReasonandNO_REASONfromts/plugin-app/runtime.ts. - Breaking: The default intro is now "Choose how your watch looks and what it shows." with or without a Weather section. Pass
intro, and the newintroWithoutWeatherfor the line a page left with no Weather section opens on. - Breaking: The page heading is now the appinfo's
displayName, whichpaf buildwrites intots/app-name, or Settings in phone code built without it. Passheadingto keep another title. - Breaking: The Date Format now opens on
%a %d %b, andKNOWN_DATE_FORMATfalls back to it for a page with no Date Format. Passdate.defaultto keep another. A face that passes its owndate.optionsand no default opens on the first of them. A fresh watch on a face whose page has no Date Format starts on the new format, and a saved one keeps its own. - Breaking: The Manual Location and Alternate Time Zone searches now hint Tokyo. Pass the new
location.placeholderandclock.timeZonePlaceholderto keep other hints. - Breaking: The build now stops on an option for a text
KNOWN_*setting that is too long for its buffer, such as adate.optionsvalue over 15 bytes, which built before and was cut short on the watch. Keep each date option to 15 bytes. - Breaking:
KNOWN_DATE_FORMATnow takes the struct and the member rather than an offset. PassKNOWN_DATE_FORMAT(MySettings, date_format). The build stops on a member that is not 16 bytes. - Breaking:
conditionsOfints/clay/rows.tsnow returnsVisibilityRule[]rather thanVisibilityCondition[], so an entry can be{ anyOf }. Narrow each with'anyOf' in rule, or test whether one reads a control withruleNames(rule, key). handleSettingsnow finishes theonSavedhook, and the refresh after it, before answering the page. The Pebble app ends the plugin's run once the page is answered, so a hook still running, such as one deleting pins, could be cut off. The page gives up on a save after about five seconds, so it hears the save as kept afterSAVE_HOOK_LIMIT_MS, 4 seconds, even when the hook has not finished. Keep the hook short.- The theme picker's frames now read
--pf-preview-backing,--pf-preview-border, and--pf-preview-size, which a face sets on:root. They fall back to the black backing,#3d434dborder, and 8rem width the picker had.
Removed
- Breaking: Removed
appmessage_on_custom_colors,appmessage_set_custom_colors_provider,CustomColorsHandler,CustomColorsProvider,APPMESSAGE_CUSTOM_COLORS_MAX, and the transport's own handling ofAPPEARANCE_CUSTOM_COLORS. Callappmessage_set_long_text(MESSAGE_KEY_APPEARANCE_CUSTOM_COLORS, 502, provider, receiver)beforeappmessage_openwith the same two functions, since both are now required. The key, the text, and the reply's size stay as they were, so the wearer's colours carry over. - Breaking: Removed
KNOWN_HEADER_FONT,SETTING_HEADER_FONT, and the framework's default forAPPEARANCE_HEADER_FONT. A face with a header font keeps it as a field of its own at the same offset, as{ .id = SETTING_COUNT, .message_key = &MESSAGE_KEY_APPEARANCE_HEADER_FONT, .type = SETTING_ENUM_U8, .offset = ..., .enum_count = SETTINGS_COUNT_CHECKED(APPEARANCE_HEADER_FONT, table_count), .default_num = SETTINGS_DEFAULT(APPEARANCE_HEADER_FONT) }, and reads it from its own struct rather thansettings_u8(SETTING_HEADER_FONT). A saved font reads back as before, and every face saves 8 bytes of static RAM.
Wearer-Visible Changes
Added
- A face that reads Pebble Health now lists health among its permissions, with the reason "To show your Pebble Health readings", so the Pebble app says what the face does with it wherever it asks. A wearer who has the Pebble app ask before older apps use permissions is asked to allow health once, on the face's first update built with it. The build writes
HealthintousesPermissionsfor a face whosecapabilitieslisthealth, which SDK 5.113 needs to build a face that reads health.
Changed
- The plugin notes and the supported plugins panel now say "this face" rather than "this watchface", so they read right on a watchapp too. A face keeps other wording by passing
pluginTextstostartPebbleApp, by kind and for the panel, and{panel}in a text names the panel by its title.
Fixed
- Fixed the agenda from a calendar plugin running short when several events ended before the plugin's next update. The Pebble app 2.0.0 gives the next 10 events unless asked for more, so the subscription now asks for 18 with the new
limitrequest field.
6.5.0 - 2026-11-18
Framework Changes
Added
- Added
listWeatherPlaces(pebble)ints/plugin-app/weather.ts, which lists every place in the Pebble app's weather list with whether it islocated, without subscribing.listedPlacesFromandfetchablePlacesread and filter the same list. - Added
failureReason(error)andNO_REASON, the reason text the framework's own source reads give, for a plugin app's own reads. - Added
onMessageandonSavedhooks tohandleSettings, for a plugin app that answers messages of its own or acts after a save. - Added
ts/plugin-app/page-types.ts, the page and bridge types for a plugin app's page code. - Added
ts/weather/coords.ts, withvalidCoords,COORD_DECIMALS, androundCoordinate.validCoordsis still exported from the Open-Meteo provider.
Changed
- The location search now looks up a place's time zone only on a field marked
timeZone: true, so a weather location field spends no forecast call. A plugin page needsapi.open-meteo.comonly when a row takes a zone.
Fixed
- Fixed
weatherLocationsandreadPebbleAppUnitsgiving[object Object]orErrorfor a refused read that names no reason. They now giveNO_REASON. - Fixed
readSettingsspreading a saved list or string into one setting per item. A saved value that is not an object now reads as nothing saved.
6.4.0 - 2026-11-18
Framework Changes
Added
- Added
componentsto a plugin app's settings page.src/config/index.tscan export a list of Clay components for the build to register, such as the framework's location search fromts/clay/location-component.ts. The search reaches Open-Meteo, so listopen-meteo.comunder Internet in the plugin app'susesPermissions. Listinggeocoding-api.open-meteo.comandapi.open-meteo.comby name works too. The build stops on a search whose plugin app does not reach both hosts, and names the one left off, since on Android the search would find no place. - Added a
changeevent to the location search. The row fires it when a place or a zone is picked, again when the time zone lookup for a place writes its zone, and when typing clears a pick, so page code can read the pick with the row'sget. - Added the
ts/shared/palettebuilder piece and itscss/palette.css.createPalettedraws a tab for each panel size, a row of group tabs under it, the panel tiles, and a status line naming the group on show, from the groups, sizes, and panels the builder passes in. - Added the
ts/shared/plugin-warningsbuilder piece.createPluginWarningswarns under the watch about each placed panel whose plugin the phone cannot serve, from the plugin kinds row and the kind the builder gives each panel. The framework's page code reads the source selects on any page with the plugin kinds row, so a weather, stock, or calendar panel only warns while its Data Source is the plugin, or always on a face whose providers list is the plugin alone. The face's owncustomClaystill runs after it. - Added
progress_hour_pct,progress_day_pct,progress_week_pct, andprogress_year_pctinclock/progress.h, which give how far through the hour, day, week, or year the wall clock is as a whole percent from 0 to 99. Pass the fields of the clock'sstruct tm, with the year in full and, for the week, the weekday it starts on.progress_week_daygives the day of that week, from 1 to 7. A week start outside 0 to 6 wraps round. - Added a function form for a
themePreviewrow'spreviewsand forbuildConfig'stheme.previews. The framework calls it each time the settings page opens, so a face that requires its generated file inside it, as() => require('./clay/theme-previews.g'), only loads the pictures then rather than every time the phone code starts.
Changed
- The plugin kinds row now leaves out a kind whose select drops to its one option, or is missing from the page, while the face is on a source of its own, such as the calendar on its iCal link with plugins off. A face's own component reading the row gets no state for that kind, the same as for a kind the face does not read from a plugin.
- The build now stops on a row of a plugin app's settings page that no registered component draws, and names the row's type, or on a row with no type. Clay stops drawing the page at that row, so the page would open blank on the phone. Export the component that draws it in
componentsfromsrc/config/index.ts, or take the row off the page. - The settings page now carries only the theme previews for the watch it opens on. Each open cuts a platform-keyed theme down to the platform of the watch it opens on, the one the picker reads, inside every key under
previewsByKeytoo, before Clay writes the page. A theme whose map leaves out that watch keeps the list the picker would fall back to. A face with shots for two platforms sends the page about half the base64 it did, and needs no change. - A face's
.pbwnow leaves outpebble-js-app.js.map, which is about as big as the JS.pebble logsstill translates stack traces from the copy in the sandbox'sbuild/. tide_levelnow works in 32-bit arithmetic, so a face that uses it no longer links libgcc's__udivmoddi4, about 750 bytes. The levels are unchanged.
Plugin Changes
Added
- Dev Plugin: Added
clock,date, andstoresto a step of a step walk inpaf.dev.config.json. A step that leaves one out takes the walk's, then the face's, then the file's, then the fixture's, and a store it names replaces the walk's whole. Each tap applies the step's settings, pins its clock, and seeds every store again, so a step draws the same screen whichever step came before it.dev_force_timefollows the step's clock. - Dev Plugin: Added
eachto a step walk, which shows every step once at each value of one setting, such as"each": { "APPEARANCE_SCENE": [0, 1, 2] }. The value changes on every tap, and 16 steps through 11 values cost the memory of 16 steps rather than 176. A walk ofeachalone needs nosteps, and a step that also sets that key stops the dev build. - Dev Plugin: Added
settings_apply_inbox_holding, in a dev build only, which applies an inbox message the waysettings_apply_inboxdoes but skips the keys a check holds. - Frame Plugin: Added baking every frame of a face with themes. Once its
frame.config.jsonsetsframeThemes,paf gen <face> background --frame all --theme all, and sopaf gen <face> all, bakesdefaultFrameunder each theme tobackground-<theme>and each other frame tobackground-<frame>-<theme>. WithoutframeThemesthe run still stops on a face with more than one frame, and says to set it. - Frame Plugin: Added
frameThemesandbareFrameThemetoframe/frame.config.json.frameThemeslists the themes a frame other thandefaultFramebakes under, and underbareFrameThemesuch a frame leaves the theme out of its name, asbackground-<frame>. The generator stops on two bakes that would land on one file and names both. - Thumbnails Plugin: Added named maps to
resources/theme-previews.json, for a page with more than onethemePreviewpicker. Each map undermapsis written tosrc/pkjs/clay/theme-previews-<name>.g.jsfor a face to import into that picker'spreviews. Each undermapsByKeyis keyed first by another control's value, for a picker withpreviewsByKey, and is written the same way. A manifest without either writes the sametheme-previews.g.js. The theme-preview check covers every map's file, and reports one that no map in the manifest builds. - Thumbnails Plugin: Added
keysandpreviewsto amapsByKeymap, so it lists its options once.keysmaps each value of the other control to a name.previewsholds the options, and{key}in a path stands for each name in turn. A map written out in full writes the same file as before. The other control cannot usekeysorpreviewsas a value, and neither can an option of a map undermaps. A path that holds{key}outsidekeysnow stops the run.
Changed
- Dev Plugin: A step with nothing in it,
{}, now stops a dev build. Give the step settings, a layout, or a clock, date, or stores of its own, or remove it. - Dev Plugin: A walk or a step that pins a clock earlier than the HRV log it takes on now stops the dev build, picked or not. Give it a health store of its own, or pin its clock at or after the log's last reading.
- Dev Plugin: The dev header writes each set of readings and each store's seeds once, so steps that share them share the memory. More than 255 different sets, or more than 255 seeds for one store, stops the dev build.
- Dev Plugin:
paf tool <face> clay-previewnow writes the page the phone sends for--platform, with each theme picker's previews loaded and cut to that watch, in its page and in its JSON of the page.
Fixed
- Dev Plugin: Fixed the first screen of a dev build showing the phone's saved settings in place of the ones
paf.dev.config.jsonnames. A dev build never saves, so the phone sends its own back on every launch, and the AppMessage layer now skips every key the file names. - Dev Plugin: Fixed a step walk with no layouts needing the face to define
dev_show_layoutto link. The harness now calls it only when a step has a layout, so a face whose walks only change settings and readings can delete its stub. - Dev Plugin: Fixed
paf tool <face> thumbnailson a step walk refusing the walk's first setting as undeclared, rather than saying to pick a panel walk. - Frame Plugin: Fixed a frame other than
defaultFrame, baked on its own with--frame <frame> --theme dark, writing over the default frame'sbackground-dark. It now lands onbackground-<frame>-dark, so a script that bakes such a frame to--outand copies it into place can drop the copy.
Wearer-Visible Changes
Changed
- The supported plugins panel now lists the calendar plugin by its new name, Calendar Enhanced + iCal.
6.3.2 - 2026-11-14
Wearer-Visible Changes
Fixed
- Fixed the settings page showing Location Settings above Weather, so picking a weather plugin hid a section further up the page rather than the one right under it.
buildConfignow puts Location Settings straight under Weather, and Health after the weather, calendar, and stock sections.
6.3.1 - 2026-11-14
Framework Changes
Fixed
- Fixed the Pebble appstore leaving a face that reads plugins out of its "Faces and Apps That Use Plugins" collection. The store looks for a call to
Pebble.subscribeToSourceby that name, which the phone now makes. A face picks this up with its next release on the new framework.
Wearer-Visible Changes
Fixed
- Fixed the store listing giving no reason for a face's permissions, and installing or updating a face asking for every permission up front, which held the weather until the wearer answered.
permissionsFornow gives each permission it writes a reason andrequired: false, with each feature's sites in anInternetentry of their own, so the phone asks about one the first time the face uses it. A face's own entry with areasonorrequiredgoes in as written.
6.3.0 - 2026-11-13
Framework Changes
Added
- Added
appmessage_release_phoneandappmessage_release_music, which a phone or music store started not live calls to tell the phone the face no longer shows that reading. - Added a plugin kinds store to the settings page of a face built with a plugin define. It is a hidden
pluginKindsrow with the classpf-plugin-kinds, first on the page and never saved, whose value maps each plugin kind the face reads tooff,missing, orserved, so a face's own components can warn about a panel whose plugin the phone lacks. - Added album art for now playing. Start the music feature as
music.withArtwork({ w, h })with the largest size the face draws, and the build adds theMUSIC_ARTWORKkey. The watch reads the art frommusic_store_artwork()as a 4-bit palettizedGBitmap, and a face calls the newmusic_store_deinit()from its deinit to free it. Each side is held to 100 pixels, and the face's inbox has to hold3 + colours + ceil(w / 2) * hbytes and about 8 more, such as about 2,080 for a 64 square. - Added
phone_store_no_pluginandmusic_store_no_plugin, which say the phone reported no plugin serving that reading, such as with plugins off. The phone sends -2 for it,WIRE_NO_PLUGINinwire_caps.g.h, as the battery level or asMUSIC_PLAYING. The battery still reads -1,readout_phone_batterystill writes--, and the track reads as nothing playing, so a face that wants to say why checks the new call. A face that registers its own now playing handler hears it through the newappmessage_on_music_no_plugin, just before each music message.
Changed
- The phone battery and now playing features end the subscription when a store started not live sends
PHONE_REQUESTorMUSIC_REQUESTas 0, and subscribe again when it sends 1. The phone keeps the last answer under apf-wanted-key, which a face leaves alone, and subscribes at ready unless that answer was 0. Start each store live only while a panel shows its reading. buildConfig's temperature and wind unit rows now carrypluginSourceHides. A face that builds its own Weather section addspluginSourceHides: 'WEATHER_PROVIDER'to its unit selects so they hide while the plugin is picked.- The watch now applies a message's settings before its readings, so a reading that carries its own unit is not converted twice.
Plugin Changes
Added
- Dev Plugin: Added
date,settings,stores,walks, andpanelstopaf.dev.config.json. A dev build pins the date, applies the settings through the settings catalogue in memory, and seeds each store the file gives readings for in place of the fixture. The build writes them intopage/dev_harness.hfor a dev build alone. - Dev Plugin: Added walks laid out as lists in
walks, whichwalkpicks by name, and which setDEV_WALK_FROM_CONFIGin place ofDEV_TAP_WALK_<NAME>. A panel walk shows one panel a step through the face'sdev_show_panel(panel, size), and a step walk applies each step's settings and hands its layout todev_show_layout(layout). A face defines the hook its walk needs inside#if DEV_MODE. A walk can carry its ownclock,date,settings, andstores, which stand in for the face's while it is picked. - Dev Plugin: Added the
thumbnailstool to thedevplugin.paf tool <face> thumbnailsinstalls the face's dev build once its fingerprint matchespaf.dev.config.json, shoots its panel walk, crops each panel intoresources/thumbnails/where its pixels changed, and runs the thumbnails generator.--shotscrops screenshots already taken. The plugin now depends onsharp.
Changed
- Dev Plugin:
dev_seed_storesnow applies the file's settings before it seeds the stores, anddev_force_timealso sets the pinned date and zeroes the seconds. - Dev Plugin: A dev build now never saves settings, so a save on top of the dev settings leaves the emulator's own on flash.
Wearer-Visible Changes
Added
- The supported plugins panel now lists Pebble's own Stocks plugin beside Stocks + Crypto.
- The supported plugins panel now shows the version of each store plugin tested with the watchface, as in MET Norway Weather - v1.0.5 - Installed.
- The stock Data Source now offers a stock plugin while plugins are on and none is installed, as Preferred Source (No Stock Plugin), with a note saying where to get one. It showed only for a choice saved before.
Changed
- A weather, stock, or calendar source the wearer has never saved now starts on a Pebble app plugin when one on the phone serves it, and the settings page opens with Preferred Source picked. A saved choice always stands, and a saved iCal link counts as choosing iCal. A choice never saved goes back to the face's default once nothing serves it.
- While the weather comes from a Pebble app plugin, it now shows in the plugin's own temperature and wind units, and the settings page hides the face's unit rows along with the location rows. The built-in weather shows in the units picked in the Pebble app. Each plugin reading carries them as
WEATHER_TEMPERATURE_UNITandWEATHER_WIND_UNIT, and switching back to a fetch brings the face's own units back.
Fixed
- Fixed the weather, stock, or calendar Data Source showing its own words about the other sources under Preferred Source, such as which provider needs a key. A plugin page now moves a source select's
descriptioninto a row under it that shows only while another source is picked. - Fixed a watchface built to show the phone's battery or what is playing waking the watch on every change while no panel on the layout shows it.
- Fixed a wind speed in mph, knots, or m/s reading up to one below the nearest whole number, such as a plugin's 10 mph showing as 9.
wind_from_kmhnow rounds rather than truncates.
6.2.1 - 2026-11-12
Wearer-Visible Changes
Added
- The supported plugins panel now lists Weather+ and Weather Enhanced.
6.2.0 - 2026-11-12
Framework Changes
Added
- Added a shared call ledger in
ts/quota/ledger.tsfor any metered provider, with minute, hour, day, and month limits, a weight per call, andwindowOpensAtfor when a full limit opens again. The stock ledger counts with it, and stamps saved by 6.1.0 read in as they are. - Added
fetchReadingto the Open-Meteo, OpenWeatherMap, and WeatherAPI.com providers, which reads several places into aWeatherReadingon each place's own clock. ItsonSendhook hears each request as it goes out, so a plugin stamps its ledger then and takes the stamp back onNETWORK_ERROR. - Added
ts/plugin-app/weather.ts, which serves aWeatherReadingfrom a plugin app asweather/location, with each place'slatitudeandlongitudefor a request that names them, and reads the wearer's places and units from the Pebble app. - Added
PROBE_STOPSints/stock/quotes.ts, the statuses that end a round sent one ticker first after a backoff, for a plugin app that sends its tickers the way a face does. - Added the
pf-footerclass, which centres a text row under Save with no style of the page's own. - Added an optional number of days to
horizonForints/calendar/window.tsand toparseIcal, for a calendar window other than the week. Left out, the window stays the week. A count past 366 holds 366.
Changed
stockInstancenow cuts thesourceto 7 characters in itsshortText, such asAlphaVfor Alpha Vantage, and sends the whole name as alongText. The Pebble app warns on ashortTextlonger than that.STOCK_SOURCEdeclares the newlongText, so copy it into the plugin's appinfo again.- A face started with
weather.withCoordsis now offered the weather plugin choice. Its coordinates come from a plugin'slatitudeandlongitude, and show no fix from a plugin that serves none.
Wearer-Visible Changes
Added
- Pressure, dew point, and a finer sky now show from a weather plugin that serves them.
- The supported plugins panel now lists Calendar + iCal and Stocks + Crypto.
- A face that shows coordinates now offers the Pebble app's weather, and shows the coordinates of a weather plugin that serves them.
Changed
- The UV from a weather plugin is now the current hour's when the plugin serves an hourly UV, as a face's own fetch shows it, rather than the day's peak.
Fixed
- Fixed a clear polar night from a weather plugin showing a sun, for a plugin that serves an hourly day flag.
- Fixed a face or a stock or weather plugin not counting a call that timed out, or whose answer was lost, against its provider's limits. Only a request known never to have left answers
NETWORK_ERRORand is taken back. A face offline on a metered stock key still showsNET ERROR, and tries one ticker again after 15 minutes, doubling up to two hours. - Fixed every launch fetching the weather and the calendar twice. An ask within a minute of a good fetch now resends that reading.
6.1.0 - 2026-11-11
Framework Changes
Added
- Added
stockInstanceandSTOCK_SOURCEints/plugin-app/stocks.ts, which serveStockQuotes from a plugin app asfinance/stockin the text Pebble's own Stocks plugin uses. - Added
pluginRequestandfetchTextints/plugin-app/request.ts, the framework's request on the plugin runtime'sfetch, for a plugin app to fetch with the framework's providers.PluginPebblegainspermissions.query. - Added
fetchQuotesandroundStampsints/stock/quotes.ts, andparseSymbols(raw, max)ints/stock/symbols.ts, so a plugin app fetches quotes and keeps a provider's quota the way the stock feature does. - Added
FREE_PLANSandonPaidPlanints/stock/limits.ts, each stock provider's free plan in one place, andallowance,keepSent,loadLedger, andsaveLedgerints/stock/ledger.ts, which count the calls sent against it. - Added
rateLimitWait,roundWait, andcurrentTradingDaytots/stock/schedule.ts, andutil.rateLimitandutil.bodylesstots/stock/util.ts.shouldThrottleStockFetchtakes a rate limit'sretryAtMsafternow. - Added a Paid Plan toggle for the stock settings, on
STOCK_PAID_PLAN. Passstocks: { paidPlan: true }tobuildConfigand declare the key. With it on, the phone drops the free plan's floors and counts for a keyed provider, andshouldThrottleStockFetchtakes apaidargument for the same. - Added the
PLUGIN_STOCKSdefine, which reads stock quotes from a Pebble app plugin servingfinance/stock. The build addsSTOCK_STRIPandSTOCK_REQUEST, andSTOCK_PROVIDERunlessproviders.stocksis["plugin"]. A face that listsproviders.stocksputspluginin it. The plugin source schema on key 249 moves to version 2, and an older blob reads in with the stock choice on its default. - Added
name,currency, andasOfEpochtoStockQuote, filled from Yahoo and Twelve Data where they send them, and the quote time from Finnhub. ARATE LIMITquote carrieslimit, thesecond,minute, ordaylimit the provider named.
Changed
- A page with a
WEATHER_API_KEYorSTOCK_API_KEYrow beside itsWEATHER_PROVIDERorSTOCK_PROVIDERselect now keeps a key for each provider.prepareSettingsPageruns for such a page even when no feature brings a page hook, and the page gains ahiddenStorerow onPF_PROVIDER_KEYS, which a face'scustomClaysees ingetAllItems.PF_PROVIDER_KEYSand thepf-provider-keyslocalStorage key are reserved, so a face uses neither.
Wearer-Visible Changes
Changed
- Switching the weather or stock data source now shows that provider's own API key. Switching back no longer needs the key pasted again, and switching no longer hands one provider another provider's key. A key saved before the update stays with the provider saved beside it, and one left under a provider that needs no key, such as Yahoo, goes to the first provider picked that needs one.
- A quote that timed out now shows
TIMEOUTrather thanNET ERROR, since the call may have reached the provider. The phone then waits for the provider's next fetch rather than asking again at once.
Fixed
- Fixed a gap under every dropdown on a plugin app's settings page in the Pebble Android app. The page now carries the same style rules a watchface's page does.
- Fixed Finnhub showing
INVALID KEYfor a ticker its free plan does not cover, such as^GSPC, while the same key priced the others. It now showsNO ACCESS. - Fixed Alpha Vantage showing
RATE LIMITin most slots until the next evening. Its free key refuses calls closer than a second apart, so the phone now asks for one ticker at a time, 1.1 seconds after each answer, and asks again only for the tickers it was refused. - Fixed a settings save under Alpha Vantage spending a call for every ticker. It now asks only for tickers without a current quote.
- Fixed a
RATE LIMITreplacing the last good quotes on the watch. A refused slot keeps its last price. Twelve Data asks again after the next clock minute, or after midnight UTC for its daily limit, and Finnhub and Yahoo wait 15 minutes, doubling up to two hours. - Fixed Twelve Data and Alpha Vantage going past their free plans' limits after quick saves, a restart partway through a fetch, or a rate limit with no explanation from the provider. The phone now counts every call it sends, and holds Twelve Data to 8 a minute and 800 a day and Alpha Vantage to 25 a day.
- Fixed Finnhub and Yahoo fetching twice on some launches. The phone now leaves 45 seconds between their fetches.
6.0.0 - 2026-11-10
Framework Changes
Added
- Added plugin apps, Pebble app plugins with no watch code. Set
"projectType": "plugin"and the SDK'spluginblock in the appinfo, andpaf buildbundlessrc/plugin/index.tsintoplugin.jswith esbuild and runspebble buildwith the SDK's plugin wscript. Building one needs Pebble SDK 4.44 and pebble-tool 5.1.2.prepare-releaseandpublish-releaseaccept a plugin app and name its asset<target>-<version>.pbw.docs/how/plugin-apps.mdcovers the rest. - Added a Clay settings page for a plugin app, built from the
clayConfigthatsrc/config/index.tsexports when the appinfo sets"configPage": "config.html".handleSettingsandreadSettingsints/plugin-app/settings.tsanswer the page and read the settings on the plugin side.paf tool <plugin app> clay-previewpreviews the page. - Added
eventInstanceandCALENDAR_EVENT_SOURCEints/plugin-app/calendar.ts, which serveCalendarEvents from a plugin app as the standardcalendar/eventsource. CopyCALENDAR_EVENT_SOURCEinto the plugin block'ssourcesas written. - Added
uidandcalendartoCalendarEvent, from a feed'sUIDand from the calendar name a plugin gives. Neither reaches the watch. - Added the
PLUGIN_WEATHER,PLUGIN_CALENDAR,PLUGIN_MUSIC, andPLUGIN_PHONEdefines, which read the weather, the calendar, now playing, and the phone's battery from Pebble app plugins. Set the define in the appinfo'sdefines, and the build adds the message keys and permissions it needs. For now playing and the battery, also passmusicfromts/music/featureorphonefromts/phone/featuretostartPebbleApp, and read them on the watch frommusic_storeandphone_store. The pkjs build carries the plugin code only for the kinds a face turns on. - Added
providersto the appinfo, besidedefines, to name what a face offers for each kind of data, as in"providers": { "weather": ["plugin", "openmeteo"], "calendar": ["plugin"] }. The first custom provider listed is the default, a kind left out keeps every provider, andcalendarHostsnames the hosts a face's iCal feeds come from.usesPermissionsthen lists only the sites the listed providers call. The build stops on a list it cannot use, and warns a plugin only weather face that declaresLOCATION_NAME. Mark its location search withpluginSourceHides: 'WEATHER_PROVIDER', or listopen-meteo.comin its ownusesPermissions. - Added the
pluginSource,pluginSourceHides,pluginSourceLead, andpluginSourceRowsmarks onClayConfigItem, andhideWhenEmptyon a section. Mark a face's own weather or calendar rows withpluginSourceHidesso they hide while the plugin is picked, and its own line about choosing a provider withpluginSourceLead. - Added the
page,seeded, andsettingsUnansweredhooks and thecomponentslist toFeatureHooks, andproviderstoFeatureContext. - The watch now keeps the wearer's weather and calendar source choice through a reinstall of the Pebble app, in a settings schema of the framework's own under persist key 249,
SETTINGS_PLUGIN_SOURCE_KEY. Leave that key free in every face. A face that keeps the choice getsSETTINGS_REQUESTandSETTINGS_FRESHfrom the build, and callssettings_init(NULL)when it has no settings of its own. The build writes the defaults fromprovidersasPLUGIN_SOURCE_WEATHER_DEFAULTandPLUGIN_SOURCE_CALENDAR_DEFAULT, so a face cannot set either in itsdefines. The first launch that keeps a choice counts the watch as fresh, so the phone restores the settings once. Say so under Notes in the face's own changelog. - A face built with
PLUGIN_WEATHERand noWEATHER_TEMPERATURE_UNITkey now gets its weather in the unit the wearer picked in the Pebble app.readout_weather_tempthen writes the temperature with no unit letter. - Added plugin only weather for a face with no settings page of its own. Pass
clayConfig: []tostartPebbleAppand list"providers": { "weather": ["plugin"] }. - Added the supported plugins panel, which lists the plugins each of a face's kinds can read from, with links to their appstore listings, at the foot of the settings page of a face built with a plugin define.
startPebbleAppnow logs a warning at startup when a face'scustomClayis not written as afunction, since Clay hands it the page asthisand an arrow cannot take that.- Added the
--pf-accent,--pf-on-accent,--pf-surface,--pf-ink, and--pf-linecustom properties, which colour the location search and the supported plugins panel, and a keyboard focus ring on both. Set them on:rootfrom the face's own component CSS. Each falls back to Clay's own colour. - Added
WxCondandwx_cond_parseinc/core/weather/wx_cond.h, which turn the condition token into a number fromWX_COND_CLEARtoWX_COND_STRM, orWX_COND_UNKNOWN.WX_COND_EACH(X)hands each condition's name to a face's macro, so an art table built from it stops the build when a new condition has no art. - Added
hrv_settle_gapstoHealthConfig, the beat gaps the store leaves out at the start of each HRV burst while the sensor settles. 0 keeps the default of 10, andhealth_store_hrv_settle_gapsgives the count in use. - Added
uv_bandinweather/uv_band.h, which gives the WHO risk band a UV index falls in, withuv_band_nameanduv_band_short_namefor its full and short names. - Added
health_store_has_hrandHEALTH_HR_SENSOR, which say whether the watch has a heart rate sensor, going by the platform. - Added
fonts_loadandfonts_swapbesidefonts_register, which load a font into a slot and swap a slot to a new one. Callfonts_swaponly where the face rebuilds its layers straight after, since aTextLayerkeeps the freed font. - Added
readChoiceandreadFahrenheitints/pkjs/settings-store.ts, which read a saved select or radio group, and the temperature unit, whether Clay saved it as text or as a number. paf buildnow loads the face's settings page beforepebble buildand writespage/settings_page.hinto each sandbox, with the page's counts and defaults for the watch. The waf build stops on a header that does not match the sandbox, so build withpaf buildrather thanpebble buildin a sandbox.- Added
SETTINGS_COUNT(KEY),SETTINGS_COUNT_CHECKED(KEY, table_count), andSETTINGS_DEFAULT(KEY)insettings_catalog.h, the page's option count and default on a message key, for a face's own fields.SETTINGS_COUNT_CHECKEDstops the build when the page's count differs from the face's table. - Added
store_poll_startandstore_poll_reconnecttoio/stores/store_poll.h. A face's own polling store callsstore_poll_startfrom its init in place ofstore_poll_set, andstore_poll_reconnectsays whether it should ask again when the phone comes back. - Added
KNOWN_WIND_UNIT(off)andSETTING_WIND_UNITfor the wind speed unit, andwind: {}onbuildConfigandweatherSectionfor its select, withWIND_UNIT_OPTIONSinconfig-rows.tsfor a face's own weather section. DeclareWEATHER_WIND_UNITinmessageKeysand build with--clean. - Added
notInon avisibleWhencondition, the values that hide a row. - Added
messageKeystoFeature, the message keys a feature needs, whichpaf buildadds to a face's own. - Added
system_store_remove_link_listenerbesidesystem_store_add_link_listener. A face's own store that listens for the link calls it from an init that starts the store withlivefalse.
Changed
- Breaking: The build now refuses a
projectTypein a face's appinfo other thanpluginornative. Set it to one of those, or take it out. - Breaking:
SettingsSchema.min_versioned_sizeis nowfirst_size, set withSETTINGS_BLOB. Replace a schema's.blob,.blob_size, and.min_versioned_sizelines withSETTINGS_BLOB(s_settings, 25). The number is the struct's size in bytes in the blob's first release, written as one plain number.docs/how/settings-on-the-watch.mdcovers finding it. - Breaking:
KNOWN_THEME(off, table_count)andKNOWN_HEADER_FONT(off, table_count)now clamp to the count on the settings page, and stop the build when it differs from the face's own table. Pass the size of that table, such asTHEME_COUNT. Delete the count argument fromKNOWN_STEPS_MODE,KNOWN_DISTANCE_UNIT,KNOWN_TIME_FORMAT,KNOWN_BLUETOOTH_VIBE_CONNECT,KNOWN_BLUETOOTH_VIBE_DISCONNECT,KNOWN_HOURLY_VIBE, andKNOWN_BATTERY_DISPLAY. - Breaking:
health_store_set_hrv_rulesnow takes the settle count as its third argument, afterwalk_steps. Pass0there for the default of 10 gaps. - Breaking: Every settings page now registers a
pafPageStylecomponent, so a face cannot register one of that name. Its style repeats Clay's own row padding at.section > .component.component-X, so a face rule that sets that padding at Clay's weight, such as.section .component-select, now loses. Write it at.section > .component.component-selector higher. A face component that borrows one of Clay's row classes, such ascomponent-button, now takes Clay's padding for that row on every page. - Breaking: A face's
customClaynow runs after the framework's own page code rather than replacing it. Drop the code that shows and hidesvisibleWhenrows from acustomClay, or dropvisibleWhenfrom those rows to keep its own rules. - Breaking: The settings page's own classes now start with
pf-..theme-previewis now.pf-theme,.tp-*is.pf-theme-*,.gl-storeis.pf-hidden-store, and.loc-*is.pf-loc-*. Rename them in the face's page styles and code, since a missed rename still builds and passes every check. AstoreClassthe face passes keeps its name. - Breaking:
weather_store_condnow returns an empty string for a reading with no condition, where it returned--. Check for an empty string in place of--. - Breaking: Add
SETTINGS_FRESHtomessageKeysbesideSETTINGS_REQUESTand build with--clean. The watch uses it to tell the phone it lost its settings, so the phone puts the wearer's settings back after a reinstall. The build refuses either key without the other. A face with no settings of its own can leave both out. The build adds both for a face that keeps a plugin source choice. - Breaking: Pass the
weatherfeature beside any weather extra, forecast, or air key, such asWEATHER_HUMIDITYorWEATHER_FORECAST_DAILY, or take those keys out ofmessageKeys, and build with--clean. The build now refuses them without the four base weather keys, and stops on a key group declared in part, such asLOCATION_LATITUDEwithoutLOCATION_LONGITUDE. - Breaking:
KNOWN_DATE_FORMAT(off)no longer takes a default. Delete the second argument. EveryKNOWN_*entry now takes its default from the settings page, so set the page's default to the one a fresh watch should show. - Breaking:
paf buildnow stops on a settings page default the watch would get wrong, such as one that is not among its options, and on an option past the count the watch holds for a shared setting, naming the face and the key. Change the page's default to one the watch can hold, and take such an option off the page. - Breaking:
paf buildnow stops on a page control whosemessageKeythe appinfo does not declare, a_REQUESTkey no feature answers, and acustomClaynot written with thefunctionkeyword. Declare the key or take the control off the page, pass the feature that answers the request or take its key out, and writecustomClayasfunction customClay() { ... }. - Breaking:
paf buildnow stops when the face's ownWEATHER_PROVIDERorCALENDAR_SOURCEpicker does not offer, or does not open on, the default it writes fromproviders. Offer the provider in the picker, or list the one it opens on first inproviders. - Breaking:
paf buildnow adds the message keys a face's features and plugin defines need, and fills insdkVersion,enableMultiJS, and thelocationandconfigurablecapabilities. Delete them from the face's appinfo and build with--cleanonce. A key the face still lists keeps its place.build-manifests.tsnow takes only--targets <face>. - The phone now sends the watch its settings when the settle at launch rewrites a saved provider the face no longer lists, so a later restore from the watch brings back the settled provider.
- Breaking: Only a store's init now decides whether it is live, so a store started with
livefalse stays seeded through every reconfigure. Passlive = trueat init for any store that has to start later, withpoll_min0 for a polling store, or withminute_tick,beats, andhourlyall false for a clock, so it waits for the reconfigure. - The provider pickers on the settings page now offer only the providers a face lists. A picker left with one provider is dropped, and a plugin only kind loses its picker and its custom rows. A saved provider the face no longer offers is rewritten to the default at launch. When a face moves weather or the calendar to
["plugin"], say so under Notes in its own changelog, since that deletes the wearer's saved city and API key, or the iCal link. - The location search's notes now take their colours from
--pf-note-accent, as the plugin notes do. system_store_add_link_listenernow also exists on a face that declaresWEATHER_REQUEST,STOCK_REQUEST, orCALENDAR_REQUEST, and its list keeps one slot spare for a listener of the face's own.- The framework now registers
hiddenStoreComponentfor a page that holds ahiddenStorerow, so a face can drop it fromcomponents. - A page from
buildConfig,weatherSection, orstocksSectionwith weather or stocks now carries the framework's show and hide code,dependentVisibility, for its API key row'svisibleWhen. createClayandprepareSettingsPagenow add Clay's owninputorselectstyle to a page with a location search or theme picker and no text box or dropdown of its own, unless the face passes its own. A face rule on those fields lighter than Clay's own rules now loses.
Removed
- Breaking: Removed
serializeValueAsfromClayConfigItem. Delete it from any select, radio group, or input. The watch reads a choice sent as text or as a number.
Fixed
- Fixed a weather, stock, calendar, location, or system store seeded with
livefalse after a live start showing real readings over its seed, as in a screenshot build. time_store_reconfigurenow does nothing when the newTimeConfigruns the same tickers, so a settings save no longer runs an extra tick and repaint.TimeConfignow lives inclock/time_config.h, whichtime_store.hstill brings in.
Plugin Changes
Added
- Dev Plugin: Added
--plugins=<file>and--out=<file>toclay-preview, to open the page on a phone with the plugins the file lists and to write the page to another file.
Changed
- Dev Plugin: Breaking: Dev mode is now a build flag. Build with
paf build <face> --dev, and commit the harness in apaf.dev.config.jsonbeside the unit'spaf.config.json, such as{ "walk": "themes", "clock": "08:00" }. The unit still lists"dev": {}. Delete anyDEV_MODE,DEV_TIME_HOUR,DEV_TIME_MIN, orDEV_TAP_WALK_<NAME>a face defines itself, with anydev/dev_walk.hinclude or walk mode macro of its own, and include the plugin'sdev/dev_hooks.hin place of a face's owndev_seed_stores,dev_start,dev_stop, ordev_force_timedeclarations. - Dev Plugin:
dev_walk_seed_storesnow also starts the stock, calendar, phone battery, and now playing stores seeded and empty on a face that declaresSTOCK_STRIP,CALENDAR_STRIP, the phone battery keys, or the now playing keys. A face that seeds one of those stores itself calls that store's init afterdev_walk_seed_stores. Its weather seed now follows the wearer's temperature unit.
Wearer-Visible Changes
Changed
- The weather, stocks, and calendar now catch up as soon as the phone comes back after being away, rather than at the next scheduled refresh. The stores do it themselves, so a face that asks for these readings from its own
system_store_on_reconnectcallback can delete that code. - The settings page's opening line now mentions the weather when the page has a Weather section and the face has no opening line of its own.
buildConfigpicks the line.
Fixed
- Fixed the settings page showing an API Key box under Open-Meteo and Yahoo, which need no key. The key rows from
weatherSectionandstocksSectionnow hide for those providers. - Fixed a setting picked from a dropdown doing nothing on the watch when the watch keeps it as an on or off switch. The watch now takes a toggle sent as the text
"0"or"1".settings_apply_inboxreads it throughtuple_number_orinc/pebble/io/tuple_read.h. - Fixed the location and time zone searches finding nothing on Android with plugins on when the face has no built-in weather.
usesPermissionsnow listsopen-meteo.comfor aCLOCK_TIMEZONE_key, and forLOCATION_NAMEunlessproviders.weatheris["plugin"], which gets a warning instead. - Fixed the stock strip keeping another source's quotes until the next day after a settings restore changed the stock source. The stock cache now starts fresh when the provider changes.
- Fixed the settings page showing extra space under and beside its controls in the Pebble Android app with plugins on.
- Fixed the location search showing as a plain white box, and the theme picker as a bare dropdown, on a settings page with no other text box or dropdown.
5.0.0 - 2026-11-05
Framework Changes
Added
- Each target's
package.jsonnow carriesusesPermissions, worked out from the face's message keys.WEATHER_REQUESTaddsLocationand the weather providers' sites.STOCK_STRIPadds the stock providers' sites, andCALENDAR_STRIPasks for any site, since a feed can live anywhere. SDK 4.42.0 and later build every pbw asmanifestVersion2, and the Pebble app then holds the phone code to this list whenever the wearer has plugins on. A face that fetches from a site of its own lists it in its appinfo'susesPermissions, and its sites join the generatedInternetentry. - Added heart rate variability to the health store. Set
"HEALTH_HRV": 1in the appinfo'sdefinesand giveHealthConfiganhrv_period_sec, andhealth_store_hrv_msandreadout_hrvgive the reading as RMSSD in ms. Each burst holds the sensor on until its run of beats fills. Only the Pebble Time 2 reports beat gaps, so elsewherehealth_store_hrv_samplingis false and the reading stays at none. Without the define the getters answer none and the face carries none of the code. - Added still, busy, and walking to each HRV burst. Steps through the burst decide walking, from
hrv_walk_steps, and the accelerometer's movement score splits still from busy, fromhrv_still_mg.hrv_counttakes anHrvCountfor which bursts become the reading, andhealth_store_set_hrv_ruleschanges all of these when a setting does. The store reads the accelerometer's data service while a burst is held, so a face that reads that service itself cannot use HRV. - Added the HRV log.
health_store_hrv_loggives the latest 24 readings with what the wearer was doing, today by the hour, and the night's average, read with the functions inhealth/hrv_log.h. GiveHealthConfiganhrv_persist_keyto keep it across launches.health_store_hrv_recent,health_store_hrv_live,health_store_hrv_still_mg, andhealth_store_hrv_walk_stepsgive a tuning panel each burst's numbers and the limits in use. - Added
health_store_deinit. Call it from the face's deinit. With HRV on it stops the request for beat gaps, which the watch otherwise keeps going for an hour after the face closes. - Added
HEALTH_HR_DAY, a health store part named as.hr_day = HEALTH_HR_DAY. The store keeps today's heart rate by the hour, filled from the watch's minute log at launch and from each reading after, andhealth_store_hr_dayhands it back to read withhr_day_hour_avgandhr_day_statsfromhealth/hr_day.h.HealthSeed.hr_daypins a day for screenshots. - Added
subheadingints/pkjs/config-rows.ts, a smaller heading for a group of rows inside a section, andsizeonClayConfigItemfor a heading row.
Changed
- Breaking: The framework now needs SDK 4.44 or later, and a build on an older SDK stops at configure. 4.44 is the first SDK
pebble sdk installoffers that buildsmanifestVersion2.src/toolchain.jsonrecords SDK 4.44 and pebble-tool 5.1.2 forsetup-pebbleandpaf doctor. Runpebble sdk install 4.44, orpebble sdk activate 4.44when it is already installed. Then runuv tool install --force pebble-tool==5.1.2and rebuild with--clean. SDK 4.44 stamps its apps with SDK version 5.110, and a watch turns away an app stamped newer than its own firmware, so a face built with it needs watch firmware 4.44.3 or later. On older firmware the watch lists the face as incompatible until it updates. - Breaking:
health_store_hr_historynow returnsconst uint8_t *, the same ashealth_store_step_hourly, since only the store writes its heart rate window. Hold what it returns as aconst uint8_t *. - Breaking:
HealthConfig.hr_historyandstep_historynow take a part rather than a bool. Pass.hr_history = HEALTH_HR_HISTORYand.step_history = HEALTH_STEP_HISTORYfor the charts the face shows. A face that leaves one out no longer carries its code or its buffer, and aHealthSeedcurve for a part the face does not name is not taken. - Breaking:
copy_bounded,cstring_is_clean, andcstring_setting_is_cleanare now declared intext/cstring_fit.hrather thantext/number_format.h, beside the other helpers for text in a fixed buffer. A face calling one includestext/cstring_fit.h. report-memorynow reads the full 24-bit static size from a header at version0x10.0x01, andrender-memorymeasures each row against its own platform's limits from the SDK. Emery and gabbro rows are measured against 128 KB for both the app image and the static size, where they were held to 64 KB. The older platforms stay at 64 KB, and aplite's static size is measured against its 24 KB.
Removed
- Breaking: Removed
WeatherOpts.placeand the WeatherAPI provider's place-name lookup. Passcoordsto a provider called directly, since WeatherAPI given only a place now answers No Location. The weather feature always passescoords, so a face using it needs no change. - Breaking: Removed
labelShortfromConditionEntryandConditionFallback. Nothing read it, since the watch'swx_label_shortshows the token itself. Take it out of a face's own condition rows. - Breaking: Removed
layout/layout_role.hwithlayout_role_pick,LayoutRole, and theLAYOUT_ROLE_*constants. Includerole/role.hand callrole_pick, which takes the same arguments.LayoutRolebecomesRole, andLAYOUT_ROLE_DAYbecomesROLE_DAY, and likewise forNIGHT,QUIET, andCOUNT. - Breaking: Removed the limit names with
MAXin the middle. In C, useENGINE_SLOTS_MAXforENGINE_MAX_SLOTS,STOCK_SLOTS_MAXforSTOCK_MAX_SLOTS, andCALENDAR_SLOTS_MAXforCALENDAR_MAX_SLOTS. In TypeScript,WIRE_CAPS.FORECAST_MAX_COLS,WIRE_CAPS.STOCK_MAX_SLOTS, andWIRE_CAPS.CALENDAR_MAX_SLOTSbecomeFORECAST_COLS_MAX,STOCK_SLOTS_MAX, andCALENDAR_SLOTS_MAX, and the wire module's default export dropsSTOCK_MAX_SLOTS. A face that still definesENGINE_MAX_SLOTS, in its appinfo'sdefinesor in its own C, stops the build with a message namingENGINE_SLOTS_MAX. - The face actions no longer point out an appinfo still in
config/, where framework 3 kept it. A face they cannot find now stops with only its name.
Fixed
- Fixed a health store started again with
livefalse still taking health events. The next heart rate or movement event replaced its seed with a live reading, so a face switching to its screenshot fixture could show real numbers.health_store_initnow unsubscribes when it goes from live to seeded, and the first read of the hourly steps queued by a live start no longer lands on the seed.
Plugin Changes
Removed
- Icons Plugin: Breaking: Removed the
wi,ux, andsrkeys at the start of an icon'ssvginresources/icons.json. Every name is now read as a path from the sources folder. Write the folder in place of the key, sowi/wi-day-sunnybecomesweather-icons/svg/wi-day-sunny,ux/becomesuxwing/, andsr/becomessvgrepo/. A name left on a key reads as a missing SVG, so the icon keeps its PNG with a warning, and a run where every SVG is missing stops.
4.6.0 - 2026-10-16
Framework Changes
Added
- A
themePreviewconfig item takes an optionalpreviewsByKey, themessageKeyof another control on the page. Itspreviewsthen nest, keyed first by that control's value and then by the option's value, so the shots drawn under the picker follow a second choice on the page such as a scene or a mode. One picker still ownsAPPEARANCE_THEME, so the value saves the usual way. The named control is read once the page is built, and the preview redraws whenever it changes.
4.5.0 - 2026-10-15
Framework Changes
Changed
- The theme picker can show a different preview per platform, so a face built for more than one watch shows each watch its own shots. A
theme-previews.jsonvalue can now be a map keyed by platform,{ "emery": <path|list>, "gabbro": <path|list> }, as well as the path or list it already took.paf gen <face> theme-previewswrites the map through totheme-previews.g.js, and thethemePreviewcomponent reads the watch the settings page was opened from and draws that platform's shots. A platform name has to be one Pebble builds for, so a typo stops the generator. A flat value is unchanged, and a theme whose map leaves out the watch in hand falls back to any shots the map carries. A shot a map names for a round watch is masked to the circle the screen shows, since a round watch's screenshot is a square framebuffer with the corners outside the circle. A flat value names no platform, so it is left square.
Wearer-Visible Changes
Changed
- A theme preview picture is now kept crisp only when it is drawn larger than its own pixels, and smoothed when a higher-resolution shot is shrunk to fit the picker, so a watch's small text no longer looks rough in the settings page.
4.4.1 - 2026-10-14
Framework Changes
Fixed
- Fixed the phone-side script dying in the emulator on every weather fetch, every settings send with a timezone field, and every stock poll. The emulator's JavaScript runtime has no locale data, and building an
Intl.DateTimeFormatthere runs the process out of memory rather than throwing, which no try/catch can stop.timezone.tsnow asksIntl.DateTimeFormat.supportedLocalesOffirst and answers null for every zone when nothing comes back, so weather is asked in the location's own zone and moved onto the phone's clock, a timezone field sends its saved offset, and the stock schedule reads the market as shut. Real phones have the locale data and are unaffected.
4.4.0 - 2026-10-14
Framework Changes
Added
- Added a theme picker that shows a picture of each theme. Pass
previewsto thethemesection ofbuildConfig, a map from a theme's option value to a list of data URLs. The picker then keeps the dropdown and draws the chosen theme's pictures under it, a theme with a day and a night shot getting both side by side. It still saves underAPPEARANCE_THEMEexactly as the plain select. ThethemePreviewcomponent is registered only when a page holds one, so a face without previews is unchanged. - Added
role_pickand theRoleenum inrole/role.h, for a face that shows a different look by day, after dark, and during Quiet Time. It takes each trigger as a pair, whether it is firing and whether a look is assigned to it, and returnsROLE_DAY,ROLE_NIGHT, orROLE_QUIET, with Quiet Time winning over night and a trigger with nothing assigned falling through to the next. It is host-tested and touches no SDK. - Added
rotate_indexinclock/rotate.h, which picks which of a set is up now on a timed rotation. Pass it the clock'stm_year,tm_yday,tm_hour, andtm_min, how many minutes each one is shown for, and how many there are, and it returns the index, worked out from the time rather than a saved counter so it survives a restart. It holds steady through a slot and steps by one on each boundary, except at a non-leap new year, which it counts as a 366-day year so the one boundary there jumps by more than a step. - Added
visibleWhenon a Clay config item, which shows it only while another control holds one of the given values. Pass one condition{ key, in }or a list that all have to hold, withkeythe controlling item's messageKey andinthe values that reveal the row (a toggle's aretrue/false). A page that declares any gets the framework's show and hide as its custom function, so a row that does nothing under the current choice is off the page rather than sitting there looking live. A face that passes its owncustomClayowns the page and wires the showing itself.
Deprecated
- Deprecated
layout_role_pick,LayoutRole, and theLAYOUT_ROLE_*constants inlayout/layout_role.h. They are now thin aliases forrole_pick,Role, and theROLE_*constants inrole/role.h, which do the same job for any face rather than only a layout one. The old names still work and go at the next major release. Move torole_pickandRolewhen convenient.
Plugin Changes
Added
- Thumbnails Plugin: Added a
theme-previewsgenerator and check to thethumbnailsplugin. A face lists the plugin and keeps aresources/theme-previews.json, which maps each theme's value to a picture path or a list of paths relative to the face folder.paf gen <face> theme-previewsbase64-encodes them intosrc/pkjs/clay/theme-previews.g.js, which the face'sconfig.tsimports and passes astheme.previews.paf checkfails when the committed file is stale or a path is missing or is not a PNG.
Changed
- Thumbnails Plugin: The
thumbnailsplugin now offers two generators,thumbnailsfor the layout builder's panel pictures andtheme-previewsfor the theme picker. A face lists the plugin for either.
4.3.0 - 2026-10-11
Framework Changes
Added
- Added
vibe_hourlyinvibe.hfor an hourly buzz. Callvibe_hourly(time_store_tm(), choice)from the face's time callback on every tick. It buzzes each real hour once however many tickers land in minute 0, including the hour the clocks repeat when they fall back. Its first call after launch only remembers the hour, so a face opened in minute 0 does not buzz an hour that already buzzed. The decision ishour_latch.hin the core.
4.2.0 - 2026-10-11
Framework Changes
Added
- Added
hourlytoTimeConfig. Withminute_tickoff, the time store subscribes to the SDK's hour tick, so a face wakes at the top of each hour without the minute tick. Set it on a .beats clock that buzzes on the hour. The .beats timer alone lands in minute 0 of only two hours in three in a time zone a half hour or 45 minutes off UTC, and the minute tick would wake the watch sixty times an hour for one buzz.
4.1.0 - 2026-10-11
Framework Changes
Added
- Added
KNOWN_HEADER_FONT(off, count)tosettings_catalog.hforSETTING_HEADER_FONT, withcountthe size of the face's own header font table. - Added
definesto the appinfo, for C defines a face sets for its own build, such as"defines": { "ENGINE_SLOTS_MAX": 12 }. The build passes each one as a-Dflag.ENGINE_SLOTS_MAX,FONT_SLOTS_MAX, andICON_CACHE_MAXcan each be raised this way, up to 254 for the slots and 255 for the fonts and the icon cache, and a value outside that stops the build. A name that is not a macro name, a value that is not a whole number, and a name the build sets itself, aHAS_switch orBUILD_WATCHAPP, stop the build with a message naming the face. - Added
SETTINGS_BLOB_SIZEinsettings.h, which gives a settings struct's size for a schema'sblob_sizeand stops the build when the struct is over the 256 bytes one persist key holds. The watch saves only the first 256 bytes of a longer struct, so the fields past that come back as their defaults on every launch. Write.blob_size = SETTINGS_BLOB_SIZE(s_settings)in place ofsizeof(s_settings)to catch it at build time.
Changed
beats_has_tokenandbeats_expand_tokenfind the .beats token withstrncmp, which the firmware exports, rather thanstrstr, which it does not. A face that references the date readout no longer links about 1.4 KB of newlib for it.setup-pebblenow warns when anode-versionit ignores differs from the Node the face's framework records, the same as for the SDK and pebble-tool, and when the Node on the path before it, normally the onepaf syncinstalled the unit under, is a different major from the one the build runs on. Itsnode-versioninput now defaults to empty, which takes 24 when there is no face.
Deprecated
- Deprecated
WeatherOpts.placeand the WeatherAPI place-name lookup it feeds. The weather feature always passescoords, so nothing sets it. It goes at the next major release. Passcoordsto a provider called directly. - Deprecated
labelShortonConditionEntryandConditionFallback. Nothing reads it, since the watch'swx_label_shortshows the token itself, so it is now optional and the framework's rows leave it out. It goes at the next major release. - Deprecated the limits named with
MAXin the middle, for names that end inMAXlikeFONT_SLOTS_MAXandICON_CACHE_MAX. In C,ENGINE_MAX_SLOTSis nowENGINE_SLOTS_MAX. In C and inWIRE_CAPS,STOCK_MAX_SLOTSis nowSTOCK_SLOTS_MAXandCALENDAR_MAX_SLOTSisCALENDAR_SLOTS_MAX.WIRE_CAPS.FORECAST_MAX_COLSisWIRE_CAPS.FORECAST_COLS_MAX, and the wire module's default export carriesSTOCK_SLOTS_MAXbeside the deprecatedSTOCK_MAX_SLOTS. The old names still work, includingENGINE_MAX_SLOTSin a face'sdefines, and go at the next major release. A face that sets both engine names has to set them to the same value. Move to the new names when convenient.
Fixed
- Fixed a settings struct that could not be saved whole going unnoticed.
settings_initnow logs an error naming the key for a struct over 256 bytes, andsettings_savelogs one when a struct is not written whole, which also happens when the app's persist storage is full. A failed save is not tried again. - Fixed a text slot with a
zoneand notextfunction crashing the watch on its first repaint. The slot now stays empty, the same as a draw slot with nodraw.
Plugin Changes
Changed
- Icons Plugin: The icons plugin's check, which
paf checkruns, now also fails when a committed icon PNG is missing, is not a PNG, or is not the sizeresources/icons.jsonasks for. A size changed inicons.jsonwithout apaf gen <face> iconsno longer passes and ships the old icon. It reads the size from each PNG's header, so it still needs no sources folder. Its line in the output is nowicons:rather thanicon media:. - Dev Plugin: The
devplugin'sclay-previewnow stops on an argument it does not know and names it, rather than ignoring it. So--settings saved.json, with a space in place of the=, no longer previews a fresh install.-hand--helpprint the usage, which now lists--settings=<file>. - Icons Plugin: The icons generator now reads an icon's
svginresources/icons.jsonas a path from thesourcesfolder, without the.svg, sostatus/bluetooth-onreadsstatus/bluetooth-on.svg. The SVGs can sit in any folder undersources, at any depth, and a name that leads outsidesourcesstops the run. The run stops whensourcesholds none of the SVGs a run's icons read, rather than none of the three fixed sets. Sopaf gen <face> iconson a face whose SVGs are all missing now stops, where it kept every PNG with a warning each.
Deprecated
- Icons Plugin: Deprecated the
wi,ux, andsrkeys at the start of an icon'ssvg. They still read fromweather-icons/svg/,uxwing/, andsvgrepo/, andpaf gen <face> iconswarns once for each key a face uses. Write the folder in place of the key, sowi/wi-day-sunnybecomesweather-icons/svg/wi-day-sunny. The keys go at the next major release. A name whose SVG is there as written, such asux/thermometer-iconwith a realux/folder holding it, reads from there instead.
Fixed
- Frame Plugin: Fixed a
url()in a theme'sframe/css/theme_<name>.cssbreaking inpaf gen <face> background. The bake inlined the sheet, so the address resolved fromframe/rather thanframe/css/. The sheet is now added as a link, the same as a browser loads it. - Icons Plugin: Fixed
paf gen <face> iconsstopping on an SVG whose root sets its ownstrokebut nofill. Making it white gave the root a secondstroke, which sharp refuses. A root now gets only the white attributes it does not already set, as an attribute or in itsstyle, and gets a whitecolorso a glyph drawn withcurrentColorcomes out white rather than black. A blackcolor, and a black colour inside astyle, is now whitened like a blackfillorstroke. - Thumbnails Plugin: Fixed
paf checkandpaf gen <face> thumbnailssaying a thumbnail PNG names no module when the module exists and only its size is not one the face lists inthumbnailSizes. The line now names the size and the sizes the face lists, a PNG named for a module with no size after it gets a line of its own, and neither is also reported as a module with no thumbnail. AthumbnailSizesentry that is empty or holds a dash now stops the run, since no thumbnail's name can carry it. - Dev Plugin: Fixed
clay-previewshowing a working settings page for a face that leaves a component out ofstartPebbleApp, where the phone stops with "The component: X is not registered" and the page never opens. The preview now loads the face'ssrc/pkjs/index.tsand takes the page, the components, andcustomClayfrom what it handsstartPebbleApp, and registers only those and the location component, as the phone does. A face with nosrc/pkjs/index.ts, or one whoseindex.tsnever callsstartPebbleApp, stops the preview.
Wearer-Visible Changes
Fixed
- Fixed the tide reaching high water for only 4 minutes of each cycle while it sat at low water for 41, and the water jumping two points at a time. The level now holds at 100 for 30 minutes and at 0 for 31, each centred on the turn, and moves at most one point a minute. The fix is in
tide_level. - Fixed a watch that was factory reset or reinstalled staying on the face's defaults until the wearer pressed Save, and the watch's own weather, stock, and calendar requests going unanswered, on a real phone. The Pebble phone app keys a watch message by name, and
startPebbleAppread it by number, so it missed every message from the watch. Each message now gets the number for every key the face declares before the restore or any feature'smessagehook reads it. - Fixed a reset watch's settings not coming back when the face had not opened AppMessage yet as the phone's code started. The settings request sent on
readywas lost. PebbleOS turns away a message that lands before the face'sinitopens AppMessage. The send queue's three tries ran out before a face that opens it late was listening, and that was the only request of the session. A request the watch turns away now goes again a second later, up to 8 more times, and stops as soon as the watch takes one. A repeat of the watch's reply is ignored, so a reply that arrives twice restores or seeds once. - Fixed a second clock whose zone had changed its clocks since the last launch staying on the old hour until the next background tick, when the face had not opened AppMessage yet. The second clocks pushed on
readywere lost. The zones now go again when the watch's settings reply lands, since the reply proves the face is listening. A push still waiting in the queue is not queued twice. - Fixed the settings page saying Fallback to Manual Location also covers GPS being turned off. With Enable Phone GPS off the manual city is always used, and the toggle only decides what happens when GPS is on but cannot find the phone. Its description in
config-builder.tsnow says so.
4.0.0 - 2026-10-02
Framework Changes
Added
- Added a
pafkey to the framework'spackage.jsonand to each plugin's, naming the build, its generators, what a face has to hold for each to apply, the checks it adds topaf check, the toolspaf tool <face> <name>runs, and the scriptspaf lintandpaf formatrun. For a path undersrc/pkjs/, a family face's core counts too, at the matching folder undercore/pkjs/.paf build,paf gen,paf check,paf tool,paf lint, andpaf formatread them, so a face'spackage.jsonno longer needs scripts that point into the framework. A face's own generators go undergenin itspaf.config.json, each naming its script and the generator it runs after. - Added
tools/build.ts, which builds a face's.pbwwith the same arguments and steps asbuild.sh, under Node like the framework's other tools. - Added
io/appmessage/appmessage_features.h, which definesAPPMESSAGE_HAS_WEATHERandAPPMESSAGE_HAS_LOCATIONfrom the face's message keys. A face's own C can read them in place of testing theHAS_MESSAGE_KEY_*defines itself. - Added
isMainScriptintools/shared/entry.ts, which a tool calls asif (isMainScript(import.meta))to run only when started as the script. A face's own tools can use it in place of readingimport.meta.main. - Added
tools/clay-components/check-components.ts,plugins/icons/check-icons.ts, andplugins/thumbnails/check-thumbnails.ts, whichpaf checkruns to find a face's committed Clay components, icon media, and thumbnails that are out of date. Each checks every face on its own, so one broken face is reported without hiding the rest, and a check that finds no faces to look at fails rather than passing. - Added
tsconfig.spec.jsonandtsconfig.tools.json, which hold the compiler options for a face's specs and for its tools and configs that run under Node. A face's own spec and tools tsconfigs extend them frompaf/and set their ownincludeandexclude. The spec one brings ints/pkjs/pebble.d.tsthrough itsfiles, so a face's spec tsconfig no longer lists it and sets nofilesof its own. - Breaking: Added
ts/generated.d.ts, which types every*.gmodule, whether a framework generator or the unit's own wrote it. The pkjs build takes it in frompaf/ts/, and so does a face tsconfig that includespaf/ts/**/*.d.ts. Delete the face's owndeclare module '*.g', since two copies clash and stop the build.
Changed
- The framework now runs under Node 22.18 or newer on Node 22, as well as 24.2 or newer. Its
enginesreads^22.18.0 || >=24.2.0, which is every Node withimport.meta.main. A face's CI still installs Node 24, whichsetup-pebblereads fromtoolchain.json. - Breaking: This version needs
paf 2.0.0, which renames a unit'spaf.jsontopaf.config.jsonand adds the unit's plugin list to it. Everything a face gets now lives undersrc/in the framework repo, andpaf 2.0.0copies that folder into a unit, leaving out the specs, their fixtures, and any plugin the unit does not list. - Breaking: A unit's framework folder is
paf/rather thanlib/. Change every import fromlib/topaf/, theextendsand globs in each tsconfig, theworkspacesentry topafandpaf/plugins/*, and anything that runs a tool underlib/. The.gitignorelines forlib/andlib.paf-*/becomepaf/andpaf.paf-*/. The face actions at this tag read the framework frompaf/, so load them at@v4.0.0in the face's workflows. A unit still holding alib/frompaf 1.0.0is told so rather than told to sync again. - Breaking: A face's appinfo is now
pebble.appinfo.jsonat the face's own root rather thanconfig/pebble.appinfo.json, and a face is a folder holding one, at the unit's root or beside a family'score/. Move each face's appinfo up a folder. The face actions at this tag name one still inconfig/. A unit whose root is a face is that one face, so a face folder beside acore/under it is no longer found. A unit'sconfig/is left for its own tool configs, such as its tsconfigs andvitest.config.ts. - Breaking:
tools/faces.ts,tools/paths.ts, andtools/files.tsare now intools/shared/, beside the newchecks.tsandtool-error.ts. Point a face tool's imports there, as inpaf/tools/shared/faces.ts. - Breaking: The frame, icons, and thumbnails generators and the dev tools are now plugins, each in its own folder with its own
package.json:plugins/frame/,plugins/icons/,plugins/thumbnails/, andplugins/dev/. List the ones a unit uses underpluginsinpaf.config.json.paf gen <face> <kind>runs a generator, so drop a face'sgen:frame,gen:icons,gen:thumbnails, andgen:clayscripts. Each plugin's dependencies install with it, so a unit withoutframeno longer installs Playwright. - Breaking:
module-thumbnails.g.jsand each generated Clay component now open with a header naming thepaf gencommand that makes them, rather than the generator's own file path, so the header stays the same wherever the generator lives. A face's committed copies read as stale until they are generated again. - Breaking: A face that declares only one of
LOCATION_LATITUDEandLOCATION_LONGITUDEnow fails to build, with the missing key named. Declare both, or neither. - Breaking:
resolveTargetsintools/manifest/build-manifests.tstakes the face's name as its second argument, which its errors name. Pass it wherever a face's own tool calls it, or call the newfaceTargetNames(face), which reads the appinfo too. - The waf build stops when two plugins have a
c/folder of the same name, when a plugin has ac/coreorc/pebblefolder, when a plugin has a C source or header straight inside itsc/, or when a plugin's C file has the same path as one of the face's own, the framework's, or the family core's. Other files straight inside a plugin'sc/are skipped. project/toolchain.jsonis nowtoolchain.jsonat the top of the framework, and thesetup-pebbleaction at this tag reads it there.- Breaking:
config/tsconfig.pkjs.jsonis nowtsconfig.pkjs.jsonat the top of the framework. Point a unit tsconfig that extends it atpaf/tsconfig.pkjs.json.
Removed
- Breaking: Removed the
fileslist frompackage.json.paf 1.0.0reads that list to decide what ships, and without it copies the whole repo intolib/, with the framework one folder further down atlib/src/, where a unit does not build. Fill the unit withpaf 2.0.0. - Breaking: Removed the test and lint packages from what the framework installs. Its
package.jsonnow lists only what its tools need to run, asdependencies:@rebble/clay,esbuild,ical.js, andtypescript. Playwright andsharpcome with the plugins that use them. ESLint and Prettier come with thecode-styleplugin. Listvitest,jsdom,@types/node, and anything else a face's own checks use in the face's owndevDependencies.ts/testing/andts/clay/builder/ts/testing/importvitest, so a face using those helpers needs it installed. - Breaking: Removed
config/eslint.config.ts,config/vitest.config.ts,config/typedoc.json, and the builder, tools, and spec tsconfigs inconfig/from what ships. They check the framework itself. List thecode-styleplugin for the lint. Give a face its ownvitest.config.ts, listvitestand what it loads in its owndevDependencies, and point itstestscript at it. A face spec that imports the calendar code adds the./icaljsalias to its Vitest config, usingicaljsBundle()fromtools/shared/paths.ts. - Breaking: Removed
tools/typecheck.tsfrom what ships. It now checks only the framework's own projects, andpaf typecheckrunstsc -pon each tsconfig a unit holds outsidepaf/. Add a tsconfig for any builder, tools, or spec code the face wants checked, and give each its ownincludeandexclude. A spec or tools one extendspaf/tsconfig.spec.jsonorpaf/tsconfig.tools.jsonfor the compiler options it needs. One that extendspaf/tsconfig.jsonwithout anincludechecks the framework'sts/rather than the face, and one without anexcludetakes the framework's, which leaves the face's specs in. - Breaking: Removed
tools/build-conditions.tsfrom what ships. It writes headers into the framework's ownc/tree, and those are committed in the framework, so a face never needs it. Drop thebuild:conditionsscript from a face'spackage.json. - Breaking: Removed
build.sh. Replace anything that runsbash lib/build.sh <face>withpaf build <face>. - Breaking: Removed
listFacesfromtools/shared/faces.tsand the--facesoption oftools/manifest/build-manifests.ts. UselistFaceNamesfor either. Also removed thebuilderDir,resolveIn,overlayPlugin,bundleInitialize,generateAll,indentBlock,buildTemplate, andbuildStyleexports oftools/clay-components/generate-components.ts, which only the generator itself uses. - Breaking: Removed the framework's specs from a face's test run, including the ones that checked a face's committed Clay components, icon media, and thumbnails. Those checks are now scripts, so add
paf checkto a face repo's CI besidepaf test,paf lint, andpaf typecheck.
Fixed
- Fixed every framework tool exiting 0 having done nothing under a Node with no
import.meta.main, which is 22 before 22.18, any 23, and 24 before 24.2. A generator reported success with nothing written, andbuild.shstopped saying the unit had no faces. Each tool now stops with exit code 1 and names the Nodes that have it.
Plugin Changes
Added
- Code Style Plugin: Added the
code-styleplugin, which holds the house ESLint style and the ESLint packages, withjitiso an editor's ESLint can load a.tsconfig. List it underpluginsandpaf lintlints the unit with it, so a unit needs noeslint.config.ts, nolintscript, and no ESLint packages of its own. A unit that adds rules keeps aconfig/eslint.config.tsthat spreads the default export ofpaf/plugins/code-style/eslint.config.tsand adds to it. One at the unit's root is read too, which is where an editor's ESLint looks, and the one inconfig/wins when a unit has both.paf lintprints which config it used.paf formatruns Prettier over a unit's CSS, JSON, and YAML once the unit sets"plugins": { "code-style": { "prettier": true } }, and prints one line and passes until then. It never touches a generated file,pebble.appinfo.json,package.json,package-lock.json,paf.config.json,resources/icons.json, or a folder whose name starts with a dot other than.github/. A unit with no TypeScript passespaf lintwith one line saying so.
Changed
- Frame Plugin: Breaking:
css/pebble-colors.cssis now part of theframeplugin, atplugins/frame/css/pebble-colors.css. Point each frame HTML's stylesheet link there. - Dev Plugin: Breaking: The Clay preview and the tap walk are now part of the
devplugin, asplugins/dev/clay-preview.tsandplugins/dev/tap-walk.ts, and run aspaf tool <face> clay-previewandpaf tool <face> tap-walk. Drop the face'sdev:clayscript. The preview page lands atpaf/plugins/dev/clay-preview.html. The tap walk takes the face as its first argument and walks whatever is on the emulator.--installputs the face's latest build there first rather than building one. Runpaf build <face>before it.--targetpicks the build for a face that ships several targets, and is refused without--install. - Dev Plugin: Breaking: The dev harness's C now comes with the
devplugin, atplugins/dev/c/dev/. The waf build stages each folder under a plugin'sc/beside the framework's own C, so#include "dev/dev_walk.h"resolves as before. A face without the plugin still builds while itsDEV_MODEis 0. Listdevunderpluginsto turnDEV_MODEon. - Icons Plugin: Breaking: The icons generator now reads its SVG folder from the
iconsplugin'ssourcessetting in the unit'spaf.config.json, relative to the unit, or from theICON_SOURCESenvironment variable. It no longer readsframework.iconSourcesfrom the unit'spackage.json, so move the path to"plugins": { "icons": { "sources": "<folder>" } }. - Icons Plugin: Breaking:
buildMedia,replaceMediaArray,resourceName,IconManifest, andIconSpecare now exported fromplugins/icons/media.tsrather thanplugins/icons/generate-icons.ts. Import them from there. - Icons Plugin: Breaking:
iconSourcesDirinplugins/icons/generate-icons.tstakes the unit's parsedpaf.config.json, typedIconSourcesConfig, in place of itspackage.jsonandIconSourcesPkg. - Dev Plugin: The tap walk refuses a
--targetthe face does not declare, and an--outoutside the unit or holding files the walk did not write, since the folder is emptied first. It stops with the dev switch to check when the first tap changes nothing. A pebble step that fails stops the walk with pebble's own message and exit code. A step still running after 30 seconds stops it too, or after 3 minutes for the install or the first screenshot, either of which may boot the emulator, so a stuck emulator cannot hang the walk. - Dev Plugin: The dev harness now fills the weather and location stores only for a face that declares their keys, and sets them up empty otherwise, so a face without weather no longer boots the harness with a reading it cannot show.
- Code Style Plugin: Breaking: The house ESLint style now wants a blank line before and after every block, and after a run of
constorletdeclarations. Runpaf lint --fixto add them. - Frame Plugin: Breaking: The
frameplugin's generator is nowbackground, named after what it writes like the other generators, and its script isgenerate-background.ts. Runpaf gen <face> backgroundwherever a script or a README runspaf gen <face> frame. The plugin, a face'sframe/folder, andframe/frame.config.jsonkeep their names. - Frame Plugin: Breaking: The background generator takes its frame and theme as flags. Pass the frame as
--frame <name>, since a frame named without the flag now stops the run. Pass--theme <name>or--theme allon a face with themes, which no longer bakes without one. Each flag takes a name orall, andallbakes every one the face has.paf gen <face> allpasses--frame all --theme all. - Frame Plugin: The background generator now stops on a frame or a theme the face does not have and names the ones it has. It also stops on a named theme for a face without themes, and on a frame page or a theme sheet called
all. A face with themes bakes one frame, since a themed background is named after its theme alone, so--frame allstops on one with more. Only a frame with a page for a platform the face targets counts.
Removed
- Dev Plugin: Breaking: Removed
tools/dev/tap-walk.sh. Replace anything that runs it withpaf tool <face> tap-walk.
3.0.0 - 2026-09-27
Framework Changes
Added
- Added
weather_reading_applyand theWeatherMessageandWeatherStatetypes incore/weather/weather_reading.h. They turn one weather message off the phone into the kept reading, and every missing value is converted there once. - Added
StorePollwithstore_poll_setandstore_poll_turntoio/stores/store_poll.h, the polling decisions the weather, stock, and calendar stores share. Each store keeps its own interval and its own first fetch. - Added the settings page's sections as their own builders in
ts/pkjs/config-builder:appearanceSection,bluetoothSection,clockSection,healthSection,locationSection, andweatherSection. Each takes the same options asbuildConfig, which is now those builders in their usual order, so a face that needs its own sections in between can lay out its page from the ones it wants.defaultDateOptionsandbeatsDateOptionsare named exports too. - Added
ts/pkjs/config-rowswithselect,heading,toggle, andVIBE_OPTIONS, the plain rows a hand-built settings page is made of. - Added
ClayOptiontots/clay/types, andidandsunlighttoClayConfigItem, so a face's own settings rows need no copy of the type. - Added
readPlaceints/pkjs/place, which reads what a location field saved: the place as JSON, the place already parsed, or theoffset,labelan older time zone field kept. The weather fetch and a time zone field's send both read through it.validCoordmoves there too, andts/weather/featurestill exports it. - Added
watchSettingstots/pkjs/settings-store, which snapshots a list of settings as the settings page opens and reports whether any of them moved once it saves. Weather, stocks, and the calendar each refetch through it. - Added
ts/pkjs/asks, the rule weather, stocks, and the calendar share for who fetches between the watch and the phone.askShouldFetchfolds a watch ask into a pending save refetch,slowTickShouldFetchskips a slow tick the watch already covered, andrefetchAfterSaveruns a forced refetch after the settings page saves. A face writing its own feature can use them withcreateAsks. - Added
ts/pkjs/round, the one-round-at-a-time rule weather, stocks, and the calendar share for a fetch that answers later.startRounddrops an unforced start while a round runs and gives a forced one the round,roundIsCurrentandfinishRounddrop a late answer from a round that was taken over or already ended, andshutOutRounddrops the running round's answer after a settings save. A face writing its own feature can use them withcreateRound.StockStateextends itsRoundState, and the weather feature'sWeatherStateis the same type. - Added
requestJson,cacheBust,safeParse, and theRequestFntype tots/pkjs/request, the JSON layer the weather, stock, and calendar fetches share.requestJsonhands every reply on with its error, so a provider can read a bodyless 401 or 429. - Added
requeststo a feature's hooks, naming the watch requests it answers. The phone logs one warning when the watch sends a request no listed feature answers. - Added
settings_mark_restored, which clearssettings_was_fresh. The transport calls it once a save or restore from the settings page has been saved. - Added
tools/typecheck.ts, which runs the four typecheck projects side by side and reports every one that fails. Point a face'stypecheckscript atnode --disable-warning=MODULE_TYPELESS_PACKAGE_JSON lib/tools/typecheck.tsto use it. - Added
layout_parse_intinc/core/layout/layout_string.h, which reads one layout field and gives -1 for a number pastLAYOUT_INT_MAXrather than overflowing. A face that parses layout strings itself can call it in place of its own copy. - Added
store_save_changedandstore_restore_readinginio/stores/store_persist.h, withstore_sumandSTORE_READING_SIZEinio/stores/store_sum.h, for a store that wants to skip writing a reading it already saved. - Added
callback_list_addandcallback_list_fireinc/core/io/callback_list.h, a short fixed list of callbacks run in the order they were added. - Added an optional
uuidto each entry in an appinfo'stargetsmap, which that target's manifest uses in place of the face's. Targets sharing the face's uuid replace each other on the watch and share the phone's saved settings. A target with its own installs beside them, with settings of its own. - Added
zone_setting_is_set,zone_setting_offset, andzone_setting_labelinc/core/clock/zone_setting.h, which read a time zone setting as the phone sends it. An empty setting is no zone rather than UTC. - Added
SETTINGS_REQUEST_FULLandSETTINGS_REQUEST_FRESHtoWIRE_CAPSandwire_caps.g.h, the two values a settings request carries. - Added support for a family as the root of its own project, with its
core/and faces at the top and the framework mounted inside it atlib/.isFamilyRootintools/paths.tsrecognizes one, andworkspaceFor,findFaces, andfamilyCoreForfind its faces and core.familyNameForintools/faces.tsgives the family's name, which the build puts in front of the family's headers. The name is the family's folder, or"framework": { "family": "<name>" }in itspackage.json. A family in a repo of its own sets it when the repo has another name, since CI checks the repo out under that name. A family's name cannot start with a dot or hold a quote, a slash, or a backslash, since it goes into the generated wscript and names a folder in the sandbox. - Added
project/toolchain.json, recording the Pebble SDK, the pebble-tool, and the Node major the framework is built and tested with. It carries aformatnumber, and ships in thefileslist. - Added
stocksSectionandcalendarSectionints/pkjs/config-builder, and thestocksandcalendaroptions that put them on abuildConfigpage. The stock section holds the data source, its API key, and the tickers, and the calendar section holds the private iCal link. Each takesitemsfor a face's own controls under them, such as a refresh interval or reminders the face's watch reads. - Added
store_poll_reconnect_dueinc/pebble/io/stores/store_poll.h, which says whether a reading is worth asking for again when the phone reconnects: one that never arrived, or one at least its own poll interval old. A face that keeps its own copy of the check can call this instead. - Added a
fileslist to the framework'spackage.json, naming what a face project needs from the framework. The C host specs, the docs site, the hooks, and all of.github/are left out, the face actions included. The TypeScript specs stay in, since the ones that check a face's generated files only run beside faces.
Changed
- The icon cache holds 24 icons rather than 64, which covers every icon the busiest layout draws at once and saves 800 bytes of watch memory. Icons nothing draws any more, such as past days' moon glyphs, are dropped rather than kept. The cap is the
ICON_CACHE_MAXcompile-time define. A face has no hook to raise it yet, since its sandbox wscript is generated, so one drawing more than 24 distinct icons in one redraw sees the oldest reloaded. timeband_clipnow works out its minutes in 32-bit maths, so a face that clips spans onto a window no longer links libgcc's 64-bit division, about 750 bytes of watch binary.- Breaking: A cleared time zone field now reaches the watch as an empty string, rather than being left out of the save, so clearing the picker no longer leaves the old zone on the watch while the phone shows none. Read the setting with
zone_setting_is_setand show no zone when it is not set, or a cleared picker shows UTC with no name. Give the watch field an empty or nodefault_str, since the watch skips an empty save for a field with a real default, and the clear would never reach it. - Breaking: A time zone picker is now a
locationsearchitem markedtimeZone: true, rather than any key whose name containsTIMEZONEorTIME_ZONE.buildConfig'sclock: { timeZone: true }picker is marked already. A face that builds its own picker addstimeZone: trueto the item, or the picker offers no zones and the watch gets the saved place rather thanoffset,label.retimeSettingsnow takes the settings page after the message keys. - The iCal parse now logs when a repeating event runs out of steps before it reaches this week and is left off the agenda. An hourly event set up more than about fourteen months ago does, since the walk starts at its first occurrence.
- The iCal parse now groups moved occurrences by UID once, rather than walking every one of them for each recurring event. A feed full of recurring meetings with moved instances parses in time proportional to its size.
- OpenWeatherMap now skips its Open-Meteo call when the face shows none of the readings it lends, which are UV, dew point, the daily high and low, rain chance, and the forecast. A face that shows the forecast gets only the 16 hourly rows the strip reads rather than every hour of all eight days, and the daily strip still gets eight days. The feature passes the readings a face has keys for as
fieldsinWeatherOpts, and a caller that leavesfieldsout still gets every reading. - The weather store's saved format changes, and
STORE_TAG_WEATHERmoves to0x13, so a saved reading is refused once after the update and the weather panels show placeholders until the first poll answers. - Breaking: Weather is now an opt-in feature. Import it from
lib/ts/weather/featureand passfeatures: [weather]tostartPebbleApp. Faces that omit it no longer bundle the weather providers. The settings page's default intro no longer mentions weather. - A face without weather no longer needs the
WEATHER_*orLOCATION_*message keys. A face with weather declaresWEATHER_REQUEST,WEATHER_TEMPERATURE,WEATHER_CONDITIONS, andWEATHER_OKas before, and one that declares only some of them fails to build, with each missing key named. The coordinate keys are optional, and a face without them gets no coordinates. A pair where either half is not a string is ignored rather than blanking the saved fix. A face without weather must not useKNOWN_TEMPERATURE_UNIT, which readsWEATHER_TEMPERATURE_UNIT. The same holds for each group of extra readings: the humidity, wind, and sun times, today's high, low, UV, and rain chance, and the feels-like, pressure, and dew point. A face that declares only part of a group now fails to build rather than getting none of it. - Breaking:
appmessage_opennow takes the inbox size in bytes. The outbox is sized from the face's settings table, rather than both buffers opening at the platform maximum. Pass the size of the settings page's biggest save. Clay sends every message key on a save, including the ones the watch never reads, so a page with a URL field, a layout string, and many keys can need 6 KB where a small one fits in 2 KB. The size is held between the SDK's minimum and the platform maximum. A message bigger than the inbox is dropped whole and logged with its reason, and a failed open is logged too. - Breaking:
build-pkjs.tsnow takes a face rather than a target, and builds every target the face declares. It compiles once and copies the emit into the other targets. Runnpm run build:pkjs -- <face>.build.shalready does. - Stock symbols can now hold digits and
^,=,/,:, and_, up to 15 characters.7203.T,0700.HK,^GSPC,EURUSD=X,BTC/USD, andBINANCE:BTCUSDTnow reach the provider rather than being dropped. The watch shows the first 11 characters. A face whose fonts leave out^,=, or_shows those as missing glyphs, so add them to the font'scharacterRegex. - Breaking:
createDedupedSendernow takes only the send queue and a label, andpushtakes the finishedAppMessageDict. Pushes are compared by their JSON. Build the dict before pushing, and drop thesamefunction from the call. - The Clay builder's drag now follows only the finger that started it. Another finger's moves and releases are ignored, and a drag that starts while one is under way cancels the first. Rerun
gen:clayto take this into a face's committed.g.js. - The pkjs emit now drops comments, so a face's phone bundle is smaller.
- Breaking:
gen:framenow bakes a frame for each platform in the face's appinfo, fromframe/<name>~<platform>.htmlto a background tagged~<platform>, such asbackground~emery.png. A platform with no frame of its own is skipped with a warning. Add the platform tag to each frame HTML and baked background. The appinfo's media entries keep their untagged names, and the SDK picks the tagged file for each build. With--outand several themes, each theme lands beside the--outpath under its own name rather than over the committed backgrounds. - The shared Vitest config now runs specs with
TZset to America/Toronto, a zone whose clocks change, so a spec built from local dates covers daylight saving on any machine, a UTC runner included. A face spec that leaned on the machine's own zone may need a fixed moment. - The waf build now stages only the framework's
c/core,c/pebble, andc/devinto each sandbox, without the host specs, and clears anything else an older build left there. It no longer regenerates the weather tables duringpebble build, since they are committed and a spec checks them. An array message key such as SLOT[4] now builds, where its bracket reached a compiler flag and failed every compile. build-manifests.ts <face>now prints each sandbox's path on stdout and its note on stderr. It only rewrites a sandbox'spackage.jsonandwscriptwhen they change.- Breaking:
timeband_window_epochnow takes the clock as an epoch in place of today's midnight, and counts back from it. Passnowand the wall clock's minute of the day. A window on the morning the clocks change now starts at the right hour, and one that has not opened yet, such as a forecast strip starting at the next hour, is today's rather than yesterday's. - Breaking: The health store only reads the walked distance for a face that sets
distanceinHealthConfig. Set.distance = trueif the face shows distance, including a steps readout that can switch to it. Without ithealth_store_distance_mstays 0. - Breaking:
appmessage_on_inbox_completeis nowappmessage_add_inbox_complete, and it adds to a list of up to four handlers rather than replacing the one there was room for. Several stores can each commit what one message brought them. Rename the call. - On a face that declares
SETTINGS_FRESH, a phone that already holds settings now asks the watch only whether it booted empty, rather than for the whole settings table on every start. The watch answers withSETTINGS_FRESHand the request marker only. - The watch's settings reply now carries
SETTINGS_REQUESTback as its marker, and the phone recognises the reply by it rather than byCLOCK_DATE_FORMATorAPPEARANCE_THEMEbeing there. A face without those two keys is now seeded too. npm run typecheckin a family now writes its builder, tools, and spec projects undertargets/.typecheck/, naming each face's folders. The framework's own configs reach faces through globs that start one folder above the framework, and a glob wide enough for a family's faces also reaches the repos cloned beside it. The family's owntsconfig.jsonstill covers its phone code, so a family writes one taking in*/src/pkjs/**/*.tsandlib/ts/**/*.ts.setup-pebblenow takes aface. Given one that paf sync has filled and installed, it installs the Node major, SDK, and pebble-tool that framework records inproject/toolchain.json. A face whose project has nonode_modulesstops the step. It also takespebble-tool-version, and pinned versions are cached by SDK and pebble-tool together. A pinned SDK with nopebble-tool-versioncaches the pebble-tool that was newest on the first run, and keeps it until the runner image changes. With aface, the recorded versions win overnode-version,sdk-version, andpebble-tool-version, and a run that gave a different SDK or pebble-tool gets a warning naming both.publish-releaseandreport-memorynow find a face's build output andlib/in the face's project. That is the repo root in a repo that is one face or one family, and the face's or family's folder underwatchfaces/orwatchapps/in a repo of several. A face whoselib/holds no framework stops the release. A workflow loads the actions from this repo at a tag, such asAKlitbo/pebble-app-framework/.github/actions/setup-pebble@v3.0.0, since alib/filled from thefileslist holds no.github/.prepare-releasenow finds the face in its project the same way, and reads the face and its version with the tools in the face'slib/, the same as its build. The framework is held to the version inlib/package.json, and a face whoselib/holds no framework stops the release.- Breaking:
buildConfignow leaves the Health section out unless the face passesstepsorbattery, andhealthSectionreturns null then, the same as the location and weather sections. A face with no steps readout no longer has to declareHEALTH_STEPS_MODEor thehealthcapability. Passsteps: {}to keep the steps control. A face that passes onlybatterygets a section headed Battery holding that control alone. - Breaking:
gen:iconsno longer reads its SVG sources fromvendor/. Name the folder as"framework": { "iconSources": "vendor" }in the repo'spackage.json, relative to that file. Without the setting it reads the folder fromICON_SOURCES, and with neither it stops and names the setting. An icon whose source is missing now keeps the PNG it has, with a warning, as long as that PNG is the sizeicons.jsonasks for, so a face drawing from a set the machine does not have still regenerates the rest. A named folder that is not there stops the run, and so does one holding none of the icon sets.
Removed
- Breaking: Removed support for a repo mounting one framework at its root with its faces under
watchfaces/. The tools, typecheck, lint, and Vitest now take a face or a family as the folder mounting the framework, and the face actions read each face's framework from its own project'slib/. Give each face and each family underwatchfaces/its ownlib/with paf, and runpaf syncbeforesetup-pebble, which no longer installs a face's packages.prepare-releaseno longer asks alib/checkout for its tag. - Breaking: Removed
clockstr_parseandclockstr_minutes.weather_store_sunriseandweather_store_sunsetnow return minutes past midnight, -1 for none, and the phone sendsWEATHER_SUNRISEandWEATHER_SUNSETas numbers.WeatherSeed.sunriseand.sunsetare minutes too. Read the getter where a face parsed the string, and format it with the minutes and hours it already holds. - Breaking: Removed
wx_label_long,ui/weather/labels.h, and the generatedlabels_table.g.h.wx_label_shortmoves toc/core/weather/wx_label.hand writes the word into a buffer,wx_label_short(out, n, condition). A face that shows the sky in words declaresWEATHER_CONDITION_LABEL, which the phone fills from the vocabulary, and reads it withweather_store_cond_label. - Breaking: Removed
appmessage_on_weather_extra,appmessage_on_weather_forecast,appmessage_on_weather_air,appmessage_on_weather_forecast_hourly, andappmessage_on_weather_forecast_daily, with their handler types.appmessage_on_weathernow takes aWeatherHandlerthat gets oneWeatherMessageholding every group the phone sent. A face that registered its own weather handlers reads the message withweather_reading_apply, passing the clock as aWeatherClock. - Breaking: Removed
weatherSettingsSnapshotandweatherSettingsChangedfromts/weather/feature, andstockSettingsSnapshotandstockSettingsChangedfromts/stock/feature. UsewatchSettings(WEATHER_KEYS)orwatchSettings(STOCK_KEYS)fromts/pkjs/settings-store, callingopened()as the page opens andchanged()once it has saved. - Breaking: Removed
safeParsefrom the default exports ofts/weather/utilandts/stock/util. Import it fromts/pkjs/requestinstead. - Breaking: Removed
appmessage_on_location_nameand theLocationNameHandlertype. The phone no longer sends the resolved place name asLOCATION_NAMEon every weather message.LOCATION_NAMEstays the key of the saved city setting. Drop anyappmessage_on_location_namecall. - Breaking: Removed the
WEATHER_PRECIPITATION,WEATHER_CLOUD,WEATHER_WIND_GUST,WEATHER_PRECIP_TOTAL, andWEATHER_UV_MAXweather extras. The watch side never had a handler or a store getter for them, so the phone was fetching values nothing could show. Every provider stops asking for them, and Open-Meteo's weather request is smaller for it. A face that read one of them with its own inbox code has to drop that code. - Breaking: Removed
formatCoordsfromstartPebbleApp's options. Pass the formatter toweather.withCoordsinstead. It still runs on every weather result, a failed one included, so a face can show its own text when there is no fix. - Breaking: Removed
location.timeZonefrombuildConfig. Pass the newclock: { timeZone: true }instead, which puts the alternate time zone picker in the Clock section rather than Location Settings. It needs theCLOCK_TIMEZONE_1key and works without weather, and the saved zone is kept since the key is the same.buildConfiglogs a warning if a face still passeslocation.timeZone. - Breaking: Removed
bytesEqualfromts/pkjs/wire's default export. - Breaking: Removed
wx_resource_for_forecast_codefromui/weather/icons.h, and the generatedicon_codes_table.g.hbehind it. A face drawing the forecast strips maps the code to its own icons: the low bits are the condition's place in the vocabulary ints/weather/conditions.ts, andWX_FORECAST_NIGHT_BITmarks a column after dark. - Breaking: Removed
enabledfrom every store's config:TimeConfig,WeatherConfig,HealthConfig,SystemConfig,LocationConfig,StockConfig, andCalendarConfig. Drop.enabled = truefrom each*_store_initcall. A face that does not want a store leaves its init call out. - Breaking:
ts/pkjs/app's default export now holds onlystartPebbleApp. Importrequestfromts/pkjs/request,getConfig,readValue, andreadBoolfromts/pkjs/settings-store, andrunWeatherRound,validCoord,getManualLocation,weatherRetryDelayMs,WEATHER_RETRY_DELAYS_MS,WEATHER_KEYS, and theWeatherStateandWeatherDepstypes fromts/weather/feature.collectDefaults,seedConfigFromWatch,retimeSettings, andSETTINGS_REFETCH_DELAY_MSare named exports ofts/pkjs/app. - Breaking: Removed
settings_serialized_size. Usesettings_serialized_size_max, the most bytes a face's settings reply can take. The outbox is opened at that size, so the settings reply always fits and is no longer measured before each send.appmessage_openlogs once when a settings table could outgrow the platform's largest outbox. - Breaking: Removed
seedKeys,seedColorKeys, andseedBoolKeysfromstartPebbleApp's options. The phone now seeds every setting the watch sends that the settings page has an item for, converted by the item's type: a toggle as a boolean, a colour or slider as a number, and anything else as a string. Place fields are skipped, and time zone fields seed as before. Drop the three options from the face'sstartPebbleAppcall.seedConfigFromWatchtakes the settings page in their place.
Fixed
- Fixed a layout build that returned more slots than it was given room for writing past the engine's slot arrays. The count is now held to
ENGINE_MAX_SLOTS. - Fixed a settings save that changed a time zone field sending the same zone to the watch again on the next background push.
- Fixed a face that lists the stocks feature without
STOCK_STRIPsending its saved strip under an undefined key at every start. - Fixed
tap-walk.shreporting one screenshot state fewer than it captured. - Fixed a theme walk ignoring the face's
DEV_TIME_MIN. Each shot moved the pinned clock to a minute of its own, so a panel that builds its own time throughdev_force_timedisagreed with the clock. Every shot now keeps the hour and minute the face pinned. - Fixed a saved weather or stock provider of
constructoror__proto__crashing the fetch. The provider lookup read any property of its table, so these picked up a built-in and called.fetchon it. They now fall back to the default provider like any other unknown name. A face with no weather provider setting now uses Open-Meteo without logging an unknown provider calledundefinedon every fetch. - Fixed
build.sh allexiting 0 having built nothing when the face lookup failed or the repo had no faces, and a broken sandboxpackage.jsonbuilding the face with every optional feature off. Both now stop and say what is wrong. - Fixed
gen:clayresolving a core or lib piece's import to its own folder when the face has its own copy, writing output that changed with the folder it was run from, and dropping the space before a colon in builder CSS, which turned a descendant selector such as.grid :first-childinto a different one. The face's copy now wins, the same way manifests shadow each other, the path comments always read from the repo root, and the space stays. A quoted string in builder CSS, such as acontentvalue or an attribute selector, now keeps its spaces and commas as written. Rerungen:clayif a face's builder CSS has such a selector. - Fixed the build only looking for ical.js in the mounting repo's
node_modules. It now finds the package the way node and the specs do. - Fixed
fmt_hundredthsandfmt_pct_signedprinting garbage forINT_MIN. A stock price comes off the wire as an int32, so a corrupt saved strip can hold it. - Fixed
layout_has_any_blockoverflowing on a corrupt module number of ten or more digits, which could wrap onto a real module and count an empty layout as placed. - Fixed
gen:iconsdropping every field buttype,name, andfilefrom a bitmap that is not an icon, such as a background'smemoryFormatortargetPlatforms, and from an icon it kept, and taking a"media"string earlier in the appinfo for the media array. Each field now stays on the bitmap's line, and an icon keeps its own through a re-gen. - Fixed
WEATHER_NO_TEMPinwire_caps.g.hexpanding without parentheses, so face code writing-WEATHER_NO_TEMPread it as a decrement and failed to build. It is now(-1000). - Fixed an appinfo with an empty
targetsmap, or a target with noname, failing the build with a TypeError or building intotargets/undefined. Both now stop the build with an error naming the problem. Two faces declaring the same target name, or one face declaring it twice, now stop the build too, where the second built over the first's .pbw. - Fixed two modules sharing a slug in
module-meta.tspassing the thumbnail check, which left the first one's tile blank on the settings page. The build now stops and names both. - Fixed
clay-preview.tscrashing on a face that declaresmessageKeysas a map of name to id, and--watchmissing edits to the family core's settings sections and tolib/ts. - Fixed
timeband_rollingputting now just past the far end when the lead was as long as the window. The lead is now pinned to the window's last minute, so the window always holds the moment it was built around. - Fixed the system store's reconnect callback running before the store recorded the phone as connected, so a face's reconnect handler that read
system_store_bluetoothsaw it disconnected. - Fixed the weather, stock, calendar, and location stores writing to flash on every reply, even when the reading had not changed. Each keeps a checksum of the reading it last saved and skips a write that would only store a new sync time. A relaunch then reads the saved reading as older than it is, so the catch-up poll after a reconnect can fire a little sooner.
- Fixed the stores repainting the face when nothing new had arrived. The health store asked for a repaint every minute, and the weather store once for every weather channel in a message, up to six times. The health store now asks only when a reading moved, which on a face that graphs the heart rate window is still once a minute. The weather store repaints once after the whole message, so a face reading several values together, such as sunset beside the temperature, never sees half an update.
- Fixed the weather store re-asking for weather every 3 seconds at launch after the phone had already answered, up to 9 requests when the fetch failed. Any weather reply now ends the launch re-asks, a failed one included, and the recurring poll takes over.
- Fixed a
dispatch_bytesdefined but not used warning when building a face with none of the forecast, stock, or calendar strip keys. - Fixed
publish-releasepublishing a face tag with a pre-release version, such asgridlock-v3.0.0-rc.1, as a full release that GitHub marked Latest. It now goes out as a pre-release. A tag that was never pushed now stops the release, whereghmade it at the default branch and attached pbws built from another commit. A face whose appinfo lists notargetPlatformsnow stops with a message naming the field, where the step crashed after the build had finished. - Fixed
prepare-releasestopping every release of a face with no version in its appinfo. It is now held to the repo'spackage.jsonversion, the one it builds as, and a tag whose pre-release label holds-vnow splits at the version. It now stops before the build when the appinfo lists notargetPlatforms, when the version is not shapedX.Y.ZorX.Y.Z-label, or when the changelog heading's date does not exist, such as2026-19-07. An appinfo orpackage.jsonthat is not valid JSON now fails with the file's name rather than a stack trace. - Fixed a re-run of a face's build job failing at
report-memory's upload when the first run had already uploaded the memory rows. Itsloginput is now refused when it points outside the repo, the same as every other action's path input.render-memorynow warns rather than failing when no build left any rows, since the builds that broke already fail the run. Its table now puts the warning mark on whichever limit a row is closest to, and lists a row whose binary was missing or too short to read first as not measured rather than last at 0%.report-memorynow warns when a platform's memory block is missing figures, where the platform dropped out of the table without a word. - Fixed
setup-pebbleonly caching a pinned SDK from a job that passed, so a face build that failed downloaded pebble-tool and the SDK again on every run. The cache now saves straight after the install. - Fixed
gen:framebaking a frame whose page linked a local stylesheet that was not there, leaving every colour and font the sheet declared out of the background with no error. It now stops and names the page and the link, before any platform's frames are baked.
Wearer-Visible Changes
Changed
- A time zone picked before the zone was kept now shows its label on the watch flattened to ASCII, the same as every other time zone field.
Fixed
- Fixed the text fields on the settings page, such as the API keys, the tickers, and the iCal link, taking any length.
buildConfigwrotelimit, which Clay copies onto the field as it is and a browser does not read, so the builder now writesmaxlength. - Fixed a place typed into a location picker and saved without tapping a suggestion saving as nothing, while the box still showed the name. The picker now shows "Pick a place from the list to save it." while the box holds text that is not a pick.
- Fixed a stock symbol, provider, or key change whose forced fetch failed bringing the old watchlist back the next time the quota gate held a fetch. The strip kept for a shut gate and the throttle stamps are now forgotten when a stock setting changes, and a round still out for the old list is shut out so a late answer cannot put them back. A changed iCal URL now does the same for a download of the old feed still out, which pushed the old agenda to the watch in the moment before the refetch and kept it there when the new feed's download failed.
- Fixed the restore of a wiped watch dropping a checkboxgroup's setting from the phone for good, sending a slider with decimal steps unscaled so 1.5 reached the watch as 1, and sending a setting the face no longer has under a key called
undefined0, which can stop the whole restore reaching the watch. The saved settings now go to Clay wrapped the way the settings page returns them, only the ones with a message key go, and a slider's precision comes from itsstep, which is now onClayConfigItem. A slider seeded from the watch is scaled back down too, where it came back ten times too big and reset to its default. A setting on an array message key, such as SLOT[1], now goes with a restore and seeds from the watch, where it was left out as having no key, and a time zone picker on one is retimed like any other. - Fixed a restored weather, stock, calendar, or location reading with a damaged string printing past the end of its field. Each string field now gets its terminator back after a restore.
- Fixed one calendar event ical.js cannot read, such as a weekly rule with
BYMONTHDAYor an event with no start, stopping the whole agenda from updating while it stayed in the feed. That event is now skipped and logged. - Fixed a cancelled calendar event still showing on the watch. A feed marks one
STATUS:CANCELLEDrather than taking it out, for a whole event or series or for one occurrence of a series. The reader now leaves them off, and a cancelled occurrence leaves a gap in its series. - Fixed an emoji in a calendar title or place reaching the watch as two or more question marks, which used up the field's 24 characters. An emoji, a flag, or an emoji built from several now goes over as one
?, and so does a Hangul syllable. A keycap keeps its digit. - Fixed a choice on the settings page being ignored by the watch when its select sends it as an integer, as one using Clay's
serializeValueAs: 'integer'does, and being overwritten with its first choice when sent empty or as a word. An integer is now read, and a value that is not a number is left alone. - Fixed the step chart shifting every bar by an hour on the days the clocks change, with the current hour's bar near empty or doubled. Each hour now starts on the wall clock, and the catch-up after a relaunch reads the batch holding the hour the clocks go back through for its whole length, where its last hour came up empty and its steps landed in the current hour's bar.
- Fixed a busy repeating event, one with more occurrences this week than the agenda keeps, leaving off an occurrence moved into the week from further out. An occurrence whose own slot the walk never reached is now looked up wherever that slot sits, so one moved from past where a full walk stopped, or from a slot the rule no longer makes after it was edited, shows too.
- Fixed one error on the phone stopping everything after it, which could skip every feature's refetch after a settings save, stop the background refresh for the rest of the session, or skip the settings restore. A message the phone could not encode threw out of the send queue, and a feature hook that threw stopped every feature after it. On a settings save that skipped every feature's refetch, on
readyit stopped the refresh timer for the rest of the session, and in a watch message it skipped the settings restore. A send callback that threw stalled every send queued behind it, and a settings page closed with a response that is not the settings, such asCANCELLED, threw out ofwebviewclosed. A send that throws now counts as a failed one, a callback that throws is logged and the next send still goes, each hook runs on its own with a throw logged, and a page closed without settings is logged and skipped. - Fixed the watchlist spending a call on every watch poll on a metered Twelve Data or Alpha Vantage plan, or sitting blank until the next weekday close, because of the stock quota gate. A round the provider answered with nothing good, such as NO SYMBOL for a mistyped ticker, left it open, so every watch poll spent another call on a metered plan. A fetch stamped while the phone's clock ran ahead held it shut until the clock caught up. A phone with no stamp at all, such as after its storage was cleared, held Alpha Vantage shut outside the evening window, so the watchlist sat blank until the next weekday close. Such a round now records its time and keeps it through a restart of the phone's JS. Only a round the provider never answered retries on the next poll, a stamp in the future counts as due, and Alpha Vantage with no stamp fetches once at any hour. A provider name saved with capitals, such as
TwelveData, now gets the same gate as one in lowercase. - Fixed an all-day event on a day the clocks change ending an hour into the next day, or an hour short of its own. It now ends at the next midnight on the wall clock.
- Fixed the steps readout showing -1 before the first reading, and 0 or 0.0 on a watch with Health off. It now shows
--for no reading in either mode, steps or distance, andhealth_store_stepsreturns -1 when there is none, as its doc says. - Fixed a stock round that never reached the provider replacing the watch's last good quotes with NET ERROR in every slot, until the next good round and through a relaunch. The watch keeps the last good strip. An answer the wearer has to act on, such as INVALID KEY, still shows.
- Fixed the weather spending up to six calls a round on the provider's quota retrying a failure that waits on the settings, such as a bad key or no location, for an answer that could not change. Only a failure that can clear, such as a network error, retries. A provider's rate limit, OpenWeatherMap's 429 or WeatherAPI's used-up monthly quota, now reads RATE LIMIT and is not retried either, where it read API ERROR.
- Fixed a forecast strip that outlived its fetch labelling its columns with hours already over, and keeping yesterday as its first day, when only the forecast half of later fetches failed.
weather_store_forecast_hourlyandweather_store_forecast_dailynow drop the columns already over and movebase_hourandbase_weekdaywith them. A strip that lands after its first hour or day, such as one held while the watch was out of range, is anchored behind the clock rather than most of a cycle ahead, so it ages too. - Fixed a watch that reset its settings on a saved blob it could not read, such as after going back to an older build, never asking the phone to restore them. It now counts as fresh, and the reset removes the saved blob rather than writing the defaults, so a relaunch before the restore lands still counts as fresh and asks again. Every schema in the chain is checked, so a companion reset the same way is restored too.
- Fixed the calendar window ending six days on from the fetch rather than at the end of the sixth day, so an evening event on that last day was dropped or kept by the time of day the feed was fetched.
- Fixed the night schedule and the forecast hours being off for a manual location in another time zone. Sunrise, sunset, and the forecast strips' first hour and day were sent in the weather location's own zone. They now come on the phone's clock. Open-Meteo is asked in the phone's zone. When the phone cannot name its zone, or Open-Meteo refuses the name, it is asked in the location's, and its times are moved onto the phone's clock by the response's
utc_offset_seconds. The daily strip drops the days the phone has finished with, and today's high, low, and rain chance come from the phone's today, or are left out when the response does not hold it. The Open-Meteo calls OWM and WeatherAPI make ask again in the location's zone too, where a refused zone left them without UV, the high and low, and the forecast. OpenWeatherMap's times are read on the phone's clock, and WeatherAPI's are moved onto it. WeatherAPI's high, low, and rain chance come from the phone's today too, and it is asked fordays=2so that day is there when the location is behind the phone. - Fixed today's high, low, UV, and rain chance still showing the day after they came, when only the forecast half of later fetches failed.
weather_store_temp_max,weather_store_temp_min,weather_store_uv, andweather_store_precip_chancenow report no data once the day they came is over. - Fixed the temperature showing in the old unit with the new letter, such as 23F for 23 degrees Celsius, after the wearer switched units while the phone was offline or the fetch failed, or when a fetch from before the switch answered just after it. The weather already on the watch now converts to the new unit when the wearer switches, through
weather_reading_convert, a restore from the phone is left alone, and a save shuts out a fetch still out for the old settings. Faces are told through the newappmessage_on_unit_changed, which the weather store registers. - Fixed the heart rate graph falling out of step with the clock. The backfill after a first launch placed its records as if the last one were the current minute, which shifted the graph when the watch's minute log ran behind the clock. A watch clock set back froze it, with only its last bar moving until the clock caught up. Each record now lands in the slot for its own minute, through
minute_window_first_slotincore/health/minute_window.h, and the graph starts over when the clock goes back. A relaunch after time in a watchapp now fills the minutes it was away from the watch's log, where the graph came back with a hole in it, or blank after an hour, and a minute holding a live reading keeps it. - Fixed a wiped watch staying on its defaults for the whole session when the phone nacked the watch's settings reply at cold boot, since the phone asks for settings once per launch. The reply was dropped. The full and fresh replies now get the same retries as a request, and each retry is rebuilt with the settings as they are then.
- Fixed a
webcal://calendar link, such as an iCloud Subscribe link, never loading. It is now fetched over https. A link with a#part now gets its cache stamp before the#, where the stamp never reached the server and a cached copy of the feed could come back. Also fixed the calendar stopping its refreshes for the rest of the session when the feed was cleared while a download was out. - Fixed a weather provider's missing reading reaching the watch as a real one. Open-Meteo's null rain chance or UV read as 0, OpenWeatherMap's null wind speed as 0 km/h, and a missing Open-Meteo weather code as the fog glyph on the forecast strips or CLEAR for the current reading. Each now reads as no data. A high, low, feels-like, or dew point out of range, or a forecast column's temperature, is now held to -99 to 199 the way the current temperature is.
- Fixed a restored watchlist or agenda staying stale until the next poll, and the weather panels sitting on placeholders for up to a whole poll interval, when a store's first fetch went missing. A settings push in the first second after launch cancelled it, which also stopped the weather store's boot re-asks.
weather_store_reconfigurenever fetched when it turned polling on for a store with no reading. A reconfigure now only cancels a waiting fetch when polling turns off, and every store catches up right away when it turns polling on with nothing to show. - Fixed a text setting whose default is empty, such as a picker whose None is
"", being impossible to clear once set, and being rewritten to flash on every launch. Such a field now keeps an empty value, throughcstring_setting_is_cleanincore/text/number_format.h. A field with a real default still ignores an empty save. - Fixed weather, stocks, and the calendar each fetching for both the watch's poll and the phone's own refresh. Weather was fetched twice per 30 minute poll, stocks spent their quota twice, and the calendar downloaded and parsed the whole feed every 5 minutes whatever interval the watch asked on. The phone's slow refresh now skips when the watch asked since the last one, and only fetches on its own once the watch stops asking, such as when it is out of range. A watch ask or a slow tick while a fetch is already out, or just after a settings save that refetches, no longer starts a second one.
- Fixed a text setting with a
defaultValue, such as the tickers, the iCal link, or an API key, coming back as its default on the phone when the wearer emptied it. The features now read them withreadTextfromts/pkjs/settings-store, which keeps an empty value and takes the default only for a field never saved. - Fixed a typed offset such as
utc+5on the time zone picker showing only itsEtc/GMT-5name, whose sign runs the other way. It now readsUTC+05:00. - Fixed Open-Meteo pressure reading far too low at altitude, about 840 hPa in Denver rather than about 1013. It sent ground level pressure where OpenWeatherMap and WeatherAPI send sea level.
WEATHER_PRESSUREnow carries Open-Meteo'spressure_msl, so the reading no longer jumps when the provider changes. - Fixed settings being rewritten to flash on every weather, stock, or calendar message after a fresh install, until the face relaunched. On a face that declares
SETTINGS_FRESH, the phone now sends the key with every save and restore from the settings page. While fresh, the watch only writes to flash on that message, and saving it ends fresh. Anything else, such as the time zone push on everyready, stays in memory until the restore lands. The phone also stops pushing the whole config back on everyready. A face without the key saves only when a setting changes. The key carries 1 on a restore and 0 on a save, so a unit switch on the first save of a fresh watch converts the reading in hand, where it read as a restore and showed 21 degrees C as 21F. - Fixed the sun readouts when sunset falls after midnight, as in a high latitude summer. Daytime read as night and the next event read as a sunrise hours away.
solar_day_progress,solar_night_progress, andsolar_next_eventnow handle it, and equal sunrise and sunset times, and readings outside the day, now return no data. - Fixed the time zone picker on the settings page reopening its list after a zone was tapped, while a search was still waiting or the geocoder had not answered, where a stray tap could overwrite the pick. Also fixed a zone's UTC offset hint coming out a minute short when the page opened as the minute rolled over.
- Fixed the moon countdown reading 30 right on the new moon.
moon_days_to_phasenow returns 0 to 29, and the half day after the moon counts as now as well as the half day before. - Fixed a symbol outside the US showing NET ERROR on Finnhub's free plan, which answers 403 for one, such as
SHOP.TO. That now shows NO ACCESS. Twelve Data's 403 for a symbol outside the plan now shows NO ACCESS too, and its server errors show NET ERROR. Both read as INVALID KEY, which shut the quota gate for a problem the key did not cause. - Fixed every settings save counting as a change, which rebuilt the face and made the calendar store refetch the whole feed. The custom colours are now compared with what the face holds, up to as much as it can hold, before they count as changed. The stock and calendar stores only catch up after a save when they have never had an answer, so a cleared watchlist or an empty agenda no longer asks again on every save.
- Fixed a setting only seeding from the watch when the face listed it by hand, so a select such as the temperature unit opened the settings page on its default rather than what the watch was set to. A phone with nothing saved now refetches weather, stocks, and the calendar once the watch's settings are seeded, where the first fetch ran on the defaults and a watch on Fahrenheit showed a Celsius reading as 22F. A face without
SETTINGS_FRESHgets the same refetch on its first seed, and a setting with nothing saved now compares as its default, with a single value compared as text so a number default matches the string Clay saves, so a seed or first save that writes the default back no longer spends a second call.
2.2.0 - 2026-09-23
Framework Changes
Changed
- Renamed the repo to
pebble-app-framework, and its package to match. GitHub redirects the old URL, so a face's.gitmoduleskeeps working. Point it athttps://github.com/AKlitbo/pebble-app-framework.gitand rungit submodule sync. A face movinglibto this release has to runnpm installand commitpackage-lock.json, because the lock names thelibworkspace and itsnode_moduleslink after the package.npm ci, and so CI, fails until it does.
2.1.1 - 2026-09-22
Framework Changes
Fixed
- Fixed
-DBUILD_WATCHAPPnever being passed, so an app target built as though it were a watchface. A face's#ifdef BUILD_WATCHAPPcode now reaches the app, which for Gridlock is the weather request it makes as it opens. Runnpm run build:manifeststo rewrite the sandboxes, whichbuild.shand CI already do.
Wearer-Visible Changes
Changed
- The settings page's prompt to pick a city again now draws as a callout, with an accent bar and a badge. It is the
locationsearchprompt, and a face can repaint it through.loc-note.
Fixed
- Fixed a timezone key never being seeded back from the watch, so the config page opened on an empty field when the phone had nothing saved. The place name now comes back and the picker asks for the city again. The watch's value only fills a field the phone has nothing saved in, so a saved place keeps its zone.
- Fixed the watch showing a time zone of zero minutes under no name before a place was saved. An empty timezone key was sent to the watch, which reads it that way. The key is now left out until a place is saved.
- Fixed a city picked for a time zone on the settings page saving as UTC when the page was saved before the zone lookup answered, or while offline. A pick in a
locationsearchtimezone field now takes its zone from the geocoder result straight away, and the prompt to pick again shows when the result has none. - Fixed a moved occurrence of one recurring iCal event replacing the occurrence of every other recurring event at the same time, and showing once for each of them.
parseIcalnow relates aRECURRENCE-IDVEVENT only to the event with the same UID. - Fixed an older calendar fetch that answered last overwriting a newer one, such as the old feed showing after the iCal URL changed. Only the newest fetch's answer is sent to the watch.
2.1.0 - 2026-09-20
Framework Changes
Added
- Added
layout_has_any_blockinc/core/layout/layout_string.h, which says whether a layout wire string holds a placeable block. The catalog bound comes in as an argument. - Added
layout_role_pickinc/core/layout/layout_role.h, which picks between a face's day, night and Quiet Time layouts. A trigger with no layout assigned falls through to the next one rather than drawing an empty grid. - Added time zones to a
locationsearchfield on a timezone key. It matches UTC, a zone name, or a typed offset such asutc+05:30as well as a city, and a zone pick persists{label, offset, tz, fixed}with no coordinates.
2.0.0 - 2026-09-17
Framework Changes
Added
- Added
node-versionandsdk-versioninputs to thesetup-pebbleaction. Both are optional and default to Node 24 and the latest SDK. - Added
report-memoryandrender-memoryactions, which rank each face's memory use in the CI run summary. - Added
prepare-releaseandpublish-releaseactions for checking and publishing face releases. - Added an optional
cancelcallback to the builder'sDragSpec, called when a pointer is taken away mid-drag. Builders that remove an item from their model inliftcan restore it here. - Added
createDedupedSendertots/pkjs/send-queue.ts. It wraps a queueSend so an unchanged payload is skipped and a payload whose send failed is not counted as delivered, which is what the weather, stock, and calendar pushes all use now.
Changed
- Breaking: The engine can now be mounted under any folder name. The face repo declares that folder in its
package.jsonworkspaces, which is how the tools locate the engine. build.shand the waf build now find faces through the same lookup as the other tools.build.shno longer needs the repo'sbuild:pkjsscript.- Breaking: Stocks and iCal are now opt-in features. Pass
features: [stocks, calendar]tostartPebbleApp. Faces that omit them no longer bundle their code, so Gridlock must list both. - Breaking: The Clay, thumbnail, and icon generators now take the face as an optional argument and run for every face that needs them when it is omitted. A repo now needs one
gen:clay,gen:thumbnails, andgen:iconsscript instead of one per face. Their banners name those scripts, so committed output must be regenerated. - ical.js is now copied into a face's build only when the face uses iCal.
- Breaking: The thumbnail generator now takes panel sizes from the face instead of a fixed list. A face exports them as
thumbnailSizesfrommodule-meta.ts. - Exported the option and state types used by
startPebbleApp,runWeatherRound,buildConfig, the hidden store component, and the WeatherAPI provider so faces can name them in their own code. - Pinned
@rebble/clayto 1.1.0, which adds theTOUCH,SPEAKER, andRGB_BACKLIGHTcapabilities and integer values for inputs, selects, and radio groups. - The
setup-pebbleaction now verifies that pebble-tool runs and adds the pebble-tool and SDK versions to the job summary. A pinnedsdk-versionis cached between runs. - Breaking: A
locationsearchfield now persists the saved place as JSON for every key type, including its timezone alongside the coordinates. The pkjs side builds theoffset,labelvalue sent by a timezone field, so a face reading the setting from the phone's config now receives the JSON blob instead of the pair. - Breaking:
LocationConfignow carries apersist_key, like every other store's config. Pass the key you wantlocation_store_initto save the last fix under. A face that omits it gets key 0, and 253 is what earlier versions used. - The strip caps and marker values the phone and the watch both bound against are now generated into
c/core/wire/wire_caps.g.hfromWIRE_CAPSints/pkjs/wire.ts, rather than defined once per language.npm run build:conditionswrites it alongside the weather tables, and it is committed like them. - The OpenWeatherMap provider now fetches its own endpoint and the Open-Meteo extras at the same time instead of one after the other. A weather round spends one request timeout rather than two, and the extras call goes out even when the OWM key is rejected.
Removed
- Breaking: Removed the
tools/ci/scripts. A face repo moving to this engine should switch its workflows to the new actions in the same commit. - Breaking: Removed
weather_store_location_nameand the weather store'sLOCATION_NAMEhandler. Nothing read them.STORE_TAG_WEATHERmoves to0x12with the struct, so a saved reading is refused once after the upgrade and the weather panels show placeholders until the next poll.
Fixed
- Fixed a nacked send retrying immediately when another send was queued during its backoff.
- Fixed a store enabled after startup while disabled not receiving the reply to its poll.
- Fixed
ICON_AUTOTRIMandICON_TRIM_LOGbeing impossible to override. They are#ifndef-guarded now, so a face can set either one before includingicon_cache.has the header always claimed.
Wearer-Visible Changes
Changed
- The config page now prompts for a timezone city again when the saved place has no timezone.
Fixed
- Fixed settings replies larger than the outbox being sent partially. They are now skipped unless they fit in full.
- Fixed deleted calendar events remaining on the agenda. An empty calendar or removed feed now clears them.
- Fixed a cleared watchlist remaining on the watch and returning on the next launch.
- Fixed moved occurrences of repeating events disappearing from the agenda.
- Fixed repeated weather requests from the watch each starting a provider fetch, and a failed send leaving weather stuck until the phone app restarted.
- Fixed an error watchlist being sent back to the watch while the provider's quota gate remained closed.
- Fixed drizzle displaying the N/A icon with OpenWeatherMap.
- Fixed accented letters in calendar titles and stock statuses reaching the watch as different letters. The accent is now removed and the plain letter is retained.
- Fixed an overlong date format leaving the readout buffer unterminated for subsequent passes.
- Fixed every settings save requesting fresh weather. A field now counts as changed only when its value actually changes.
- Fixed timezone fields retaining the offset from when their city was selected. For example, a London selected in January previously ran an hour behind during summer. Places selected before this release have no saved timezone, so they retain the old offset until the city is selected again.
- Fixed the weather condition readout cutting a condition at the first underscore rather than at a trailing
_NIGHT.readout_weather_condnow reads the generated label table, which applies the same rule as the phone.
1.1.0 - 2026-09-12
Framework Changes
Added
- Added support for a repo that holds a single face at its root, laid out like a plain Pebble project with
config/,src/andresources/. The build and the face release find that face by the name in itsconfig/pebble.appinfo.json, and its changelog sits at the repo root.
1.0.0 - 2026-09-12
Framework Changes
Added
- First release of the engine as its own repo, split out of the shared
lib/in pebble-watchfaces.