6 # 111.0.0 (In Development)
7 * [Commits](https://github.com/mozilla-mobile/firefox-android/compare/v110.0.0...main)
8 * [Dependencies](https://github.com/mozilla-mobile/firefox-android/blob/main/android-components/plugins/dependencies/src/main/java/DependenciesPlugin.kt)
9 * [Gecko](https://github.com/mozilla-mobile/firefox-android/blob/main/android-components/plugins/dependencies/src/main/java/Gecko.kt)
10 * [Configuration](https://github.com/mozilla-mobile/firefox-android/blob/main/android-components/.config.yml)
12 * **feature-awesomebar**
13 * π [Bug #1800268](https://bugzilla.mozilla.org/show_bug.cgi?id=1800268) A new optional lambda `resultsHostFilter` has been added to the constructors of some AwesomeBar suggestions providers. This will allow for external url filtering of the provided suggestions.
15 * **feature-awesomebar**
16 * π New `SearchTermSuggestionsProvider` that will show by default up to 2 search suggestions based on past searches the user has done with the current search engine. These suggestions will appear between the search action ones and the search suggestion ones. [bug #1804258](https://bugzilla.mozilla.org/show_bug.cgi?id=1804258).
18 * **feature-downloads**:
19 * ποΈ `DownloadsFeature` now allows passing a download dialog delegate for 1st party downloads through a new `customDownloadDialog` parameter. [Bug 1812518](https://bugzilla.mozilla.org/show_bug.cgi?id=1812518)
20 * π `DownloadsFeature` now allows passing a download dialog delegate for 3rd party downloads through a new `customThirdPartyDownloadDialog` parameter. [Bug 1812518](https://bugzilla.mozilla.org/show_bug.cgi?id=1812518)
23 * β οΈ **This is a breaking change**: `BrowserToolbarBehavior` will not position the `Snackbar.SnackbarLayout` anymore. The ownership for the positioning behavior should be reversed with the snackbar choosing whether it want to be shown above the toolbar and exactly how. [Bug 1812518](https://bugzilla.mozilla.org/show_bug.cgi?id=1812518)
25 * **browser-engine-gecko**
26 * π Bug fixed [Bug 1811183](https://bugzilla.mozilla.org/show_bug.cgi?id=1811183). Handles non-digit values for `DateTimePrompt.stepValue`.
29 * π Expose the release channel of GeckoView through a new `releaseChannel` property of `EngineVersion`. [Bug 1811448](https://bugzilla.mozilla.org/show_bug.cgi?id=1811448).
32 * π Added `Settings.cookieBannerHandlingDetectOnlyMode` which helps to detect cookie banner events without handle the banners + indicating the mode of the events, see [Bug 1810743](https://bugzilla.mozilla.org/show_bug.cgi?id=1810743)
33 * β οΈ **This is a breaking change**: Removed `CookieBannerMode.MODE_DETECT_ONLY` use `Settings.cookieBannerHandlingDetectOnlyMode` instead.
35 * **feature-webnotifications**
36 * π Added support for silent web notifications. Default importance level for web notifications was set to `IMPORTANCE_DEFAULT`. [Bug 1796766](https://bugzilla.mozilla.org/show_bug.cgi?id=1796766).
39 * π Bug fixed [Bug 1802620](https://bugzilla.mozilla.org/show_bug.cgi?id=1802620). Handles `ForegroundServiceStartNotAllowedException`.
42 * [Commits](https://github.com/mozilla-mobile/firefox-android/compare/v109.0.0...v110.0.0)
43 * [Dependencies](https://github.com/mozilla-mobile/firefox-android/blob/v110.0.0/android-components/plugins/dependencies/src/main/java/DependenciesPlugin.kt)
44 * [Gecko](https://github.com/mozilla-mobile/firefox-android/blob/v110.0.0/android-components/plugins/dependencies/src/main/java/Gecko.kt)
45 * [Configuration](https://github.com/mozilla-mobile/firefox-android/blob/v110.0.0/android-components/.config.yml)
47 * **support-telemetry-sync**
48 * π Bug fixed [Bug 1804996](https://bugzilla.mozilla.org/show_bug.cgi?id=1804996). Removed fpsa, ftas, ftsa and ffos DDG type tags and replaced them with fpas.
51 * π Bug fixed [Bug 1802975](https://bugzilla.mozilla.org/show_bug.cgi?id=1802975). Allow crash dumps to be shared using a11y services.
54 * ποΈοΈ Add `CookieBannerHandlingStatus` to `SessionState` instance to indicate the status of the given session state see more on [Bug 1797568](https://bugzilla.mozilla.org/show_bug.cgi?id=1797568).
57 * π Bug fixed [Bug 1806411](https://bugzilla.mozilla.org/show_bug.cgi?id=1806411). Remove image link from share message when sharing an image.
60 * π Added `CookieBannerMode.MODE_DETECT_ONLY`, this help to dected cookie banner events without handle the banners see [Bug 1806435](https://bugzilla.mozilla.org/show_bug.cgi?id=1804594)
62 * **browser-state**, **feature-search**
63 * Added a new parameter `isGeneral` to `SearchEngine` to specify whether or not the search engine is a general search engine (eg, provides broad search results). Search engines read from storage will now have this parameter set based on a list of general search engines. [Bug 1804594](https://bugzilla.mozilla.org/show_bug.cgi?id=1804594)
64 * Added Selector `BrowserState.findNormalOrPrivateTabByUrlIgnoringFragment` to match urls ignoring the fragment/anchor of the url, allowing `SelectorAddUseCase` to use this functionality.
67 * Added `ignoreFragment` param in `SelectOrAddUseCase` to match urls ignoring the anchor/fragment. This sets the the foundation to fix [Bug 1796319](https://bugzilla.mozilla.org/show_bug.cgi?id=1796319).
69 * **lib-crash-sentry**
70 * π Bug fixed [Bug 1801349](https://bugzilla.mozilla.org/show_bug.cgi?id=1801349). Properly synchronize access to the crash reporter breadcrumb list.
72 * **feature-prompts**:
73 * Added permission requests for accessing media files (`READ_MEDIA_AUDIO`, `READ_MEDIA_AUDIO`, `READ_MEDIA_AUDIO`) when uploading files on devices with Android 13 and later.
75 * **feature-awesomebar**
76 * `SuggestionProviderGroup` now has a new parameter `priority` that decides the order of this group in the AwesomeBar suggestions. Priority is same as the `score` of `AwesomeBar.Suggestions`. Group having the highest integer value will have the highest priority.
79 * Added optional parameter `cursorPlacement` to `editMode` which allows cursor placement to be specified when switching to edit mode.
82 * π Added a new parameter `shouldDisplaySearchTerms` to `ToolbarFeature` which allows clients to specify if the search terms should be shown instead of the URL when the toolbar is in display mode. [Bug 1805164](https://bugzilla.mozilla.org/show_bug.cgi?id=1805164)
84 * **browser-engine-gecko**
85 * π Added `GeckoCookieBannersStorage.addPersistentExceptionInPrivateMode` to allow to add persistent cookie banner exceptions in private browsing [Bug 1797605](https://bugzilla.mozilla.org/show_bug.cgi?id=1806924).
88 * [Commits](https://github.com/mozilla-mobile/firefox-android/compare/v108.0.0...v109.0.0)
89 * [Dependencies](https://github.com/mozilla-mobile/firefox-android/blob/v109.0.0/android-components/plugins/dependencies/src/main/java/DependenciesPlugin.kt)
90 * [Gecko](https://github.com/mozilla-mobile/firefox-android/blob/v109.0.0/android-components/plugins/dependencies/src/main/java/Gecko.kt)
91 * [Configuration](https://github.com/mozilla-mobile/firefox-android/blob/v109.0.0/android-components/.config.yml)
93 * **support-ktx, feature-contextmenu**
94 * π Bug fixed [Bug 1798873](https://bugzilla.mozilla.org/show_bug.cgi?id=1798873) Added a way to exclude current app from share targets. Used when sharing text.
96 * **feature-top-sites**
97 * π A new filter `hasHost` was added when getting top frecent sites in order to remove duplicate frecent top sites that have same host/domain as provided top sites. For more references see [Bug 1801285](https://bugzilla.mozilla.org/show_bug.cgi?id=1801285).
100 * π Bug Fixed [Bug 1800885](https://bugzilla.mozilla.org/show_bug.cgi?id=1800885) Increase touch target of Add/Edit checkbox from `mozac_browser_menu_item_image_text_checkbox_button.xml` to improve accessibility.
103 * β οΈIncreased `compileSdkVersion` to 33 (Android 13)
104 * **feature-awesomebar**
105 * `SearchSuggestionProvider` and `SearchActionProvider` now have a new parameter `suggestionsHeader`, to add title to suggestions.
108 * Added `String.toShortUrl` extension that allows making URLs more user friendly [#1796379](https://bugzilla.mozilla.org/show_bug.cgi?id=1796379)
110 * **browser-engine-gecko**
111 * π Added `GeckoCookieBannersStorage.kt` to manage cookie banner exceptions [Bug 1797605](https://bugzilla.mozilla.org/show_bug.cgi?id=1797605).
114 * π Bug fixed [Bug 1801648](https://bugzilla.mozilla.org/show_bug.cgi?id=1801648). Fix autoplay settings are not getting updated in private mode.
116 * **browser-storage-sync**
117 * Removed Fennec to Fenix migration code. Deleted the `importVisitsFromFennec`, `importBookmarksFromFennec` and `readPinnedSitesFromFennec` functions. [Bug 1803632](https://bugzilla.mozilla.org/show_bug.cgi?id=1803632)
119 * **service-sync-logins**
120 * Removed Fennec to Fenix migration code. Deleted `importLoginsAsync` function. [Bug 1803632](https://bugzilla.mozilla.org/show_bug.cgi?id=1803632)
122 * **lib-crash-sentry**
123 * π Bug fixed [Bug 1801349](https://bugzilla.mozilla.org/show_bug.cgi?id=1801349). Copy the breadcrumb date to the Sentry breadcrumb.
126 * [Commits](https://github.com/mozilla-mobile/firefox-android/compare/v107.0.0...v108.0.0)
127 * [Dependencies](https://github.com/mozilla-mobile/firefox-android/blob/v108.0.0/android-components/buildSrc/src/main/java/Dependencies.kt)
128 * [Gecko](https://github.com/mozilla-mobile/firefox-android/blob/v108.0.0/android-components/buildSrc/src/main/java/Gecko.kt)
129 * [Configuration](https://github.com/mozilla-mobile/firefox-android/blob/v108.0.0/android-components/.config.yml)
132 * π A new action `RefreshSearchEnginesAction` was added to the `BrowserAction` to allow for refreshing search engines when app locale is changed. For more references see [Bug 1800209](https://bugzilla.mozilla.org/show_bug.cgi?id=1800209).
134 * **feature-readerview**:
135 * [Bug 1798672](https://bugzilla.mozilla.org/show_bug.cgi?id=1798672) Reader view font controls have adaptive font sizes to support smaller width devices.
137 * **ui-autocomplete**
138 * π Bug fixed [Bug 1794933](https://bugzilla.mozilla.org/show_bug.cgi?id=1794933) Immediately remove autocomplete when not applicable anymore.
141 * [Bug 1798359](https://bugzilla.mozilla.org/show_bug.cgi?id=1798359) Set Total Cookie Protection as the default cookie policy for all Tracking Protection modes. Read more about Total Cookie Protection [here](https://blog.mozilla.org/en/mozilla/firefox-rolls-out-total-cookie-protection-by-default-to-all-users-worldwide/).
142 * Renamed `EngineSession.onSaveToPdfError` to `EngineSession.onSaveToPdfException`.
144 * **browser-engine-gecko**
145 * π A new action `SaveToPdfExceptionAction` was added to the `EngineAction` to allow for notifying consumers on unsuccessful Save to PDF requests. For more references see [Bug 1796482](https://bugzilla.mozilla.org/show_bug.cgi?id=1796482).
146 * β οΈ When using the save to pdf feature, now it's required have a middleware that handles the `SaveToPdfExceptionAction`, or your application will crash when an error happens when requesting a page to be saved as PDF.
149 * π New composable popup allowing to offer more context about a specific View anchor on the screen. Supports RTL along with many other customizations and anchorings.
152 * QRFeature now allows querying if scanning is in progress with a new `isScanInProgress` property. This helps deciding on whether to resume scanning by calling `scan` in a new `QRFeature` instance as it can happen if the process is restarted as a followup to the user updating system permissions for the app.
154 * **concept-engine**:
155 * Added support for changing the cookie banner handling setting in regular and private browsing. [Bugzilla](https://bugzilla.mozilla.org/show_bug.cgi?id=1796144)
157 * **concept-storage**:
158 * π New API: `StorageMaintenanceRegistry` in `concept-storage` that deals with registering/unregistering storage maintenance workers.
159 * β οΈ **This is a breaking change**: Added a new parameter `dbSizeLimit` to `Storage.runMaintenance` API to indicate Maximum DB size to aim for, in bytes.
161 * **browser-storage-sync**:
162 * π New: An abstract WorkManager Worker class `StorageMaintenanceWorker` is introduced. [Bugzilla](https://bugzilla.mozilla.org/show_bug.cgi?id=1795903)
163 * π New: A Kotlin object `GlobalPlacesDependencyProvider` is introduced to provide `placesStorage: PlacesStorage` globally when needed.
164 * β οΈ **This is a breaking change**: `PlacesStorage.runMaintenance` API has changed. Now it needs `dbSizeLimit` parameter as it implements new version of `Storage` API.
167 * The colors of the icons from the status bar should be in contrast with the status bar background color [#1795650](https://bugzilla.mozilla.org/show_bug.cgi?id=1795650)
170 * Re-export TextMetricType, RateMetricType, DenominatorMetricType, NumeratorMetricType to make them usable by applications [#13010](https://github.com/mozilla-mobile/android-components/pull/13010)
173 * `UpdateThumbnailAction` and `RemoveThumbnailAction` now throw an exception if those actions are not handled with a middleware.
174 * See `BrowserThumbnails` and `ThumbnailsMiddleware` for example usages within other features.
175 * Removed handling of `LowMemoryAction` in `SystemReducer` on in-memory thumbnails.
177 * **browser-tabstray**:
178 * `TabViewHolder` no longer checks if a thumbnail is in memory before retrieving a thumbnail from the `ImageLoader`.
181 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v106.0.0..v107.0.0)
182 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/154?closed=1)
183 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v107.0.0/buildSrc/src/main/java/Dependencies.kt)
184 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v107.0.0/buildSrc/src/main/java/Gecko.kt)
185 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v107.0.0/.config.yml)
187 * **feature-syncedtabs**
188 * π Bug fixed [issue #12930](https://github.com/mozilla-mobile/android-components/issues/12930) Ensure `DefaultPresenter` will unregister it's `FxaAccountManager` observers when it's `lifecycleOwner` is stopped to prevent memory leaks.
190 * **feature-app-links**
191 * π Bug fixed [issue #12804](https://github.com/mozilla-mobile/android-components/issues/12804) Speculative fix for a TransactionTooLargeException or RuntimeException when querying activities.
194 * Updated the locally published artifacts to use a single timestamp rather than many [#12902](https://github.com/mozilla-mobile/android-components/issues/12902)
196 * **nimbus-gradle-plugin**:
197 * Updated the plugin to use the version of application services defined in the buildSrc Dependencies.
199 * **browser-engine-gecko**:
200 * Canceling the "Open in app?" displays an empty page [#12894](https://github.com/mozilla-mobile/android-components/issues/12894)
202 * **feature-readerview**:
203 * π Reader Mode now defers to the active dark mode for the default color scheme.
206 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v105.0.0..v106.0.0)
207 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/153?closed=1)
208 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v106.0.0/buildSrc/src/main/java/Dependencies.kt)
209 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v106.0.0/buildSrc/src/main/java/Gecko.kt)
210 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v106.0.0/.config.yml)
212 * **concept-engine**, **feature-sitepermissions**
213 * π New `name` property for Permission which allows to easily identify and differentiate Permissions.
214 * Use the permission name when reporting telemetry for the permission dialogs. [#12683](https://github.com/mozilla-mobile/android-components/issues/12683).
216 * **browser-engine-gecko**
217 * π Bug fixed [fenix issue #16943](https://github.com/mozilla-mobile/fenix/issues/26943) - Prevent crashes when accessing a time picker with blank step value.
219 * **browser-storage-sync**:
220 * π Bug fixed [issue #12689](https://github.com/mozilla-mobile/android-components/issues/12689) Decouple autocomplete suggestions from history search suggestions by using a separate reader which allows for separate management.
223 * π Bug fixed [issue #12689](https://github.com/mozilla-mobile/android-components/issues/12689) Make `Context.shareMedia` work with Android Direct Share.
225 * **feature-accounts-push**:
226 * β οΈ **This is a breaking change**: `FxaPushSupportFeature` now requires to be explicitly started with `initialize`.
227 * The constructor for `FxaPushSupportFeature` has a `coroutineScope` parameter that defaults to a `CoroutineScope(Dispatchers.IO)`.
230 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v104.0.0...v105.0.0)
231 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/152?closed=1)
232 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v105.0.0/buildSrc/src/main/java/Dependencies.kt)
233 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v105.0.0/buildSrc/src/main/java/Gecko.kt)
234 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v105.0.0/.config.yml)
236 * **feature-search**:
237 * Allow the search widget to match the resized width [#12676](https://github.com/mozilla-mobile/android-components/issues/12676).
239 * **feature-findinpage**:
240 * π Bug fixed [issue #12637](https://github.com/mozilla-mobile/android-components/issues/12637) Disable find in page previous and forward buttons if the query is empty
242 * **feature-search**:
243 * Implement the common part of search widget in Android Components [#12565](https://github.com/mozilla-mobile/android-components/issues/12565).
245 * **feature-prompts**:
246 * Added prompt dismiss listener to `ChoicePromptDelegate`. [#12562](https://github.com/mozilla-mobile/android-components/issues/12562)
248 * **browser-engine-gecko**:
249 * Add support for Save to PDF in the
251 * **concept-engine**:
252 * Add new `requestPdfToDownload` API in `Engine`. This is currently only supported in the Gecko Engine.
254 * **browser-storage-sync**:
255 * Stop reporting to the crash servers the expected `OperationInterrupted` exceptions for when interrupting in progress reads/writes from Application-Services. [#12557](https://github.com/mozilla-mobile/android-components/issues/12557), [#12569](https://github.com/mozilla-mobile/android-components/issues/12569).
257 * **support-migration**
258 * β οΈ **This is a breaking change**: This component was removed since the Fennec -> Fenix migration is no longer supported (https://github.com/mozilla-mobile/fenix/pull/23651/)
260 * **nimbus-gradle-plugin**
261 * β οΈ **This is a breaking change**: Updated the NimbusGradlePlugin to use the new nimbus cli commands.
264 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v103.0.0...v104.0.0)
265 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/151?closed=1)
266 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v104.0.0/buildSrc/src/main/java/Dependencies.kt)
267 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v104.0.0/buildSrc/src/main/java/Gecko.kt)
268 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v104.0.0/.config.yml)
271 * π Bug fixed [issue #12433](https://github.com/mozilla-mobile/android-components/issues/12433) Prevent media notifications updates that would cause it to flicker or loose the action button.
273 * **browser-awesomebar**:
274 * π Bug fixed [issue #12469](https://github.com/mozilla-mobile/android-components/issues/12469) Cancel previous queries from the application-services persistence layer before new suggestions requests.
276 * **service-firefox-accounts**
277 * `SyncStatus` can now be `LoggedOut`.
278 * `SyncStoreSupport` will update the `SyncStore` with `LoggedOut` when observed.
280 * **browser-toolbar**
281 * π Bug fixed [issue #12497](https://github.com/mozilla-mobile/android-components/issues/12497) - Set the same margin to toolbar background for display as for edit
283 * **feature-recentlyclosed**
284 * π Bug fixed [issue #12470](https://github.com/mozilla-mobile/android-components/issues/12470) - Set autoMirrored to true to fix RTL issues
286 * **browser-awesomebar**:
287 * π Bug fixed [issue #12469](https://github.com/mozilla-mobile/android-components/issues/12469) Cancel previous queries before new suggestions requests.
290 * Add an index for sponsored stories foreign key to resolve a compilation warning. [#12406](https://github.com/mozilla-mobile/android-components/issues/12406)
293 * Fix recent breakage of the sponsored stories feature and allow to dynamically make requests to either the development server or the production one. [Issue #12432](https://github.com/mozilla-mobile/android-components/issues/12432)
295 * **feature-top-sites**
296 * Replaced `frecencyConfig` from `TopSitesConfig` with `TopSitesFrecencyConfig`, which specifies the `FrecencyTresholdOption` and the frecency filter, an optional function used to filter the top frecent sites. [#12384] (https://github.com/mozilla-mobile/android-components/issues/12384)
298 * **browser-storage-sync**:
299 * Added exception handling for all places history and bookmark calls. This prevents the app from crashing on SQL errors. [#12300](https://github.com/mozilla-mobile/android-components/pull/12300)
302 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v102.0.0...v103.0.0)
303 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/150?closed=1)
304 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v103.0.0/buildSrc/src/main/java/Dependencies.kt)
305 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v103.0.0/buildSrc/src/main/java/Gecko.kt)
306 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v103.0.0/.config.yml)
308 * **site-permission-feature**
309 * π [issue #12345](https://github.com/mozilla-mobile/android-components/issues/12345)
310 * - Add an id for all site permissions allowing to easily identify with what permissions the user interacts.
311 * - Emit facts for when a permission prompt is shown/allowed/denied.
313 * **site-permission-feature**
314 * π [issue #12338](https://github.com/mozilla-mobile/android-components/issues/12338) - Add support for setting a custom text for the negative button of the site permission prompts. Use "Block" for the storage access prompt.
316 * **feature-recentlyclosed**
317 * π Bug fixed [issue #12310](https://github.com/mozilla-mobile/android-components/issues/12310) - Catch all database exceptions thrown when querying recently closed tabs and clean the storage for corrupted data.
320 * App should not be locked in landscape when a tab or custom tab loads while in pip mode. [#12298] (https://github.com/mozilla-mobile/android-components/issues/12298)
322 * **browser-toolbar**
323 * Expand toolbar when url changes. [#12215](https://github.com/mozilla-mobile/android-components/issues/12215)
326 * Ensure sponsored stories profile deletion is retried in background until successful or the feature is re-enabled. [#12258](https://github.com/mozilla-mobile/android-components/issues/12258)
328 * **feature-prompts**:
329 * Added optional `addressPickerView` and `onManageAddresses` parameters through `AddressDelegate` to `PromptFeature` for a new `AddressPicker` to display a view for selecting addresses to autofill into a site. [#12061](https://github.com/mozilla-mobile/android-components/issues/12061)
330 * β οΈ **This is a breaking change**: `PromptFeature` constructor now takes `LoginDelegate` and `CreditCardDelegate` instead of login picker and credit card picker parameters. [#12257](https://github.com/mozilla-mobile/android-components/issues/12257)
333 * π Updated Glean to version 50.0.1 ([changelog](https://github.com/mozilla/glean/releases/tag/v50.0.1))
334 * **This is a breaking change**. See <https://github.com/mozilla/glean/releases/tag/v50.0.0>) for full details.
336 * `testGetValue` on all metric types now returns `null` when no data is recorded instead of throwing an exception.
337 * `testGetValue` on metrics with more complex data now return new objects for inspection.
338 * `testHasValue` on all metric types is deprecated.
339 * On `TimingDistributionMetric`, `CustomDistributionMetric`, `MemoryDistributionMetric` the `accumulateSamples` method now takes a `List<Long>` instead of `LongArray`.
340 Use `listOf` instead of `longArrayOf` or call `.toList`
341 * `TimingDistributionMetricType.start` now always returns a valid `TimerId`, `TimingDistributionMetricType.stopAndAccumulate` always requires a `TimerId`.
343 * **support-rusterrors**
344 * π New component to report Rust errors
347 * Added new `lib-auth` component for various forms of authentication.
348 * Adds a new `BiometricPromptAuth` for authenticating with biometrics or PIN.
349 [issue # 12289](https://github.com/mozilla-mobile/android-components/issues/12289)
352 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v101.0.0...v102.0.1)
353 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/149?closed=1)
354 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v102.0.1/buildSrc/src/main/java/Dependencies.kt)
355 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v102.0.1/buildSrc/src/main/java/Gecko.kt)
356 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v102.0.1/.config.yml)
358 * **service-firefox-accounts**
359 * π SyncStore to abstract account and Sync details.
362 * ποΈ Add support for tab prioritization via `SessionPrioritizationMiddleware` for more information see [#12190](https://github.com/mozilla-mobile/android-components/issues/12190).
365 * ποΈ Add support for rotating and pacing Pocket sponsored stories. [#12184](https://github.com/mozilla-mobile/android-components/issues/12184)
366 * See component's [README](https://github.com/mozilla-mobile/android-components/blob/main/components/service/pocket/README.md) to get more info.
369 * ποΈ Add support for optionally persisting the default value when `stringPreference` is used to read a string from SharedPreferences. [issue #12207](https://github.com/mozilla-mobile/android-components/issues/12207).
372 * β οΈ **This is a breaking change**: Add a new `PocketStory` supertype for all Pocket stories. [#12171](https://github.com/mozilla-mobile/android-components/issues/12171)
375 * ποΈ Add support for Pocket sponsored stories.
376 * See component's [README](https://github.com/mozilla-mobile/android-components/blob/main/components/service/pocket/README.md) to get more info.
379 * β οΈ **This is a breaking change**: `MainCoroutineRule` constructor now takes a `TestDispatcher` instead of deprecated `TestCoroutineDispatcher`. Default is `UnconfinedTestDispatcher`.
380 * β οΈ **This is a breaking change**: `MainCoroutineRule.runBlockingTest` is replaced with a `runTestOnMain` top level function. . This method is preferred over the global `runTest` because it reparents new child coroutines to the test coroutine context.
382 * **concept-engine**:
383 * Adds a new `SelectAddress` in `PromptRequest` to display a prompt for selecting an address to autofill. [#12060](https://github.com/mozilla-mobile/android-components/issues/12060)
384 * Adds a new `SaveCreditCard` in `PromptRequest` to display a prompt for saving a credit card on autofill. [#11249](https://github.com/mozilla-mobile/android-components/issues/11249)
386 * **feature-autofill**
387 * π Bug fixed [issue #11893](https://github.com/mozilla-mobile/android-components/issues/11893) - Fix issue with autofilling in 3rd party applications not being immediately available after unlocking the autofill service.
389 * **feature-contextmenu**
390 * π Add new `additionalValidation` parameter to context menu options builders allowing clients to know when these options to be shown and potentially block showing them.
393 * [TrustedWebActivityIntentProcessor] is now deprecated. See [issue #12024](https://github.com/mozilla-mobile/android-components/issues/12024).
395 * **feature-top-sites**
396 * Added `providerFilter` to `TopSitesProviderConfig`, allowing the client to filter the provided top sites.
398 * **feature-prompts**:
399 * Add a `CreditCardSaveDialogFragment` that is displayed for a `SaveCreditCard` prompt request to handle saving and updating a credit card. [#11338](https://github.com/mozilla-mobile/android-components/issues/11338)
402 * Set default screen orientation if playing media in pip
403 [issue # 12118](https://github.com/mozilla-mobile/android-components/issues/12118)
405 * **concept-storage**:
406 * Added `CreditCardValidationDelegate` which is a delegate that will check against the `CreditCardsAddressesStorage` to determine if a `CreditCard` can be persisted in storage. [#9838](https://github.com/mozilla-mobile/android-components/issues/9838)
407 * Refactors `CreditCard` from `concept-engine` to `CreditCardEntry` in `concept-storage` so that it can validated with the `CreditCardValidationDelegate`. [#9838](https://github.com/mozilla-mobile/android-components/issues/9838)
409 * **browser-storage-sync**
410 * β οΈ **This is a breaking change**: When constructing a `RemoteTabsStorage` object you must now a `Context` which is used to determine the location of the sqlite database which is used to persist the remote tabs [#11799](https://github.com/mozilla-mobile/android-components/pull/11799).
411 * Fixed a low frequency crasher that might occur when the app attempts to delete all history. [#12112](https://github.com/mozilla-mobile/android-components/pull/12112)
413 * **feature-syncedtabs**
414 * β οΈ **This is a breaking change**: When constructing a `SyncedTabsStorage`, the `tabsStorage: RemoteTabsStorage` parameter is no longer optional so must be supplied [#11799](https://github.com/mozilla-mobile/android-components/pull/11799).
417 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v100.0.0...v101.0.0)
418 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/148?closed=1)
419 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v101.0.0/buildSrc/src/main/java/Dependencies.kt)
420 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v101.0.0/buildSrc/src/main/java/Gecko.kt)
421 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v101.0.0/.config.yml)
424 * Support reverse landscape orientation for fullscreen videos
425 [issue # 12034](https://github.com/mozilla-mobile/android-components/issues/12034)
426 * **feature-downloads**:
427 * π Bug fixed [issue #11259](https://github.com/mozilla-mobile/android-components/issues/11259) - Improved mime type inference for when sharing images from the contextual menu.
429 * **feature-webnotifications**
430 * π The Engine notification (WebNotification) is now persisted in the native notification, transparent to the consuming app which can delegate the native notification click to a new `WebNotificationIntentProcessor` to actually check and trigger a WebNotification click when appropriate.
433 * Media playback is now paused when AudioManager.ACTION_AUDIO_BECOMING_NOISY is broadcast by the system.
436 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v99.0.0...v100.0.0)
437 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/147?closed=1)
438 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v100.0.0/buildSrc/src/main/java/Dependencies.kt)
439 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v100.0.0/buildSrc/src/main/java/Gecko.kt)
440 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v100.0.0/.config.yml)
442 * **browser-errorpages**
443 * π The https-only error page will now show also an image.
446 * π Bug fixed [issue #11905](https://github.com/mozilla-mobile/android-components/issues/11905) - Delete existing stories when their `imageUrl` is updated allowing those stories to be replaced.
448 * **feature-serviceworker**
449 * π New `ServiceWorkerSupport` component for handling all service workers' events and callbacks. Currently this is supported only for using `GeckoEngine`.
451 * **feature-autofill**
452 * β οΈ **This is a breaking change**: Removed unused `context` parameter in `FxaWebChannelFeature`. [#11864](https://github.com/mozilla-mobile/android-components/pull/11864).
454 * **feature-autofill**
455 * π Bug fixed [issue #11869](https://github.com/mozilla-mobile/android-components/issues/11869) - Fix regression causing autofill to not work after unlocking the app doing the autofill or after accepting that the authenticity of the autofill target could not be verified.
457 * **feature-tab-collections**
458 * β οΈ **This is a breaking change**: Removed unused `reader` parameter in `TabCollectionStorage`. [#11864](https://github.com/mozilla-mobile/android-components/pull/11864).
460 * **feature-contextmenu**
461 * π Bug fixed [issue #11829](https://github.com/mozilla-mobile/android-components/pull/11830) - To make the additional note visible in landscape mode.
464 * β οΈ **This is a breaking change**: Removed unused `loadUrlUseCase` parameter in `TabIntentProcessor`. [#11864](https://github.com/mozilla-mobile/android-components/pull/11864).
466 * **browser-toolbar**
467 * Removed reflective access to non-public SDK APIs controlling the sensitivity of the gesture detector following which sparingly and for very short time a pinch/spread to zoom gesture might be identified first as a scroll gesture and move the toolbar a little before snapping to it's original position.
468 * β οΈ **This is a breaking change**: Replaced `addEditAction` in `BrowserToolbar` with `addEditActionStart` and `addEditActionEnd` to add actions to the left and right of the URL in edit mode. [#11890](https://github.com/mozilla-mobile/android-components/issues/11890)
470 * **feature-session**
471 * π New `ScreenOrientationFeature` to enable support for setting a requested screen orientation as part of supporting the ScreenOrientation web APIs.
474 * ποΈοΈ Add `onReady` method to `AccountObserver`, allowing consumers to know when they can start querying account state.
476 * **service-firefox-accounts**
477 * β οΈ **This is a breaking change**: `fetchProfile` was removed from `FxaAccountManager`.
479 * **lib-crash-sentry**
480 * ποΈοΈ Add `sendCaughtExceptions` config flag to `SentryService`, allowing consumers to disable submitting caught exceptions. By default it's enabled, maintaining prior behaviour. Useful in projects with high volumes of caught exceptions and multiple release channels.
482 * **site-permission-feature**
483 * π New Add to SitePermissionsFeature a property to set visibility for NotAskAgainCheckBox
486 * π Update search Engines and Search Engine Icons
489 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v98.0.0...v99.0.0)
490 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/146?closed=1)
491 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v99.0.0/buildSrc/src/main/java/Dependencies.kt)
492 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v99.0.0/buildSrc/src/main/java/Gecko.kt)
493 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v99.0.0/.config.yml)
495 * **feature-top-sites**
496 * β οΈ **This is a breaking change**: This changes `fetchProvidedTopSites` in `TopSitesConfig` into a data class `TopSitesProviderConfig` that specifies whether or not to display the top sites from the provider. [#11654](https://github.com/mozilla-mobile/android-components/issues/11654)
499 * β οΈ **This is a breaking change**: Refactor `Frequency` out of **feature-addons** and **service-pocket** [#11732](https://github.com/mozilla-mobile/android-components/pull/11732).
502 * ποΈοΈ **Added new Browsers constant for Fennec `Browsers.FIREFOX_FENNEC_NIGHTLY`.
503 * β οΈ **This is a breaking change**: `Browsers.FIREFOX_NIGHTLY` now points to `org.mozilla.fenix`, for fennec nightly use `Browsers.FIREFOX_FENNEC_NIGHTLY` [#11682](https://github.com/mozilla-mobile/android-components/pull/11682).
504 * **feature-downloads**:
505 * π Bug fixed [issue #8567](https://github.com/mozilla-mobile/android-components/issues/8567) - Prevent crashes when trying to add to the system databases.
508 * ποΈοΈ Add `EngineSessionStateStorage`, describing a storage of `EngineSessionState` instances.
510 * **browser-session-storage**
511 * ποΈοΈ Add `FileEngineSessionStateStorage`, an implementation of `EngineSessionStateStorage` for persisting engine state outside of the regular RecoverableBrowserState flow.
514 * β οΈ **This is a breaking change**: Shape of `RecoverableTab` changed. There's now a tab-state wrapper called `TabState`; use it when `engineSessionState` isn't necessary right away.
516 * **feature-recentlyclosed**
517 * ποΈοΈ Add `RecentlyClosedTabsStorage`, which knows how to write/read recently closed tabs.
520 * β οΈ **This is a breaking change**: `RestoreUseCase` implementation responsible for restoring `RecoverableTab` instances now takes a `TabState` and a `EngineSessionStateStorage` instead (and will read/rehydrate an EngineSessionState prior to restoring).
524 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v97.0.0...v98.0.0)
525 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/145?closed=1)
526 * [Dependencies](https://github.com/mozilla-mobile/android-components/v98.0.0/main/buildSrc/src/main/java/Dependencies.kt)
527 * [Gecko](https://github.com/mozilla-mobile/android-components/v98.0.0/main/buildSrc/src/main/java/Gecko.kt)
528 * [Configuration](https://github.com/mozilla-mobile/android-components/v98.0.0/main/.config.yml)
531 * ποΈοΈ **Add a `PendingUtils.defaultFlags`** property to ease setting PendingIntent mutability as required for Android 31+.
533 * **feature-prompts**:
534 * More prompts are dismissable.
535 * β οΈ **This is a breaking change**: Success / dismiss callbacks are now consistently ordered.
538 * Adds the `extraAdServersRegexps` of Baidu to help sending the baidu search telemetry of ads. [#11582](https://github.com/mozilla-mobile/android-components/pull/11582)
540 * **browser-toolbar**
541 * π Bug fixed [issue #11499](https://github.com/mozilla-mobile/android-components/issues/11499) - Update tracking protection icon state even when is not displayed
543 * **browser-toolbar**
544 * π Bug fixed [issue #11545](https://github.com/mozilla-mobile/android-components/issues/11545) - `clearColorFilter` doesn't work on Api 21, 22, so the default white filter remains set.Use `clearColorFilter` only when the version of API is bigger than 22
547 * π Bug fixed [issue #11527](https://github.com/mozilla-mobile/android-components/issues/11527) - Fix some situations in which the immersive mode wasn't properly applied.
550 * π Bug fixed [issue #11627](https://github.com/mozilla-mobile/android-components/issues/11627) - Firefox crash notification is not displayed on devices with Android 11/Android 12
552 * **lib-publicsuffixlist**
553 * β οΈ **This is a breaking change**: Removed `String.urlToTrimmedHost` extension method.
555 * **feature-top-sites**
556 * β οΈ **This is a breaking change**: The existing data class `TopSite` has been converted into a sealed class. [#11483](https://github.com/mozilla-mobile/android-components/issues/11483)
557 * Extend `DefaultTopSitesStorage` to accept a `TopSitesProvider` for fetching top sites. [#11483](https://github.com/mozilla-mobile/android-components/issues/11483)
558 * β οΈ **This is a breaking change**: Added a new parameter `fetchProvidedTopSites` to `TopSitesConfig` to specify whether or not to fetch top sites from the `TopSitesProvider`. [#11605](https://github.com/mozilla-mobile/android-components/issues/11605)
560 * **concept-storage**
561 * β οΈ **This is a breaking change**: Adds a new `isRemote` property in `VisitInfo` which distinguishes visits made on the device and those that come from Sync.
563 * **service-contile**
564 * Adds a `ContileTopSitesProvider` that implements `TopSitesProvider` for returning top sites from the Contile services API. [#11483](https://github.com/mozilla-mobile/android-components/issues/11483)
567 * π Updated Glean to version 43.0.2 ([changelog](https://github.com/mozilla/glean/releases/tag/v43.0.2))
568 * Includes new `build_date` metric
570 * **lib-push-amazon**
571 * β **This is a breaking change**: This component is now removed since we no longer support it.
574 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v96.0.0...v97.0.0)
575 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/144?closed=1)
576 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v97.0.0/buildSrc/src/main/java/Dependencies.kt)
577 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v97.0.0/buildSrc/src/main/java/Gecko.kt)
578 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v97.0.0/.config.yml)
581 * π Bug fixed [issue #11374](https://github.com/mozilla-mobile/android-components/issues/11374) - Restore immersive mode after interacting with other Windows.
582 * β οΈ **This is a breaking change**: `OnWindowFocusChangeListener` parameter is removed from `Activity.enterToImmersiveMode()`. There was no way to guarantee that the argument knew to handle immersive mode. Now everything is handled internally.
584 * **feature-prompts**:
585 * Removes deprecated constructor in `PromptFeature`.
587 * * **browser-engine**, **concept-engine*** **feature-sitepermissions**
588 * ποΈοΈ **Add support for a new `storage_access` API prompt.
590 * **concept-storage**:
591 * β οΈ **This is a breaking change**: `KeyProvider#key` has been renamed to `KeyProvider#getOrGenerateKey` and is now `suspend`.
592 * β οΈ **This is a breaking change**: `KeyRecoveryHandler` has been removed.
593 * β οΈ **This is a breaking change**: `CreditCardsAddressesStorage` gained a new method - `scrubEncryptedData`.
594 * ποΈοΈ **Add an abstract `KeyManager` which implements `KeyProvider` and knows how to store, retrieve and verify managed keys.
596 * **service-sync-logins**:
597 * `LoginsCrypto` is now using `concept-storage`@`KeyManager` as its basis.
599 * **service-sync-autofill**:
600 * `AutofillCrypto` is now using `concept-storage`@`KeyManager` as its basis.
601 * `AutofillCrypto` is now able to recover from key loss (by scrubbing encrypted credit card data).
603 * **browser-errorpages**
604 * `ErrorPages.createUrlEncodedErrorPage()` allows overriding the title or description for specific error types now.
606 * **browser-engine-gecko**
607 * Added `EngineSession.goBack(boolean)` and `EngineSession.goForward(boolean)` for user interaction based navigation.
609 * **feature-session**
610 * Added support in `SessionUseCases.GoBackUseCase` and `SessionUseCases.GoForwardUseCase` to support optional `userInteraction` parameter in the Gecko engine.
613 * π Updated Glean to version 42.3.0 ([changelog](https://github.com/mozilla/glean/releases/tag/v42.3.0))
614 * Includes automatic detection of tags.yaml files
617 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v95.0.0...v96.0.0)
618 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/143?closed=1)
619 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v96.0.0/buildSrc/src/main/java/Dependencies.kt)
620 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v96.0.0/buildSrc/src/main/java/Gecko.kt)
621 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v96.0.0/.config.yml)
623 * **browser-engine-gecko**:
624 * Removes deprecated `GeckoLoginDelegateWrapper`. Please use `GeckoAutocompleteStorageDelegate`. [#11311](https://github.com/mozilla-mobile/android-components/issues/11311)
625 * Added setting for HTTPS-Only mode [#5935](https://github.com/mozilla-mobile/focus-android/issues/5935)
628 * ποΈ Add `String.toCreditCardNumber` for removing characters other than digits from a credit card string number.
629 * π Bug fixed [issue #11360](https://github.com/mozilla-mobile/android-components/issues/11360) - Crash when saving credit cards
632 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v94.0.0...v95.0.0)
633 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/142?closed=1)
634 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v95.0.0/buildSrc/src/main/java/Dependencies.kt)
635 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v95.0.0/buildSrc/src/main/java/Gecko.kt)
636 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v95.0.0/.config.yml)
638 * **feature-session**
639 * ποΈοΈ **Add callback as a parameter to RemoveAllExceptionsUseCase which will be called after exceptions removing
641 * **concept-toolbar**
642 * ποΈοΈ **Add removeNavigationAction method which removes a previously added navigation action
645 * ποΈοΈ **Add Firefox Focus packages to known browsers list
647 * **concept-tabstray**
648 * β οΈ **This is a breaking change**: This component will be removed in future release.
649 * Instead use the `TabsTray` interface from `browser-tabstray`.
650 * **feature-session**
651 * * ποΈ Adds a new `TrackingProtectionUseCases.addException`: Now allows to persist the exception in private mode using the parameter`persistInPrivateMode`.
654 * ποΈ Adds a new `previewImageUrl` in `ContentState` which provides a preview image of the page (e.g. the hero image), if available.
656 * **compose-awesomebar**
657 * `AwesomeBar` takes an optional `Profiler`. If passed in, two new profiler markers will be added: `SuggestionFetcher.fetch` and `Suggestion update`.
660 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v93.0.0...v94.0.0)
661 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/141?closed=1)
662 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v94.0.0/buildSrc/src/main/java/Dependencies.kt)
663 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v94.0.0/buildSrc/src/main/java/Gecko.kt)
664 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v94.0.0/.config.yml)
666 * **browser-awesomebar**
667 * `BrowserAwesomeBar` is now deprecated in favor of using the `AwesomeBar()` composable from the `compose-awesomebar` component.
669 * **BrowserAction**, **TabListReducer**, **TabsUseCases**:
670 * ποΈ Adds MoveTabs (reordering) Action and UseCase
672 * **feature-contextmenu**:
673 * π Bug fixed [issue #10982](https://github.com/mozilla-mobile/android-components/issues/10982) - Add ScrollView as a main container in mozac_feature_context_dialog in order to see the entire image context menu on small screens
675 * **concept-storage**, **browser-storage-sync**
676 * ποΈ New API: `HistoryMetadataStorage.deleteHistoryMetadata`, allows removing specific metadata entries either by key or search term.
678 * **browser-engine-gecko**:
679 * Switch to the `geckoview-omni` releases. `-omni` packages also ship the Glean Core native code.
682 * π Updated Glean to version 41.1.0 ([changelog](https://github.com/mozilla/glean/releases/tag/v41.1.0))
683 * The Glean Core native code is now shipped through GeckoView
684 * β οΈ **This is a breaking change**: `Glean.initialize` now requires a `buildInfo` parameter to pass in build time version information.
685 A suitable instance is generated by `glean_parser` in `${PACKAGE_ROOT}.GleanMetrics.GleanBuildInfo.buildInfo`.
686 Support for not passing in a `buildInfo` object has been removed.
689 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v92.0.0...v93.0.0)
690 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/140?closed=1)
691 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v93.0.0/buildSrc/src/main/java/Dependencies.kt)
692 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v93.0.0/buildSrc/src/main/java/Gecko.kt)
693 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v93.0.0/.config.yml)
695 * **concept-toolbar**, **concept-engine**, **browser-engine-gecko**, **browser-state**, **feature-toolbar**, **browser-toolbar**,
696 * ποΈ The toolbar now supports two new methods: `expand` and `collapse` to immediately execute this actions if the toolbar is dynamic. `expand` is used as of now as a callback for when GeckoView needs the toolbar to be shown depending on tab content changes.
699 * ποΈ Adds icons: mozac_ic_add_to_home_screen, mozac_ic_help, mozac_ic_shield, mozac_ic_shield_disabled
700 * ποΈ Update icons: mozac_ic_home, mozac_ic_settings, mozac_ic_clear
702 * **feature-contextmenu**:
703 * ποΈ Adds `additionalNote` which it will be attached to the bottom of context menu but for a specific `HitResult`
706 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v91.0.0...v92.0.0)
707 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/139?closed=1)
708 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v92.0.0/buildSrc/src/main/java/Dependencies.kt)
709 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v92.0.0/buildSrc/src/main/java/Gecko.kt)
710 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v92.0.0/.config.yml)
712 * **browser-feature-awesomebar**:
713 * ποΈ Adds `CombinedHistorySuggestionProvider` that combines the results from `HistoryMetadataSuggestionProvider` and `HistoryStorageSuggestionProvider` so that if not enough metadata history results are available then storage history results are added to return the requested maxNumberOfSuggestions of awesomeBar suggestions.
715 * **browser-toolbar**
716 * π Bug fixed [issue #10555](https://github.com/mozilla-mobile/android-components/issues/10555) - Prevent new touches from expanding a collapsed toolbar. Wait until there's a response from GeckoView on how the touch was handled to expand/collapse the toolbar.
717 * ποΈ Adds Long-click support to `Button` and gives `TwoStateButton` all the features of `BrowserMenuItemToolbar.TwoStateButton`
720 * β οΈ Deprecation: `createTestCoroutinesDispatcher()` should be replaced with the preferred `TestCoroutineDispatcher()` from the `kotlinx-coroutines-test` library.
721 * β οΈ **This is a breaking change**: `MainCoroutineRule`'s constructor takes a more strict `TestCoroutineDispatcher` instead of a `CoroutineDispatcher`
722 * ποΈ Adds `MainCoroutineRule.runBlockingTest`, which is a convenience method for `MainCoroutineRule.testDispatcher.runBlockingTest`. These methods are preferred over the global `runBlockingTest` because they reparent new child coroutines to the test coroutine context.
725 * ποΈ New `AdsTelemetry` based on a web extension that identify whether there are ads in search results of particular providers for which a (Component.FEATURE_SEARCH to SERP_SHOWN_WITH_ADDS) Fact will be emitted and whether an ad was clicked for which a (Component.FEATURE_SEARCH to SERP_ADD_CLICKED) Fact will be emitted if the `AdsTelemetryMiddleware` is set for `BrowserStore`.
726 * ποΈ New `InContentTelemetry` based on a web extension that identify follow-on and organic web searches for which a (Component.FEATURE_SEARCH to IN_CONTENT_SEARCH) Fact will be emitted.
729 * Adds `lastAccess` to the `Tab` data class that is used in `TabsTray`.
730 * Adds a new SelectOrAddUseCase for reopening existing tab with matching HistoryMetadataKey. [#10611](https://github.com/mozilla-mobile/android-components/issues/10611)
731 * Adds `recoverable` parameter to `RemoveAllTabsUseCase.invoke()` to specify whether `UndoMiddleware` should make the removed tabs recoverable.
732 * Applies `createdAt` property from `TabSessionState` when filtering tabs in `RestoreUseCase` with timeout.
735 * Adds `createdAt` properpty to the the `BrowserStore` to know when a tab is first created.
738 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v91.0.0...main)
739 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/138?closed=1)
740 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v91.0.0/buildSrc/src/main/java/Dependencies.kt)
741 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v91.0.0/buildSrc/src/main/java/Gecko.kt)
742 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v91.0.0/.config.yml)
744 * **browser-errorpages**:
745 * `ErrorType.ERROR_SECURITY_SSL` will now no longer display `Advanced` button on the SSL Error Page.
748 * ποΈ Adds a new `lastMediaAccess` in `TabSessionState` as an easy way to check the timestamp of when media last started playing on a particular webpage. The value will be 0 if no media was started. To observe the media playback and updating this property one needs to add a new `LastMediaAccessMiddleware` to `BrowserStore`.
751 * Updated the icon of the bing search engine.
754 * Adds `showAddonsInMenu` in WebExtensionBrowserMenuBuilder to allow the option of removing `Add-ons` item even if another extensions are displayed
756 * **feature-privatemode**
757 * Adds `clearFlagOnStop = true` in SecureWindowFeature to allow the option of keeping `FLAG_SECURE` when calling `stop()`
759 * **browser-feature-awesomebar**:
760 * ποΈ Adds a new `maxNumberOfSuggestions` parameter to `HistoryStorageSuggestionProvider` as a way to specify a different number than the default of 20 for how many history results to be returned.
761 * ποΈ Adds a new `maxNumberOfSuggestions` parameter to `HistoryMetadataSuggestionProvider` as a way to specify a different number than the default of 5 for how many history results to be returned.
762 * HistoryMetadataSuggestionProvider - only return pages user spent time on.
763 * `AwesomeBarFeature.addHistoryProvider` allows specifying a positive value for `maxNumberOfSuggestions`. If zero or a negative value is used the default number of history suggestions will be returned.
765 * **browser-storage-sync**
766 * Adds `CrashReporting` to the `RemoteTabsStorage`.
769 * ποΈ Adds a new `SitePermissionsStorage` interface that represents a common API to store site permissions.
771 * **browser-engine-gecko**:
772 * β οΈ **This is a breaking change**: `GeckoPermissionRequest.Content` changed its signature from `GeckoPermissionRequest.Content(uri: String, type: Int, callback: PermissionDelegate.Callback)` to `GeckoPermissionRequest.Content(uri: String, type: Int, geckoPermission: PermissionDelegate.ContentPermission, geckoResult: GeckoResult<Int>)`.
773 * ποΈ Adds a new `GeckoSitePermissionsStorage` this allows to store permissions using the GV APIs for more information see [the geckoView ticket](https://bugzilla.mozilla.org/show_bug.cgi?id=1654832).
774 * ποΈ Integrated the new GeckoView permissions APIs that will bring many improvements in how site permissions are handled, see the API abstract document for [more information](https://docs.google.com/document/d/1KUq0gejnFm5erkHNkswm8JsT7nLOmWvs1KEGFz9FWxk/edit#heading=h.ls1dr18v7zrx).
775 * ποΈ Tracking protection exceptions have been migrated to the GeckoView storage see [#10245](https://github.com/mozilla-mobile/android-components/issues/10245), for more details.
777 * **feature-sitepermissions**
778 * β οΈ **This is a breaking change**: The `SitePermissionsStorage` has been renamed to `OnDiskSitePermissionsStorage`.
779 * β οΈ **This is a breaking change**: The `SitePermissions` has been moved to the package `mozilla.components.concept.engine.permission.SitePermissions`.
783 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v90.0.0)
784 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/137?closed=1)
785 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v90.0.0/buildSrc/src/main/java/Dependencies.kt)
786 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v90.0.0/buildSrc/src/main/java/Gecko.kt)
787 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v90.0.0/.config.yml)
790 * π Bug fixed [issue #10515](https://github.com/mozilla-mobile/android-components/issues/10515) - Populate the crash reporter view.
792 * **feature-prompts**:
793 * β οΈ **This is a breaking change**: [#8989](https://github.com/mozilla-mobile/android-components/issues/8989) - Add support for multiple prompts in ContentState and help avoid some Exceptions.
795 * **concept-engine** and **browser-engine-gecko**
796 * ποΈ Added `TrackingProtectionPolicy.cookiePolicyPrivateMode` it allows to control how cookies should behave in private mode, if not specified it defaults to the value of `TrackingProtectionPolicy.cookiePolicyPrivateMode`.
798 * **feature-prompts** **browser-storage-sync**
799 * β οΈ A new `isCreditCardAutofillEnabled` callback is available in `PromptFeature` and `GeckoCreditCardsAddressesStorageDelegate` to allow clients controlling whether credit cards should be autofilled or not. Default is false*
802 * β οΈ **This is a breaking change**: Rebuilt from the ground up to better support offering to clients Pocket recommended articles.
803 * See component's [README](https://github.com/mozilla-mobile/android-components/blob/main/components/service/pocket/README.md) to get more info.
805 * **feature-contextmenu**:
806 * β οΈ Long pressing on web content won't show a contextual menu if the URL of the touch target is one blocked from loading in the browser.
808 * **feature-prompts**:
809 * Refactor `LoginPickerView` into a more generic view `SelectablePromptView` that can be reused by any prompts that displays a list of selectable options. [#10216](https://github.com/mozilla-mobile/android-components/issues/10216)
810 * Added optional `creditCardPickerView`, `onManageCreditCards` and `onSelectCreditCard` parameters to `PromptFeature` for a new `CreditCardPicker` to display a view for selecting credit cards to autofill into a site. [#9457](https://github.com/mozilla-mobile/android-components/issues/9457), [#10369](https://github.com/mozilla-mobile/android-components/pull/10369)
811 * Added handling of biometric authentication for a credit card selection prompt request. [#10369](https://github.com/mozilla-mobile/android-components/pull/10369)
814 * ποΈ `getBlockedSchemes()` now exposes the list of url shemes that the engine won't load.
815 * Adds a new `CreditCard` data class which is a parallel of GeckoView's `Autocomplete.CreditCard`. [#10205](https://github.com/mozilla-mobile/android-components/issues/10205)
816 * Adds a new `SelectCreditCard` in `PromptRequest` to display a prompt for selecting a credit card to autocomplete. [#10205](https://github.com/mozilla-mobile/android-components/issues/10205)
819 * π Bug fixed [issue #10133](https://github.com/mozilla-mobile/android-components/issues/10133) - A BrowserMenuCompoundButton used in our BrowserMenu setup with a DynamicWidthRecyclerView is not clipped anymore.
821 * **browser-engine-gecko**:
822 * Implements the new GeckoView `Autocomplete.StorageDelegate` interface in `GeckoStorageDelegateWrapper`. This will replace the deprecated `GeckoLoginDelegateWrapper` and provide additional autocomplete support for credit cards. [#10140](https://github.com/mozilla-mobile/android-components/issues/10140)
824 * **feature-downloads**:
825 * β οΈ **This is a breaking change**: `AbstractFetchDownloadService.openFile()` changed its signature from `AbstractFetchDownloadService.openFile(context: Context, filePath: String, contentType: String?)` to `AbstractFetchDownloadService.openFile(applicationContext: Context, download: DownloadState)`.
826 * π Bug fixed [issue #10138](https://github.com/mozilla-mobile/android-components/issues/10138) - The downloaded files cannot be seen.
827 * π Bug fixed [issue #10157](https://github.com/mozilla-mobile/android-components/issues/10157) - Crash on startup when tying to restore data URLs from the db.
829 * **browser-engine-gecko(-nightly/beta)**
830 * β οΈ From now on there will be only one `concept-engine` implementation using [GeckoView](https://mozilla.github.io/geckoview/). On `main` this will be the Nightly version. In release versions it will be the corresponding Beta or Release version. More about this in [RFC 7](https://mozac.org/rfc/0007-synchronized-releases).
831 * Implements `onCreditCardSelect` in `GeckoPromptDelegate` to handle a credit card selection prompt request. [#10205](https://github.com/mozilla-mobile/android-components/issues/10205)
833 * **concept-sync**, **browser-storage-sync**
834 * β οΈ **This is a breaking change**: `SyncableStore` now has a `registerWithSyncManager` method for use in newer storage layers.
836 * **concept-storage**, **service-sync-autofill**
837 * β οΈ **This is a breaking change**: Update and add APIs now take specific `UpdatableCreditCardFields` and `NewCreditCardFields` data classes as arguments.
838 * β οΈ **This is a breaking change**: `CreditCard`'s number field changed to `encryptedCardNumber`, `cardNumberLast4` added.
839 * New `CreditCardNumber` class, which encapsulate either an encrypted or plaintext versions of credit cards.
840 * `AutofillCreditCardsAddressesStorage` reflects these breaking changes.
841 * Introduced a new `CreditCardCrypto` interface for for encrypting and decrypting a credit card number. [#10140](https://github.com/mozilla-mobile/android-components/issues/10140)
842 * ποΈ New APIs for managing keys - `ManagedKey`, `KeyProvider` and `KeyRecoveryHandler`. `AutofillCreditCardsAddressesStorage` implements these APIs for managing keys for credit card storage.
843 * ποΈ New support for bookmarks to retrieve latest added bookmark nodes. `PlacesBookmarksStorage` now implements `getRecentBookmarks`.
845 * **service-firefox-accounts**
846 * ποΈ When configuring syncable storage layers, `SyncManager` now takes an optional `KeyProvider` to handle encryption/decryption of protected values.
847 * ποΈ Support for syncing Address and Credit Cards
850 * `ConceptFetchHttpUploader` adds support for private requests. By default, all requests are non-private.
851 * π Updated Glean to version 39.0.0 ([changelog](https://github.com/mozilla/glean/releases/tag/v39.0.0))
852 * Also includes v38.0.0 ([changelog](https://github.com/mozilla/glean/releases/tag/v38.0.0))
853 * β οΈ Deprecation: The old event recording API is replaced by a new one, accepting a typed object. See the [event documentation](https://mozilla.github.io/glean/book/reference/metrics/event.html#recordobject) for details.
854 * Skip build info generation for libraries.
858 * ποΈ Added `AbstractBinding` for simple features that want to observe changes to the `State` in a `Store` without needing to manually manage the CoroutineScope. This can now be handled like other `LifecycleAwareFeature` implementations:
860 class SimpleFeature(store: BrowserStore) : AbstractBinding<BrowserState>(store) {
861 override suspend fun onState(flow: Flow<BrowserState>) {
862 // Interact with flowable state.
867 * **feature-tab-collections**:
868 * [addTabsToCollection] now returns the id of the collection which the tabs were added to.
871 * Added UI components for displaying a list of branches and the selected branch related to a Nimbus experiments.
874 * Added `CreditCardUtils` which provides methods for retrieving the credit card issuer network from a provided card number. [#9813](https://github.com/mozilla-mobile/android-components/issues/9813)
878 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v74.0.0...v75.0.0)
879 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/136?closed=1)
880 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v75.0.0/buildSrc/src/main/java/Dependencies.kt)
881 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v75.0.0/buildSrc/src/main/java/Gecko.kt)
882 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v75.0.0/.config.yml)
886 * ποΈ New StickyHeaderLinearLayoutManager and StickyFooterLinearLayoutManager that can be used to keep an item from being scrolled off-screen.
887 * To use this set `isSticky = true` for any menu item of the menu. Since only one sticky item is supported if more items have this property the sticky item will be the one closest to the top the menu anchor.
888 * π Bug fixed [issue #10032](https://github.com/mozilla-mobile/android-components/issues/10032) - Fix a recent issue with ExpandableLayout - user touches on an expanded menu might not have any effect on Samsung devices.
889 * π Bug fixed [issue #10005](https://github.com/mozilla-mobile/android-components/issues/10005) - Fix a recent issue with BrowserMenu#show() - endOfMenuAlwaysVisible not being applied.
890 * π Bug fixed [issue #9922](https://github.com/mozilla-mobile/android-components/issues/9922) - The browser menu will have it's dynamic width calculated only once, before the first layout.
891 * ποΈ BrowserMenu support a bottom collapsed/expandable layout through a new ExpandableLayout that will wrap a menu layout before being used in a PopupWindow and automatically allow the collapse/expand behaviors.
892 * To use this set `isCollapsingMenuLimit = true` for any menu item of a bottom anchored menu.
893 * ποΈ `WebExtensionBrowserMenuBuilder` provide a new way to customize how items look like via `Style()` where the `tintColor`, `backPressDrawable` and `addonsManagerDrawable` can be customized.
894 * β οΈ **This is a breaking change**: `WebExtensionBrowserMenuBuilder.webExtIconTintColorResource` constructor parameter has been removed, please use `WebExtensionBrowserMenuBuilder`.`Style` instead. For more details see [issue #9787](https://github.com/mozilla-mobile/android-components/issues/10091).
896 * **browser-toolbar**
897 * **feature-session**
898 * ποΈ **Various issues related to the dynamic toolbar and pull to refresh will be fixed with with GeckoView offering more details about how the touch event will be handled.
901 * β οΈ **EngineView#InputResult is deprecated in favor of InputResultDetail which offers more details about how a touch event will be handled.
903 * **feature-downloads**:
904 * π Bug fixed [issue #9964](https://github.com/mozilla-mobile/android-components/issues/9964) - Downloads notification strings are not localized.
907 * Added `getExperimentBranches` method to `Nimbus` for retrieving a list of experiment branches for a given experiment. [issue #9895](https://github.com/mozilla-mobile/android-components/issues/9895)
910 * Added usecase for duplicating tabs to `TabsUseCases`.
914 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v73.0.0...v74.0.0)
915 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/135?closed=1)
916 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v74.0.0/buildSrc/src/main/java/Dependencies.kt)
917 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v74.0.0/buildSrc/src/main/java/Gecko.kt)
918 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v74.0.0/.config.yml)
920 * **feature-downloads**:
921 * π Bug fixed [issue #9821](https://github.com/mozilla-mobile/android-components/issues/9821) - Crash for downloads inferred empty mime types.
923 * **intent-processing**
924 * ποΈ Added support for opening links from ACTION_MAIN Intents. This Intents could the result of `Intent.makeMainSelectorActivity(Intent.ACTION_MAIN, Intent.CATEGORY_APP_BROWSER)` calls.
926 * **browser-toolbar**
927 * ποΈ Added `ToolbarBehaviorController` to automatically block the `BrowserToolbar` being animated by the `BrowserToolbarBehavior` while the tab is loading. This new class just has to be initialized by AC clients, similar to `ToolbarPresenter`.
929 * **feature-downloads**:
930 * π Bug fixed [issue #9757](https://github.com/mozilla-mobile/android-components/issues/9757) - Remove downloads notification when private tabs are closed.
931 * π Bug fixed [issue #9789](https://github.com/mozilla-mobile/android-components/issues/9789) - Canceled first PDF download prevents following attempts from downloading.
932 * π Bug fixed [issue #9823](https://github.com/mozilla-mobile/android-components/issues/9823) - Downloads prompts do not show again when a user denies system permission twice.
934 * **concept-engine**,**browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**, **browser-engine-system**
935 * β οΈ **This is a breaking change**: `EngineSession`.`enableTrackingProtection()` and `EngineSession`.`disableTrackingProtection()` have been removed, please use `EngineSession`.`updateTrackingProtection()` instead , for more details see [issue #9787](https://github.com/mozilla-mobile/android-components/issues/9787).
938 * β οΈ **This is a breaking change**: Removed `databasePath` from `RustPushConnection` constructor and added `context`. The file path is now queries lazily.
940 * **feature-top-sites**
941 * β οΈ **This is a breaking change**: Replace `TopSitesUseCases.renameTopSites` with `TopSitesUseCases.updateTopSites` which allows for updating the title and the url of a top site. [#9599](https://github.com/mozilla-mobile/android-components/issues/9599)
943 * **service-sync-autofill**
944 * Refactors `AutofillCreditCardsAddressesStorage` from **browser-storage-sync** into its own component. [#9801](https://github.com/mozilla-mobile/android-components/issues/9801)
946 * **service-firefox-accounts**,**browser-storage-sync**,**service-nimbus**,**service-sync-logins**
947 * Due to a temporary build issue in the Application Services project, it is not currently
948 possible to run some service-related unittests on a Windows host. [#9731](https://github.com/mozilla-mobile/android-components/pull/9731)
949 * Work on restoring this capability will be tracked in [application-services#3917](https://github.com/mozilla/application-services/issues/3917).
951 * **service-firefox-accounts**
952 * β οΈ **This is a breaking change**: Removed the currently unused `authorizeOAuthCode` from FirefoxAccount API surface.
955 * Added UI components for displaying a list of active Nimbus experiments.
958 * β οΈ **This is a breaking change**: Extended support for locale changes. The `LocaleManager` can now handle notifications about `Locale` changes through `LocaleUseCase`s, which are then reflected in the `BrowserStore`.
959 * π Bug fixed [issue #17190](https://github.com/mozilla-mobile/fenix/issues/17190) - Private browsing notifications are updated with the correct language when the app locale is changed.
964 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v72.0.0...v73.0.0)
965 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/134?closed=1)
966 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v73.0.0/buildSrc/src/main/java/Dependencies.kt)
967 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v73.0.0/buildSrc/src/main/java/Gecko.kt)
968 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v73.0.0/.config.yml)
971 * β οΈIncreased `targetSdkVersion` to 30 (Android R)
973 * **browser-toolbar**
974 * π Added `BrowserToolbarBehavior#forceCollapse` to easily collapse the top/bottom toolbar.
976 * **browser-toolbar**
977 * β οΈ **This is a breaking change**: `BrowserToolbarBottomBehavior` is renamed to `BrowserToolbarBehavior` as it is now a common behavior for toolbars be them placed at the bottom or at the top of the screen.
979 * **feature-session**
980 * β οΈ **This is a breaking change**: `EngineViewBottomBehavior` is renamed to `EngineViewBrowserToolbarBehavior` as it is now the glue between `EngineView` and `BrowserToolbar` irrespective of if the toolbar is placed at the bottom oir at the top of the `EngineView`.
982 * **feature-downloads**:
983 * π New `ShareDownloadFeature` will listen for `AddShareAction` and download, cache locally and then share internet resources.
984 * β οΈ **This is a breaking change**: This is a breaking change with clients expected to create and register a new instance of the this new feature otherwise the "Share image" from the browser contextual menu will do nothing.
987 * π Added `Context.shareMedia` that allows to easily share a specific locally stored file through the Android share menu.
989 * **feature-downloads**:
990 * π Bug fixed [issue #9441](https://github.com/mozilla-mobile/android-components/issues/9441) - Don't ask for redundant system files permission if not required.
991 * π Bug fixed [issue #9526](https://github.com/mozilla-mobile/android-components/issues/9526) - Downloads with generic content types use the correct file extension.
992 * π Bug fixed [issue #9553](https://github.com/mozilla-mobile/android-components/issues/9553) - Multiple files were unable to be opened after being download.
994 * **feature-webauthn**
995 * π New component to enable support for WebAuthn specification with `WebAuthnFeature`.
997 * **feature-awesomebar**
998 * added `SearchEngineSuggestionProvider` that offers suggestion(s) for search engines based on user search engine list
1000 * **browser-storage-sync**
1001 * Added `AutofillCreditCardsAddressesStorage` implementation of the `CreditCardsAddressesStorage` interface back by the application-services' `autofill` library.
1003 * **concept-engine**
1004 * Added `defaultSettings: Settings?` parameter to registerTabHandler to supply a default Tracking Policy when opening a new extension tab.
1005 * When calling `onNewTab` in `registerTabHandler` from `GeckoWebExtension.kt` a default `TrackingProtectionPolicy.strict()` is supplied to the new `GeckoEngineSession`. This was added in to avoid WebExtension tabs without any ETP settings.
1007 * **concept-storage**
1008 * Introduced `CreditCardsAddressesStorage` interface for describing credit card and address storage.
1011 * Add `NamedThreadFactory`, a `ThreadFactory` that names its threads with the given argument.
1014 * Add `threadNamePrefix` parameter to `Store` to give threads created by the `Store` a specific name.
1017 * π Updated Glean to version 35.0.0 ([changelog](https://github.com/mozilla/glean/releases/tag/v35.0.0))
1021 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v71.0.0...v72.0.0)
1022 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/133?closed=1)
1023 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v72.0.0/buildSrc/src/main/java/Dependencies.kt)
1024 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v72.0.0/buildSrc/src/main/java/Gecko.kt)
1025 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v72.0.0/.config.yml)
1027 * **feature-prompts**:
1028 * π Bug fixed [issue #9471](https://github.com/mozilla-mobile/android-components/issues/9471) - Confirm and alert js dialogs don't show "OK" and "Cancel" buttons when the message is too long.
1031 * β οΈ **This is a breaking change**: Update the signature of `ActivityResultHandler.onActivityResult` to avoid conflict with internal Android APIs.
1033 * **feature-addons**
1034 * π Bug fixed [issue #9484] https://github.com/mozilla-mobile/android-components/issues/9484) - Handle multiple add-ons update that require new permissions.
1036 * **feature-top-sites**
1037 * β οΈ **This is a breaking change**: Replaces `includeFrecent` with an optional `frecencyConfig` in `TopSitesConfig` and `TopSitesStorage.getTopSites` to specify the frecency threshold for the returned list of top frecent sites see [#8690](https://github.com/mozilla-mobile/android-components/issues/8690).
1039 * **service-nimbus**
1040 * Upgraded nimbus-sdk to enable `getExperimentBranch()` (and friends) to be callable from the main thread.
1041 * Split up `updateExperiments()` in to two methods: `fetchExperiments()` and `applyPendingExperiments()`.
1042 * Exposed `setExperimentsLocally()` for testing and startup.
1046 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v70.0.0...v71.0.0)
1047 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/132?closed=1)
1048 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v71.0.0/buildSrc/src/main/java/Dependencies.kt)
1049 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v71.0.0/buildSrc/src/main/java/Gecko.kt)
1050 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v71.0.0/.config.yml)
1052 * **feature-prompts**:
1053 * π Bug fixed [issue #9351] Camera images are available even with "Don't keep activities" enabled.
1055 * **ui-autocomplete**:
1056 * Pasting from the clipboard now cleans up any unwanted uri schemes.
1058 * **support-utils**:
1059 * π Added SafeUrl#stripUnsafeUrlSchemes that can cleanup unwanted uri schemes. Interested clients can specify what these are by overwriting "mozac_url_schemes_blocklist".
1061 * **concept-fetch**:
1062 * π Added `Request#private` to allow requests to be performed in a private context, the feature is not support in all `Client`s check support before using.
1064 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
1065 * π Added support for `Request#private`.
1067 * **feature-prompts**:
1068 * π Bug fixed [issue #9229](https://github.com/mozilla-mobile/android-components/issues/9229) - Dismiss SelectLoginPrompt from the current tab when opening a new one ensuring the new one can show it's own. When returning to the previous tab users should focus a login field to see the SelectLoginPrompt again.
1069 * PromptFeature now implements UserInteractionHandler.onBackPressed to dismiss loginPicker.
1071 * **browser-session**
1072 * π Bug fixed [issue #9445](https://github.com/mozilla-mobile/android-components/issues/9445) - LinkEngineSessionAction does not consider restoreState result.
1074 * **feature-contextmenu**
1075 * π New functionality [issue #9392](https://github.com/mozilla-mobile/android-components/issues/9392) - Add share and copy link context menu options to images.
1077 * **feature-customtabs**
1078 * β οΈ **This is a breaking change**: Multiple breaking changes after migrating `feature-customtabs` to use the browser store, `CustomTabIntentProcessor` requires `AddCustomTabUseCase`, `CustomTabsToolbarFeature` requires the `BrowserStore` and `CustomTabsUseCases` for more details see [issue #4257](https://github.com/mozilla-mobile/android-components/issues/4257).
1080 * **feature-intent**
1081 * β οΈ **This is a breaking change**: Multiple breaking changes after migrating `feature-intent` to use the browser store, `TabIntentProcessor` requires `TabsUseCases` and removes the `openNewTab` parameter, for more details see [issue #4279](https://github.com/mozilla-mobile/android-components/issues/4279).
1084 * β οΈ **This is a breaking change**: `TabsUseCases` now requires `SessionStorage` for more info see [issue #9323](https://github.com/mozilla-mobile/android-components/issues/9323).
1087 * π Bug fixed [issue #7888](https://github.com/mozilla-mobile/android-components/issues/7888) - Fixed crash when fetching icon with invalid URI scheme.
1090 * π Bug fixed [issue #9243](https://github.com/mozilla-mobile/android-components/issues/9243) - Pausing YouTube Video for A While Causes Media Notification to Disappear.
1091 * π Bug fixed [issue #9254](https://github.com/mozilla-mobile/android-components/issues/9254) - Headphone control does not pause or play video.
1093 * **support-webextensions**
1094 * π Bug fixed [issue #9210](https://github.com/mozilla-mobile/android-components/issues/9210) - White page shown in custom tab when ublock blocks page.
1096 * **feature-downloads**:
1097 * Allow browsers to change the download notification accent color by providing `Style()` in `AbstractFetchDownloadService`, for more information see [#9299](https://github.com/mozilla-mobile/android-components/issues/9299).
1099 * **feature-accounts-push**
1100 * Rolling back to previous behaviour of renewing push registration token when the `subscriptionExpired` flag is observed.
1103 * Catch `IOException` that may be thrown when deleting icon caches.
1106 * QR Scanner can now scan inverted QR codes, by decoding inverted source when the decoding the original source fails.
1108 * **feature-sitepermissions**
1109 * β οΈ **This is a breaking change**: The `SitePermissions` constructor, now parameter types for `autoplayAudible` and `autoplayInaudible` have changed to `AutoplayStatus` as autoplay permissions only support two status `ALLOWED` and `BLOCKED`.
1111 * **feature-app-links**
1112 * β οΈ **This is a breaking change**: Migrated this component to use `browser-state` instead of `browser-session`. It is now required to pass a `BrowserStore` instance (instead of `SessionManager`) to `AppLinksFeature`.
1114 * **browser-toolbar**
1115 * β οΈ **This is a breaking change**: The API for showing the site permission indicators has been replaced to API to show an dot notification instead, for more information see [#9378](https://github.com/mozilla-mobile/android-components/issues/9378).
1117 * **service-nimbus**
1118 * Added a `NimbusDisabled` class to provide implementers who are not able to use Nimbus yet.
1121 * π Add an `ActivityResultHandler` for features that want to consume the result.
1123 * **concept-engine**,**browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
1124 * π Added a new `ActivityDelegate` for handling intent requests from the engine.
1125 * β οΈ **This is a breaking change**: `EngineSessionState`.`toJSON()` has been removed for more details see [issue #8370](https://github.com/mozilla-mobile/android-components/issues/8370).
1127 * **browser-engine-gecko(-nightly)**
1128 * Added `GeckoActivityDelegate` for the GeckoView `activityDelegate`.
1131 * β οΈ **This is a breaking change**: Removed the `TabCounterToolbarButton#privateColor` attribute which are replaced by the `tabCounterTintColor` Android styleable attribute.
1133 * **lib-nearby**, **feature-p2p**, **samples-nearby**
1134 * β οΈ **This is a breaking change**: Removed Nearby component and related samples.
1138 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v69.0.0...v70.0.0)
1139 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/131?closed=1)
1140 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v70.0.0/buildSrc/src/main/java/Dependencies.kt)
1141 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v70.0.0/buildSrc/src/main/java/Gecko.kt)
1142 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v70.0.0/.config.yml)
1144 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
1146 * `browser-engine-gecko-release`: GeckoView 84.0
1147 * `browser-engine-gecko-beta`: GeckoView 85.0
1148 * `browser-engine-gecko-nightly`: GeckoView 86.0
1150 * **browser-toolbar**
1151 * π Added API to show site permission indicators for more information see [#9131](https://github.com/mozilla-mobile/android-components/issues/9131).
1153 * **browser-awesomebar**:
1154 * Awesomebar can now be customized for bottom toolbar using the [customizeForBottomToolbar] property
1156 * **service-numbus**
1157 * Added a `NimbusDisabled` class to provide implementers who are not able to use Nimbus yet.
1160 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v68.0.0...v69.0.0)
1161 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/130?closed=1)
1162 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v69.0.0/buildSrc/src/main/java/Dependencies.kt)
1163 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v69.0.0/buildSrc/src/main/java/Gecko.kt)
1164 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v69.0.0/.config.yml)
1166 * **browser-session**
1167 * β οΈ **This is a breaking change**: `Session.searchTerms` has been removed. Use `ContentState.searchTerms` (`browser-state`) instead.
1168 * β οΈ **This is a breaking change**: `Session.desktopMode` has been removed. Use `ContentState.desktopMode` (`browser-state`) instead.
1170 * **feature-search**
1171 * β οΈ **This is a breaking change**: Use cases in `SearchUseCases` now take the ID of s session/tab as parameter instead of a `Session` instance.
1172 * β οΈ **This is a breaking change**: `SearchUseCases` no longer depends on `SessionManager` and requires a `TabsUseCases` instance now.
1175 * β οΈ **This is a breaking change**: Use cases in `TabsUseCases` that previously returned a `Session` instance now return the ID of the `Session`.
1177 * **support-test-libstate**
1178 * Added `CaptureActionsMiddleware`: A `Middleware` implementation for unit tests that want to inspect actions dispatched on a `Store`.
1180 * **feature-sitepermissions**
1181 * β οΈ **This is a breaking change**: The `SitePermissionsRules` constructor, now requires a new parameter `mediaKeySystemAccess`.
1182 * π Added support for EME permission prompts, see [#7121](https://github.com/mozilla-mobile/android-components/issues/7121).
1184 * **browser-thumbnail**
1185 * Catch `IOException` that may be thrown when deleting thumbnails.
1187 * **browser-tabstray**
1188 * β οΈ **This is a breaking change**: Support temporary hiding if a tab is selected. For this you should use partial bindings with PAYLOAD_(DONT_)HIGHLIGHT_SELECTED_ITEM; override TabsAdapter#isTabSelected for new item bindings; override TabViewHolder#updateSelectedTabIndicator.
1190 * **concept-tabstray**:
1191 * β οΈ **This is a breaking change**: A new method - `isTabSelected` was added that exposes to clients an easy way to change what a "selected" tab means.
1195 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v67.0.0...v68.0.0)
1196 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/129?closed=1)
1197 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v68.0.0/buildSrc/src/main/java/Dependencies.kt)
1198 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v68.0.0/buildSrc/src/main/java/Gecko.kt)
1199 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v68.0.0/.config.yml)
1201 * βΉοΈ Note that various AndroidX dependencies have been updated in this release.
1203 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
1204 * π Bug fixed [issue #8464](https://github.com/mozilla-mobile/android-components/issues/8464) - Crash when confirming a prompt that was already confirmed
1206 * **feature-downloads**
1207 * π Bug fixed [issue #9033](https://github.com/mozilla-mobile/android-components/issues/9033) - Fix resuming downloads in slow networks more details see the [Fenix issue](https://github.com/mozilla-mobile/fenix/issues/9354#issuecomment-731267368).
1208 * π Bug fixed [issue #9073](https://github.com/mozilla-mobile/android-components/issues/9073) - Fix crash downloading a file with multiple dots on it, for more details see the [Fenix issue](https://github.com/mozilla-mobile/fenix/issues/16443).
1210 * **feature-session**
1211 * π Bug fixed [issue #9109](https://github.com/mozilla-mobile/android-components/issues/9109) - Tracking protection shield not getting updated after deleting exception by url [Fenix issue](https://github.com/mozilla-mobile/fenix/issues/16670).
1213 * **feature-app-links**
1214 * Added handling of PackageItemInfo.packageName NullPointerException on some Xiaomi and TCL devices
1217 * π Updated Glean to version 33.1.2 ([changelog](https://github.com/mozilla/glean/releases/tag/v33.1.2))
1219 * **feature-tab-collections**:
1220 * [createCollection] now returns the id of the newly created collection
1222 * **browser-errorpages**:
1223 * β οΈ The url encoded error page - `error_page_js` is now clean of inline code. Clients should not rely on inlined code anymore.
1224 * β οΈ **This is a breaking change**: Removed the data url encoded error page - `error_pages` which was already deprecated by `error_page_js`.
1228 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v66.0.0...v67.0.0)
1229 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/128?closed=1)
1230 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v67.0.0/buildSrc/src/main/java/Dependencies.kt)
1231 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v67.0.0/buildSrc/src/main/java/Gecko.kt)
1232 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v67.0.0/.config.yml)
1234 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
1236 * `browser-engine-gecko-release`: GeckoView 83.0
1237 * `browser-engine-gecko-beta`: GeckoView 84.0
1238 * `browser-engine-gecko-nightly`: GeckoView 85.0
1240 * **feature-sitepermissions**
1241 * π Bug fixed [issue #8943](https://github.com/mozilla-mobile/android-components/issues/8943) Refactor `SwipeRefreshFeature` to not use `EngineSession.Observer`, this result in multiple site permissions bugs getting fixed see [fenix#8987](https://github.com/mozilla-mobile/fenix/issues/8987) and [fenix#16411](https://github.com/mozilla-mobile/fenix/issues/16411).
1243 * **feature-prompts**
1244 * π Bug fixed [issue #8967](https://github.com/mozilla-mobile/android-components/issues/8967) Crash when trying to upload a file see [fenix#16537](https://github.com/mozilla-mobile/fenix/issues/16537), for more information.
1245 * π Bug fixed [issue #8953](https://github.com/mozilla-mobile/android-components/issues/8953) - Scroll to selected prompt choice if one exists.
1247 * **feature-accounts-push**
1248 * β οΈ `FxaPushSupportFeature` now re-subscribes to push instead of triggering the registration renewal process - this is a temporary workaround and will be removed in the future, see [#7143](https://github.com/mozilla-mobile/android-components/issues/7143).
1249 * `FxaPushSupportFeature` now takes an optional crash reporter in the constructor.
1253 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v65.0.0...v66.0.0)
1254 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/127?closed=1)
1255 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v66.0.0/buildSrc/src/main/java/Dependencies.kt)
1256 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v66.0.0/buildSrc/src/main/java/Gecko.kt)
1257 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v66.0.0/.config.yml)
1260 * π Bug fixed [issue #8745](https://github.com/mozilla-mobile/android-components/issues/8745) - Remove OneTimeFxaPushReset from FxaPushSupportFeature
1261 * β οΈ **This is a breaking change** because the public API changes with the removal of the class.
1263 * **feature-downloads**
1264 * π Bug fixed [issue #8904](https://github.com/mozilla-mobile/android-components/issues/8904) - Fix resuming downloads in nightly/beta more details see the [Fenix issue](https://github.com/mozilla-mobile/fenix/issues/9354).
1266 * **feature-search**
1267 * β οΈ **This is a breaking change**: `SearchUseCases` no longer requires a `Context` parameter in the constructor.
1269 * **feature-sitepermissions**
1270 * β οΈ **This is a breaking change**: The `SitePermissionsFeature`'s constructor does not requires a `sessionManager` parameter anymore pass a `store` instead.
1272 * **browser-session**
1273 * `SelectionAwareSessionObserver` is now deprecated. All session state changes can be observed using the browser store (`browser-state` module).
1275 * **feature-addons**
1276 * `AddonManager.getAddons()` now accepts a new (optional) `allowCache` parameter to configure whether or not a cached response may be returned. This is useful in case a UI flow needs the most up-to-date addons list, or to support "refresh" functionality. By default, cached responses are allowed.
1278 * **service-nimbus**
1279 * Added new Nimbus rapid experiment library component. This is a Rust based component that is delivered to A-C through the appservices megazord. See the [nimbus-sdk repo](https://github.com/mozilla/nimbus-sdk) for more info.
1283 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v64.0.0...v65.0.0)
1284 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/126?closed=1)
1285 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v65.0.0/buildSrc/src/main/java/Dependencies.kt)
1286 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v65.0.0/buildSrc/src/main/java/Gecko.kt)
1287 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v65.0.0/.config.yml)
1290 * Added `TabsUseCases.RemoveTabsUseCase` for removing an arbitrary list of tabs.
1293 * Added `TabListAction.RemoveTabsAction` to `BrowserAction`.
1295 * **feature-downloads**
1296 * π Bug fixed [issue #8823](https://github.com/mozilla-mobile/android-components/issues/8823) Downloads for data URLs were failing on nightly and beta more details in the [Fenix issue](https://github.com/mozilla-mobile/fenix/issues/16228#issuecomment-717976737).
1297 * π Bug fixed [issue #8847](https://github.com/mozilla-mobile/android-components/issues/8847) crash when trying to download a file and switching from a normal to a private mode.
1298 * π Bug fixed [issue #8857](https://github.com/mozilla-mobile/android-components/issues/8857) Sometimes it is not possible to dismiss download notifications see [Fenix#15527](https://github.com/mozilla-mobile/fenix/issues/15527) for more information.
1300 * **feature-sitepermissions**
1301 * β οΈ **This is a breaking change**: The `SitePermissionsFeature`'s constructor, now requires a new parameter `BrowserStore` object.
1302 * π Moved sitePermissionsFeature from using session to using kotlin flow for observing content and app permission requests[#8554](https://github.com/mozilla-mobile/android-components/issues/8554)
1304 * **feature-addons**
1305 * ποΈ Added dividers for sections in add-ons list, see [#8703](https://github.com/mozilla-mobile/android-components/issues/8703).
1307 * **feature-top-sites**
1308 * Added `RenameTopSiteUseCase` to rename pinned site entries. [#8751](https://github.com/mozilla-mobile/android-components/issues/8751)
1310 * **browser-engine-gecko-nightly**
1311 * Adds optional `PreferredColorScheme` param to `GeckoEngineView`
1312 * On `GeckoView` init call `coverUntilFirstPaint()` with `PreferredColorScheme`
1315 * Added `disableRateLimit` to `PushConfig` to allow for easier debugging of push during development.
1316 * Made `AutoPushFeature` aware of the `PushConfig.disableRateLimit` flag.
1318 * **feature-accounts-push**
1319 * Made `FxaPushSupportFeature` aware of the `PushConfig.disableRateLimit` flag.
1322 * Add `LazyComponent`, a wrapper around `lazy` that avoids initializing recursive dependencies until component use.
1326 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v63.0.0...v64.0.0)
1327 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/125?closed=1)
1328 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v64.0.0/buildSrc/src/main/java/Dependencies.kt)
1329 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v64.0.0/buildSrc/src/main/java/Gecko.kt)
1330 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v64.0.0/.config.yml)
1332 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
1333 * Exposes GeckoView `CompositorController#ClearColor` as Setting
1335 * **browser-engine-system**
1336 * β οΈ **This is a breaking change**: Renames `blackListFile` to `blocklistFile`.
1337 * β οΈ **This is a breaking change**: Renames `whiteListFile` to `safelistFile`.
1339 * **feature-addons**
1340 * π Bug fixed [issue #7879](https://github.com/mozilla-mobile/android-components/issues/7879) Crash when the default locale is not part of the translations fields of an add-on
1341 * β οΈ Removed `Addon.translatedName`, `Addon.translatedSummary` and `Addon.translatedDescription` and added `Addon.translateName(context: Context)`, `Addon.translateSummary(context: Context)` and `Addon.translateDescription(context: Context)`
1343 * **concept-engine**
1344 * β οΈ Removed `TrackingCategory`.`SHIMMED`, for user usability reasons, we are going to mark SHIMMED categories as blocked, to follow the same pattern as Firefox desktop for more information see [#8769](https://github.com/mozilla-mobile/android-components/issues/8769)
1346 * **feature-downloads**
1347 * π Bug fixed [issue #8585](https://github.com/mozilla-mobile/android-components/issues/8784) create download directory when it doesn't exists for more information see [mozilla-mobile/fenix#15527](https://github.com/mozilla-mobile/fenix/issues/5829).
1351 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v62.0.0...v63.0.0)
1352 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/124?closed=1)
1353 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v63.0.0/buildSrc/src/main/java/Dependencies.kt)
1354 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v63.0.0/buildSrc/src/main/java/Gecko.kt)
1355 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v63.0.0/.config.yml)
1357 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
1359 * `browser-engine-gecko-release`: GeckoView 82.0
1360 * `browser-engine-gecko-beta`: GeckoView 83.0
1361 * `browser-engine-gecko-nightly`: GeckoView 84.0
1363 * **feature-addons**
1364 * π Bug fixed [issue #8681](https://github.com/mozilla-mobile/android-components/issues/8681) Fenix was consuming a lot of extra space on disk, when an add-on update requires a new permission, more info can be found [here](https://github.com/mozilla-mobile/android-components/issues/8681)
1368 * Updated to Kotlin 1.4.10 and Coroutines 1.3.9.
1369 * Updated to Android Gradle plugin 4.0.1 (downstream projects need to update too).
1372 * Glean was upgraded to v33.0.0
1373 * β οΈ **This is a breaking change**: Updated to the Android Gradle Plugin v4.0.1 and Gradle 6.5.1. Projects using older versions of these components will need to update in order to use newer versions of the Glean SDK.
1375 * **browser-toolbar**
1376 * Clear tint of tracking protection icon when animatable
1378 * **concept-engine**
1379 * Added `MediaSession` for the media session API.
1380 * π Added a new `TrackingCategory`.`SHIMMED` to indicate that content that would have been blocked has instead been replaced with a shimmed file. See more on [Fenix #14071](https://github.com/mozilla-mobile/fenix/issues/14071)
1382 * **browser-engine-gecko(-nightly)**
1383 * Added `GeckoMediaSessionController` and `GeckoMediaSessionDelegate` for the media session API.
1386 * Added `MediaSessionState` to `SessionState`.
1387 * Added `MediaSessionAction` to `BrowserAction`.
1389 * **feature-sitepermissions**
1390 * β οΈ **This is a breaking change**: The `SitePermissionsRules`'s constructor, now requires a new parameter `persistentStorage`.
1391 * π Added support for the local storage site permission see [#3153](https://github.com/mozilla-mobile/android-components/issues/3153).
1393 * **browser-toolbar**
1394 * π Added API to add a click listener to the iconView.
1396 * **feature-prompts**
1397 * The repost prompt now has different text and will also dismiss the pull to refresh throbber.
1399 * **lib-push-firebase**
1400 * Upgrade Firebase Cloud Messaging to v20.3.0.
1401 * β οΈ **This is a breaking change**: `RemoteMessage` is now non-null in `onMessageReceived`.
1405 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v61.0.0...v62.0.0)
1406 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/122?closed=1)
1407 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v62.0.0/buildSrc/src/main/java/Dependencies.kt)
1408 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v62.0.0/buildSrc/src/main/java/Gecko.kt)
1409 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v62.0.0/.config.yml)
1412 * β οΈ **This is a breaking change**: `DownloadState` doesn't support [Parcelable](https://developer.android.com/reference/android/os/Parcelable) anymore.
1414 * **feature-downloads**
1415 * π Bug fixed [issue #8585](https://github.com/mozilla-mobile/android-components/issues/8585) fixed regression files not been added to the downloads database system.
1416 * π Added new use cases for removing individual downloads (`removeDownload`) and all downloads (`removeAllDownloads`).
1417 * π Added support for new download [GeckoView API](https://mozilla.github.io/geckoview/javadoc/mozilla-central/org/mozilla/geckoview/GeckoSession.ContentDelegate.html#onExternalResponse-org.mozilla.geckoview.GeckoSession-org.mozilla.geckoview.GeckoResult-).
1420 * Glean was upgraded to v32.4.1
1421 * Update `glean_parser` to 1.28.6
1422 * BUGFIX: Ensure Kotlin arguments are deterministically ordered
1423 * BUGFIX: Transform ping directory size from bytes to kilobytes before accumulating to `glean.upload.pending_pings_directory_size`
1425 * **feature-customtabs**
1426 * The drawable for the Action button icon in custom tabs is now scaled to 24dp width an 24dp height.
1428 * **support-images**
1429 * β οΈ **This is a breaking change**: `ImageLoader` and `ImageRequest` have moved to the `concept-base` component.
1431 * **browser-session**
1432 * π Bug fixed: Having a larger number of tabs slows down cold startup see more on [#8535](https://github.com/mozilla-mobile/android-components/issues/8535) and [#7304](https://github.com/mozilla-mobile/android-components/issues/7304).
1434 * **browser-toolbar**
1435 * π Bug fixed: Crash IllegalArgumentException BrowserGestureDetector$CustomScrollDetectorListener see more on [#8356](https://github.com/mozilla-mobile/android-components/issues/8356)
1438 * π Bug fixed: Pair message show at every scan after you try to login using scan qr see [#8537](https://github.com/mozilla-mobile/android-components/issues/8537)
1440 * **feature-addons**
1441 * β οΈ This is a breaking change for call sites that don't rely on named arguments:
1442 * `AddonCollectionProvider` now supports configuring a custom collection owner (via AMO user ID or name).
1443 * `AddonCollectionProvider` now supports configuring the sort order of recommended collections, defaulting to sorting descending by popularity
1445 val addonCollectionProvider by lazy {
1446 AddonCollectionProvider(
1449 collectionUser = "16314372"
1450 collectionName = "myCollection",
1451 sortOption = SortOption.NAME
1452 maxCacheAgeInMinutes = DAY_IN_MINUTES
1455 * Temporary add-ons installed via web-ext are no longer displayed as unsupported.
1459 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v60.0.0...v61.0.0)
1460 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/121?closed=1)
1461 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v60.0.0/buildSrc/src/main/java/Dependencies.kt)
1462 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v60.0.0/buildSrc/src/main/java/Gecko.kt)
1463 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v60.0.0/.config.yml)
1465 * **browser-session**
1466 * Added "undo" functionality via `UndoMiddleware`.
1468 * Added `TabsUseCases.UndoTabRemovalUseCase` for undoing the removal of tabs.
1469 * **feature-webcompat-reporter**
1470 * Added the ability to automatically add a screenshot as well as more technical details when submitting a WebCompat report.
1471 * **feature-addons**
1472 * Temporary add-ons installed via web-ext are no longer displayed as unsupported.
1473 * π Bug fixed [issue #8267](https://github.com/mozilla-mobile/android-components/issues/8267) Devtools permission had wrong translation.
1476 * π Added `AsyncDrawableMenuIcon` class to use icons in a menu that will be loaded later.
1480 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v59.0.0...v60.0.0)
1481 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/120?closed=1)
1482 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v60.0.0/buildSrc/src/main/java/Dependencies.kt)
1483 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v60.0.0/buildSrc/src/main/java/Gecko.kt)
1484 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v60.0.0/.config.yml)
1486 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
1487 * π Bug fixed [issue #8431](https://github.com/mozilla-mobile/android-components/issues/8431) update `Session.trackerBlockingEnabled` and `SessionState#trackingProtection#enabled` with the initial tracking protection state.
1489 * Added `TabsUseCases.removeNormalTabs()` and `TabsUseCases.removePrivateTabs()`.
1490 * β οΈ **This is a breaking change**: Removed `TabsUseCases.removeAllTabsOfType()`.
1491 * **browser-session**
1492 * Added `SessionManager.removeNormalSessions()` and `SessionManager.removePrivateSessions()`.
1493 * **feature-downloads**
1494 * π Bug fixed [issue #8456](https://github.com/mozilla-mobile/android-components/issues/8456) Crash SQLiteConstraintException UNIQUE constraint failed: downloads.id (code 1555).
1496 * Glean was upgraded to v32.4.0
1497 * Allow using quantity metric type outside of Gecko ([#1198](https://github.com/mozilla/glean/pull/1198))
1498 * Update `glean_parser` to 1.28.5
1499 * The `SUPERFLUOUS_NO_LINT` warning has been removed from the glinter. It likely did more harm than good, and makes it hard to make metrics.yaml files that pass across different versions of `glean_parser`.
1500 * Expired metrics will now produce a linter warning, `EXPIRED_METRIC`.
1501 * Expiry dates that are more than 730 days (~2 years) in the future will produce a linter warning, `EXPIRATION_DATE_TOO_FAR`.
1502 * Allow using the Quantity metric type outside of Gecko.
1503 * New parser configs `custom_is_expired` and `custom_validate_expires` added. These are both functions that take the expires value of the metric and return a bool. (See `Metric.is_expired` and `Metric.validate_expires`). These will allow FOG to provide custom validation for its version-based `expires` values.
1504 * Add a limit of 250 pending ping files. ([#1217](https://github.com/mozilla/glean/pull/1217)).
1505 * Don't retry the ping uploader when waiting, sleep instead. This avoids a never-ending increase of the backoff time ([#1217](https://github.com/mozilla/glean/pull/1217)).
1509 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v58.0.0...v59.0.0)
1510 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/119?closed=1)
1511 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v59.0.0/buildSrc/src/main/java/Dependencies.kt)
1512 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v59.0.0/buildSrc/src/main/java/Gecko.kt)
1513 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v59.0.0/buildSrc/src/main/java/Config.kt)
1515 * **feature-downloads**
1516 * π Bug fixed [issue #8354](https://github.com/mozilla-mobile/android-components/issues/8354) Do not restart FAILED downloads.
1517 * **browser-tabstray**
1518 * Removed the `BrowserTabsTray` that was deprecated in previous releases.
1519 * **service-telemetry**
1520 * This library has been removed. Please use `service-glean` instead.
1522 * Glean was upgraded to v32.3.2
1523 * Track the size of the database file at startup ([#1141](https://github.com/mozilla/glean/pull/1141)).
1524 * Submitting a ping with upload disabled no longer shows an error message ([#1201](https://github.com/mozilla/glean/pull/1201)).
1525 * BUGFIX: scan the pending pings directories **after** dealing with upload status on initialization. This is important, because in case upload is disabled we delete any outstanding non-deletion ping file, and if we scan the pending pings folder before doing that we may end up sending pings that should have been discarded. ([#1205](https://github.com/mozilla/glean/pull/1205))
1526 * Move logic to limit the number of retries on ping uploading "recoverable failures" to glean-core. ([#1120](https://github.com/mozilla/glean/pull/1120))
1527 * The functionality to limit the number of retries in these cases was introduced to the Glean SDK in `v31.1.0`. The work done now was to move that logic to the glean-core in order to avoid code duplication throughout the language bindings.
1528 * Update `glean_parser` to `v1.28.3`
1529 * BUGFIX: Generate valid C# code when using Labeled metric types.
1530 * BUGFIX: Support `HashSet` and `Dictionary` in the C# generated code.
1531 * Add a 10MB quota to the pending pings storage. ([#1100](https://github.com/mozilla/glean/pull/1110))
1532 * Handle ping registration off the main thread. This removes a potential blocking call ([#1132](https://github.com/mozilla/glean/pull/1132)).
1533 * **feature-syncedtabs**
1534 * Added support for indicators to synced tabs `AwesomeBar` suggestions.
1535 * **feature-addons**
1536 * β οΈ **This is a breaking change**: The `Addon.translatePermissions` now requires a `context` object and returns a list of localized strings instead of a list of id string resources.
1537 * π Bug fixed [issue #8323](https://github.com/mozilla-mobile/android-components/issues/8323) Add-on permission dialog does not prompt for host permissions.
1541 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v57.0.0...v58.0.0)
1542 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/118?closed=1)
1543 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v58.0.0/buildSrc/src/main/java/Dependencies.kt)
1544 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v58.0.0/buildSrc/src/main/java/Gecko.kt)
1545 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v58.0.0/buildSrc/src/main/java/Config.kt)
1547 * **feature-recentlyclosed**
1548 * Added a new [RecentlyClosedTabsStorage] and a [RecentlyClosedMiddleware] to maintain a list of restorable recently closed tabs.
1552 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v56.0.0...v57.0.0)
1553 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/117?closed=1)
1554 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v57.0.0/buildSrc/src/main/java/Dependencies.kt)
1555 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v57.0.0/buildSrc/src/main/java/Gecko.kt)
1556 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v57.0.0/buildSrc/src/main/java/Config.kt)
1558 * **feature-search**
1559 * β οΈ **This is a breaking change**: `SearchFeature.performSearch` now takes a second parameter.
1560 * `BrowserStoreSearchAdapter` and `SearchFeature` can now take a `tabId` parameter.
1562 * **feature-top-sites**
1563 * β οΈ **This is a breaking change**: Renames `TopSiteStorage` to `PinnedSitesStorage`.
1564 * β οΈ **This is a breaking change**: Renames `TopSiteDao` to `PinnedSiteDao`.
1565 * β οΈ **This is a breaking change**: Renames `TopSiteEntity` to `PinnedSiteEntity`.
1566 * β οΈ **This is a breaking change**: Replaces `TopSite` interface with a new generic `TopSite` data class.
1567 * Implements TopSitesFeature based on the RFC [0006-top-sites-feature.md](https://github.com/mozilla-mobile/android-components/blob/main/docs/rfcs/0006-top-sites-feature.md).
1568 * Downloads, redirect targets, reloads, embedded resources, and frames are no longer considered for inclusion in top sites. Please see [this Application Services PR](https://github.com/mozilla/application-services/pull/3505) for more details.
1570 * **lib-push-firebase**
1571 * Removed non-essential dependency on `com.google.firebase:firebase-core`.
1574 * Crash report timestamp is now set to when the crash occurred.
1575 * When breadcrumbs limit is reached, oldest breadcrumbs are dropped.
1577 * **feature-toolbar**
1578 * Added `ContainerToolbarFeature` to update the toolbar with the container page action whenever the selected tab changes.
1581 * Added `LastAccessMiddleware` to dispatch `TabSessionAction.UpdateLastAccessAction` when a tab is selected.
1583 * **feature-prompts**
1584 * Replaced generic icon in `LoginDialogFragment` with site icon (keep the generic one as fallback)
1586 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
1587 * π Bug fixed [issue #8240](https://github.com/mozilla-mobile/android-components/issues/8240) Crash when dismissing Share dialog.
1589 * **feature-downloads**
1590 * β οΈ **This is a breaking change**: `AndroidDownloadManager.download` returns a `Strings`, `AndroidDownloadManager.tryAgain` requires a `Strings` `id` parameter.
1591 * β οΈ **This is a breaking change**: `ConsumeDownloadAction` requires a `Strings` `id` parameter.
1592 * β οΈ **This is a breaking change**: `DownloadManager#onDownloadStopped` requires a `Strings` `(DownloadState, Long, Status) -> Unit`.
1593 * β οΈ **This is a breaking change**: `DownloadsUseCases.invoke` requires an `Strings` `downloadId` parameter.
1594 * β οΈ **This is a breaking change**: `DownloadState.id` has changed its type from `Long` to `String`.
1595 * β οΈ **This is a breaking change**: `BrowserState.downloads` has changed it's type from `Map<Long, DownloadState>` to `Map<String, DownloadState>`.
1596 * π Added support for persisting/restoring downloads see issue [#7762](https://github.com/mozilla-mobile/android-components/issues/7762).
1597 * π Added `DownloadStorage` for querying stored download metadata.
1598 * π Bug [issue #8190](https://github.com/mozilla-mobile/android-components/issues/8190) ArithmeticException: divide by zero in Download notification.
1599 * π Bug [issue #8363](https://github.com/mozilla-mobile/android-components/issues/8363) IllegalStateException: Not allowed to start service Intent.
1602 * π New VerticalSwipeRefreshLayout that comes to resolve many of the issues of the platform SwipeRefreshLayout and filters out other gestures than swipe down/up.
1606 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v55.0.0...v56.0.0)
1607 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/116?closed=1)
1608 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v55.0.0/buildSrc/src/main/java/Dependencies.kt)
1609 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v55.0.0/buildSrc/src/main/java/Gecko.kt)
1610 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v55.0.0/buildSrc/src/main/java/Config.kt)
1612 * **feature-prompts**
1613 * π Added optional `LoginPickerView` and `onManageLogins` params to `PromptFeature` for a new [LoginPicker] to display a view for selecting one of multiple matching saved logins to fill into a site.
1615 * **concept-tabstray**
1616 * π Added `onTabsUpdated` to `TabsTray.Observer` for notifying observers when one or more tabs have been added/removed.
1618 * **browser-tabstray**
1619 * π Added the convenience function `TabsAdapter.doOnTabsUpdated` for performing actions only once when the tabs are updated.
1621 * **feature-app-links**
1622 * π Bug fixed [issue #8169](https://github.com/mozilla-mobile/android-components/issues/8169) App links dialog will now call `showNow` to immediately show the dialog.
1624 * **browser-thumbnails**
1625 * π Exposed `BrowserThumbnail.requestThumbnail` API for consumers.
1627 * **browser-engine-gecko-nightly**
1628 * π Added `onPaintStatusReset` when a session's paint has been reset.
1629 * π Bug fixed [issue #8123](https://github.com/mozilla-mobile/android-components/issues/8123) Fix history title crash.
1631 * **browser-engine-gecko-beta and **browser-engine-gecko **
1632 * π Bug fixed [issue #8123](https://github.com/mozilla-mobile/android-components/issues/8123) Fix history title crash.
1635 * π Added `MenuStyle` class to set menu background and width.
1638 * π Added `style` parameter to `BrowserMenu.show`.
1639 * π Bug fixed [issue #8223](https://github.com/mozilla-mobile/android-components/issues/8223): Fix compound drawable position for RTL.
1642 * π Added `style` parameter to `BrowserMenuController`.
1645 * π Added widget for showing a website in a list, such as in bookmarks or history. The `mozac_primary_text_color` and `mozac_caption_text_color` attributes should be set.
1648 * π Expose `BrowserIcons.clear()` as a public API to remove all saved data from disk and memory caches.
1650 * **feature-downloads**
1651 * π Bug fixed [issue #8202](https://github.com/mozilla-mobile/android-components/issues/8202): Download's ui were always showing failed status.
1654 * β οΈ **This is a breaking change**: The `SiteControlsBuilder` interface has changed. `buildNotification` now takes two parameters: `Context` and `Notification.Builder`.
1655 * `WebAppSiteControlsFeature` now supports displaying monochrome icons.
1658 * Glean was updated to v32.1.1
1659 * Support installing glean_parser in offline mode.
1660 * Fix a startup crash on some Android 8 (SDK=25) devices, due to a [bug in the Java compiler](https://issuetracker.google.com/issues/110848122#comment17).
1662 * **feature-readerview**
1663 * π Bug fixed [issue #8208](https://github.com/mozilla-mobile/android-components/issues/8208): Add a link to the original page in Reader Mode.
1665 * **feature-addons**
1666 * π Feature [issue #8200](https://github.com/mozilla-mobile/android-components/issues/8200): "users" in add-ons manager should be renamed to "reviews".
1670 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v54.0.0...v55.0.0)
1671 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/115?closed=1)
1672 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v55.0.0/buildSrc/src/main/java/Dependencies.kt)
1673 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v55.0.0/buildSrc/src/main/java/Gecko.kt)
1674 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v55.0.0/buildSrc/src/main/java/Config.kt)
1676 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
1677 * Fixed issue [#7983](https://github.com/mozilla-mobile/android-components/issues/7983), crash when a file name wasn't provided when uploading a file.
1680 * Glean was updated to v32.1.0
1681 * The rate limiter now allows 15, rather than 10, pings per minute.
1684 * Fixed [issue #8011](https://github.com/mozilla-mobile/android-components/issues/8011) PlacesConnectionBusy: Error executing SQL: database is locked.
1686 * **feature-app-links**
1687 * Fixed [issue #8122](https://github.com/mozilla-mobile/android-components/issues/8122) App link redirecting to Play Store, rather than to installed app.
1691 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v53.0.0...v54.0.0)
1692 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/113?closed=1)
1693 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v54.0.0/buildSrc/src/main/java/Dependencies.kt)
1694 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v54.0.0/buildSrc/src/main/java/Gecko.kt)
1695 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v54.0.0/buildSrc/src/main/java/Config.kt)
1698 * Added `orientation` parameter to `MenuController.show`. Passing null (the default) tells the menu to determine the best orientation itself.
1701 * β οΈ **This is a breaking change**: `BrowserMenuController.show` no longer supports the width parameter.
1703 * **feature-app-links**
1704 * Added `loadUrlUseCase` as a parameter for `AppLinksFeature`. This is used to load the URL if the user decides to not launch the link in the external app.
1706 * **concept-awesomebar**
1707 * Added `AwesomeBar.setOnEditSuggestionListener()` to register a callback when a search term is selected to be edited further.
1709 * **browser-toolbar**
1710 * `BrowserToolbar.setSearchTerms()` can now be called during `State.EDIT`
1712 * **browser-awesomebar**
1713 * The view of `DefaultSuggestionViewHolder` now contains a button to select a search term for further editing. Clicking it will invoke the callback registered in `BrowserAwesomeBar.setOnEditSuggestionListener()`
1716 * β οΈ **This is a breaking change**: Removed `SimpleBrowserMenuHighlightableItem.itemType`. Use a WeakMap instead if you need to attach private data.
1719 * For a11y, `BrowserMenuImageSwitch` now highlights the entire row, not just the switch
1721 * **concept-engine**
1722 * Added the `cookiePurging` property to `TrackingProtectionPolicy` and `TrackingProtectionPolicyForSessionTypes` constructors to enable/disable cookie purging feature read more about it [here](https://blog.mozilla.org/blog/2020/08/04/latest-firefox-rolls-out-enhanced-tracking-protection-2-0-blocking-redirect-trackers-by-default/).
1724 * **browser-engine-nightly**
1725 * Added `cookiePurging` to `TrackingProtectionPolicy.toContentBlockingSetting`.
1727 * **feature-addons**
1728 * β οΈ **This is a breaking change**: Unified addons icons design with the one of favicons used all throughout the app. Specifying a different background is not possible anymore.
1732 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v52.0.0...v53.0.0)
1733 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/112?closed=1)
1734 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v53.0.0/buildSrc/src/main/java/Dependencies.kt)
1735 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v53.0.0/buildSrc/src/main/java/Gecko.kt)
1736 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v53.0.0/buildSrc/src/main/java/Config.kt)
1738 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
1740 * `browser-engine-gecko`: GeckoView 79.0
1741 * `browser-engine-gecko-beta`: GeckoView 80.0
1742 * `browser-engine-gecko-nightly`: GeckoView 81.0
1744 * **feature-downloads**
1745 * β οΈ **This is a breaking change**: Removed the following properties from `DownloadJobState` in `AbstractFetchDownloadService` and added to `DownloadState`: `DownloadJobStatus` (now renamed to `DownloadStatus`) and `currentBytesCopied`. These properties can now be read from `DownloadState`.
1746 * β οΈ **This is a breaking change**: Removed the enum class `DownloadJobStatus` from `AbstractFetchDownloadService` and moved into `DownloadState`, and removed the `ACTIVE` state while introducing two new states called `INITIATED` and `DOWNLOADING`.
1747 * β οΈ **This is a breaking change**: Renamed the following data classes from `BrowserAction`: `QueuedDownloadAction` to `AddDownloadAction`, `RemoveQueuedDownloadAction` to `RemoveDownloadAction`, `RemoveAllQueuedDownloadsAction` to `RemoveAllDownloadsAction`, and `UpdateQueuedDownloadAction` to `UpdateDownloadAction`.
1748 * β οΈ **This is a breaking change**: Renamed `queuedDownloads` from `BrowserState` to `downloads` .
1749 * Removed automatic deletion of `downloads` upon a completed download.
1750 * π Added support for choosing a third party app to perform a download.
1753 * β οΈ **This is a breaking change**: `BrowserMenuItemToolbar.Button.longClickListener` is now nullable and defaults to null.
1756 * Added `SmallMenuCandidate.onLongClick` to handle long click of row menu buttons.
1759 * Glean was updated to v31.6.0
1760 * Limit ping request body size to 1MB. ([#1098](https://github.com/mozilla/glean/pull/1098))
1761 * BUGFIX: Require activities executed via `GleanDebugView` to be exported.
1763 * **feature-downloads**
1764 * β οΈ **This is a breaking change**: `DownloadsFeature` is no longer accepting a custom download dialog but supporting customizations via the `promptStyling` parameter. The `dialog` parameter was unused so far. If it's required in the future it will need to be replaced with a lambda or factory so that the feature can create instances of the dialog itself, as needed.
1766 * **feature-webcompat-reporter**
1767 * Added a second parameter to the `install` method: `productName` allows to provide a unique product name per usage for automatic product-labelling on webcompat.com
1769 * **feature-contextmenu**
1770 * Do not show the "Download link" option for html URLs.
1771 * Uses a speculative check, may not work in all cases.
1774 * Added shared ImageView style for favicons. The `mozac_widget_favicon_background_color` and `mozac_widget_favicon_border_color` attributes should be set, then `style="@style/Mozac.Widgets.Favicon"` can be added to an ImageView.
1778 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v51.0.0...v52.0.0)
1779 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/111?closed=1)
1780 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v52.0.0/buildSrc/src/main/java/Dependencies.kt)
1781 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v52.0.0/buildSrc/src/main/java/Gecko.kt)
1782 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v52.0.0/buildSrc/src/main/java/Config.kt)
1785 * Added `BrowserIcons.clear()` to remove all saved data from disk and memory caches.
1787 * **support-images**
1788 * β οΈ **This is a breaking change**: Removed `ImageLoader.loadIntoView(view: ImageView, id: String)` extension function.
1791 * Glean was updated to v31.6.0
1792 * Implement ping tagging (i.e. the `X-Source-Tags` header) ([#1074](https://github.com/mozilla/glean/pull/1074)). Note that this is not yet implemented for iOS.
1793 * String values that are too long now record `invalid_overflow` rather than `invalid_value` through the Glean error reporting mechanism. This affects the string, event and string list metrics.
1794 * `metrics.yaml` files now support a `data_sensitivity` field to all metrics for specifying the type of data collected in the field.
1795 * Allow defining which `Activity` to run next when using the `GleanDebugActivity`.
1796 * Implement JWE metric type ([#1073](https://github.com/mozilla/glean/pull/1073), [#1062](https://github.com/mozilla/glean/pull/1062)).
1797 * DEPRECATION: `getUploadEnabled` is deprecated (respectively `get_upload_enabled` in Python) ([#1046](https://github.com/mozilla/glean/pull/1046))
1798 * Due to Glean's asynchronous initialization the return value can be incorrect.
1799 Applications should not rely on Glean's internal state.
1800 Upload enabled status should be tracked by the application and communicated to Glean if it changes.
1801 Note: The method was removed from the C# and Python implementation.
1802 * Update `glean_parser` to `v1.28.1`
1803 * The `glean_parser` linting was leading consumers astray by incorrectly suggesting that `deletion-request` be instead `deletion_request` when used for `send_in_pings`. This was causing metrics intended for the `deletion-request` ping to not be included when it was collected and submitted. Consumers that are sending metrics in the `deletion-request` ping will need to update the `send_in_pings` value in their metrics.yaml to correct this.
1804 * Fixes a bug in doc rendering.
1806 * **feature-syncedtabs**
1807 * β οΈ **This is a breaking change**: Adds context to the constructor of `SyncedTabsFeature`.
1809 * **browser-tabstray**
1810 * β οΈ **This is a breaking change**: The `BrowserTabsTray` is now deprecated. Using a `RecyclerView` directly is now recommended.
1811 * β οΈ **This is a breaking change**: `ViewHolderProvider` no longer has a second param.
1812 * β οΈ **This is a breaking change**: `TabsAdapter` has a `styling` field `TabsTrayStyling`.
1815 * Added new component to replace **browser-menu**. menu2 uses immutable data types and better integrates with `BrowserStore`.
1818 * Added concept component to contain data classes for menu items and interfaces for menu controllers.
1820 * **browser-toolbar**
1821 * Added support for the new `MenuController` interface for menu2.
1822 When a menu controller is added to a toolbar, it will be used in place of the `BrowserMenuBuilder`.
1823 The builder will supply items to the `MenuController` in `invalidateMenu` if it is kept.
1825 * **feature-containers**
1826 * Adds a `ContainerMiddleware` that connects container browser actions with the `ContainerStorage`.
1828 * **feature-app-links**
1829 * β οΈ **This is a breaking change**: add `lastUri` as a parameter for `AppLinksInterceptor`.
1831 * **concept-engine**, **browser-engine-***
1832 * β οΈ **This is a breaking change**: add `lastUri` as a parameter for `RequestInterceptor.onLoadRequest`.
1835 * Added `Vibrator.vibrateOneShot` compat method.
1839 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v50.0.0...v51.0.0)
1840 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/110?closed=1)
1841 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v51.0.0/buildSrc/src/main/java/Dependencies.kt)
1842 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v51.0.0/buildSrc/src/main/java/Gecko.kt)
1843 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v51.0.0/buildSrc/src/main/java/Config.kt)
1845 * **browser-session**
1846 * β οΈ **This is a breaking change**: Removed the following properties from `Session`: `findResults`, `hitResult`, `fullScreenMode` and `layoutInDisplayCutoutMode`. The values still exist in `BrowserState` and can be read from there.
1848 * **support-images**
1849 * β οΈ **This is a breaking change**: Removed `ImageRequest` in favor of `ImageSaveRequest` and `ImageLoadRequest` to separate the information passed to methods that load and save images.
1850 * β οΈ **This is a breaking change**: `ImageLoader.loadIntoView()` now takes an `ImageSaveRequest` instead of an `ImageRequest`.
1852 * **browser-thumbnails**
1853 * β οΈ **This is a breaking change**: `ThumbnailStorage.saveThumbnail()` now takes an `ImageSaveRequest` instead of an `ImageRequest`.
1854 * β οΈ **This is a breaking change**: `ThumbnailStorage.loadThumbnail()` now takes an `ImageLoadRequest` instead of an `ImageRequest`.
1856 * **feature-addons**
1857 * AddonManager now receives a `WebExtensionRuntime` instead of an `Engine`. This has no impact to consumers of `feature-addons` as `Engine` already implements `WebExtensionRuntime`.
1859 * **browser-session**
1860 * β οΈ **This is a breaking change**: `Session.Source` was moved to browser-state and is now `SessionState.Source`. No change is required other than fixing imports.
1862 * **browser-engine-beta**
1863 * Added `TrackingProtectionPolicy.toContentBlockingSetting` extension methods to convert a policy to GeckoView's `ContentBlocking.Setting`.
1865 * **browser-engine-nightly**
1866 * Added `TrackingProtectionPolicy.toContentBlockingSetting` extension methods to convert a policy to GeckoView's `ContentBlocking.Setting`.
1867 * Added checks to not apply the same policy twice if they are the same as already on the engine.
1870 * Added `ManifestStorage.loadShareableManifests` to get manifest with a `WebAppManifest.ShareTarget`.
1873 * Add `Activity.reportFullyDrawnSafe`, a function to call `Activity.reportFullyDrawn` while catching crashes under some circumstances.
1877 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v49.0.0...v50.0.0)
1878 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/109?closed=1)
1879 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v50.0.0/buildSrc/src/main/java/Dependencies.kt)
1880 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v50.0.0/buildSrc/src/main/java/Gecko.kt)
1881 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v50.0.0/buildSrc/src/main/java/Config.kt)
1883 * **feature-session**
1884 * Added `SessionFeature.release()`: Calling this method stops the feature from rendering sessions on the `EngineView` (until explicitly started again) and releases an already rendering session from the `EngineView`.
1885 * Added `SessionUseCases.goToHistoryIndex` to allow consumers to jump to a specific index in a session's history.
1886 * Added `flags` parameter to `ReloadUrlUseCase`.
1889 * Adds `Bundle.contentEquals` function to check if two bundles are equal.
1891 * **concept-engine**
1892 * Added `EngineSession.goToHistoryIndex` to jump to a specific index in a session's history.
1893 * Adds `flags` parameter to `reload`.
1896 * Glean was updated to v31.4.1
1897 * Remove locale from baseline ping. ([1609968](https://bugzilla.mozilla.org/show_bug.cgi?id=1609968), [#1016](https://github.com/mozilla/glean/pull/1016))
1898 * Persist X-Debug-ID header on store ping. ([1605097](https://bugzilla.mozilla.org/show_bug.cgi?id=1605097), [#1042](https://github.com/mozilla/glean/pull/1042))
1899 * BUGFIX: raise an error if Glean is initialized with an empty string as the `application_id` ([#1043](https://github.com/mozilla/glean/pull/1043)).
1900 * Enable debugging features through environment variables. ([#1058](https://github.com/mozilla/glean/pull/1058))
1901 * BUGFIX: fix `int32` to `ErrorType` mapping. The `InvalidOverflow` had a value mismatch between glean-core and the bindings. This would only be a problem in unit tests. ([#1063](https://github.com/mozilla/glean/pull/1063))
1902 * Enable propagating options to the main product Activity when using the `GleanDebugActivity`.
1903 * BUGFIX: Fix the metrics ping collection for startup pings such as `reason=upgrade` to occur in the same thread/task as Glean initialize. Otherwise, it gets collected after the application lifetime metrics are cleared such as experiments that should be in the ping. ([#1069](https://github.com/mozilla/glean/pull/1069))
1905 * **service-location**
1906 * `LocationService.hasRegionCached()` is introduced to query if the region is already cached and a long running operation to fetch the region is not needed.
1909 * Added map of `SessionState.contextId` and their respective `ContainerState` in `BrowserState` to track the state of a container.
1912 * Added an optional `longClickListener` parameter to `BrowserMenuItemToolbar.Button` and `BrowserMenuItemToolbar.TwoStateButton` to handle long click events.
1916 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v48.0.0...v49.0.0)
1917 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/108?closed=1)
1918 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v49.0.0/buildSrc/src/main/java/Dependencies.kt)
1919 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v49.0.0/buildSrc/src/main/java/Gecko.kt)
1920 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v49.0.0/buildSrc/src/main/java/Config.kt)
1922 * **feature-session**
1923 * β οΈ **This is a breaking change**: `FullScreenFeature`, `SettingsUseCases`, `SwipeRefreshFeature` and `SessionFeature` now require a `BrowserStore` instead of a `SessionManager`.
1924 * β οΈ **This is a breaking change**: `SessionFeature` now requires an `EngineSessionUseCases` instance.
1925 * β οΈ **This is a breaking change**: `TrackingProtectionUseCases` now requires a `BrowserStore` instead of a `SessionManager`.
1928 * β οΈ **This is a breaking change**: `TabsUseCases.AddNewTabUseCase` and `TabsUseCases.AddNewPrivateTabUseCase` now require a `BrowserStore` instead of a `SessionManager`.
1930 * **browser-session**
1931 * `SessionManager.getEngineSession()` is now deprecated. From now on please read `EngineSession` instances of tabs from `BrowserState`.
1933 * **service-sync-logins**
1934 * β οΈ **This is a breaking change**: removed `isAutofillEnabled` lambda from `GeckoLoginStorageDelegate` because setting has been exposed through GV
1936 * **concept-engine**
1937 * Adds `profiler` property with `isProfilerActive`, `getProfilerTime` and `addMarker` Firefox Profiler APIs. These will allow to add profiler markers.
1940 * Adds `Resources.getSpanned` to format strings using style spans.
1941 * Adds `Resources.locale` to get the corresponding locale on all SDK versions.
1943 * **feature-logins**
1944 * π New component for logins related features.
1945 * Adds `LoginExceptionStorage` for storing and accessing save login prompt exceptions.
1947 * **feature-prompts**
1948 * Added an optional `LoginExceptions` param that a storage layer can implement to check for exceptions before showing a save login prompt.
1952 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v47.0.0...v48.0.0)
1953 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/107?closed=1)
1954 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v48.0.0/buildSrc/src/main/java/Dependencies.kt)
1955 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v48.0.0/buildSrc/src/main/java/Gecko.kt)
1956 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v48.0.0/buildSrc/src/main/java/Config.kt)
1958 * **feature-intent**
1959 * β οΈ **This is a breaking change**: `IntentProcessor.process` is not a suspend function anymore.
1961 * **feature-search**
1962 * Adds optional `parentSession` to attach to a new search session in `SearchUseCases`
1964 * **feature-contextmenu**
1965 * Add "Share image" to context menu.
1967 * **feature-session**
1968 * β οΈ **This is a breaking change**: `AbstractCustomTabsService` now requires `CustomTabsServiceStore`.
1969 * β οΈ **This is a breaking change**: `httpClient` and `apiKey` have been removed from `AbstractCustomTabsService`. They should be replaced with building `DigitalAssetLinksApi` and passing it to `relationChecker`.
1970 * Added `relationChecker` to customize Digital Asset Links handling.
1973 * β οΈ **This is a breaking change**: `TrustedWebActivityIntentProcessor` now requires a `RelationChecker` instead of `httpClient` and `apiKey`.
1974 * β οΈ **This is a breaking change**: Removed unused API from `WebAppShortcutManager`: uninstallShortcuts
1975 * `WebAppShortcutManager` gained a new API: recentlyUsedWebAppsCount. Allows counting recently used web apps.
1977 * **browser-thumbnails**
1978 * The `ThumbnailMiddleware` deletes the tab's thumbnail from the storage when the sessions are removed.
1979 * `BrowserThumbnails` waits for the `firstContentfulPaint` before requesting a screenshot.
1982 * β οΈ **This is a breaking change**: Removes unused `ThumbnailsUseCases` since we now load thumbnails via `ThumbnailLoader`. See [#7313](https://github.com/mozilla-mobile/android-components/issues/7313).
1983 * β οΈ **This is a breaking change**: Removes `ThumbnailsUseCases` as a parameter in `TabsFeature` and `TabsTrayPresenter`.
1984 * β οΈ **This is a breaking change**: Change the id parameter to accept a new `ImageRequest` in `ImageLoader`, which
1985 allows consumers of `ThumbnailLoader` to specify the preferred image size along with the id when loading an image.
1987 * **feature-privatemode**
1988 * Add `PrivateNotificationFeature` to display a notification when private sessions are open.
1991 * Glean was updated to v31.2.3
1992 * BUGFIX: Correctly format the date and time in the Date header
1993 * Feature: Add rate limiting capabilities to the upload manager
1994 * BUGFIX: baseline pings with reason "dirty startup" are no longer sent if Glean did not full initialize in the previous run
1995 * BUGFIX: Compile dependencies with `NDEBUG` to avoid linking unavailable symbols.
1996 This fixes a crash due to a missing `stderr` symbol on older Android.
1997 * BUGFIX: Fix mismatch in events keys and values by using glean_parser version 1.23.0.
1999 * **feature-webnotifications**
2000 * `WebNotificationFeature` checks the site permissions first before showing a notification.
2001 * Notifications with a long text body are now expandable to show the full text.
2003 * **feature-addons**
2004 * Add `Addon.createdAtDate` and `Addon.updatedAtDate` extensions to get `Addon.createdAt` and `Addon.updatedAt` as a `Date`.
2008 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v46.0.0...v47.0.0)
2009 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/106?closed=1)
2010 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v47.0.0/buildSrc/src/main/java/Dependencies.kt)
2011 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v47.0.0/buildSrc/src/main/java/Gecko.kt)
2012 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v47.0.0/buildSrc/src/main/java/Config.kt)
2014 * **service-digitalassetlinks**
2015 * Added new component for listing and checking Digital Asset Links. Contains a local checker and a version that uses Google's API.
2019 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v44.0.0...v46.0.0)
2020 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/105?closed=1)
2021 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v46.0.0/buildSrc/src/main/java/Dependencies.kt)
2022 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v46.0.0/buildSrc/src/main/java/Gecko.kt)
2023 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v46.0.0/buildSrc/src/main/java/Config.kt)
2025 * **concept-engine**
2026 * Exposed `GeckoRuntimeSettings#setLoginAutofillEnabled` to control whether login forms should be automatically filled in suitable situations
2029 * Fixed issue [#7142](https://github.com/mozilla-mobile/android-components/issues/7142)
2031 * **feature-downloads**
2032 * On devices older than Q we were not adding downloads to the system download database for more information see [#7230](https://github.com/mozilla-mobile/android-components/issues/7230)
2034 * **browser-storage-sync**
2035 * Added `getTopFrecentSites` to `PlacesHistoryStorage`, which returns a list of the top frecent site infos
2036 sorted by most to least frecent.
2038 * **local development**
2039 * Enable local Gradle Build Cache to speed-up local builds. Build cache is located in `.build-cache/`, clear it if you run into strange problems and please file an issue.
2041 * **support-rustlog**
2042 * `RustLog.enable` now takes an optional [CrashReporting] instance which is used to submit error-level log messages as `RustErrorException`s.
2045 * Fixed a bug where we do not verify subscriptions on first attempt.
2047 * **feature-prompts**
2048 * Select a regular tab first if that exists before checking custom tabs.
2050 * **feature-session**
2051 * β οΈ **This is a breaking change**: `SettingsUseCases` now requires an engine reference, to clear speculative sessions if engine settings change.
2052 * β οΈ **This is a breaking change**: `PictureInPictureFeature` now takes `BrowserStore` instead of `SessionManager`.
2053 * β οΈ **This is a breaking change**: The `pipChanged` callback has been removed. You should now observe `ContentState.pictureInPictureEnabled` instead.
2055 * **feature-containers**
2056 * Adds a new storage component to store containers (contextual identities) in a Room database and provides the
2057 necessary APIs to get, add and remove containers.
2059 * **feature-webnotifications**
2060 * Adds support for displaying the `source` URL the WebNotification originated from.
2063 * β οΈ **This is a breaking change**: `TabsFeature` now supports providing custom use case implementations. Therefore, an instance of `SelectTabUseCase` and `RemoveTabUseCase` have to be provided.
2066 * Added `Uri.sameHostAs` to check if two Uris have the same host (both http/https, both same domain).
2067 * Added `Uri.sameOriginAs` to check if two Uris have the same origin (same host, same port).
2068 * Added `Uri.isInScope` to check if a Uri is within one of the given scopes.
2071 * Added `ContentState.pictureInPictureEnabled` to track if Picture in Picture mode is in use.
2074 * β οΈ **This is a breaking change**: `WebAppHideToolbarFeature` now takes `BrowserStore` instead of `SessionManager`. `trustedScopes` is now derived from `CustomTabsServiceStore` and `WebAppManifest`. `setToolbarVisibility` should now be used set the visibility of the toolbar.
2075 * β οΈ **This is a breaking change**: `onToolbarVisibilityChange` has been removed. You should now observe `BrowserStore` instead.
2077 * **feature-tab-collections**:
2078 * β οΈ **This is a breaking change**: `TabCollectionStorage.getCollections` now returns `Flow` instead of `LiveData`. Use `Flow.asLiveData` to convert the result into a `LiveData` again.
2080 * **feature-top-sites**:
2081 * β οΈ **This is a breaking change**: `TopSiteStorage.getTopSites` now returns `Flow` instead of `LiveData`. Use `Flow.asLiveData` to convert the result into a `LiveData` again.
2084 * Glean was updated to v31.1.1
2085 * Smaller binary library after a big dependency was dropped
2086 * Limit the number of upload retries in all implementations
2088 * **support-images**:
2089 * Added `ImageLoader` API for loading images directly into an `ImageView`.
2091 * **browser-tabstray**:
2092 * β οΈ **This is a breaking change**: `TabsAdapter` and `DefaultTabViewHolder` take an optional `ImageLoader` for loading browser thumbnails.
2093 * Fixed a bug in `TabsThumbnailView` where the `scaleFactor` was not applied all the time when expected.
2096 * DynamicWidthRecyclerView will still be able to have a dynamic width between xml set minWidth and maxWidth attributes but we'll now enforce the following:
2097 - minimum width 112 dp
2098 - maximum width - screen width minus a 48dp tappable βexit areaβ
2102 * β οΈ This release can't be used due to a bad build.
2106 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v43.0.0...v44.0.0)
2107 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/104?closed=1)
2108 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v44.0.0/buildSrc/src/main/java/Dependencies.kt)
2109 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v44.0.0/buildSrc/src/main/java/Gecko.kt)
2110 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v44.0.0/buildSrc/src/main/java/Config.kt)
2112 * **browser-engine-gecko-nightly**
2113 * Added support for [onbeforeunload prompt](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload)
2116 * Added an optional `ThumbnailsUseCases` to `TabsFeature` and `TabsTrayPresenter` for loading a
2119 * **browser-thumbnails**
2120 * Adds `LoadThumbnailUseCase` in `ThumbnailsUseCases` for loading the thumbnail of a tab.
2121 * Adds `ThumbnailStorage` as a storage layer for handling saving and loading a thumbnail from the
2125 * Adds the `getSubscription` call to check if a subscription exists.
2127 * **browser-engine-gecko-***
2128 * Fixes GeckoWebPushDelegate to gracefully return when a subscription is not available.
2130 * **feature-session**
2131 * Removes unused `ThumbnailsFeature` since this has been refactored into its own browser-thumbnails component in
2132 [#6827](https://github.com/mozilla-mobile/android-components/issues/6827).
2135 * Adds `BrowserState.getNormalOrPrivateTabs(private: Boolean)` to get `normalTabs` or `privateTabs` based on a boolean condition.
2138 * `URLStringUtils.isURLLikeStrict`, deprecated in 40.0.0, was now removed due to performance issues. Use the less strict and much faster `isURLLike` instead or customize based on `:lib-publicsuffixlist`.
2141 * `String.isUrlStrict`, deprecated in 40.0.0, was now removed due to performance issues. Use the less strict `isURL` instead or customize based on `:lib-publicsuffixlist`.
2144 * Glean was updated to v31.0.2
2145 * Provide a new upload mechanism, now driven by internals. This has no impact to consumers of service-glean.
2146 * Automatically Gzip-compress ping payloads before upload
2147 * Upgrade `glean_parser` to v1.22.0
2151 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v42.0.0...v43.0.0)
2152 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/103?closed=1)
2153 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v43.0.0/buildSrc/src/main/java/Dependencies.kt)
2154 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v43.0.0/buildSrc/src/main/java/Gecko.kt)
2155 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v43.0.0/buildSrc/src/main/java/Config.kt)
2157 * **feature-downloads**
2158 * β οΈ **This is a breaking change**: DownloadManager and DownloadService are now using the browser store to keep track of queued downloads. Therefore, an instance of the store needs to be provided when constructing manager and service. There's also a new DownloadMiddleware which needs to be provided to the store.
2162 BrowserStore(middleware = listOf(
2163 MediaMiddleware(applicationContext, MediaService::class.java),
2164 DownloadMiddleware(applicationContext, DownloadService::class.java),
2170 val feature = DownloadsFeature(
2171 requireContext().applicationContext,
2172 store = components.store,
2173 useCases = components.downloadsUseCases,
2174 fragmentManager = childFragmentManager,
2175 onDownloadStopped = { download, id, status ->
2176 Logger.debug("Download done. ID#$id $download with status $status")
2178 downloadManager = FetchDownloadManager(
2179 requireContext().applicationContext,
2180 components.store, // Store needs to be provided now
2181 DownloadService::class
2184 onNeedToRequestPermissions = { permissions ->
2185 requestPermissions(permissions, REQUEST_CODE_DOWNLOAD_PERMISSIONS)
2189 class DownloadService : AbstractFetchDownloadService() {
2190 override val httpClient by lazy { components.core.client }
2191 override val store: BrowserStore by lazy { components.core.store } // Store needs to be provided now
2195 * Fixed issue [#6893](https://github.com/mozilla-mobile/android-components/issues/6893).
2196 * Add notification grouping to downloads Fenix issue [#4910](https://github.com/mozilla-mobile/android-components/issues/4910).
2199 * Makes `TabsAdapter` open to subclassing.
2201 * **feature-intent**
2202 * Select existing tab by url when trying to open a new tab in `TabIntentProcessor`
2205 * Adds `MediaFullscreenOrientationFeature` to autorotate activity while in fullscreen based on media aspect ratio.
2207 * **support-images**
2208 * β οΈ **This is a breaking change**: Extracts `AndroidIconDecoder`, `IconDecoder` and `DesiredSize` out of `browser-icons`
2209 into a new component `support-images`, which provides helpers for handling images. `AndroidIconDecoder` and `IconDecoder`
2210 are renamed to `AndroidImageDecoder` and `ImageDecoder` in `support-images`.
2213 * `URLStringUtils.isURLLike()` will now consider URLs containing double dash ("--") as valid.
2215 * **browser-thumbnails**
2216 * Adds `ThumbnailDiskCache` for storing and restoring thumbnail bitmaps into a disk cache.
2218 * **concept-engine**
2219 * Adds `onHistoryStateChanged` method and corresponding `HistoryItem` data class.
2222 * Adds `history` to `ContentState` to check the back and forward history list.
2225 * BUGFIX: Fix a race condition that leads to a `ConcurrentModificationException`. [Bug 1635865](https://bugzilla.mozilla.org/1635865)
2228 * Added `AbstractParentBrowserMenuItem` and `ParentBrowserMenuItem` for handling nested sub menu items on view click.
2229 * β οΈ **This is a breaking change**: `WebExtensionBrowserMenuBuilder` now returns as a sub menu entry for add-ons. The sub
2230 menu also contains an access entry for Add-ons Manager, for which `onAddonsManagerTapped` needs to be passed in the
2233 * **feature-syncedtabs**
2234 * When the SyncedTabsFeature is started it syncs the devices and account first.
2238 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v41.0.0...42.0.0)
2239 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/102?closed=1)
2240 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/42.0.0/buildSrc/src/main/java/Dependencies.kt)
2241 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/42.0.0/buildSrc/src/main/java/Gecko.kt)
2242 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/42.0.0/buildSrc/src/main/java/Config.kt)
2245 * Adds `firstContentfulPaint` to `ContentState` to know if first contentful paint has happened.
2248 * β οΈ **This is a breaking change**: Glean's configuration now requires explicitly setting an http client. Users need to pass one at construction.
2249 A default `lib-fetch-httpurlconnection` implementation is available.
2250 Add it to the configuration object like this:
2251 `val config = Configuration(httpClient = ConceptFetchHttpUploader(lazy { HttpURLConnectionClient() as Client }))`.
2252 See [PR #6875](https://github.com/mozilla-mobile/android-components/pull/6875) for details and full code examples.
2255 * Added `webAppManifest` property to `ContentState`.
2258 * Added `CustomViewFinder`, a `View` that shows a ViewFinder positioned in center of the camera view and draws an Overlay
2259 * Added optional String resource `scanMessage` param to `QrFeature` for adding a message below the viewfinder
2261 * **service-experiments**
2262 * β οΈ **This is a breaking change**: Mako's configuration now requires explicitly setting an http client. Users need to pass one at construction.
2264 * **feature-prompts**
2265 * Added `mozacPromptLoginEditTextCursorColor` attribute to be able to change cursor color of TextInputEditTexts from `mozac_feature_prompt_login_prompt`.
2269 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v40.0.0...v41.0.0)
2270 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/101?closed=1)
2271 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v41.0.0/buildSrc/src/main/java/Dependencies.kt)
2272 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v41.0.0/buildSrc/src/main/java/Gecko.kt)
2273 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v41.0.0/buildSrc/src/main/java/Config.kt)
2276 * Fixed issue [#6907](https://github.com/mozilla-mobile/android-components/issues/6907). Uses MediaState when mapping BrowserState to tabs.
2278 * **concept-tabstray**
2279 * For issue [#6907](https://github.com/mozilla-mobile/android-components/issues/6907). Adds `Media.State` to `Tab`
2281 * **feature-session**
2282 * β οΈ **This is a breaking change**: Added optional `crashReporting` param to [PictureInPictureFeature] so we can record caught exceptions.
2284 * **feature-downloads**
2285 * Fixed issue [#6881](https://github.com/mozilla-mobile/android-components/issues/6881).
2287 * **feature-addons**
2288 * Added optional `addonAllowPrivateBrowsingLabelDrawableRes` DrawableRes parameter to `AddonPermissionsAdapter.Style` constructor to allow the clients to add their own drawable. This is used to clearly label the WebExtensions that run in private browsing.
2291 * BrowserMenu will now support dynamic width based on two new attributes: `mozac_browser_menu_width_min` and `mozac_browser_menu_width_max`.
2293 * **browser-tabstray**
2294 * Added optional `itemDecoration` DividerItemDecoration parameter to `BrowserTabsTray` constructor to allow the clients to add their own dividers. This is used to ensure setting divider item decoration after setAdapter() is called.
2297 * Glean was updated to v29.1.0
2298 * β οΈ **This is a breaking change**: glinter errors found during code generation will now return an error code.
2299 * The minimum and maximum values of a timing distribution can now be controlled by the `time_unit` parameter. See [Bug 1630997](https://bugzilla.mozilla.org/show_bug.cgi?id=1630997) for more details.
2301 * **feature-accounts**
2302 * β οΈ **This is a breaking change**: Refactored component to use `browser-state` instead of `browser-session`. The `FxaWebChannelFeature` now requires a `BrowserStore` instance instead of a `SessionManager`.
2304 * **lib-push-fcm**, **lib-push-adm**, **concept-push**
2305 * Allow nullable encoding values in push messsages. If they are null, we attempt to use `aes128gcm` for encoding.
2307 * **browser-toolbar**
2308 * It will only be animated for vertical scrolls inside the EngineView. Not for horizontal scrolls. Not for zoom gestures.
2310 * **browser-thumbnails**
2311 * β οΈ **This is a breaking change**: Migrated this component to use `browser-state` instead of `browser-session`. It is now required to pass a `BrowserStore` instance (instead of `SessionManager`) to `BrowserThumnails`.
2315 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v39.0.0...v40.0.0)
2316 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/100?closed=1)
2317 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v40.0.0/buildSrc/src/main/java/Dependencies.kt)
2318 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v40.0.0/buildSrc/src/main/java/Gecko.kt)
2319 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v40.0.0/buildSrc/src/main/java/Config.kt)
2321 * **browser-tabstray**
2322 * Converts `TabViewHolder` to an abstract class with `DefaultTabViewHolder` as the default implementation.
2323 * Replaces `layoutId` with `viewHolderProvider` in the `TabsAdapter` for allowing tab customization.
2325 * **concept-engine**
2326 * Adds Fingerprinter to the recommended Tracking protection policy.
2328 * **support-locale**
2329 * Adds Android 8.1 to the check in `setLayoutDirectionIfNeeded` inside `LocaleAwareAppCompatActivity`
2331 * **feature-top-sites**
2332 * β οΈ **This is a breaking change**: Added `isDefault` to the top site entity, which allows application to specify a default top site that is added by the application. This is called through `TopSiteStorage.addTopSite`.
2333 * If your application is using Nightly Snapshots of v40.0.0, please test that the Top Sites feature still works and update to the latest v40.0.0 if any schema errors are encountered.
2336 * Simplified error handling and reduced non-fatal exception reporting.
2339 * β οΈ **This is a breaking change**: `CrashReporting` allowing adding support for `recordCrashBreadcrumb` without `lib-crash` dependency.
2340 * β οΈ **This is a breaking change**: `Breadcrumb` has moved from `lib-crash` to this component.
2343 * `URLStringUtils.isURLLikeStrict` is now deprecated due to performance issues. Consider using the less strict `isURLLike` instead or creating a new method using `:lib-publicsuffixlist`.
2346 * `String.isUrlStrict` is now deprecated due to performance issues. Consider using the less strict `isURL` instead or creating a new method using `:lib-publicsuffixlist`.
2349 * Added `SimpleBrowserMenuHighlightableItem` which is a simple menu highlightable item (no images/icons).
2351 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
2352 * Improve social trackers categorization see [ac#6851](https://github.com/mozilla-mobile/android-components/issues/6851) and [fenix#5921](https://github.com/mozilla-mobile/fenix/issues/5921)
2354 * **service-firefox-accounts**
2355 * β οΈ **This is a breaking change**: `FxaAccountManager.withConstellation` puts the `DeviceConstellation` within the same scope as the block so you no longer need to use the `it` reference.
2357 * **feature-syncedtabs**
2358 * Moved `SyncedTabsFeature` to `SyncedTabsStorage`.
2359 * β οΈ **This is a breaking change**: The new `SyncedTabsFeature` now orchestrates the correct state needed for consumers to handle by implementing the `SyncedTabsView`.
2361 * **browser-thumbnails**
2362 * π New component for capturing browser thumbnails.
2363 * `ThumbnailsFeature` will be deprecated for the new `BrowserThumbnails` in a future.
2367 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v38.0.0...v39.0.0)
2368 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/99?closed=1)
2369 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v39.0.0/buildSrc/src/main/java/Dependencies.kt)
2370 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v39.0.0/buildSrc/src/main/java/Gecko.kt)
2371 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v39.0.0/buildSrc/src/main/java/Config.kt)
2373 * **All components**
2374 * Increased `targetSdkVersion` to 29 (Android Q)
2376 * **browser-session**
2377 * `SnapshotSerializer` no longer restores source of a `Session`, added `Session.Source.RESTORED`
2379 * **feature-downloads**
2380 * Fixed issue [#6764](https://github.com/mozilla-mobile/android-components/issues/6764).
2382 * **support-locale**
2383 * Added fix for respecting RTL/LTR changes when activity is recreated in Android 8
2385 * **feature-sitepermissions**
2386 * β οΈ **This is a breaking change**: The `SitePermissionsFeature`'s constructor, now requires a new parameter `onShouldShowRequestPermissionRationale` a lambda to allow the feature to query [ActivityCompat.shouldShowRequestPermissionRationale](https://developer.android.com/reference/androidx/core/app/ActivityCompat#shouldShowRequestPermissionRationale(android.app.Activity,%20java.lang.String)) or [Fragment.shouldShowRequestPermissionRationale](https://developer.android.com/reference/androidx/fragment/app/Fragment#shouldShowRequestPermissionRationale(java.lang.String)). This allows the `SitePermissionsFeature` to handle when a user clicks "Deny & don't ask again" button in a system permission dialog, for more information see [issue #6565](https://github.com/mozilla-mobile/android-components/issues/6565).
2389 * π New component for standardized Mozilla widgets and styles. A living style guide will be published soon that helps explain design choices made.
2390 * First version includes styling for buttons: `NeutralButton`, `PositiveButton`, and `DestructiveButton`
2392 * **feature-addons**
2393 * Added `AddonsManagerAdapter.updateAddon` and `AddonsManagerAdapter.updateAddons` to allow partial updates.
2394 * β οΈ **This is a breaking change**: `AddonsManagerAdapterDelegate.onNotYetSupportedSectionClicked(unsupportedAddons: ArrayList<Addon>)` is changed to `AddonsManagerAdapterDelegate.onNotYetSupportedSectionClicked(unsupportedAddons: List<Addon>)`.
2395 * Fixed [issue #6685](https://github.com/mozilla-mobile/android-components/issues/6685), now `DefaultSupportedAddonsChecker` will marked any newly supported add-on as enabled.
2396 * Added `Addon.translatedSummary` and `Addon.translatedDescription` to ease add-on translations.
2397 * Added `Addon.defaultLocale` Indicates which locale will be always available to display translatable fields.
2398 * β οΈ **This is a breaking change**: `AddonManager.enableAddon` and `AddonManager.disableAddon` have a new optional parameter `source` that indicates why the extension is enabled/disabled.
2399 * β οΈ **This is a breaking change**: `Map<String, String>.translate` now is marked as internal, if you are trying to translate the summary or the description of an add-on, use `Addon.translatedSummary` and `Addon.translatedDescription`.
2401 * **feature-toolbar**
2402 * Disabled autocompleting when updating url upon entering edit mode in BrowserToolbar.
2405 * Muted media will not start the media service anymore, causing no media notification to be shown and no audio focus getting requested.
2407 * **feature-fullscreen**
2408 * β οΈ **This is a breaking change**: Added `viewportFitChanged` to support Android display cutouts.
2411 * Moved `AutoFitTextureView` from `support-base` to `feature-qr`.
2413 * **feature-session**
2414 * β οΈ **This is a breaking change**: Added `viewportFitChanged` to `FullScreenFeature` for supporting Android display cutouts.
2417 * Moved `AutoFitTextureView` from `support-base` to `feature-qr`.
2419 * **service-sync-logins**
2420 * Adds fun `LoginsStorage.getPotentialDupesIgnoringUsername` for fetching list of potential duplicate logins from the underlying storage layer, ignoring username.
2422 * **feature-customtabs**
2423 * β οΈ **This is a breaking change**: Removed `handleError` in `CustomTabWindowFeature` constructor
2424 * β οΈ **This is a breaking change**: Added `onLaunchUrlFallback` to `CustomTabWindowFeature` constructor
2426 * **browser-tabstray**
2427 * The iconView is no longer required in the template.
2428 * The URL text for items may be styled.
2431 * Glean was updated to v28.0.0
2432 * The baseline ping is now sent when the application goes to foreground, in addition to background and dirty-startup.
2434 * **Developer ergonomics**
2435 * Improved autoPublication workflow. See https://mozac.org/contributing/testing-components-inside-app for updated documentation.
2437 * **browser-search**
2438 * Added `getSearchTemplate` to reconstruct the user-entered search engine url template
2442 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v37.0.0...v38.0.0)
2443 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/97?closed=1)
2444 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v38.0.0/buildSrc/src/main/java/Dependencies.kt)
2445 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v38.0.0/buildSrc/src/main/java/Gecko.kt)
2446 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v38.0.0/buildSrc/src/main/java/Config.kt)
2448 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
2450 * `browser-engine-gecko-release`: GeckoView 75.0
2451 * `browser-engine-gecko-beta`: GeckoView 76.0
2452 * `browser-engine-gecko-nightly`: GeckoView 77.0
2454 * **feature-session**
2455 * β οΈ **This is a breaking change**: Added optional `customTabSessionId` param to [PictureInPictureFeature] so consumers can use this feature for custom tab sessions.
2457 * **support-locale**
2458 * Updates `updateResources` to always update the context configuration
2460 * **feature-toolbar**
2461 * Added `forceExpand` to [BrowserToolbarBottomBehavior] so consumers can expand the BrowserToolbar on demand.
2463 * **feature-addons**
2464 * Added `AddonPermissionsAdapter.Style` and `AddonsManagerAdapter.Style` classes to allow UI customization.
2466 * **service-accounts-push**
2467 * Fixed a bug where the push subscription was incorrectly cached and caused some `GeneralError`s.
2468 * **feature-addons**
2469 * Added `DefaultAddonUpdater.UpdateAttemptStorage` allows to query the last known state for a previous attempt to update an add-on.
2471 * **feature-accounts-push**
2472 * Re-subscribe for Sync push support when notified by `onSubscriptionChanged` events.
2474 * **support-migration**
2475 * β οΈ **This is a breaking change**: `FennecMigrator` now takes `Lazy` references to storage layers.
2477 * **concept-storage**, **service-sync-logins**
2478 * π New API: `PlacesStorage#warmUp`, `SyncableLoginsStorage#warmUp` - allows consumers to ensure that underlying storage database connections are fully established.
2480 * **feature-customtabs**
2481 * β οΈ **This is a breaking change**: add parameter `handleError` to `CustomTabWindowFeature` constructor
2482 * This is used to show an error when the url can't be handled
2483 * `CustomTabIntentProcessor` to support `Browser.EXTRA_HEADERS`.
2485 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
2486 * Fixed a memory leak when using a `SelectionActionDelegate` on `GeckoEngineView`.
2489 * Added `RecentAppsStorage.deleteRecentApp` and `RecentAppsDao.deleteRecentApp` to allow deleting a `RecentAppEntity`
2492 * Add new `P2PFeature` to send URLs and web pages through peer-to-peer networking.
2494 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly, **browser-engine-system**
2495 * Added `GeckoEngineView#getInputResult()` to return an EngineView.InputResult indicating how a MotionEvent was handled by an EngineView.
2497 * **concept-engine**
2498 * Will expose a new `InputResult` enum through `getInputResult()` indicating how an EngineView handled user's MotionEvent.
2499 * See above changes to browser-engine-*.
2501 * **browser-toolbar**
2502 * `BrowserToolbarBottomBehavior` is now solely responsible to decide if the dynamic nav bar should animate or not.
2503 * See above changes to browser-engine-*, concept-engine.
2505 * **feature-session**
2506 * `SwipeRefreshLayout` will now trigger pull down to refresh only if the website is scrolled to top and it itself did not consume the swype event.
2507 * See above changes to browser-engine-*, concept-engine.
2508 * Added androidx_swiperefreshlayout as a dependency because google_materials dependency was incremented to version 1.1.0 which no longer includes SwipeRefreshLayout
2511 * β οΈ **This is a breaking change**: added `support-base` dependency.
2514 * `CrashReporting` allowing adding support for `submitCaughtException` without `lib-crash` dependency.
2516 * **browser-tabstray**
2517 * Added ability to let consumers pass a custom layout of `TabViewHolder` in order to control layout inflation and view binding.
2518 * Added an optional URL view to the `TabViewHolder` to display the URL.
2519 * Will expose a new `layout` parameter which allows consumers to change the tabs tray layout.
2520 * Will only display a URL's hostname instead of the entire URL
2522 * **browser-session**
2523 * β οΈ **This is a breaking change**: `SessionManager.runWithSessionIdOrSelected` now returns the result from the `block` it executes. This is consistent with `runWithSession`.
2526 * Allow nullable AutoPush messages to be delivered to observers.
2529 * Glean was updated to v27.1.0
2530 * **Breaking change:** The regular expression used to validate labels is stricter and more correct.
2531 * BUGFIX: baseline pings sent at startup with the `dirty_startup` reason will now include application lifetime metrics ([#810](https://github.com/mozilla/glean/pull/810))
2532 * Add more information about pings to markdown documentation:
2533 * State whether the ping includes client id;
2534 * Add list of data review links;
2535 * Add list of related bugs links.
2536 * `gradlew clean` will no longer remove the Miniconda installation in `~/.gradle/glean`. Therefore `clean` can be used without reinstalling Miniconda afterward every time.
2537 * Glean will now detect when the upload enabled flag changes outside of the application, for example due to a change in a config file. This means that if upload is disabled while the application wasn't running (e.g. between the runs of a Python command using the Glean SDK), the database is correctly cleared and a deletion request ping is sent. See [#791](https://github.com/mozilla/glean/pull/791).
2538 * The `events` ping now includes a reason code: `startup`, `background` or `max_capacity`.
2542 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v36.0.0...v37.0.0)
2543 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/96?closed=1)
2544 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v37.0.0/buildSrc/src/main/java/Dependencies.kt)
2545 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v37.0.0/buildSrc/src/main/java/Gecko.kt)
2546 * [Configuration](https://github.com/mozilla-mobile/android-components/v37.0.0/main/buildSrc/src/main/java/Config.kt)
2548 * **lib-state**, **browser-state**
2549 * Added the ability to add `Middleware` instances to a `Store`. A `Middleware` can rewrite or intercept an `Action`, as well as dispatch additional `Action`s or perform side-effects when an `Action` gets dispatched.
2551 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
2552 * Updated `removeAll()` from `TrackingProtectionExceptionFileStorage` to notify active sessions when all exceptions are removed.
2553 * Added `GeckoPort.senderUrl` which returns the associated content URL.
2555 * **feature-accounts**
2556 * It should now be possible to log-in on stable, stage and china FxA servers using a WebChannel flow.
2557 * β οΈ **This is a breaking change**: `FxaWebChannelFeature` takes a `ServerConfig` as 4th parameter to ensure incoming WebChannel messages
2558 are sent by the expected FxA host.
2560 * **feature-sitepermissions**
2561 * Fixed issue [#6299](https://github.com/mozilla-mobile/android-components/issues/6299), from now on, any media requests like a microphone or a camera permission will require the system permissions to be granted before a dialog can be shown.
2563 * **service-sync-logins**
2564 * β οΈ **This is a breaking change**: `DefaultLoginValidationDelegate`, `GeckoLoginStorageDelegate` constructors changed to take `Lazy<LoginsStorage>` instead of `LoginsStorage`, to facilitate late initialization.
2566 * **service-firefox-accounts**
2567 * β οΈ **This is a breaking change**: `GlobalSyncableStoreProvider#configureStore` changed to take `Lazy<SyncableStore>` instead of `SyncableStore`, to facilitate late initialization.
2569 * **feature-session**
2570 * β οΈ **This is a breaking change**: `HistoryDelegate` constructor changed to take `Lazy<HistoryStorage>` instead of `HistoryStorage`, to facilitate late initialization.
2572 * **concept-engine**
2573 * Added: `DataCleanable` a new interface that decouples the behavior of clearing browser data from the `Engine` and `EngineSession`.
2575 * **feature-sitepermissions**
2576 * Fixed [#6322](https://github.com/mozilla-mobile/android-components/issues/6322), now `SitePermissionsStorage` allows to indicate an optional reference to `DataCleanable`.
2579 * Added `canPropagate` param to all `BrowserMenuHighlight`s, making it optional to be displayed in other components
2580 * Changed `BrowserMenuItem.getHighlight` to filter the highlights which should not propagate.
2583 * Changed primary key of RecentAppEntity to activityName instead of packageName
2584 * β οΈ **This is a breaking change**: all calls to app.packageName should now use app.activityName
2588 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v35.0.0...v36.0.0)
2589 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/95?closed=1)
2590 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v36.0.0/buildSrc/src/main/java/Dependencies.kt)
2591 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v36.0.0/buildSrc/src/main/java/Gecko.kt)
2592 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v36.0.0/buildSrc/src/main/java/Config.kt)
2594 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
2596 * `browser-engine-gecko-release`: GeckoView 74.0
2597 * `browser-engine-gecko-beta`: GeckoView 75.0
2598 * `browser-engine-gecko-nightly`: GeckoView 76.0
2600 * **feature-addons**
2601 * Added `DefaultSupportedAddonsChecker` which checks for add-ons that were previously unsupported, and creates a notification to let the user known when they are available to be used.
2604 * `AutoPushFeature` now properly notifies observers that they have changed by the `Observer.onSubscriptionChanged` callback.
2605 * β οΈ **This is a breaking change**: `RustPushConnection.verifyConnection` now returns a list of subscriptions that have changed.
2609 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v34.0.0...v35.0.0)
2610 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/94?closed=1)
2611 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v35.0.0/buildSrc/src/main/java/Dependencies.kt)
2612 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v35.0.0/buildSrc/src/main/java/Gecko.kt)
2613 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v35.0.0/buildSrc/src/main/java/Config.kt)
2615 * **feature-sitepermissions**
2616 * Fixed [#5616](https://github.com/mozilla-mobile/android-components/issues/5616) issue now when a new exception is added if the [sitePermissionsRules](https://github.com/mozilla-mobile/android-components/blob/52de7118a706a88e88036ead6192e042d4423dc6/components/feature/sitepermissions/src/main/java/mozilla/components/feature/sitepermissions/SitePermissionsFeature.kt#L72) object is present its values are going to be taken into consideration as default values for the new exception.
2618 * **feature-awesomebar**
2619 * β οΈ **This is a breaking change**: Refactored component to use `browser-state` instead of `browser-session`. Feature and `SuggestionProvider` implementations may require a `BrowserStore` instance instead of a `SessionManager` now.
2621 * **feature-intent**
2622 * β οΈ **This is a breaking change**: Removed `IntentProcessor.matches()` method from interface. Calling `process()` and examining the boolean return value is enough to know whether an `Intent` matched.
2624 * **feature-downloads**
2625 * Fixed APK downloads not prompting to install when the notification is clicked.
2627 * **service-location**
2628 * Created `LocationService` interface and made `MozillaLocationService` implement it.
2629 * `RegionSearchLocalizationProvider` now accepts any `LocationService` implementation.
2630 * Added `LocationService.dummy()` which creates a dummy `LocationService` implementation that always returns `null` when asked for a `LocationService.Region`.
2632 * **feature-accounts-push**
2633 * Add known prefix to FxA push scope.
2635 * **browser-toolbar**
2636 * Add the possibility to listen to menu dismissal through `setMenuDismissAction` in `DisplayToolbar`
2638 * **concept-storage**
2639 * New interface: `LoginsStorage`, describes a logins storage. A slightly cleaned-up version of what was in the `service-sync-logins`.
2641 * **service-sync-logins**
2642 * β οΈ **This is a breaking change**: Refactored `AsyncLoginsStorage`, which is now called `SyncableLoginsStorage`. New class caches the db connection, and removes lock/unlock operations from the public API.
2645 * Fixed close tabs callback incorrectly invoked on start.
2646 * β οΈ **This is a breaking change**: Added `defaultTabsFilter` to `TabsFeature` for initial presenting of tabs.
2647 * `TabsFeature.filterTabs` also uses the same filter if no new filter is provided.
2649 * **browser-session**
2650 * SessionManager will now close internal `EngineSession` instances on memory pressure when `onTrimMemory()` gets called
2651 * `SessionManager.onLowMemory()` is now deprecated and `SessionManager.onTrimMemory(level)` should be used instead.
2653 * **browser-engine-system**
2654 * Updated tracking protection lists for more details see [#6163](https://github.com/mozilla-mobile/android-components/issues/6163).
2656 * **concent-engine**, **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**, **browser-engine-system**
2657 * Add additional HTTP header support for `EngineSession.loadUrl()`.
2661 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v33.0.0...v34.0.0)
2662 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/93?closed=1)
2663 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v34.0.0/buildSrc/src/main/java/Dependencies.kt)
2664 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v34.0.0/buildSrc/src/main/java/Gecko.kt)
2665 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v34.0.0/buildSrc/src/main/java/Config.kt)
2667 * **concept-tabstray**
2668 * β οΈ **This is a breaking change**: Removed dependency on `browser-session` and introduced tabs tray specific data classes.
2670 * **browser-tabstray**
2671 * β οΈ **This is a breaking change**: Refactored component to implement updated `concept-tabstray` interfaces.
2674 * β οΈ **This is a breaking change**: Refactored component to use `browser-state` instead of `browser-session`.
2675 * Added additional method to `TabsUseCases` to select a tab based on its id.
2677 * **feature-contextmenu**
2678 * Adds optional `shareTextClicked` lambda to `DefaultSelectionActionDelegate` which allows adding and dispatching a text selection share action
2681 * β οΈ **This is a breaking change**: Migrated this component to use `browser-state` instead of `browser-session`. It is now required to pass a `BrowserStore` instance (instead of `SessionManager`) to `BrowserIcons.install()`.
2683 * **support-webextensions**
2684 * Emit facts on installed and enabled addon ids after web extension is initialized.
2686 * **feature-app-links**
2687 * β οΈ **This is a breaking change**: `alwaysAllowedSchemes` is removed as a parameter for `AppLinksInterceptor`.
2688 * Added `engineSupportedSchemes` as a parameter for `AppLinksInterceptor`. This allows the caller to specify which protocol is supported by the engine.
2689 * Using this information, app links can decide if a protocol should be launched in a third party app or not regardless of user preference.
2691 * **feature-sitepermissions**
2692 * β οΈ **This is a breaking change**: add parameters `autoplayAudible` and `autoplayInaudible` to `SitePermissionsRules`.
2693 * This allows autoplay settings to be controlled for specific sites, rather than globally.
2695 * **concept-engine**
2696 * β οΈ **This is a breaking change**: remove deprecated GeckoView setting `allowAutoplayMedia`
2697 * This should now be controlled for individual sites via `SitePermissionsRules`
2698 * Fixed a bug that would cause `TrackingProtectionPolicyForSessionTypes` to lose some information during transformations.
2700 * **feature-downloads**
2701 * β οΈ **This is a breaking change**: `customTabId` is renamed to `tabId`.
2703 * **feature-contextmenu**
2704 * β οΈ **This is a breaking change**: `customTabId` is renamed to `tabId`.
2707 * Emit fact on the web extension id when a web extension menu item is clicked.
2710 * β οΈ **This is a breaking change**:
2711 * Removed APIs from AutoPushFeature: `subscribeForType`, `unsubscribeForType`, `subscribeAll`.
2712 * Removed `PushType` enum and it's internal uses.
2713 * Use the new β¨ `subscribe` and `unsubscribe` APIs.
2715 * **feature-accounts-push**
2716 * Updated `FxaPushSupportFeature` to use the new `AutoPushFeature` APIs.
2719 * β οΈ **This is a breaking change**:
2720 * `DeviceEvent` and related classes were expanded/refactored, and renamed to `AccountEvent`.
2721 * `DeviceConstellation` "event" related APIs were renamed to be "command"-centric.
2723 * **service-firefox-accounts**
2724 * β οΈ **This is a breaking change**:
2725 * `FxaAccountManager.registerForDeviceEvents` renamed to `FxaAccountManager.registerForAccountEvents`.
2729 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v32.0.0...v33.0.0)
2730 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/93?closed=1)
2731 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v33.0.0/buildSrc/src/main/java/Dependencies.kt)
2732 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v33.0.0/buildSrc/src/main/java/Gecko.kt)
2733 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v33.0.0/buildSrc/src/main/java/Config.kt)
2736 * Added database to store recent apps
2737 * Added `RecentAppsStorage` to handle storing and retrieving most-recent apps
2740 * Glean was updated to v25.0.0:
2742 * `ping_type` is not included in the `ping_info` any more ([#653](https://github.com/mozilla/glean/pull/653)), the pipeline takes the value from the submission URL.
2743 * The version of `glean_parser` has been upgraded to 1.18.2:
2744 * **Breaking Change (Java API)** Have the metrics names in Java match the names in Kotlin.
2745 See [Bug 1588060](https://bugzilla.mozilla.org/show_bug.cgi?id=1588060).
2746 * The reasons a ping are sent are now included in the generated markdown documentation.
2748 * The `Glean.initialize` method runs mostly off the main thread ([#672](https://github.com/mozilla/glean/pull/672)).
2749 * Labels in labeled metrics now have a correct, and slightly stricter, regular expression.
2750 See [label format](https://mozilla.github.io/glean/user/metrics/index.html#label-format) for more information.
2754 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v31.0.0...v32.0.0)
2755 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/92?closed=1)
2756 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v32.0.0/buildSrc/src/main/java/Dependencies.kt)
2757 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v32.0.0/buildSrc/src/main/java/Gecko.kt)
2758 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v32.0.0/buildSrc/src/main/java/Config.kt)
2760 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
2762 * `browser-engine-gecko-release`: GeckoView 73.0
2763 * `browser-engine-gecko-beta`: GeckoView 74.0
2764 * `browser-engine-gecko-nightly`: GeckoView 75.0
2766 * **browser-engine-gecko-nightly**, **concept-engine**
2767 * Updated `WebPushHandler` and `GeckoWebPushHandler` to accept push scopes for `onSubscriptionChanged` events.
2769 * **WebExtensions refactor**
2770 * The Web Extensions related methods have been refactored from `Engine` into a new `WebExtensionRuntime` interface.
2771 * The `Engine` interface now implements the `WebExtensionRuntime` interface.
2772 * `WebCompatFeature` has been updated to receive a `WebExtensionRuntime` instead of a `Engine` as `install` method parameter.
2775 * Now supports adding telemetry crash reporting services. Telemetry services will not require to prompt
2776 * the user since it is restricted by the telemetry preference of the user.
2779 services = services,
2780 telemetryServices = telemetryServices,
2781 shouldPrompt = CrashReporter.Prompt.ALWAYS,
2782 promptConfiguration = CrashReporter.PromptConfiguration(
2783 appName = context.getString(R.string.app_name),
2784 organizationName = "Mozilla"
2787 nonFatalCrashIntent = pendingIntent
2791 * **feature-search**
2792 * Adds `DefaultSelectionActionDelegate`, which may be used to add new actions to text selection context menus.
2793 * It currently adds "Firefox Search" or "Firefox Private Search", depending on whether the selected tab is private.
2794 * Adds `SearchFeature`, which consumes search requests made by other components.
2798 // Attach `DefaultSelectionActionDelegate` to the `EngineView`
2799 override fun onCreateView(parent: View?, name: String, context: Context, attrs: AttributeSet): View? =
2801 EngineView::class.java.name -> components.engine.createView(context, attrs).apply {
2802 selectionActionDelegate = DefaultSelectionActionDelegate(
2810 // Use `SearchFeature` to attach search requests to your own code
2811 private val searchFeature = ViewBoundFeatureWrapper<SearchFeature>()
2814 feature = SearchFeature(components.store) {
2815 when (it.isPrivate) {
2816 false -> components.searchUseCases.newTabSearch.invoke(it.query)
2817 true -> components.searchUseCases.newPrivateTabSearch.invoke(it.query)
2826 * Glean was updated to v24.2.0:
2827 * Add `locale` to `client_info` section.
2828 * **Deprecation Warning** Since `locale` is now in the `client_info` section, the one
2829 in the baseline ping ([`glean.baseline.locale`](https://github.com/mozilla/glean/blob/c261205d6e84d2ab39c50003a8ffc3bd2b763768/glean-core/metrics.yaml#L28-L42))
2830 is redundant and will be removed by the end of the quarter.
2831 * Drop the Glean handle and move state into glean-core ([#664](https://github.com/mozilla/glean/pull/664))
2832 * If an experiment includes no `extra` fields, it will no longer include `{"extra": null}` in the JSON payload.
2833 * Support for ping `reason` codes was added.
2834 * The metrics ping will now include `reason` codes that indicate why it was
2836 * The baseline ping will now include `reason` codes that indicate why it was
2837 submitted. If an unclean shutdown is detected (e.g. due to force-close), this
2838 ping will be sent at startup with `reason: dirty_startup`.
2839 * The version of `glean_parser` has been upgraded to 1.17.3
2840 * Collections performed before initialization (preinit tasks) are now dispatched off
2841 the main thread during initialization.
2843 * **feature-awesomebar**
2844 * Added `showDescription` parameter (default to `true`) to `SearchSuggestionProvider` constructors to add the possibility of removing search suggestion description.
2846 * **support-migration**
2847 * Emit facts during migration.
2851 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v30.0.0...v31.0.0)
2852 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/91?closed=1)
2853 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v31.0.0/buildSrc/src/main/java/Dependencies.kt)
2854 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v31.0.0/buildSrc/src/main/java/Gecko.kt)
2855 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v31.0.0/buildSrc/src/main/java/Config.kt)
2857 * **feature-awesomebar**
2858 * β οΈ **This is a breaking change**: Added resources parameter to `addSessionProvider` method from `AwesomeBarFeature` and to `SessionSuggestionProvider` constructor for accessing strings.
2863 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v29.0.0...v30.0.0)
2864 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/90?closed=1)
2865 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v30.0.0/buildSrc/src/main/java/Dependencies.kt)
2866 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v30.0.0/buildSrc/src/main/java/Gecko.kt)
2867 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/mv30.0.0aster/buildSrc/src/main/java/Config.kt)
2872 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v28.0.0...v29.0.0)
2873 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/89?closed=1)
2874 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v29.0.0/buildSrc/src/main/java/Dependencies.kt)
2875 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v29.0.0/buildSrc/src/main/java/Gecko.kt)
2876 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v29.0.0/buildSrc/src/main/java/Config.kt)
2878 * **feature-error-pages**
2879 * β οΈ **This is a breaking change**: ErrorResponse now has two data classes: Content (for data URI's) and Uri (for encoded URL's)
2880 * This will require a change in RequestInterceptors that override `onErrorRequest`.
2881 * Return the corresponding ErrorResponse (ErrorResponse.Content or ErrorResponse.Uri) as ErrorResponse can no longer be directly instantiated.
2882 * Added support for loading images into error pages with `createUrlEncodedErrorPage`. These error pages load dynamically with javascript by parsing params in the URL
2883 * β οΈ To use custom HTML & CSS with image error pages, resources **must** be located in the assets folder
2885 * **feature-prompts**
2886 * Save login prompts will no longer be closed on page load
2889 * Glean reports now distinguishes between fatal and non-fatal native code crashes.
2892 * Added ability to query install state of an url.
2893 * Added ability load all manifests that apply to a certain url.
2894 * Added ability to track if an PWA is actively used.
2898 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v27.0.0...v28.0.0)
2899 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/88?closed=1)
2900 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v28.0.0/buildSrc/src/main/java/Dependencies.kt)
2901 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v28.0.0/buildSrc/src/main/java/Gecko.kt)
2902 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v28.0.0/buildSrc/src/main/java/Config.kt)
2904 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
2906 * `browser-engine-gecko-release`: GeckoView 72.0
2907 * `browser-engine-gecko-beta`: GeckoView 73.0
2908 * `browser-engine-gecko-nightly`: GeckoView 74.0
2910 * **feature-session**
2911 * * β οΈ **This is a breaking change**: `TrackingProtectionUseCases.fetchExceptions`: now receives a `(List<TrackingProtectionException>) -> Unit` instead of a `(List<String>) -> Unit` to add support for deleting individual exceptions.
2912 * **Added**: `TrackingProtectionUseCases.removeException(exception: TrackingProtectionException)`: now you can delete an exception without the need of having a `Session` by calling `removeException(trackingProtectionException)`.
2915 * Glean was updated to v24.1.0:
2916 * **Breaking Change** An `enableUpload` parameter has been added to the `initialize()`
2917 function. This removes the requirement to call `setUploadEnabled()` prior to calling
2918 the `initialize()` function.
2919 * A new metric `glean.error.preinit_tasks_overflow` was added to report when
2920 the preinit task queue overruns, leading to data loss. See [Bug
2921 1609482](https://bugzilla.mozilla.org/show_bug.cgi?id=1609482)
2922 * The metrics ping scheduler will now only send metrics pings while the
2923 application is running. The application will no longer "wake up" at 4am
2924 using the Work Manager.
2925 * The code for migrating data from Glean SDK before version 19 was removed.
2926 * When using the `GleanTestLocalServer` rule in instrumented tests, pings are
2927 immediately flushed by the `WorkManager` and will reach the test endpoint as
2929 * The Glean Gradle Plugin correctly triggers docs and API updates when registry files
2930 change, without requiring them to be deleted.
2931 * `parseISOTimeString` has been made 4x faster. This had an impact on Glean
2932 migration and initialization.
2933 * Metrics with `lifetime: application` are now cleared when the application is started,
2934 after startup Glean SDK pings are generated.
2935 * β οΈ **This is a breaking change**:
2936 * The public method `PingType.send()` (in all platforms) have been deprecated
2937 and renamed to `PingType.submit()`.
2938 * Rename `deletion_request` ping to `deletion-request` ping after glean_parser update
2939 * BUGFIX: The Glean Gradle plugin will now work if an app or library doesn't
2940 have a metrics.yaml or pings.yaml file.
2942 * **feature-app-links**
2943 * AppLinksInterceptor can now be used without the AppLinksFeature. Set the new parameter launchFromInterceptor = true
2945 AppLinksInterceptor(
2947 interceptLinkClicks = true,
2948 launchInApp = { true },
2949 launchFromInterceptor = true
2952 * Introduce a `ContextMenuCandidate` to open links in the corresponding external app, if installed
2954 * **concept-storage**
2955 * Added classes related to login autofill
2956 * `LoginStorageDelegate` may be attached to an `Engine`, where it can be used to save logins.
2957 * `LoginValidationDelegate` may be used to read and update currently saved logins.
2959 * **feature-prompts**
2960 * `PromptFeature` may now optionally accept a `LoginValidationDelegate`. If present, it users
2961 will be prompted to save their information after logging in to a website.
2962 * `PromptFeature` now accepts a false by default `isSaveLoginEnabled` lambda to be invoked before showing prompts. If true, users
2963 will be prompted to save their information after logging in to a website.
2964 * Prompts will now be closed automatically when pages have mostly loaded
2966 * **service-sync-logins**
2967 * Added `GeckoLoginStorageDelegate`. This can be attached to a GeckoEngine, where it will be used
2968 to save user login credentials.
2969 * `GeckoLoginStorageDelegate` now accepts a false by default `isAutofillEnabled` lambda to be invoked before fetching logins. If false,
2970 logins will not be fetched to autofill.
2972 * **service-firefox-accounts**
2973 * `signInWithShareableAccountAsync` now takes a `reuseAccount` parameter, allowing consumers
2974 to reuse existing session token (and FxA device) associated with the passed-in account.
2976 * **support-migration**
2977 * **New Telemetry Notice**
2978 * Added a 'migration' ping, which contains telemetry data about migration via Glean. It's emitted whenever a migration is executed.
2979 * Added `MigrationIntentProcessor` for handling incoming intents when migration is in progress.
2980 * Added `AbstractMigrationProgressActivity` as a base activity to block user interactions during migration.
2983 * Added `MenuButton` to let the browser menu be used outside of `BrowserToolbar`.
2986 * Added new `MenuController` and `MenuCandidate` items that replace `BrowserMenuBuilder` and `BrowserMenuItem`.
2987 * Menu candidates are pure data classes and state changes are done by submitting a new list of menu candidates, rather than mutating menu items.
2988 * The current state of a `BrowserMenuItem` can be converted to a menu candidate with `asCandidate(Context)`.
2989 * `MenuController` replaces both `BrowserMenuBuilder` and `BrowserMenu`, and handles showing the menu and adjusting the displayed items.
2990 * `MenuView` lets the menu be used outside of popups.
2991 * Menu candidates add support for buttons inside menu options, text to the side of a menu option, and improved a11y.
2992 * β οΈ **This is a breaking change**: Added `asCandidate` method to `BrowserMenuItem` interface.
2994 * **browser-toolbar**
2995 * Added support for the new menu controller through the `DisplayToolbar.menuController` property.
3000 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v26.0.0...v27.0.0)
3001 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/86?closed=1)
3002 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v27.0.0/buildSrc/src/main/java/Dependencies.kt)
3003 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v27.0.0/buildSrc/src/main/java/Gecko.kt)
3004 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v27.0.0/buildSrc/src/main/java/Config.kt)
3006 * **feature-remotetabs** was renamed to **feature-syncedtabs**
3007 * β οΈ **This is a breaking change**:
3008 * `RemoteTabsFeature` is now `SyncedTabsFeature`, and some method names have corresponding changes.
3009 * `RemoteTabsStorageSuggestionProvider` is now `SyncedTabsStorageSuggestionProvider`.
3012 * Glean was updated to v22.1.0 ([Full changelog](https://github.com/mozilla/glean/compare/v21.3.0...v22.1.0))
3013 * Attempt to re-send the deletion ping on init even if upload is disabled.
3014 * Introduce the `InvalidOverflow` error for `TimingDistribution`s.
3015 * Glean now provides a Gradle plugin for automating the conversion from `metrics.yaml` and `pings.yaml` files to Kotlin code. This should be used instead of the deprecated Gradle script. See [integrating with the build system docs](https://mozilla.github.io/glean/book/user/adding-glean-to-your-project.html#integrating-with-the-build-system) for more information.
3017 * **feature-app-links**
3018 * β οΈ **This is a breaking change**:
3019 * Feature now contains two parts. One part is the AppLinksFeature, the other part is RequestInterceptor.
3021 // add this call in the RequestInterceptor
3022 context.components.appLinksInterceptor.onLaunchIntentRequest(engineSession, uri, hasUserGesture, isSameDomain)
3025 * **support-telemetry-sync**
3026 * Added new telemetry ping, to support password sync: `passwords_sync`.
3028 * **service-firefox-accounts**
3029 * π΅οΈ **New Telemetry Notice**
3030 * Added telemetry for password sync, via the new `passwords_sync` in **support-telemetry-sync**
3033 * π΅οΈ **New Telemetry Notice**
3034 * Added telemetry for password sync, via the new `passwords_sync` in **support-telemetry-sync**
3035 * The `service-sync-logins` component now collects some basic performance and quality metrics via Glean.
3036 Applications that send telemetry via Glean *must ensure* they have received appropriate data-review before integrating this component.
3037 * β οΈ **This is a breaking change**: The `ServerPassword` fields `username`, `usernameField` and `passwordField` can no longer by `null`.
3038 Use the empty string to indicate an absent value for these fields.
3039 * β οΈ **This is a breaking change**: The `AsyncLoginsStorageAdapter.inMemory` method has been removed.
3040 Use `AsyncLoginsStorageAdapter.forDatabase(":memory:")` instead.
3044 * Added support for password synchronization (not reflected in the UI, but demonstrates how to integrate the component).
3047 * Added `BrowserMenuHighlightableSwitch` to represent a highlightable item with a toggle switch.
3050 * Now supports performing action after submitting crash report.
3052 crashReporter.submitReport(Crash.fromIntent(intent)) {
3058 * Added `Context.getDrawableWithTint` extension method to get a drawable resource with a tint applied.
3059 * `String.isUrl` is now using a more lenient check for improved performance. Strictly checking whether a string is a URL or not is supported through the new `String.isUrlStrict` method.
3062 * β οΈ **This is a breaking change**:
3063 * Removed helper for unique notification id.
3064 * Added helper for providing unique stable `Int` ids based on a `String` tag to avoid id conflicts between components and app code. This is now for any id, not just notification id.
3065 * Added new API that allows user to request for the next available id using the same tag.
3068 // Get a unique id for the provided tag
3069 val id = SharedIdsHelper.getIdForTag(context, "mozac.my.feature")
3071 // Get the next unique id for the provided tag
3072 val id = SharedIdsHelper.getNextIdForTag(context, "mozac.my.feature")
3075 * **browser-errorpages**
3076 * Added support for bypassing invalid SSL certification.
3080 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v25.0.0...v26.0.0)
3081 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/85?closed=1)
3082 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v26.0.0/buildSrc/src/main/java/Dependencies.kt)
3083 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v26.0.0/buildSrc/src/main/java/Gecko.kt)
3084 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v26.0.0/buildSrc/src/main/java/Config.kt)
3086 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
3088 * `browser-engine-gecko`: GeckoView 71.0
3089 * `browser-engine-gecko-beta`: GeckoView 72.0
3090 * `browser-engine-gecko-nightly`: GeckoView 73.0
3092 * **browser-engine-system** and **browser-engine-gecko-nightly**
3093 * Added `EngineView.canClearSelection()` and `EngineView.clearSelection()` for clearing the selection.
3095 * **feature-accounts**
3096 * β οΈ **This is a breaking change**: Migrated `FxaPushSupportFeature` to the `feature-accounts-push` component.
3098 * **feature-sendtab**
3099 * β οΈ **This is a breaking change**: This component is now deprecated. See `feature-accounts-push`.
3101 * **feature-accounts-push**
3102 * π New component for features that need Firefox Accounts and Push, e.g. Send Tab.
3103 * `SendTabFeature` and `SendTabUseCases` have been migrated here.
3104 * β οΈ **This is a breaking change**: `SendTabFeature` no longer takes an instance of `AutoPushFeature`.
3105 * `FxaPushSupportFeature` is now needed for integrating Firefox Accounts with Push support.
3107 * **support-test-libstate**
3108 * π New component providing utilities to test functionality that relies on lib-state.
3110 * **browser-errorpages**
3111 * Removed list items semantics to improve a11y for unordered lists, preventing items being read twice.
3113 * **support-locale**
3114 * Add `resetToSystemDefault` and `getSystemDefault` method to `LocaleManager`
3118 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v24.0.0...v25.0.0)
3119 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/84?closed=1)
3120 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v25.0.0/buildSrc/src/main/java/Dependencies.kt)
3121 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v25.0.0/buildSrc/src/main/java/Gecko.kt)
3122 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v25.0.0/buildSrc/src/main/java/Config.kt)
3124 * **feature-downloads**
3125 * Makes `DownloadState` parcelizable so that it can be passed to `FetchDownloadManager` when completed
3127 * **feature-remotetabs**
3128 * Add new `RemoteTabsFeature` to view tabs from other synced devices and upload our own.
3129 * Add `RemoteTabsStorageSuggestionProvider` class to match remote tabs in awesomebar suggestions.
3131 * **support-migration**
3132 * Added Fennec login migration logic.
3134 * **service-sync-logins**
3135 * `AsyncLoginsStorage` interface gained a new method: `importLoginsAsync`, used for bulk-inserting logins (for example, during a migration).
3139 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v23.0.0...v24.0.0)
3140 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/84?closed=1)
3141 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v24.0.0/buildSrc/src/main/java/Dependencies.kt)
3142 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v24.0.0/buildSrc/src/main/java/Gecko.kt)
3143 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v24.0.0/buildSrc/src/main/java/Config.kt)
3145 * **browser-errorpages**
3146 * Added strings for "no network connection" error pages
3149 * Replaced `BrowserMenuHighlightableItem.Highlight` with `BrowserMenuHighlight.HighPriority` to highlight a menu item with some background color. `Highlight` has been deprecated.
3150 * Added `BrowserMenuHighlight.LowPriority` to highlight a menu item with a dot over the icon.
3153 * Added `RemoteTabsStorage` for synced tabs.
3155 * **service-firefox-accounts**
3156 * Removed `StorageSync` interface as it is superseded by the sync manager.
3159 * Glean was updated to v21.3.0 ([Full changelog](https://github.com/mozilla/glean/compare/v21.2.0...21.3.0))
3160 * Timers are reset when disabled. That avoids recording timespans across disabled/enabled toggling.
3161 * Add a new flag to pings: send_if_empty.
3162 * Upgrade glean_parser to v1.12.0.
3163 * Implement the deletion request ping in Glean.
3167 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v22.0.0...v23.0.0)
3168 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/83?closed=1)
3169 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v23.0.0/buildSrc/src/main/java/Dependencies.kt)
3170 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v23.0.0/buildSrc/src/main/java/Gecko.kt)
3171 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v23.0.0/buildSrc/src/main/java/Config.kt)
3173 * **feature-downloads**
3174 * β οΈ **This is a breaking change**:
3175 * Renamed to `OnDownloadCompleted` to `OnDownloadStopped` for increased clarity on when it's triggered
3178 * β οΈ **This is a breaking change**: `DownloadState` doesn't include the property `filePath` in its constructor anymore, now it is a computed property. As the previous behavior caused some situations where `fileName` was initially null and after assigned a value to produce `filePath` values like "/storage/emulated/0/Download/null" [for more info](https://sentry.prod.mozaws.net/operations/reference-browser/issues/6609701/).
3180 * **feature-prompts** and **feature-downloads**
3181 * Fix [issue #6439](https://github.com/mozilla-mobile/fenix/issues/6439) "Crash when downloading Image"
3183 * **service-firefox-accounts**
3184 * Account profile cache is now used, removing a network call from most instances of account manager instantiation.
3185 * Fixed a bug where account would disappear after restarting an app which hit authentication problems.
3186 * Deprecated the `StorageSync` class. Please use the `SyncManager` class instead.
3189 * Glean was updated to v21.2.0
3190 * Two new metrics were added to investigate sending of metrics and baseline pings.
3191 See [Bug 1597980](https://bugzilla.mozilla.org/show_bug.cgi?id=1597980) for more information.
3192 * Glean's two lifecycle observers were refactored to avoid the use of reflection.
3193 * Timespans will now not record an error if stopping after setting upload enabled to false.
3194 * The `GleanTimerId` can now be accessed in Java and is no longer a `typealias`.
3195 * Fixed a bug where the metrics ping was getting scheduled twice on startup.
3196 * When constructing a ping, events are now sorted by their timestamp. In practice,
3197 it rarely happens that event timestamps are unsorted to begin with, but this
3198 guards against a potential race condition and incorrect usage of the lower-level
3200 * Metrics that can record errors now have a new testing method,
3201 `testGetNumRecordedErrors`.
3202 * The experiments API is no longer ignored before the Glean SDK initialized. Calls are
3203 recorded and played back once the Glean SDK is initialized.
3204 * String list items were being truncated to 20, rather than 50, bytes when using
3205 `.set()` (rather than `.add()`). This has been corrected, but it may result
3206 in changes in the sent data if using string list items longer than 20 bytes.
3209 * Deprecated `BackHandler` interface. Use the `UserInteractionHandler.onBackPressed` instead.
3210 * Added generic `UserInteractionHandler` interface for fragments, features and other components that want to handle user interactions such as βbackβ or 'home' button presses.
3214 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v22.0.0...main)
3215 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/82?closed=1)
3216 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v22.0.0/buildSrc/src/main/java/Dependencies.kt)
3217 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v22.0.0/buildSrc/src/main/java/Gecko.kt)
3218 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v22.0.0/buildSrc/src/main/java/Config.kt)
3220 * **feature-addons**
3221 * β οΈ **This is a breaking change**:
3222 * Renamed to `AddOnsCollectionsProvider` to `AddOnCollectionProvider` and added caching support:
3224 val addOnsProvider by lazy {
3225 // Keeps addon collection response cached and valid for one day
3226 AddOnCollectionProvider(applicationContext, client, maxCacheAgeInMinutes = 24 * 60)
3229 // May return a cached result, if available
3230 val addOns = addOnsProvider.getAvailableAddOns()
3232 // Will never return a cached result
3233 val addOns = addOnsProvider.getAvailableAddOns(allowCache = false)
3237 * π New component for communicating directly between two devices
3238 using Google Nearby API.
3240 * **sample-nearby-chat**
3241 * π New sample program demonstrating use of `lib-nearby`.
3243 * **feature-customtabs**
3244 * β οΈ `CustomTabWindowFeature` now takes `Activity` instead of `Context`.
3246 * **concept-sync**, **service-firefox-accounts**
3247 * `OAuthAccount@authorizeOAuthCode` method is now `authorizeOAuthCodeAsync`.
3249 * **service-firefox-accounts**
3250 * For supported Android API levels (23+), `FxaAccountManager` can now be configured to encrypt persisted FxA state, via `secureStateAtRest` flag on passed-in `DeviceConfig`. Defaults to `false`. For lower API levels, setting `secureStateAtRest` will continue storing FxA state in plaintext. If the device is later upgraded to 23+, FxA state will be automatically migrated to an encrypted storage.
3251 * FxA state is stored in application's data directory, in plaintext or encrypted-at-rest if configured via the `secureStateAtRest` flag. This state contains everything that's necessary to download and decrypt data stored in Firefox Sync.
3252 * An instance of a `CrashReporter` may now be passed to the `FxaAccountManager`'s constructor. If configured, it will be used to report any detected abnormalities.
3253 * β οΈ **This is a breaking change**:
3254 * Several `FxaAccountManager` methods have been made internal, and are no longer part of the public API of this module: `createSyncManager`, `getAccountStorage`.
3258 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v20.0.0...v21.0.0)
3259 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/81?closed=1)
3260 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v21.0.0/buildSrc/src/main/java/Dependencies.kt)
3261 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v21.0.0/buildSrc/src/main/java/Gecko.kt)
3262 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v21.0.0/buildSrc/src/main/java/Config.kt)
3264 * **feature-downloads**
3265 * Added `tryAgain` which can be called on the feature in order to restart a failed download.
3267 * **lib-dataprotect**
3268 * Added new `SecureAbove22Preferences` helper class, which is an encryption-aware wrapper for `SharedPreferences`. Only actually encrypts stored values when running on API23+.
3270 * **service-firefox-accounts**
3271 * Support for keeping `SyncEngine.Passwords` engine unlocked during sync. If you're syncing this engine, you must use `SecureAbove22Preferences` to store encryption key (stored under "passwords" key), and pass an instance of these secure prefs to `GlobalSyncableStoreProvider.configureKeyStorage`.
3274 * Added new `LockableStore` to facilitate syncing of "lockable" stores (such as `SyncableLoginsStore`).
3276 * **feature-sitepermissions**
3277 * Added a new get operator to `SitePermissions` to facilitate the retrieval of permissions.
3279 val sitePermissions = SitePermissions(
3281 notification = ALLOWED,
3284 sitePermissions[Permission.LOCATION] // ALLOWED will be returned
3286 * **engine-gecko-nightly**
3287 * Adds setDynamicToolbarMaxHeight ApI.
3290 * Added `unsubscribeAll` support from the Rust native layer.
3294 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v19.0.0...v20.0.0)
3295 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/80?closed=1)
3296 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v20.0.0/buildSrc/src/main/java/Dependencies.kt)
3297 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v20.0.0/buildSrc/src/main/java/Gecko.kt)
3298 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v20.0.0/buildSrc/src/main/java/Config.kt)
3300 * **browser-session**, **feature-customtabs**, **feature-session**, **feature-tabs**
3301 * β οΈ **This is a breaking change**: The `WindowFeature` and `CustomTabWindowFeature` components have been migrated to `browser-state` from `browser-session`. Therefore creating these features now requires a `BrowserStore` instance (instead of a `SessionManager` instance). The `windowRequest` properties have been removed `Session` so window requests can now only be observed on a `BrowserStore` from the `browser-state` component. In addition, `WindowFeature` was moved from `feature-session` to `feature-tabs` because it now makes use of our `TabsUseCases` and this would otherwise cause a dependency cycle.
3303 * **feature-downloads**
3304 * Added ability to pause, resume, cancel, and try again on a download through the `DownloadNotification`.
3305 * Added support for multiple, continuous downloads.
3306 * Added size of the file to the `DownloadNotification`.
3307 * Added open file functionality to the `DownloadNotification`.
3308 * Note: you must add a `FileProvider` to your manifest as well as `file_paths.xml`. See SampleBrowser for an example.
3309 * To open .apk files, you must still add the permission `android.permission.INSTALL_PACKAGES` to your manifest.
3310 * Improved visuals of `SimpleDownloadDialogFragment` to better match `SitePermissionsDialogFragment`.
3311 * `SimpleDownloadDialogFragment` can similarly be themed by using `PromptsStyling` properties.
3312 * Recreated download notification channel with lower importance for Android O+ so that the notification is not audibly intrusive.
3314 * **feature-webnotifications**
3315 * Adds feature implementation for configuring and displaying web notifications to the user
3317 WebNotificationFeature(
3318 applicationContext, engine, icons, R.mipmap.ic_launcher, BrowserActivity::class.java
3323 * Bumped the Glean SDK version to 19.1.0. This fixes a startup crash on Android SDK 22 devices due to missing `stderr`.
3325 * **concept-engine**
3326 * Adds support for WebPush abstraction to the Engine.
3327 * Adds support for WebShare abstraction as a PromptRequest.
3329 * **engine-gecko-nightly**
3330 * Adds support for WebPush in GeckoEngine.
3332 * **support-webextensions**
3333 * Adds support for sending messages to background pages and scripts in WebExtensions.
3335 * **service-firefox-accounts**
3336 * Adds `authorizeOAuthCode` method for generating scoped OAuth codes.
3339 * β οΈ The `AutoPushFeature` now throws when reaching exceptions in the native layer that are unrecoverable.
3341 * **feature-prompts**
3342 * Adds support for Web Share API using `ShareDelegate`.
3345 * Fixes a crash when the app version or the experiment's version specifiers are not in the expected format.
3347 * **engine**, **engine-gecko-***, **support-webextensions**
3348 * Added support `browser.tabs.remove()` in web extensions.
3350 val engine = GeckoEngine(applicationContext, engineSettings)
3351 engine.registerWebExtensionTabDelegate(object : WebExtensionTabDelegate {
3352 override fun onCloseTab(webExtension: WebExtension?, engineSession: EngineSession) {
3353 store.state.tabs.find { it.engineState.engineSession === engineSession }?.let {
3354 store.dispatch(RemoveTabAction(tab.id))
3362 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v19.0.0...v19.0.1)
3363 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v19.0.1/buildSrc/src/main/java/Dependencies.kt)
3364 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v19.0.1/buildSrc/src/main/java/Gecko.kt)
3365 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v19.0.1/buildSrc/src/main/java/Config.kt)
3368 * Bumped the Glean SDK version to 19.1.0. This fixes a startup crash on Android SDK 22 devices due to missing `stderr`.
3372 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v18.0.0...v19.0.0)
3373 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/79?closed=1)
3374 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v19.0.0/buildSrc/src/main/java/Dependencies.kt)
3375 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v19.0.0/buildSrc/src/main/java/Gecko.kt)
3376 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v19.0.0/buildSrc/src/main/java/Config.kt)
3378 * **browser-toolbar**
3379 * β οΈ **This is a breaking change**: Refactored the internals to use `ConstraintLayout`. As part of this change the public API was simplified and unused methods/properties have been removed.
3381 * **feature-accounts**
3382 * Add new `FxaPushSupportFeature` for some underlying support when connecting push and fxa accounts together.
3385 * Added `externalAppType` to `CustomTabConfig` to indicate how the session is being used.
3388 * The Rust implementation of the Glean SDK is now being used.
3389 * β οΈ **This is a breaking change**: the `GleanDebugActivity` is no longer exposed from service-glean. Users need to use the one in `mozilla.telemetry.glean.debug.GleanDebugActivity` from the `adb` command line.
3391 * **lib-push-firebase**
3392 * Fixes a potential bug where we receive a message for another push service that we cannot process.
3394 * **feature-privatemode**
3395 * Added new feature for private browsing mode.
3396 * Added `SecureWindowFeature` to prevent screenshots in private browsing mode.
3398 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
3400 * `browser-engine-gecko`: GeckoView 70.0
3401 * `browser-engine-gecko-beta`: GeckoView 71.0
3402 * `browser-engine-gecko-nightly`: GeckoView 72.0
3405 * The `AutoPushFeature` now checks (once every 24 hours) to verify and renew push subscriptions if expired after a cold boot.
3409 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v18.0.0...v18.0.1)
3410 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v18.0.1/buildSrc/src/main/java/Dependencies.kt)
3411 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v18.0.1/buildSrc/src/main/java/Gecko.kt)
3412 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v18.0.1/buildSrc/src/main/java/Config.kt)
3414 * **feature-prompts**
3415 * Fixed a crash when showing the file picker.
3419 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v17.0.0...v18.0.0)
3420 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/78?closed=1)
3421 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v18.0.0/buildSrc/src/main/java/Dependencies.kt)
3422 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v18.0.0/buildSrc/src/main/java/Gecko.kt)
3423 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v18.0.0/buildSrc/src/main/java/Config.kt)
3426 * Adds the ability to create a BrowserMenuCategory, a menu item that defines a category for other menu items
3428 * **concept-engine**
3429 * Adds the setting `forceUserScalableContent`.
3431 * **engine-gecko-nightly**
3432 * Implements the setting `forceUserScalableContent`.
3434 * **feature-prompts**
3435 * Deprecated `PromptFeature` constructor that has parameters for both `Activity` and `Fragment`. Use the constructors that just take either one instead.
3436 * Changed `sessionId` parameter name to `customTabId`.
3440 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v16.0.0...v17.0.0)
3441 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/77?closed=1)
3442 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v17.0.0/buildSrc/src/main/java/Dependencies.kt)
3443 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v17.0.0/buildSrc/src/main/java/Gecko.kt)
3444 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v17.0.0/buildSrc/src/main/java/Config.kt)
3446 * **feature-contextmenu**
3447 * The "Save Image" context menu item will no longer prompt before downloading the image.
3449 * **concept-engine**
3450 * Added `WebAppManifest.ShareTarget` data class.
3453 * Now supports sending caught exceptions. Use the 'submitCaughtException()' to send caught exceptions if the underlying crash reporter service supports it.
3455 val job = crashReporter.submitCaughtException(e)
3458 * **engine**, **engine-gecko-nightly**, **engine-gecko-beta**, **engine-gecko**
3459 * β οΈ **This is a breaking change**: Renamed `WebExtensionTabDelegate` to `WebExtensionDelegate` to handle various web extensions related engine events:
3461 GeckoEngine(applicationContext, engineSettings).also {
3462 it.registerWebExtensionDelegate(object : WebExtensionDelegate {
3463 override fun onNewTab(webExtension: WebExtension?, url: String, engineSession: EngineSession) {
3464 sessionManager.add(Session(url), true, engineSession)
3469 * β οΈ **This is a breaking change**: Redirect source and target flags are now passed to history tracking delegates. As part of this change, `HistoryTrackingDelegate.onVisited()` receives a new `PageVisit` data class as its second argument, specifying the `visitType` and `redirectSource`. For more details, please see [PR #4268](https://github.com/mozilla-mobile/android-components/pull/4268).
3471 * **support-webextensions**
3472 * Added functionality to make sure web extension related events in the engine are reflected in the browser state / store. Instead of attaching a `WebExtensionDelegate` to the engine, and manually reacting to all events, it's now possible to initialize `WebExtensionSupport`, which provides overridable default behaviour for all web extension related engine events:
3474 // Makes sure web extension related events (e.g. an extension is installed, or opens a new tab) are dispatched to the browser store.
3475 WebExtensionSupport.initialize(components.engine, components.store)
3477 // If dispatching to the browser store is not desired, all actions / behaviour can be overridden:
3478 WebExtensionSupport.initialize(components.engine, components.store, onNewTabOverride = {
3479 _, engineSession, url -> components.sessionManager.add(Session(url), true, engineSession)
3484 * Fixes background ripple of Switch in BrowserMenuImageSwitch
3488 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v15.0.0...v16.0.0)
3489 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/76?closed=1)
3490 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v16.0.0/buildSrc/src/main/java/Dependencies.kt)
3491 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v16.0.0/buildSrc/src/main/java/Gecko.kt)
3492 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v16.0.0/buildSrc/src/main/java/Config.kt)
3494 * **feature-awesomebar**
3495 * β οΈ **This is a breaking change**: `AwesomeBar.Suggestion` now directly takes a Bitmap for the icon param rather than a Unit.
3498 * β οΈ **This is a breaking change**: Intent sent from the `WebAppShortcutManager` now require the consumption of the `SHORTCUT_CATEGORY` in your manifest
3500 * **feature-customtabs**
3501 * 'CustomTabIntentProcessor' can create private sessions now.
3503 * **browser-session**, **browser-state**, **feature-prompts**
3504 * β οΈ **This is a breaking change**: The `feature-prompts` component has been migrated to `browser-state` from `browser-session`. Therefore creating a `PromptFeature` requires a `BrowserStore` instance (instead of a `SessionManager` instance). The `promptRequest` property has been removed `Session`. Prompt requests can now only be observed on a `BrowserStore` from the `browser-state` component.
3506 * **tooling-detekt**
3507 * Published detekt rules for internal use. Check module documentation for detailed ruleset description.
3509 * **feature-intent**
3510 * Added support for NFC tag intents to `TabIntentProcessor`.
3512 * **firefox-accounts**, **service-fretboard**
3513 * β οΈ **This is a breaking change**: Due to migration to WorkManager v2.2.0, some classes like `WorkManagerSyncScheduler` and `WorkManagerSyncDispatcher` now expects a `Context` in their constructors.
3515 * **engine**, **engine-gecko-nightly** and **engine-gecko-beta**
3516 * Added `WebExtensionsTabsDelegate` to support `browser.tabs.create()` in web extensions.
3518 GeckoEngine(applicationContext, engineSettings).also {
3519 it.registerWebExtensionTabDelegate(object : WebExtensionTabDelegate {
3520 override fun onNewTab(webExtension: WebExtension?, url: String, engineSession: EngineSession) {
3521 sessionManager.add(Session(url), true, engineSession)
3529 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v14.0.0...v15.0.0)
3530 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/75?closed=1)
3531 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v15.0.0/buildSrc/src/main/java/Dependencies.kt)
3532 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v15.0.0/buildSrc/src/main/java/Gecko.kt)
3533 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v15.0.0/buildSrc/src/main/java/Config.kt)
3535 * **browser-session**, **browser-state**, **feature-contextmenu**, **feature-downloads**
3536 * * β οΈ **This is a breaking change**: Removed the `download` property from `Session`. Downloads can now only be observed on a `BrowserState` from the `browser-state` component. Therefore `ContextMenuUseCases` and `DownloadsUseCases` now require a `BrowserStore` instance.
3539 * Adds `Resources.Theme.resolveAttribute(Int)` to quickly get a resource ID from a theme.
3540 * Adds `Context.getColorFromAttr` to get a color int from an attribute.
3542 * **feature-customtabs**
3543 * Added `CustomTabWindowFeature` to handle windows inside custom tabs, PWAs, and TWAs.
3545 * **feature-tab-collections**
3547 * Behavior change: In a collection List<TabEntity> is now ordered descending by creation date (newest tab in a collection on top)
3548 * **feature-session**, **engine-gecko-nightly** and **engine-gecko-beta**
3549 * Added api to manage the tracking protection exception list, any session added to the list will be ignored and the the current tracking policy will not be applied.
3552 val useCase = TrackingProtectionUseCases(sessionManager,engine)
3554 useCase.addException(session)
3556 useCase.removeException(session)
3558 useCase.removeAllExceptions()
3560 useCase.containsException(session){ contains ->
3561 // contains indicates if this session is on the exception list.
3564 useCase.fetchExceptions { exceptions ->
3565 // exceptions is a list of all the origins that are in the exception list.
3569 * **support-sync-telemetry**
3570 * π New component containing building blocks for sync telemetry.
3572 * **concept-sync**, **services-firefox-accounts**
3573 β οΈ **This is a breaking change**
3574 * Internal implementation of sync changed. Most visible change is that clients are now allowed to change which sync engines are enabled and disabled.
3575 * `FxaAccountManager#syncNowAsync` takes an instance of a `reason` instead of `startup` boolean flag.
3576 * `SyncEnginesStorage` is introduced, allowing applications to read and update enabled/disabled state configured `SyncEngine`s.
3577 * `SyncEngine` is no longer an `enum class`, but a `sealed class` instead. e.g. `SyncEngine.HISTORY` is now `SyncEngine.History`.
3578 * `DeviceConstellation#setDeviceNameAsync` now takes a `context` in addition to new `name`.
3579 * `FxaAuthData` now takes an optional `declinedEngines` set of SyncEngines.
3583 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v14.0.0...v14.0.1)
3584 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v14.0.1/buildSrc/src/main/java/Dependencies.kt)
3585 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v14.0.1/buildSrc/src/main/java/Gecko.kt)
3586 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v14.0.1/buildSrc/src/main/java/Config.kt)
3588 * **feature-collections**
3589 * Fixed [#4514](https://github.com/mozilla-mobile/android-components/issues/4514): Do not restore parent tab ID for collections.
3592 * PR [#4511](https://github.com/mozilla-mobile/android-components/pull/4511/): Always set 'wasMigrated' to false in the Glean SDK.
3596 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v13.0.0...v14.0.0)
3597 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/74?closed=1)
3598 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v14.0.0/buildSrc/src/main/java/Dependencies.kt)
3599 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v14.0.0/buildSrc/src/main/java/Gecko.kt)
3600 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v14.0.0/buildSrc/src/main/java/Config.kt)
3602 * **feature-customtabs**
3603 * Now the color of the tracking protection icon adapts to color of the toolbar.
3605 * **feature-session**, **engine-gecko-nightly** and **engine-gecko-beta**
3606 * Added a way to exposes the same amount of trackers as Firefox desktop has in it tracking protection panel via TrackingProtectionUseCases.
3609 val useCase = TrackingProtectionUseCases(sessionManager,engine)
3610 useCase.fetchTrackingLogs(
3612 onSuccess = { trackersLog ->
3613 // A list of all the tracker logger for this session
3615 onError = { throwable ->
3616 //A throwable indication what went wrong
3621 * **browser-toolbar**
3622 * Resized icons on the toolbar see [#4490](https://github.com/mozilla-mobile/android-components/issues/4490) for more information.
3623 * Added a way to customize the color of the tracking protection icon via BrowserToolbar.
3625 val toolbar = BrowserToolbar(context)
3626 toolbar.trackingProtectionColor = Color.BLUE
3629 * **All components**
3630 * Increased `androidx.browser` version to `1.2.0-alpha07`.
3633 * Playback will now be stopped and the media notification will get removed if the app's task is getting removed (app is swiped away in task switcher).
3636 * Adds `WebAppHideToolbarFeature.onToolbarVisibilityChange` to be notified when the toolbar is shown or hidden.
3638 * **engine-gecko-nightly**
3639 * Added the ability to exfiltrate Gecko categorical histograms.
3641 * **support-webextensions**
3642 * π New component containing building blocks for features implemented as web extensions.
3644 * **lib-push-amazon**
3645 * Fixed usage of cache version of registration ID in situations when app data is deleted.
3648 * New (internal-only) component with custom detekt rules.
3651 * β **This is a breaking change**: Glean.initialize() must be called on the main thread.
3655 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v12.0.0...v13.0.0)
3656 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/73?closed=1)
3657 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v13.0.0/buildSrc/src/main/java/Dependencies.kt)
3658 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v13.0.0/buildSrc/src/main/java/Gecko.kt)
3659 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v13.0.0/buildSrc/src/main/java/Config.kt)
3661 * **All components**
3662 * Updated Kotlin version from `1.3.40` to `1.3.50`.
3663 * Updated Kotlin Coroutine library version from `1.2.2` to `1.3.0`.
3665 * **browser-session**
3666 * Clear session icon only if URL host changes.
3669 * Adds `WebAppUseCases.isInstallable` to check if the current session can be installed as a Progressive Web App.
3671 * **feature-downloads**
3672 * β οΈ **This is a breaking change**: The `feature-downloads` component has been migrated to `browser-state` from `browser-session`. Therefore creating a `DownloadsFeature` requires a `BrowserStore` instance (instead of a `SessionManager` instance) and a `DownloadsUseCases` instance now.
3674 * **feature-contextmenu**
3675 * β οΈ **This is a breaking change**: The `feature-contextmenu` component has been migrated to `browser-state` from `browser-session`. Therefore creating a `ContextMenuFeature` requires a `BrowserStore` instance (instead of a `SessionManager` instance) and a `ContextMenuUseCases` instance now.
3678 * β οΈ **This is a breaking change**: applications need to use `ConceptFetchHttpUploader` for overriding the ping uploading mechanism instead of directly using `concept-fetch` implementations.
3681 * β οΈ **This is a breaking change**: Methods that have been accepting a parent `Session` parameter now expect the parent id (`String`).
3684 * Adds the ability to create a BrowserMenuImageSwitch, a BrowserMenuSwitch with icon
3686 * **feature-accounts**
3687 * Added ability to configure FxaWebChannelFeature with a set of `FxaCapability`. Currently there's just one: `CHOOSE_WHAT_TO_SYNC`. It defaults to `false`, so if you want "choose what to sync" selection during auth flows, please specify it.
3691 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v12.0.0...v12.0.1)
3692 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v12.0.1/buildSrc/src/main/java/Dependencies.kt)
3693 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v12.0.1/buildSrc/src/main/java/Gecko.kt)
3694 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v12.0.1/buildSrc/src/main/java/Config.kt)
3696 * **lib-push-amazon**
3697 * Fixed [#4448](https://github.com/mozilla-mobile/android-components/issues/4458): Clearing app data does not reset the registration ID.
3701 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v11.0.0...v12.0.0)
3702 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/72?closed=1)
3703 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v12.0.0/buildSrc/src/main/java/Dependencies.kt)
3704 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v12.0.0/buildSrc/src/main/java/Gecko.kt)
3705 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v12.0.0/buildSrc/src/main/java/Config.kt)
3707 * **browser-engine-gecko-nightly**, **browser-engine-gecko-beta** and **browser-engine-gecko**
3708 * The `TrackingProtectionPolicy.recommended()` and `TrackingProtectionPolicy.strict()` policies are now aligned with standard and strict (respectively) policies on FireFox desktop, for more details see the [issue #4349](https://github.com/mozilla-mobile/android-components/issues/4349).
3710 * **browser-engine-gecko-nightly** and **browser-engine-gecko-beta**
3711 * The `TrackingProtectionPolicy.select` function now allows you to indicate if `strictSocialTrackingProtection` should be activated or not. When it is active blocks trackers from the social-tracking-protection-digest256 list, for more details take a look at the [issue #4320](https://github.com/mozilla-mobile/android-components/issues/4320)
3713 val policy = TrackingProtectionPolicy.select(
3714 strictSocialTrackingProtection = true
3719 * Exposed title tag from GV in HitResult. Fixes [#1444]. If title is null or blank the src value is returned for title.
3721 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
3723 * `browser-engine-gecko-release`: GeckoView 69.0
3724 * `browser-engine-gecko-beta`: GeckoView 70.0
3725 * `browser-engine-gecko-nightly`: GeckoView 71.0
3727 * **feature-toolbar**
3728 * β οΈ **This is a breaking change**: The `feature-toolbar` component has been migrated to `browser-state` from `browser-session`. Therefore creating a `ToolbarFeature` requires a `BrowserStore` instance instead of a `SessionManager` instance now.
3731 * Now supports Breadcrumbs. Use the 'recordCrashBreadcrumb()' to record Breadcrumbs if the underlying crash reporter service supports it.
3733 crashReporter.recordCrashBreadcrumb(
3734 CrashBreadcrumb("Settings button clicked", data, "UI", Level.INFO, Type.USER)
3738 * **browser-engine-gecko-nightly** and **browser-engine-gecko-beta**
3739 * The `TrackingProtectionPolicy.strict()` now blocks trackers from the social-tracking-protection-digest256 list, for more details take a look at the [issue #4213](https://github.com/mozilla-mobile/android-components/issues/4213)
3741 * **browser-session**
3742 * β οΈ **This is a breaking change**: `getSessionId` and `EXTRA_SESSION_ID` has moved to the `feature-intent` component.
3744 * **feature-intent**
3745 * β οΈ **This is a breaking change**: `TabIntentProcessor` has moved to the `processing` sub-package, but is still in the same component.
3747 * **browser-engine-gecko**
3748 * Like with the nightly and beta flavor previously this component now has a hard dependency on the new [universal GeckoView build](https://bugzilla.mozilla.org/show_bug.cgi?id=1508976) that is no longer architecture specific (ARM, x86, ..). With that apps no longer need to specify the GeckoView dependency themselves and synchronize the used version with Android Components. Additionally apps can now make use of [APK splits](https://developer.android.com/studio/build/configure-apk-splits) or [Android App Bundles (AAB)](https://developer.android.com/guide/app-bundle).
3750 * **browser-engine-servo**
3751 * β We removed the `browser-engine-servo` component since it was not being maintained, updated and used.
3753 * **concept-sync**, **service-firefox-accounts**
3754 * β οΈ **This is a breaking change**:
3755 * `SyncConfig`'s `syncableStores` has been renamed to `supportedEngines`, expressed via new enum type `SyncEngine`.
3756 * `begin*` OAuthAccount methods now return an `AuthFlowUrl`, which encapsulates an OAuth state identifier.
3757 * `AccountObserver:onAuthenticated` method now has `authType` parameter (instead of `newAccount`), which describes in detail what caused an authentication.
3758 * `GlobalSyncableStoreProvider.configureStore` now takes a pair of `Pair<SyncEngine, SyncableStore>`, instead of allowing arbitrary string names for engines.
3759 * `GlobalSyncableStoreProvider.getStore` is no longer part of the public API.
3762 * Added more logging into `AutoPushFeature` to aid in debugging in release builds.
3765 * Added variant of `Flow.ifChanged()` that takes a mapping function in order to filter items where the mapped value has not changed.
3768 * Adds the ability to create a basic shortcut with a custom label
3770 * **browser-engine-gecko-nightly**
3771 * Adds support for exposing Gecko scalars through the Glean SDK. See [Bug 1579365](https://bugzilla.mozilla.org/show_bug.cgi?id=1579365) for details.
3774 * `Intent.asForegroundServicePendingIntent(Context)` extension method to create pending intent for the service that will play nicely with background execution limitations introduced in Android O (e.g. foreground service).
3777 * β οΈ **This is a breaking change**: `action` param of `AuthType.OtherExternal` is now optional. Missing `action` indicates that we really don't know what external authType we've hit.
3781 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v10.0.0...v11.0.0)
3782 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/71?closed=1)
3783 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v11.0.0/buildSrc/src/main/java/Dependencies.kt)
3784 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v11.0.0/buildSrc/src/main/java/Gecko.kt)
3785 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v11.0.0/buildSrc/src/main/java/Config.kt)
3788 * Ensures icons are not cached on the disk in private sessions.
3791 * Added `startImage` to Highlight of HighlightableMenuItem, which allows changing the startImage in addition to the endImage when highlighted
3792 * Highlight properties of HighlightableMenuItem `startImage` and `endImage` are now both optional
3795 * Added `Store` extensions to observe `State` using Kotlin's `Flow` API: `Store.flow()`, `Store.flowScoped()`.
3798 * Added property delegates to work with `SharedPreferences`.
3799 * Added `Flow.ifChanged()` operator for filtering a `Flow` based on whether a value has changed from the previous one (e.g. `A, A, B, C, A -> A, B, C, A`).
3801 * **feature-customtabs**
3802 * Added `CustomTabsServiceStore` to track custom tab data in `AbstractCustomTabsService`.
3805 * Added support for hiding the toolbar in a Trusted Web Activity.
3806 * Added `TrustedWebActivityIntentProcessor` to process TWA intents.
3807 * Added `CustomTabState.trustedOrigins` extension method to turn the verification state of a custom tab into a list of origins.
3808 * Added `WebAppHideToolbarFeature.onTrustedScopesChange` to change the trusted scopes after the feature is created.
3810 * **service-telemetry**
3811 * This component is now deprecated. Please use the [Glean SDK](https://mozilla.github.io/glean/book/index.html) instead. This library will not be removed until all projects using it start using the Glean SDK.
3813 * **browser-session**, **feature-intent**
3814 * β οΈ **This is a breaking change**: Moved `Intent` related code from `browser-session` to `feature-intent`.
3817 * The `Intent` launched from the media notification now has its action set to `MediaFeature.ACTION_SWITCH_TAB`. In addition to that the extra `MediaFeature.EXTRA_TAB_ID` contains the id of the tab the media notification is displayed for.
3821 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v10.0.0...v10.0.1)
3822 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v10.0.1/buildSrc/src/main/java/Dependencies.kt)
3823 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v10.0.1/buildSrc/src/main/java/Gecko.kt)
3824 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v10.0.1/buildSrc/src/main/java/Config.kt)
3827 * Added `startImage` to Highlight of HighlightableMenuItem, which allows changing the startImage in addition to the endImage when highlighted
3828 * Highlight properties of HighlightableMenuItem `startImage` and `endImage` are now both optional
3830 * Imported latest state of translations.
3834 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v9.0.0...v10.0.0)
3835 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/69?closed=1)
3836 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v10.0.0/buildSrc/src/main/java/Dependencies.kt)
3837 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v10.0.0/buildSrc/src/main/java/Gecko.kt)
3838 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v10.0.0/buildSrc/src/main/java/Config.kt)
3840 * **feature-toolbar**
3841 * Toolbar Menu is now closed on exiting the app.
3843 * **support-test-appservices**
3844 * π New component for synchronizing Application Services' unit testing dependencies used in Android Components.
3846 * **service-location**
3847 * Added `RegionSearchLocalizationProvider` - A `SearchLocalizationProvider` implementation that uses a `MozillaLocationService` instance to do a region lookup via GeoIP.
3848 * β οΈ **This is a breaking change**: An implementation of `SearchLocalizationProvider` now returns a `SearchLocalization` data class instead of multiple properties.
3851 * β οΈ **This is a breaking change**: `Glean.handleBackgroundEvent` is now an internal API.
3852 * Added a `QuantityMetricType` (for internal use by Gecko metrics only).
3854 * **browser-engine-gecko(-beta/nightly)**, **concept-engine**
3855 * Added simplified `Media.state` derived from `Media.playbackState` events.
3857 * **lib-push-adm**, **lib-push-firebase**, **concept-push**
3858 * Added `isServiceAvailable` to signify if the push service is supported on the device.
3860 * **concept-engine**
3861 * Added `WebNotification` data class for the web notifications API.
3863 * **browser-engine-system**
3864 * Fixed issue [4191](https://github.com/mozilla-mobile/android-components/issues/4191) where the `recommended()` tracking category was not getting applied for `SystemEngine`.
3866 * **concept-engine**, **browser-engine-gecko-nightly** and **browser-engine-gecko-beta**:
3867 * β οΈ **This is a breaking change**: `TrackingProtectionPolicy` does not have a `safeBrowsingCategories` anymore, Safe Browsing is now a separate setting on the Engine level. To change the default value of `SafeBrowsingPolicy.RECOMMENDED` you have set it through `engine.settings.safeBrowsingPolicy`.
3868 * This decouples the tracking protection API and safe browsing from each other so you can change the tracking protection policy without affecting your safe browsing policy as described in this issue [#4190](https://github.com/mozilla-mobile/android-components/issues/4190).
3869 * β οΈ **Alert for SystemEngine consumers**: The Safe Browsing API is not yet supported on this engine, this will be covered on [#4206](https://github.com/mozilla-mobile/android-components/issues/4206). If you use this API you will get a `UnsupportedSettingException`, however you can use a manifest tag to activate it.
3874 <meta-data android:name="android.webkit.WebView.EnableSafeBrowsing"
3875 android:value="true" />
3883 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v8.0.0...v9.0.0)
3884 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/68?closed=1)
3885 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v9.0.0/buildSrc/src/main/java/Dependencies.kt)
3886 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v9.0.0/buildSrc/src/main/java/Gecko.kt)
3887 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v9.0.0/buildSrc/src/main/java/Config.kt)
3890 * Updated the styling of the menu to not have padding on top or bottom. Also modified size of `BrowserMenuItemToolbar` to match `BrowserToolbar`'s height
3893 * Do not display title/url/icon of website in media notification if website is opened in private mode.
3895 * **concept-engine** and **browser-session**
3896 * β οΈ **This is a breaking change**: `TrackingProtectionPolicy` removes the `categories` property to expose two new ones `trackingCategories: Array<AntiTrackingCategory>` and `safeBrowsingCategories: Array<SafeBrowsingCategory>` to separate the tracking protection categories from the safe browsing ones.
3897 * β οΈ **This is a breaking change**: `TrackingProtectionPolicy.all()` has been replaced by `TrackingProtectionPolicy.strict()` to have similar naming conventions with GeckoView api.
3898 * β οΈ **This is a breaking change**: `Tracker#categories` has been replaced by `Tracker#trackingCategories` and `Tracker#cookiePolicies` to better report blocked content see [#4098](https://github.com/mozilla-mobile/android-components/issues/4098).
3899 * Added: `Session#trackersLoaded` A list of `Tracker`s that could be blocked but has been loaded in this session.
3900 * Added: `Session#Observer#onTrackerLoaded` Notifies that a tracker that could be blocked has been loaded.
3902 * **browser-toolbar**
3903 * HTTP sites are now marked as insecure with a broken padlock icon, rather than a globe icon. Apps can revert to the globe icon by using a custom `BrowserToolbar.siteSecurityIcon`.
3905 * **service-firefox-accounts**, **concept-sync**
3906 * `FxaAccountManager`, if configured with `DeviceCapability.SEND_TAB`, will now automatically refresh device constellation state and poll for device events during initialization and login.
3907 * `FxaAccountManager.syncNowAsync` can now receive a `debounce` parameter, allowing consumers to specify debounce behaviour of their sync requests.
3908 * β οΈ **This is a breaking change:**
3909 * Removed public methods from `DeviceConstellation` and its implementation in `FxaDeviceConstellation`: `fetchAllDevicesAsync`, `startPeriodicRefresh`, `stopPeriodicRefresh`.
3910 * `DeviceConstellation#refreshDeviceStateAsync` was renamed to `refreshDevicesAsync`: no longer polls for device events, only updates device states (e.g. new devices, name changes)
3911 * `pollForEventsAsync` no longer returns the events. Use the observer API instead:
3913 val deviceConstellation = autheneticatedAccount()?.deviceConstellation() ?: return
3914 deviceConstellation.registerDeviceObserver(
3915 object: DeviceEventsObserver {
3916 override fun onEvents(events: List<DeviceEvent>) {
3917 // Process device events here.
3919 }, lifecycleOwner, false)
3921 deviceConstellation.pollForEventsAsync().await()
3924 * **browser-session**
3925 * Removed deprecated `CustomTabConfig` helpers. Use the equivalent methods in **feature-customtabs** instead.
3928 * Removed deprecated methods that have equivalents in Android KTX.
3930 * **concept-sync**, **service-firefox-account**
3931 * β οΈ **This is a breaking change**
3932 * In `OAuthAccount` (and by extension, `FirefoxAccount`) `beginOAuthFlowAsync` no longer need to specify `wantsKeys` parameter; it's automatically inferred from the requested `scopes`.
3933 * Three new device types now available: `tablet`, `tv`, `vr`.
3937 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v7.0.0...v8.0.0)
3938 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/67?closed=1)
3939 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v8.0.0/buildSrc/src/main/java/Dependencies.kt)
3940 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v8.0.0/buildSrc/src/main/java/Gecko.kt)
3941 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v8.0.0/buildSrc/src/main/java/Config.kt)
3944 * Timing distributions now use a functional bucketing algorithm that does not require fixed limits to be defined up front.
3946 * **support-android-test**
3947 * Added `WebserverRule` - a junit rule that will run a webserver during tests serving content from assets in the test package ([#3893](https://github.com/mozilla-mobile/android-components/issues/3893)).
3949 * **browser-engine-gecko-nightly**
3950 * The component now exposes an implementation of the Gecko runtime telemetry delegate, `glean.GeckoAdapter`, which can be used to collect Gecko metrics with the Glean SDK.
3952 * **browser-engine-gecko-beta**
3953 * The component now handles situations where the Android system kills the content process (without killing the main app process) in order to reclaim resources. In those situations the component will automatically recover and restore the last known state of those sessions.
3955 * **browser-toolbar**
3956 * Changed `BrowserToolbar.siteSecurityColor` to use no icon color filter when the color is set to `Color.TRANSPARENT`.
3957 * Added `BrowserToolbar.siteSecurityIcon` to use custom security icons with multiple colors in the toolbar.
3959 * **feature-sendtab**
3960 * Added a `SendTabFeature` that observes account device events with optional support for push notifications.
3966 pushFeature, // optional
3967 pushService // optional; if you want the service to also be started/stopped based on account changes.
3968 onTabsReceiver = { from, tabs -> /* Do cool things here! */ }
3973 * `MediaFeature` is no longer showing a notification for playing media with a very short duration.
3974 * Lowered priority of media notification channel to avoid the media notification making any sounds itself.
3978 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v6.0.2...v7.0.0)
3979 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/66?closed=1)
3980 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v7.0.0/buildSrc/src/main/java/Dependencies.kt)
3981 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v7.0.0/buildSrc/src/main/java/Gecko.kt)
3982 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v7.0.0/buildSrc/src/main/java/Config.kt)
3985 * β οΈ **This is a breaking change**: `BrowserMenuHighlightableItem` now has a ripple effect and includes an example of how to pass in a drawable properly to also include a ripple when highlighted
3987 * **feature-accounts**
3988 * β οΈ **This is a breaking change**:
3989 * The `FirefoxAccountsAuthFeature` no longer needs an `TabsUseCases`, instead is taking a lambda to
3990 allow applications to decide which action should be taken. This fixes [#2438](https://github.com/mozilla-mobile/android-components/issues/2438) and [#3272](https://github.com/mozilla-mobile/android-components/issues/3272).
3993 val feature = FirefoxAccountsAuthFeature(
3996 ) { context, authUrl ->
3997 // passed-in context allows easily opening new activities for handling urls.
3998 tabsUseCases.addTab(authUrl)
4001 // ... elsewhere, in the UI code, handling click on button "Sign In":
4002 components.feature.beginAuthentication(activityContext)
4005 * **browser-engine-gecko-nightly**
4006 * Now supports window requests. A new tab will be opened for `target="_blank"` links and `window.open` calls.
4009 * Handles low-memory scenarios by reducing memory footprint.
4011 * **feature-app-links**
4012 * Fixed [#3944](https://github.com/mozilla-mobile/android-components/issues/3944) causing third-party apps being opened when links with a `javascript` scheme are clicked.
4014 * **feature-session**
4015 * β οΈ **This is a breaking change**:
4016 * The `WindowFeature` no longer needs an engine. It can now be created using just:
4018 val windowFeature = WindowFeature(components.sessionManager)
4022 * Added full support for pinning websites to the home screen.
4023 * Added full support for Progressive Web Apps, which can be pinned and open in their own window.
4026 * Fixed a bug in`TimeSpanMetricType` that prevented multiple consecutive `start()`/`stop()` calls. This resulted in the `glean.baseline.duration` being missing from most [`baseline`](https://mozilla.github.io/glean/book/user/pings/baseline.html) pings.
4028 * **service-firefox-accounts**
4029 * β οΈ **This is a breaking change**: `AccountObserver.onAuthenticated` now helps observers distinguish when an account is a new authenticated account one with a second `newAccount` boolean parameter.
4031 * **concept-sync**, **service-firefox-accounts**:
4032 * β οΈ **This is a breaking change**: Added `OAuthAccount@disconnectAsync`, which replaced `DeviceConstellation@destroyCurrentDeviceAsync`.
4035 * β οΈ **Known issue**: Sending a crash using the `MozillaSocorroService` with GeckoView 69.0 or 68.0, will lead to a `NoSuchMethodError` when using this particular version of android components. See [#4052](https://github.com/mozilla-mobile/android-components/issues/4052).
4039 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v6.0.1...v6.0.2)
4040 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v6.0.2/buildSrc/src/main/java/Dependencies.kt)
4041 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v6.0.2/buildSrc/src/main/java/Gecko.kt)
4042 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v6.0.2/buildSrc/src/main/java/Config.kt)
4045 * Fixed a bug in`TimeSpanMetricType` that prevented multiple consecutive `start()`/`stop()` calls. This resulted in the `glean.baseline.duration` being missing from most [`baseline`](https://mozilla.github.io/glean/book/user/pings/baseline.html) pings.
4049 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v6.0.0...v6.0.1)
4050 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v6.0.1/buildSrc/src/main/java/Dependencies.kt)
4051 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v6.0.1/buildSrc/src/main/java/Gecko.kt)
4052 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v6.0.1/buildSrc/src/main/java/Config.kt)
4054 * **feature-app-links**
4055 * Fixed [#3944](https://github.com/mozilla-mobile/android-components/issues/3944) causing third-party apps being opened when links with a `javascript` scheme are clicked.
4057 * Imported latest state of translations.
4061 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v5.0.0...v6.0.0)
4062 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/65?closed=1)
4063 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v6.0.0/buildSrc/src/main/java/Dependencies.kt)
4064 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v6.0.0/buildSrc/src/main/java/Gecko.kt)
4065 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v6.0.0/buildSrc/src/main/java/Config.kt)
4068 * Fixed [#3871](https://github.com/mozilla-mobile/android-components/issues/3871) autocomplete incorrectly fills urls that contains a port number.
4070 * **feature-readerview**
4071 * Fixed [#3864](https://github.com/mozilla-mobile/android-components/issues/3864) now minus and plus buttons have the same size on reader view.
4073 * **browser-engine-gecko-nightly**
4074 * The component now handles situations where the Android system kills the content process (without killing the main app process) in order to reclaim resources. In those situations the component will automatically recover and restore the last known state of those sessions.
4075 * Now supports window requests. A new tab will be opened for `target="_blank"` links and `window.open` calls.
4077 * **service-location**
4078 * π A new component for accessing Mozilla's and other location services.
4080 * **feature-prompts**
4081 * Improved month picker UI, now we have the same widget as Fennec.
4084 * Deprecated `ViewGroup.forEach` in favour of Android Core KTX.
4085 * Deprecated `Map.toBundle()` in favour of Android Core KTX `bundleOf`.
4088 * Migrated `Store.broadcastChannel()` to `Store.channel()`returning a `ReceiveChannel` that can be read by only one receiver. Broadcast channels have a more complicated lifetime that is not needed in most use cases. For multiple receivers multiple channels can be created from the `Store` or Kotlin's `ReceiveChannel.broadcast()` extension method can be used.
4090 * **support-android-test**
4091 * Added `LeakDetectionRule` to install LeakCanary when running instrumented tests. If a leak is found the test will fail and the test report will contain the leak trace.
4093 * **lib-push-amazon**
4094 * π Added a new component for Amazon Device Messaging push support.
4097 * Changed the maximum size for decoded icons. Icons are now scaled to the target size to save memory.
4099 * **service-firefox-account**
4100 * Added `isSyncActive(): Boolean` method to `FxaAccountManager`
4102 * **feature-customtabs**
4103 * `CustomTabsToolbarFeature` now optionally takes `Window` as a parameter. It will update the status bar color to match the toolbar color.
4104 * Custom tabs can now style the navigation bar using `CustomTabsConfig.navigationBarColor`.
4106 * **feature-sendtab**
4107 * π New component for send tab use cases.
4110 val sendTabUseCases = SendTabUseCases(accountManager)
4112 // Send to a particular device
4113 sendTabUseCases.sendToDeviceAsync("1234", TabData("Mozilla", "https://mozilla.org"))
4115 // Send to all devices
4116 sendTabUseCases.sendToAllAsync(TabData("Mozilla", "https://mozilla.org"))
4118 // Send multiple tabs to devices works too..
4119 sendTabUseCases.sendToDeviceAsync("1234", listof(tab1, tab2))
4120 sendTabUseCases.sendToAllAsync(listof(tab1, tab2))
4124 * Added `Collection.crossProduct` to retrieve the cartesian product of two `Collections`.
4127 * β οΈ **This is a breaking change**: `Glean.enableTestingMode` is now `internal`. Tests can use the `GleanTestRule` to enable testing mode. [Updated docs available here](https://mozilla.github.io/glean/book/user/testing-metrics.html).
4130 * Added default arguments when registering for subscriptions/messages.
4134 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v4.0.0...v5.0.0)
4135 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/64?closed=1)
4136 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v5.0.0/buildSrc/src/main/java/Dependencies.kt)
4137 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v5.0.0/buildSrc/src/main/java/Gecko.kt)
4138 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v5.0.0/buildSrc/src/main/java/Config.kt)
4140 * **All components**
4141 * Increased `compileSdkVersion` to 29 (Android Q)
4144 * β οΈ **This is a breaking change**: Now `TabsUseCases.SelectTabUseCase` is an interface, if you want to rely on its previous behavior you could keep using `TabsUseCases.selectTab` or use `TabsUseCases.DefaultSelectTabUseCase`.
4146 * **feature-awesomebar**
4147 * `SessionSuggestionProvider` now have a new parameter `excludeSelectedSession`, to ignore the selected session on the suggestions.
4149 * **concept-engine** and **browser-session**
4150 * β οΈ **This is a breaking change**: Function signature changed from `Session.Observer.onTrackerBlocked(session: Session, blocked: String, all: List<String>) = Unit` to `Session.Observer.onTrackerBlocked(session: Session, tracker: Tracker, all: List<Tracker>) = Unit`
4151 * β οΈ **This is a breaking change**: Function signature changed from `EngineSession.Observer.onTrackerBlocked(url: String) = Unit` to `EngineSession.Observer.onTrackerBlocked(tracker: Tracker) = Unit`
4152 * Added: To provide more details about a blocked content, we introduced a new class called `Tracker` this contains information like the `url` and `categories` of the `Tracker`. Among the categories we have `Ad`, `Analytic`, `Social`,`Cryptomining`, `Fingerprinting` and `Content`.
4155 * Added `BrowserIcons.loadIntoView` to automatically load an icon into an `ImageView`.
4157 * **browser-session**
4158 * Added `IntentProcessor` interface to represent a class that processes intents to create sessions.
4159 * Deprecated `CustomTabConfig.isCustomTabIntent` and `CustomTabConfig.createFromIntent`. Use `isCustomTabIntent` and `createFromCustomTabIntent` in feature-customtabs instead.
4161 * **feature-customtabs**
4162 * Added `CustomTabIntentProcessor` to create custom tab sessions from intents.
4163 * Added `isCustomTabIntent` to check if an intent is for creating custom tabs.
4164 * Added `createCustomTabConfigFromIntent` to create a `CustomTabConfig` from a custom tab intent.
4166 * **feature-downloads**
4167 * `FetchDownloadManager` now determines the filename during the download, resulting in more accurate filenames.
4169 * **feature-intent**
4170 * Deprecated `IntentProcessor` class and moved some of its code to the new `TabIntentProcessor`.
4173 * Updated the default autopush service endpoint to `updates.push.services.mozilla.com`.
4176 * Hyphens `-` are now allowed in labels for metrics. See [1566764](https://bugzilla.mozilla.org/show_bug.cgi?id=1566764).
4177 * β οΈ **This is a breaking change**: Timespan values are returned in their configured time unit in the testing API.
4180 * Added ability to pause/resume observing a `Store` via `pause()` and `resume()` methods on the subscription
4181 * When using `observeManually` the returned `Subscription` is in paused state by default.
4182 * When binding a subscription to a `LifecycleOwner` then this subscription will automatically paused and resumed based on whether the lifecycle is in STARTED state.
4183 * When binding a subscription to a `View` then this subscription will be paused until the `View` gets attached.
4184 * Added `Store.broadcastChannel()` to observe state from a coroutine sequentially ordered.
4185 * Added helpers to process states coming from a `Store` sequentially via `Fragment.consumeFrom(Store)` and `View.consumeFrom(Store)`.
4188 * β οΈ **This is a breaking behavior change**: `JSONArray.mapNotNull` is now an inline function, changing the behavior of the `return` keyword within its lambda.
4189 * Added `View.toScope()` to create a `CoroutineScope` that is active as long as the `View` is attached. Once the `View` gets detached the `CoroutineScope` gets cancelled automatically. By default coroutines dispatched on the created [CoroutineScope] run on the main dispatcher
4191 * **concept-push**, **lib-push-firebase**, **feature-push**
4192 * Added `deleteToken` to the PushService interface.
4193 * Added the implementation for it to Firebase Push implementation.
4194 * Added `forceRegistrationRenewal` to the AutopushFeature for situations where our current registration token may be invalid for us to use.
4196 * **service-firefox-accounts**
4197 * Added `AccountMigration`, which may be used to query trusted FxA Auth providers and automatically sign-in into available accounts.
4201 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v4.0.0...v4.0.1)
4202 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v4.0.1/buildSrc/src/main/java/Dependencies.kt)
4203 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v4.0.1/buildSrc/src/main/java/Gecko.kt)
4204 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v4.0.1/buildSrc/src/main/java/Config.kt)
4207 * Hyphens `-` are now allowed in labels for metrics. See [1566764](https://bugzilla.mozilla.org/show_bug.cgi?id=1566764).
4209 * Imported latest state of translations.
4211 * **support-rusthttp**
4212 * β οΈ **This is a breaking change**: The application-services (FxA, sync, push) code now will send HTTP requests through a kotlin-provided HTTP stack in all configurations, however it requires configuration at startup. This may be done via the neq `support-rusthttp` component as follows:
4215 import mozilla.components.support.rusthttp.RustHttpConfig
4216 // Note: other implementions of `Client` from concept-fetch are fine as well.
4217 import mozilla.components.lib.fetch.httpurlconnection.HttpURLConnectionClient
4218 // some point before calling rust code that makes HTTP requests.
4219 RustHttpConfig.setClient(lazy { HttpURLConnectionClient() })
4222 * Note that code which uses a custom megazord **must** call this after initializing the megazord.
4227 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v3.0.0...v4.0.0)
4228 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/63?closed=1)
4229 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v4.0.0/buildSrc/src/main/java/Dependencies.kt)
4230 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v4.0.0/buildSrc/src/main/java/Gecko.kt)
4231 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v4.0.0/buildSrc/src/main/java/Config.kt)
4233 * **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
4235 * `browser-engine-gecko-release`: GeckoView 68.0
4236 * `browser-engine-gecko-beta`: GeckoView 69.0
4237 * `browser-engine-gecko-nightly`: GeckoView 70.0
4239 * **browser-engine-gecko-beta**
4240 * Like with the nightly flavor previously (0.55.0) this component now has a hard dependency on the new [universal GeckoView build](https://bugzilla.mozilla.org/show_bug.cgi?id=1508976) that is no longer architecture specific (ARM, x86, ..). With that apps no longer need to specify the GeckoView dependency themselves and synchronize the used version with Android Components. Additionally apps can now make use of [APK splits](https://developer.android.com/studio/build/configure-apk-splits) or [Android App Bundles (AAB)](https://developer.android.com/guide/app-bundle).
4243 * Added `MediaNotificationFeature` - a feature implementation to show an ongoing notification (keeping the app process alive) while web content is playing media.
4245 * **feature-downloads**
4246 * Added custom notification icon for `FetchDownloadManager`.
4248 * **feature-app-links**
4249 * Added whitelist for schemes of URLs to open with an external app. This defaults to `mailto`, `market`, `sms` and `tel`.
4251 * **feature-accounts**
4252 * β οΈ **This is a breaking change**: Public API for interacting with `FxaAccountManager` and sync changes
4253 * `FxaAccountManager` now has a new, simplified public API.
4254 * `BackgroundSyncManager` is longer exists; sync functionality exposed directly via `FxaAccountManager`.
4255 * See component's [README](https://github.com/mozilla-mobile/android-components/blob/main/components/service/firefox-accounts/README.md) for detailed description of the new API.
4256 * As part of these changes, token caching issue has been fixed. See [#3579](https://github.com/mozilla-mobile/android-components/pull/3579) for details.
4258 * **concept-engine**, **browser-engine-gecko(-beta/nightly)**.
4259 * Added `TrackingProtectionPolicy.CookiePolicy` to indicate how cookies should behave for a given `TrackingProtectionPolicy`.
4260 * Now `TrackingProtectionPolicy.select` allows you to specify a `TrackingProtectionPolicy.CookiePolicy`, if not specified, `TrackingProtectionPolicy.CookiePolicy.ACCEPT_NON_TRACKERS` will be used.
4261 * Behavior change: Now `TrackingProtectionPolicy.none()` will get assigned a `TrackingProtectionPolicy.CookiePolicy.ACCEPT_ALL`, and both `TrackingProtectionPolicy.all()` and `TrackingProtectionPolicy.recommended()` will have a `TrackingProtectionPolicy.CookiePolicy.ACCEPT_NON_TRACKERS`.
4263 * **concept-engine**, **browser-engine-system**
4264 * Added `useWideViewPort` in `Settings` to support the viewport HTML meta tag or if a wide viewport should be used. (Only affects `SystemEngineSession`)
4266 * **browser-session**
4267 * Added `SessionManager.add(List<Session>)` to add a list of `Session`s to the `SessionManager`.
4269 * **feature-tab-collections**
4270 * β οΈ **These are breaking changes below**:
4271 * `Tab.restore()` now returns a `Session` instead of a `SessionManager.Snapshot`
4272 * `TabCollection.restore()` and `TabCollection.restoreSubset()` now return a `List<Session>` instead of a `SessionManager.Snapshot`
4275 * Added `onNextGlobalLayout` to add a `ViewTreeObserver.OnGlobalLayoutListener` that is only called once.
4279 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v2.0.0...v3.0.0)
4280 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/62?closed=1)
4281 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v3.0.0/buildSrc/src/main/java/Dependencies.kt)
4282 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v3.0.0/buildSrc/src/main/java/Gecko.kt)
4283 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v3.0.0/buildSrc/src/main/java/Config.kt)
4285 * **feature-prompts**
4286 * Improved file picker prompt by displaying the option to use the camera to capture images,
4287 microphone to record audio, or video camera to capture a video.
4288 * The color picker has been redesigned based on Firefox for Android (Fennec).
4291 * Added preliminary support for pinning websites to the home screen.
4293 * **browser-search**
4294 * Loading search engines should no longer deadlock on devices with 1-2 CPUs
4296 * **concept-engine**, **browser-engine-gecko(-beta/nightly)**, **browser-engine-system**
4297 * Added `EngineView.release()` to manually release an `EngineSession` that is currently being rendered by the `EngineView`. Usually an app does not need to call `release()` manually since `EngineView` takes care of releasing the `EngineSession` on specific lifecycle events. However sometimes the app wants to release an `EngineSession` to immediately render it on another `EngineView`; e.g. when transforming a Custom Tab into a regular browser tab.
4299 * **browser-session**
4300 * β οΈ **This is a breaking change**: Removed "default session" behavior from `SessionManager`. This feature was never used by any app except the sample browser.
4302 * **feature-downloads**
4303 * Added `FetchDownloadManager`, an alternate download manager that uses a fetch `Client` instead of the native Android `DownloadManager`.
4306 * Deprecated `String.toUri()` in favour of Android Core KTX.
4307 * Deprecated `View.isGone` and `View.isInvisible` in favour of Android Core KTX.
4308 * Added `putCompoundDrawablesRelative` and `putCompoundDrawablesRelativeWithIntrinsicBounds`, aliases of `setCompoundDrawablesRelative` that use Kotlin named and default arguments.
4312 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v1.0.0...v2.0.0)
4313 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/61?closed=1)
4314 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v2.0.0/buildSrc/src/main/java/Dependencies.kt)
4315 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v2.0.0/buildSrc/src/main/java/Gecko.kt)
4316 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v2.0.0/buildSrc/src/main/java/Config.kt)
4319 * **browser-toolbar**
4320 * Adds `focus()` which provides a hook for calling `editMode.focus()` to focus the edit mode `urlView`
4322 * **browser-awesomebar**
4323 * Updated `DefaultSuggestionViewHolder` to have a style more consistent with Fenix mocks.
4324 * Fixed a bug with `InlineAutocompleteEditText` where the cursor would disappear if a user cleared an suggested URL.
4327 * A new component for maintaining application, screen or component state via a redux-style `Store`. This component provides the architectural foundation for the `browser-state` component (in development).
4329 * **feature-downloads**
4330 * `onDownloadCompleted` no longer receives the download object and ID.
4333 * Deprecated `Resource.pxToDp`.
4334 * Added `Int.dpToPx` to convert from density independent pixels to an int representing screen pixels.
4335 * Added `Int.dpToFloat` to convert from density independent pixels to a float representing screen pixels.
4338 * Added `Context.isScreenReaderEnabled` extension to check if TalkBack service is enabled.
4341 * The component now ships with the [tippy-top-sites](https://github.com/mozilla/tippy-top-sites) top 200 list for looking up icon resources.
4343 * **concept-engine**, **browser-engine-gecko(-beta/nightly)**, **feature-session**, **feature-tabs**
4344 * Added to support for specifying additional flags when loading URLs. This can be done using the engine session directly, as well as via use cases:
4348 sessionManager.getEngineSession().loadUrl(url, LoadUrlFlags.select(LoadUrlFlags.BYPASS_CACHE))
4350 // Bypass cache and proxy
4351 sessionUseCases.loadUrl.invoke(url, LoadUrlFlags.select(LoadUrlFlags.BYPASS_CACHE, LoadUrlFlags.BYPASS_PROXY))
4356 * [Commits](https://github.com/mozilla-mobile/android-components/compare/v0.56.0...v1.0.0)
4357 * [Milestone](https://github.com/mozilla-mobile/android-components/milestone/60?closed=1)
4358 * [Dependencies](https://github.com/mozilla-mobile/android-components/blob/v1.0.0/buildSrc/src/main/java/Dependencies.kt)
4359 * [Gecko](https://github.com/mozilla-mobile/android-components/blob/v1.0.0/buildSrc/src/main/java/Gecko.kt)
4360 * [Configuration](https://github.com/mozilla-mobile/android-components/blob/v1.0.0/buildSrc/src/main/java/Config.kt)
4362 * π Removed deprecated components (See [blog posting](https://mozac.org/2019/05/23/deprecation.html)):
4363 * feature-session-bundling
4367 * **concept-engine**, **browser-engine-gecko(-beta/nightly)**, **browser-engine-system**
4368 * Added `Engine.version` property (`EngineVersion`) for printing and comparing the version of the used engine.
4371 * Added `endOfMenuAlwaysVisible` property/parameter to `BrowserMenuBuilder` constructor and to `BrowserMenu.show` function.
4372 When is set to true makes sure the bottom of the menu is always visible, this allows use cases like [#3211](https://github.com/mozilla-mobile/android-components/issues/3211).
4373 * Added `onDimiss` parameter to `BrowserMenu.show` function, called when the menu is dismissed.
4374 * Changed `BrowserMenuHighlightableItem` constructor to allow for dynamically toggling the highlight with `invalidate()`.
4376 * **browser-toolbar**
4377 * Added highlight effect to the overflow menu button when a highlighted `BrowserMenuHighlightableItem` is present.
4379 * **feature-tab-collections**
4380 * Tabs can now be restored without restoring the ID of the `Session` by using the `restoreSessionId` flag. An app may
4381 prefer to use new IDs if it expects sessions to get restored multiple times - otherwise breaking the promise of a
4384 * **browser-search**
4385 * Added `getProvidedDefaultSearchEngine` to `SearchEngineManager` to return the provided default search engine or the first
4386 search engine if the default is not set. This allows use cases like [#3344](https://github.com/mozilla-mobile/android-components/issues/3344).
4388 * **feature-tab-collections**
4389 * Behavior change: `TabCollection` instances returned by `TabCollectionStorage` are now ordered by the last time they have been updated (instead of the time they have been created).
4392 * [Restrictions to background activity starts](https://developer.android.com/preview/privacy/background-activity-starts) in Android Q+ make it impossible to launch the crash reporter prompt after certain crashes. In those situations the library will show a "crash notification" instead. Clicking on the notification will launch the crash reporter prompt allowing the user to submit a crash report.
4396 For older versions see the [changelog archive]({{ site.baseurl }}/changelog/archive).