Bug 1458668 - Enforce changelog for GeckoView; r=snorp
authorAgi Sferro <agi@mozilla.com>
Mon, 26 Nov 2018 16:27:06 +0000
changeset 507212 4473b89c6603c58f1290fa89a04da72e04281b0c
parent 507211 311a5cdece03653e7c25a4498fe90158cca4bcb0
child 507213 6fdc307a0717b978eb31ef83f7e053b6e1beb33f
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1458668
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1458668 - Enforce changelog for GeckoView; r=snorp This patch integrates with apilint changelog feature to ensure we update the changelog file every time the api changes. It also adds a high level overview of the changes in v65. See also: https://github.com/mozilla-mobile/gradle-apilint#changelog Differential Revision: https://phabricator.services.mozilla.com/D12550
build.gradle
mobile/android/geckoview/CHANGELOG.md
mobile/android/geckoview/build.gradle
--- a/build.gradle
+++ b/build.gradle
@@ -50,17 +50,17 @@ buildscript {
     ext.support_library_version = '26.1.0'
     ext.jacoco_version = '0.8.1'
 
     if (gradle.mozconfig.substs.MOZ_ANDROID_GOOGLE_PLAY_SERVICES) {
         ext.google_play_services_version = '15.0.1'
     }
 
     dependencies {
-        classpath 'org.mozilla.apilint:apilint:0.1.3'
+        classpath 'org.mozilla.apilint:apilint:0.1.4'
         classpath 'com.android.tools.build:gradle:3.1.4'
         classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.2'
         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
     }
 }
 
 if ('multi' == System.env.AB_CD) {
     // Multi-l10n builds set `AB_CD=multi`, which isn't a valid locale.  This
new file mode 100644
--- /dev/null
+++ b/mobile/android/geckoview/CHANGELOG.md
@@ -0,0 +1,23 @@
+# v65
+- Moved `CompositorController`, `DynamicToolbarAnimator`,
+  `OverscrollEdgeEffect`, `PanZoomController` from `org.mozilla.gecko.gfx` to
+  `org.mozilla.geckoview`
+- Added `@UiThread`, `@AnyThread` annotations to several APIs
+- Changed `GeckoRuntime#getLocale` to `GeckoRuntime#getLocales` and related APIs.
+- Merged `org.mozilla.gecko.gfx.LayerSession` into `GeckoSession`
+- Added `GeckoSession.MediaDelegate` and `MediaElement`. This allow monitoring
+  and control of web media elements (play, pause, seek, etc).
+- Removed unused `access` parameter from
+  `GeckoSession.PermissionDelegate#onContentPermissionRequest`
+- Added `WebMessage`, `WebRequest`, `WebResponse`, and `GeckoWebExecutor`. This
+  exposes Gecko networking to apps. It includes speculative connections, name
+  resolution, and a Fetch-like HTTP API.
+- Added `GeckoSession.HistoryDelegate`. This allows apps to implement their own
+  history storage system and provide visited link status.
+- Added `ContentDelegate#onFirstComposite` to get first composite callback
+  after a compositor start.
+- Changed `LoadRequest.isUserTriggered` to `isRedirect`.
+- Added `GeckoSession.LOAD_FLAGS_BYPASS_CLASSIFIER` to bypass the URI
+  classifier.
+
+[api-version]: 15d9fe901464f8b00016237cd8c0d954686bd07d
--- a/mobile/android/geckoview/build.gradle
+++ b/mobile/android/geckoview/build.gradle
@@ -456,8 +456,9 @@ if (mozconfig.substs.MOZ_JAVA_CODE_COVER
         }
     }
 }
 
 apply plugin: 'org.mozilla.apilint'
 
 // TODO: Change this to `org` after hiding org.mozilla.gecko
 apiLint.packageFilter = 'org.mozilla.geckoview'
+apiLint.changelogFileName = 'CHANGELOG.md'