github mozilla/application-services v157.0

4 hours ago

v157.0 (2026-09-10)

✨ What's Changed ✨

Autofill

  • Added credit card equivalents of the address bulk-import API, for applications migrating a credit card collection into this store: add_credit_card_with_meta(), add_many_credit_cards_with_meta(), update_credit_card_with_meta(), add_many_credit_card_tombstones() and delete_all_credit_cards(). These take the guid, timestamps and sync change counter from the caller, so a migrated record keeps the identity it already had. cc_number_enc is stored exactly as supplied and is not checked against the store's key, matching add_credit_card(). (bug 2068982)
  • Timestamps outside the range a JS Date can represent are now reported as 0 wherever they enter the store: on the metadata an application supplies to the bulk-import APIs, on every read out of the local database, and on incoming sync payloads. This matches the treatment logins received in bug 2066257 and covers addresses, credit cards and passports. (bug 2068982)

Logins

  • Timestamps outside the range a JS Date can represent are now reported as 0 wherever they enter or leave the store: on the metadata an application supplies to add_with_meta(), on every read out of the local database, and on incoming sync payloads, similar to what Desktop does. (bug 2066257)

Full Changelog

✨ What's Changed ✨

Autofill

  • update_address() now sets time_last_modified to the time of the update, matching update_credit_card() and update_passport().

Ads-Client

  • Added blocks: Vec<String> to ffi::MozAdsRequestOptions, AdsClient::request*_ads, MARSClient::fetch_ads, mars::AdRequest, and mars::AdRequest::try_new. This is serialized and passed to MARS so that it can remove blocks server-side.

  • shutdown no longer requires a full AdsClient lock (at the cost of no longer shutting down the sqlite db), and telemetry is no longer cloned in the MozAdsClientBuilder functions.

  • Adds AdsStore, a durable sqlite structure for storing ads, which will allow for a stateful refactor of the ads-client.

  • Added MozAdsEnvironment::Custom(url::Url) and Environment::Custom(url::Url) variants for connecting to arbitrary MARS backend servers (used primarily in local development).

sql_support

Full Changelog

Don't miss a new application-services release

NewReleases is sending notifications on new releases.