da25b49428e016592d11510434e4184f0717ef66
95 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
da25b49428 |
Bump espresso-intents from 3.1.0 to 3.3.0 (#2056)
Summary: Bumps espresso-intents from 3.1.0 to 3.3.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/2056 Reviewed By: passy Differential Revision: D27230354 Pulled By: priteshrnandgaonkar fbshipit-source-id: 18b7113a6463b486ae1e2c9023a986388d75776f |
||
|
|
5ec274e740 |
Bump mockito-core from 2.26.0 to 3.8.0 (#2059)
Summary: Bumps [mockito-core](https://github.com/mockito/mockito) from 2.26.0 to 3.8.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mockito/mockito/releases">mockito-core's releases</a>.</em></p> <blockquote> <h2>v3.8.0</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h4>3.8.0</h4> <ul> <li>2021-02-22 - <a href="https://github.com/mockito/mockito/compare/v3.7.18...v3.8.0">1 commit(s)</a> by Tim van der Lippe</li> <li>Publish new minor version to Maven central [(<a href="https://github.com/mockito/mockito/issues/2213">#2213</a>)](<a href="https://github.com/mockito/mockito/pull/2213">mockito/mockito#2213</a>)</li> </ul> <h2>v3.7.18</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h4>3.7.18</h4> <ul> <li>2021-02-15 - <a href="https://github.com/mockito/mockito/compare/v3.7.17...v3.7.18">1 commit(s)</a> by Ryan Tandy</li> <li>Fixes <a href="https://github.com/mockito/mockito/issues/2204">#2204</a>: Ignore Groovy methods annotated with Internal [(<a href="https://github.com/mockito/mockito/issues/2207">#2207</a>)](<a href="https://github.com/mockito/mockito/pull/2207">mockito/mockito#2207</a>)</li> <li>Groovy 3.0 internal methods are not ignored as they should be [(<a href="https://github.com/mockito/mockito/issues/2204">#2204</a>)](<a href="https://github.com/mockito/mockito/issues/2204">mockito/mockito#2204</a>)</li> </ul> <h2>v3.7.17</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h4>3.7.17</h4> <ul> <li>2021-02-15 - <a href="https://github.com/mockito/mockito/compare/v3.7.16...v3.7.17">1 commit(s)</a> by dependabot[bot]</li> <li>Bump junit from 4.13.1 to 4.13.2 [(<a href="https://github.com/mockito/mockito/issues/2205">#2205</a>)](<a href="https://github.com/mockito/mockito/pull/2205">mockito/mockito#2205</a>)</li> </ul> <h2>v3.7.16</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h4>3.7.16</h4> <ul> <li>2021-02-11 - <a href="https://github.com/mockito/mockito/compare/v3.7.15...v3.7.16">1 commit(s)</a> by Rafael Winterhalter</li> <li>Add API for clearing mocks. [(<a href="https://github.com/mockito/mockito/issues/2194">#2194</a>)](<a href="https://github.com/mockito/mockito/pull/2194">mockito/mockito#2194</a>)</li> </ul> <h2>v3.7.15</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h4>3.7.15</h4> <ul> <li>2021-02-05 - <a href="https://github.com/mockito/mockito/compare/v3.7.13...v3.7.15">2 commit(s)</a> by dependabot[bot]</li> <li>Bump versions.junitJupiter from 5.7.0 to 5.7.1 [(<a href="https://github.com/mockito/mockito/issues/2199">#2199</a>)](<a href="https://github.com/mockito/mockito/pull/2199">mockito/mockito#2199</a>)</li> <li>Bump junit-platform-launcher from 1.7.0 to 1.7.1 [(<a href="https://github.com/mockito/mockito/issues/2198">#2198</a>)](<a href="https://github.com/mockito/mockito/pull/2198">mockito/mockito#2198</a>)</li> </ul> <h2>v3.7.14</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h4>3.7.14</h4> <ul> <li>2021-02-05 - <a href="https://github.com/mockito/mockito/compare/v3.7.13...v3.7.14">1 commit(s)</a> by dependabot[bot]</li> <li>Bump versions.junitJupiter from 5.7.0 to 5.7.1 [(<a href="https://github.com/mockito/mockito/issues/2199">#2199</a>)](<a href="https://github.com/mockito/mockito/pull/2199">mockito/mockito#2199</a>)</li> </ul> <h2>v3.7.13</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h4>3.7.13</h4> <ul> <li>2021-02-04 - <a href="https://github.com/mockito/mockito/compare/v3.7.11...v3.7.13">2 commit(s)</a> by dependabot[bot]</li> <li>Bump kotlin-stdlib from 1.4.21-2 to 1.4.30 [(<a href="https://github.com/mockito/mockito/issues/2196">#2196</a>)](<a href="https://github.com/mockito/mockito/pull/2196">mockito/mockito#2196</a>)</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
fbff840dcd |
Bump core from 0.5.0 to 0.13.0 (#2057)
Summary: Bumps [core](https://github.com/facebook/screenshot-tests-for-android) from 0.5.0 to 0.13.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/screenshot-tests-for-android/releases">core's releases</a>.</em></p> <blockquote> <h2>0.13.0</h2> <p><code>9e3b940</code> Tentative fix for <a href="https://github.com/facebook/screenshot-tests-for-android/issues/248">https://github.com/facebook/flipper/issues/248</a> (<a href="https://github.com/facebook/screenshot-tests-for-android/issues/249">https://github.com/facebook/flipper/issues/249</a>) <code>49676c1</code> Make accessibility info for the screenshot an optional value (<a href="https://github.com/facebook/screenshot-tests-for-android/issues/250">https://github.com/facebook/flipper/issues/250</a>)</p> <h2>0.12.0</h2> <p><code>2af0200</code> Update to AGP 3.6 <code>6dedde3</code> Update gradle + wrapper to 6.2.x <code>2b37d95</code> Add option to show screenshot difference in html report</p> <h2>0.11.0</h2> <p><code>e00973d</code> Remove use of indirect obsolete api usage <code>4116c6a</code> Updated Gradle to 5.6.2 <code>4885a0e</code> Replaced use of a deprecated Gradle API (<a href="https://github.com/facebook/screenshot-tests-for-android/issues/231">https://github.com/facebook/flipper/issues/231</a>) <code>de7f430</code> Adopt Contributor Covenant <code>e897fe8</code> Added failureDir to record differences when verifying screenshots (<a href="https://github.com/facebook/screenshot-tests-for-android/issues/225">https://github.com/facebook/flipper/issues/225</a>)</p> <h2>0.10.0</h2> <p><code>4e054b0</code> Add accessibility evaluation to detect focusable views without any text to announce. <code>25f3f4c</code> Force Litho to render in accessibility mode, and bump the metadata version number <code>a919928</code> Move over to AndroidX <code>fa4da40</code> Add AccessibilityUtil class with a data structure for the accessibility tree <code>db3ef4e</code> Add the concept of a version to the metadata JSON file <code>83d010d</code> Fix reference dir (<a href="https://github.com/facebook/screenshot-tests-for-android/issues/220">https://github.com/facebook/flipper/issues/220</a>) <code>0b9e8e9</code> Fix screenshots on Android 8.0 <code>2cb4718</code> Support setting max height and width <code>ff2a939</code> Fix <a href="https://github.com/facebook/screenshot-tests-for-android/issues/192">https://github.com/facebook/flipper/issues/192</a> ScreenshotsPluginExtension's addDeps parameter doesn't work <code>f98a24e</code> Expose max pixels so we can adjust our view size if we exceed it. <code>7826f9b</code> Zip up all the output screenshots so that the puller can pull them all at once</p> <h2>0.9.0</h2> <p><code>3983392</code> Loop over serials in ANDROID_SERIAL when pulling images (<a href="https://github.com/facebook/screenshot-tests-for-android/issues/140">https://github.com/facebook/flipper/issues/140</a>) (<a href="https://github.com/facebook/screenshot-tests-for-android/issues/214">https://github.com/facebook/flipper/issues/214</a>) <code>81c8c53</code> Fix display text in the output html of a screenshot test <code>c9a7646</code> Bump min sdk to 14 <code>f7a153c</code> Check for empty children when writing a hierarchy <code>76d8cd1</code> Make tests run on devices with KitKat and earlier <code>b9ea677</code> Add Accessibility Hierarchy to Screenshot Tests <code>8ef0e18</code> Handle absence of Play Services (<a href="https://github.com/facebook/screenshot-tests-for-android/issues/203">https://github.com/facebook/flipper/issues/203</a>) <code>fe98582</code> avoid the crash on processing an anonymous view (<a href="https://github.com/facebook/screenshot-tests-for-android/issues/200">https://github.com/facebook/flipper/issues/200</a>) <code>dcb5e39</code> detailed error propagation for screenshot tests <code>ded2077</code> Close ParcelFileDescriptor when done. (<a href="https://github.com/facebook/screenshot-tests-for-android/issues/195">https://github.com/facebook/flipper/issues/195</a>) <code>d02e224</code> Catch API errors when showing current images in reports <code>39b05df</code> Trigger onGlobalLayoutListener during screenshot tests <code>7609a80</code> View before images when running screenshot tests locally <code>7dba891</code> Correct multipleDevices flag default <code>0f14f96</code> Add setMaxPixels to RecordBuilder interface (<a href="https://github.com/facebook/screenshot-tests-for-android/issues/189">https://github.com/facebook/flipper/issues/189</a>)</p> <h2>0.8.0</h2> <p><code>1411308</code> Add language feature to device name calculator <code>fadd68c</code> Always use the same output directory for reports (<a href="https://github.com/facebook/screenshot-tests-for-android/issues/169">https://github.com/facebook/flipper/issues/169</a>)</p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/screenshot-tests-for-android/blob/master/CHANGELOG.md">core's changelog</a>.</em></p> <blockquote> <h2>0.13.0 (Jul 8 2020)</h2> <ul> <li>Made accessibility node information optional</li> <li>Bugfixes surrounding obtaining accessibility node information</li> </ul> <h2>0.12.0 (Mar 4 2020)</h2> <ul> <li>Added the ability to generate a diff between the old version of a screenshot and the new output in the html report. Currently only works with a configured test image API</li> <li>Added support for AGP 3.6 + Gradle 6.2.x</li> </ul> <h2>0.11.0 (Oct 17 2019)</h2> <ul> <li>Replaced direct usages of deprecated Gradle APIs</li> <li>Adopted the Contributor Covenant</li> <li>Added <code>failureDir</code> which saves the expected, actual and diff images of each failing test when verification fails.</li> </ul> <h2>0.10.0 (Jun 11 2019)</h2> <ul> <li>Added batch downloading of screenshot images instead of pulling individual files</li> <li>Added Accessibility hierarchy information</li> <li>Added ability to specify max sizes for images</li> <li>Fixed addDeps functionality parameter in the plugin</li> <li>Fixed referenceDir functionality in the plugin</li> <li>Fixed an issue on Samsung devices where a crash would occur when faking a WindowAttachment</li> <li>Migrated to AndroidX</li> </ul> <h2>0.9.0 (Apr 1 2019)</h2> <ul> <li>Added a setMaxPixels method to the record builder interface to allow for really large images</li> <li>Added an integration point to allow you to see a version of the given screenshot from a server provided service</li> <li>Fixed an issue where onGlobalLayoutListener wasn'nt being triggered properly</li> <li>Fixed an issue where a parcel file descriptor wasn't being closed</li> <li>Added the ability to dump the accessibility hierarchy</li> <li>Min SDK has been bumped to 14</li> <li>Added the ability to run tests on all connected targets</li> </ul> <h2>0.8.0 (Jul 30 2018)</h2> <ul> <li>Replaced androidTestApi with androidTestImplementation when adding in core dependency via the plugin</li> <li>Fixed a bug where requesting focus prior to being attached to a Window would crash</li> <li>Added the ability to customize the max pixel size restriction</li> <li>Moved generated report to build/ instead of /tmp</li> <li>Added language to the device name calculation for multiple devices</li> </ul> <h2>0.7.0 (Apr 19 2018)</h2> <ul> <li>Added the ability to retrieve the resulting Bitmap for custom use on your RecordBuilder</li> <li>Removed the runtime dependency on Dexmaker, this will resolve any issues of using frameworks such as Mockito in your screenshot tests</li> <li>Added a a check to fail when resultant screenshots are extremely large</li> <li>Rewrote the client plugin to provide screenshot test tasks per applicable variant</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
964131ee48 |
Bump core from 1.1.0 to 1.3.0 (#2003)
Summary: Bumps core from 1.1.0 to 1.3.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/2003 Reviewed By: mweststrate Differential Revision: D26980729 Pulled By: passy fbshipit-source-id: b4da7e300d582ba38e173f6f2b060fb312e9e610 |
||
|
|
a6262cf3f0 |
Bump infer-annotation from 0.11.2 to 0.18.0 (#2044)
Summary: Bumps [infer-annotation](https://github.com/facebook/infer) from 0.11.2 to 0.18.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/infer/releases">infer-annotation's releases</a>.</em></p> <blockquote> <h2>Infer version 0.17.0</h2> <p>This is a binary release of Infer for Linux and MacOS. To use it follow these <a href="http://fbinfer.com/docs/getting-started.html">instructions</a>.</p> <h4>Highlights:</h4> <ul> <li>There’s a new <code>--inefficient-keyset-iterator</code> checker for finding inefficient uses of Java's keyset iterators that retrieve both key and value (on by default).</li> <li>Complete the set of Android thread annotations and Java nullability annotations. Updated artifacts are available on <a href="https://search.maven.org/artifact/com.facebook.infer.annotation/infer-annotation/0.17.0/jar">Maven Central</a>.</li> <li><code>--starvation</code> is now on by default. This analysis catches problems with threads not being able to make progress due to locking issues, incorrect scheduling priorities, etc. For instance, on Android calling Future.get from a UiThread without a sensible timeout will be flagged as a starvation issue.</li> <li>New Objective-C linter for calls to <code>optional</code> methods: <code>UNSAFE_CALL_TO_OPTIONAL_METHOD</code>, enabled by default.</li> <li>A new call-graph scheduler (<code>--call-graph-schedule</code>) improves performance of the analysis phase of Infer, especially when the number of files to analyze is less than available CPUs.</li> <li>A new flag <code>--oom-threshold</code> allows to throttle the analysis when the amount of free memory is below the provided threshold.</li> <li>New genrule based Buck/Java integration is much faster than the previous one, use with <code>--genrule-master-mode</code>.</li> <li>Infer’s internal clang is now in version 8.0.0.</li> <li>Update to javalib 3.1 provides better compatibility with Java 9 and Java 11. Refer to <a href="https://github.com/javalib-team/javalib/blob/master/CHANGELOG">their change log</a> for more details.</li> <li>Infer can now be built and run on MacOS Mojave without fiddling with <code>SDKROOT</code> (although you still might need it with non-standard toolchain setup).</li> <li>[β] <strong>Pulse</strong> is a new experimental lifetime analysis for C++, give it a try with <code>--pulse</code>. Beware that it doesn’t report much yet.</li> <li><code>--ownership</code> checker was superseded by Pulse and removed.</li> </ul> <p>... and many other fixes and improvements. For the full list of changes included see <a href="https://github.com/facebook/infer/compare/v0.16.0...v0.17.0">here</a>.</p> <p>The facebook-clang-plugins version used for this release is <a href="https://github.com/facebook/facebook-clang-plugins/commit/9386890e42043d04f9">https://github.com/facebook/facebook-clang-plugins/commit/9386890e42043d04f9</a> cd9e7b204cb525d4417c41.</p> <p>The sha256 checksums of the tarballs are:</p> <pre><code>$ shasum -a 256 infer-*-v0.17.0.tar.xz de972ba3043f18b29a8eff6cd7612e24f5ffaef038dc7949befeaf490931725e infer-linux64-v0.17.0.tar.xz 1a3ef6fb51846ae63ffd7fde3b0255f75bab6157f5de1842606fa32988d101f8 infer-osx-v0.17.0.tar.xz </code></pre> <h2>Infer version 0.16.0</h2> <p>This is a binary release of Infer for Linux and MacOS. To use it follow these <a href="http://fbinfer.com/docs/getting-started.html">instructions</a>.</p> <p>It's been a long time since the previous release, here are some new features and improvements you can find in this new release:</p> <p>Backend analyses:</p> <ul> <li>A brand new analysis to compute the runtime cost of methods and functions: passing <code>--cost</code> (off by default) to Infer will output a costs-report.json file describing, among others, the computational complexity of each function in the code using the big-O notation, eg <code>O(1)</code>, <code>O(list.length)</code>, ...</li> <li>The deadlock detection analysis has been ported to C++ and Objective-C and mainly focuses on self-deadlocks (taking a mutex twice). Activate with <code>--starvation</code> (off by default).</li> <li>The data race detector RacerD has been ported to Objective-C and detects races on fields protected by a C++ mutex. It reports "Thread Safety Violation" and "GuardedBy Violation" errors on Java and "Lock Consistency Violation" on C++ and Objective-C. Activate with <code>--racerd</code> (on by default).</li> <li>A progress bar is displayed while the analysis is running</li> <li>Countless improvements and tweaks, in particular in RacerD and in analyses for C++.</li> </ul> <p>Frontends:</p> <ul> <li>Infer now ships with clang version 7.0.1</li> <li>Support for Java up to version 11</li> </ul> <p>The sha256 checksums of the tarballs are:</p> <pre><code></tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/infer/blob/master/Changelog.md">infer-annotation's changelog</a>.</em></p> <blockquote> <h2>Version 0.17.0</h2> <ul> <li>There's a new <code>--inefficient-keyset-iterator</code> checker for finding inefficient uses of Java's keyset iterators that retrieve both key and value (on by default).</li> <li>Complete the set of Android thread annotations and Java nullability annotations. Updated artifacts are available on <a href="https://search.maven.org/artifact/com.facebook.infer.annotation/infer-annotation/0.17.0/jar">Maven Central</a>.</li> <li><code>--starvation</code> is now on by default. This analysis catches problems with threads not being able to make progress due to locking issues, incorrect scheduling priorities, etc. For instance, on Android calling Future.get from a UiThread without a sensible timeout will be flagged as a starvation issue.</li> <li>New Objective-C linter for calls to <code>optional</code> methods: <code>UNSAFE_CALL_TO_OPTIONAL_METHOD</code>, enabled by default.</li> <li>A new call-graph scheduler (<code>--call-graph-schedule</code>) improves performance of the analysis phase of Infer, especially when the number of files to analyze is less than available CPUs.</li> <li>A new flag <code>--oom-threshold</code> allows to throttle the analysis when the amount of free memory is below the provided threshold.</li> <li>New genrule based Buck/Java integration is much faster than the previous one, use with <code>--genrule-master-mode</code>.</li> <li>Infer's internal clang is now in version 8.0.0.</li> <li>Update to javalib 3.1 provides better compatibility with Java 9 and Java 11. Refer to <a href="https://github.com/javalib-team/javalib/blob/master/CHANGELOG">their change log</a> for more details.</li> <li>Infer can now be built and run on MacOS Mojave without fiddling with <code>SDKROOT</code> (although you still might need it with non-standard toolchain setup).</li> <li>[β] <strong>Pulse</strong> is a new experimental lifetime analysis for C++, give it a try with <code>--pulse</code>. Beware that it doesn't report much yet.</li> <li><code>--ownership</code> checker was superseded by Pulse and removed.</li> </ul> <h2>Version 0.16.0</h2> <p>Backend analyses:</p> <ul> <li>A brand new analysis to compute the runtime cost of methods and functions: passing <code>--cost</code> (off by default) to Infer will output a costs-report.json file describing, among others, the computational complexity of each function in the code using the big-O notation, eg <code>O(1)</code>, <code>O(list.length)</code>, ...</li> <li>The deadlock detection analysis has been ported to C++ and Objective-C and mainly focuses on self-deadlocks (taking a mutex twice). Activate with <code>--starvation</code> (off by default).</li> <li>The data race detector RacerD has been ported to Objective-C and detects races on fields protected by a C++ mutex. It reports "Thread Safety Violation" and "GuardedBy Violation" errors on Java and "Lock Consistency Violation" on C++ and Objective-C. Activate with <code>--racerd</code> (on by default).</li> <li>A progress bar is displayed while the analysis is running</li> <li>Countless improvements and tweaks, in particular in RacerD and in analyses for C++.</li> </ul> <p>Frontends:</p> <ul> <li>Infer now ships with clang version 7.0.1</li> <li>Support for Java up to version 11</li> </ul> <h2>Version 0.15.0</h2> <ul> <li>switch infer license to MIT</li> <li>publish binaries</li> <li>[clang] lots of improvements to the frontend</li> </ul> <h2>Version 0.14.0</h2> <ul> <li>New checker: <code>--ownership</code> detects a subset of use-after-free issues due to bad manual memory management. This is a rough prototype of Rust-style borrow checker for C++. (enabled by default, C++)</li> <li>New checker: <code>--uninit</code> detects uses of uninitialized values (enabled by default, C/C++/Objective-C)</li> <li>New checker: <code>--racerd</code> now also detects inconsistent lock usage in C++. Also improved the lock domain to reduce false positives for all languages.</li> <li>Improved C++ support: destructors are now properly translated; addresses and pointers are handled more precisely</li> <li>Improved retain cycles detection (Objective-C)</li> <li>Upgraded the internal clang to clang 7</li> <li>[internal] SQLite is being used to store some of infer's analysis artefacts instead of storing them in files on disk. This improves analysis speed and reduces load on the OS.</li> </ul> <h2>Version 0.13.1</h2> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/facebook/infer/commits/infer-annotation-0.18.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/2044 Reviewed By: nikoant Differential Revision: D26947169 Pulled By: passy fbshipit-source-id: 2158ae6518094e8521f3a2c21f9e62bb6bb8dacf |
||
|
|
1d7cfe3d22 |
Bump runtime from 1.0.0 to 1.0.1 (#2039)
Summary: Bumps runtime from 1.0.0 to 1.0.1. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/2039 Reviewed By: nikoant Differential Revision: D26947198 Pulled By: passy fbshipit-source-id: 235c48595cdd367479155d081f466f1859108706 |
||
|
|
11f7af3e72 |
Bump robolectric from 4.4 to 4.5.1 (#2038)
Summary: Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.4 to 4.5.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/robolectric/robolectric/releases">robolectric's releases</a>.</em></p> <blockquote> <h2>Robolectric 4.5.1</h2> <p>This is a minor release that fixes a regression in 4.5 and removes some superfluous print statements. See <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6187">robolectric/robolectric#6187</a> and <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6177">robolectric/robolectric#6177</a> respectively for more details.</p> <p>Robolectric 4.5 adds support for Android API 30 (R final) and contains many bug fixes and other enhancements.</p> <p>More detailed release notes are forthcoming.</p> <p>For all changes view the <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.4...robolectric-4.5">comparison to 4.4</a>.</p> <h2>Use Robolectric:</h2> <pre lang="groovy"><code>testCompile "org.robolectric:robolectric:4.5" </code></pre> <h2>Robolectric 4.5 Beta 1</h2> <p><em><strong>NOTE</strong>: Robolectric 4.5-beta-1 is a outdated preview release; please use <a href="https://github.com/robolectric/robolectric/releases/tag/robolectric-4.5">4.5</a> or later instead.</em></p> <h2>Robolectric 4.5 Alpha 3</h2> <p><em><strong>NOTE</strong>: Robolectric 4.5-alpha-3 is a outdated preview release; please use <a href="https://github.com/robolectric/robolectric/releases/tag/robolectric-4.5">4.5</a> or later instead.</em></p> <h2>Robolectric 4.5 Alpha 2</h2> <p><em><strong>NOTE</strong>: Robolectric 4.5-alpha-2 is a outdated preview release; please use <a href="https://github.com/robolectric/robolectric/releases/tag/robolectric-4.5">4.5</a> or later instead.</em></p> <h2>Robolectric 4.5 Alpha 1</h2> <p><em><strong>NOTE</strong>: Robolectric 4.5-alpha-1 is a outdated preview release; please use <a href="https://github.com/robolectric/robolectric/releases/tag/robolectric-4.5">4.5</a> or later instead.</em></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
07defebb22 |
Bump hamcrest-library from 1.3 to 2.2 (#2041)
Summary: Bumps [hamcrest-library](https://github.com/hamcrest/JavaHamcrest) from 1.3 to 2.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hamcrest/JavaHamcrest/releases">hamcrest-library's releases</a>.</em></p> <blockquote> <h2>hamcrest-java-2.2</h2> <h3>Improvements</h3> <ul> <li>AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue <a href="https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/245">https://github.com/facebook/flipper/issues/245</a>](<a href="https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/245">hamcrest/JavaHamcrest#245</a>))</li> <li>Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue <a href="https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256">https://github.com/facebook/flipper/issues/256</a>](<a href="https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/256">hamcrest/JavaHamcrest#256</a>), [Issue <a href="https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257">https://github.com/facebook/flipper/issues/257</a>](<a href="https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/257">hamcrest/JavaHamcrest#257</a>))</li> <li>AssertionError message is unhelpful when match fails for byte type ([Issue <a href="https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254">https://github.com/facebook/flipper/issues/254</a>](<a href="https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/254">hamcrest/JavaHamcrest#254</a>), [Issue <a href="https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255">https://github.com/facebook/flipper/issues/255</a>](<a href="https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/255">hamcrest/JavaHamcrest#255</a>))</li> <li>Use platform specific line breaks ([PR <a href="https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/267">https://github.com/facebook/flipper/issues/267</a>](<a href="https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/267">hamcrest/JavaHamcrest#267</a>))</li> <li>Build now checks for consistent use of spaces ([PR <a href="https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/217">https://github.com/facebook/flipper/issues/217</a>](<a href="https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/pull/217">hamcrest/JavaHamcrest#217</a>))</li> </ul> <h3>Bugfixes</h3> <ul> <li>Fix compatibility issue for development with Android D8 ( |
||
|
|
2af4c4e141 |
Bump guava from 20.0 to 23.0 (#2034)
Summary: Bumps [guava](https://github.com/google/guava) from 20.0 to 23.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/guava/releases">guava's releases</a>.</em></p> <blockquote> <h2>23.0</h2> <p>Final <a href="https://github.com/google/guava/wiki/Release23">Guava 23.0</a> release.</p> <h2>23.0-rc1</h2> <p>First <a href="https://github.com/google/guava/wiki/Release23">Guava 23.0</a> release candidate.</p> <h2>22.0</h2> <p>Final <a href="https://github.com/google/guava/wiki/Release22">Guava 22.0</a> release.</p> <h2>22.0-rc1</h2> <p>First release candidate for <a href="https://github.com/google/guava/wiki/Release22">Guava 22.0</a>.</p> <h2>21.0</h2> <p>Final <a href="https://github.com/google/guava/wiki/Release21">Guava 21.0</a> release.</p> <p>This release requires Java 8.</p> <h2>21.0-rc2</h2> <p>Second release candidate for <a href="https://github.com/google/guava/wiki/Release21">Guava 21.0</a>.</p> <p>This release candidate fixes a small issue with rc1; a number of methods that create <code>Collector</code>s took Guava's functional types (e.g. <code>base.Function</code>) as parameters rather than the <code>java.util.function</code> equivalent.</p> <p>This release requires Java 8.</p> <h2>21.0-rc1</h2> <p>First release candidate for <a href="https://github.com/google/guava/wiki/Release21">Guava 21.0</a>.</p> <p>This release requires Java 8.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
1f19f69356 |
Bump espresso-core from 3.1.0 to 3.3.0 (#2004)
Summary: Bumps espresso-core from 3.1.0 to 3.3.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/2004 Reviewed By: fabiomassimo Differential Revision: D26888849 Pulled By: passy fbshipit-source-id: 06752c640ffacc9fd6dfbd0bd671c2d71f1dd9b2 |
||
|
|
19130ff5ab |
Bump de.undercouch.download from 4.0.1 to 4.1.1 (#2032)
Summary: Bumps de.undercouch.download from 4.0.1 to 4.1.1. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/2032 Reviewed By: mweststrate Differential Revision: D26889090 Pulled By: passy fbshipit-source-id: 7b95fddbdfa18fbce28654273b8a0eb2ebf96eb3 |
||
|
|
b8d54aa1a4 |
Bump okhttp from 3.14.1 to 4.9.1 (#2006)
Summary: Bumps [okhttp](https://github.com/square/okhttp) from 3.14.1 to 4.9.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/square/okhttp/blob/master/CHANGELOG.md">okhttp's changelog</a>.</em></p> <blockquote> <h2>Version 4.9.1</h2> <p><em>2021-01-30</em></p> <ul> <li>Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads concurrently close an SSL socket. This would have appeared in crash logs as <code>NullPointerException: bio == null</code>.</li> </ul> <h2>Version 4.9.0</h2> <p><em>2020-09-11</em></p> <p><strong>With this release, <code>okhttp-tls</code> no longer depends on Bouncy Castle and doesn't install the Bouncy Castle security provider.</strong> If you still need it, you can do it yourself:</p> <pre><code>Security.addProvider(BouncyCastleProvider()) </code></pre> <p>You will also need to configure this dependency:</p> <pre><code>dependencies { implementation "org.bouncycastle:bcprov-jdk15on:1.65" } </code></pre> <ul> <li>Upgrade: [Kotlin 1.4.10][kotlin_1_4_10]. We now use Kotlin 1.4.x [functional interfaces][fun_interface] for <code>Authenticator</code>, <code>Interceptor</code>, and others.</li> <li>Upgrade: Build with Conscrypt 2.5.1.</li> </ul> <h2>Version 4.8.1</h2> <p><em>2020-08-06</em></p> <ul> <li>Fix: Don't crash in <code>HeldCertificate.Builder</code> when creating certificates on older versions of Android, including Android 6. We were using a feature of <code>SimpleDateFormat</code> that wasn't available in those versions!</li> </ul> <h2>Version 4.8.0</h2> <p><em>2020-07-11</em></p> <ul> <li>New: Change <code>HeldCertificate.Builder</code> to use its own ASN.1 certificate encoder. This is part of our effort to remove the okhttp-tls module's dependency on Bouncy Castle. We think Bouncy Castle is great! But it's a large dependency (6.5 MiB) and its security provider feature impacts VM-wide behavior.</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
3aa39b5207 |
Bump rules from 1.1.0 to 1.3.0 (#2033)
Summary: Bumps rules from 1.1.0 to 1.3.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/2033 Reviewed By: mweststrate Differential Revision: D26889135 Pulled By: passy fbshipit-source-id: 9dd7cff0596ca4013ae3fb101e18ae57cb163cf2 |
||
|
|
c82313b161 |
Bump runner from 1.1.0 to 1.3.0 (#2002)
Summary: Bumps runner from 1.1.0 to 1.3.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/2002 Reviewed By: fabiomassimo Differential Revision: D26888790 Pulled By: passy fbshipit-source-id: 96d063493c01ab93088bd3906100173333480d71 |
||
|
|
c60c98df5d |
Remove jcenter plugin (#2001)
Summary: Closes https://github.com/facebook/flipper/pull/2001 Pull Request resolved: https://github.com/facebook/flipper/pull/2036 Test Plan: - ./gradle :android:assembleDebug - CI Reviewed By: fabiomassimo Differential Revision: D26888718 Pulled By: passy fbshipit-source-id: ea59c6e51bda176f479d420b9955c994fea770bc |
||
|
|
adb31a093a |
Bump constraintlayout from 1.1.2 to 2.0.4 (#2005)
Summary: Bumps constraintlayout from 1.1.2 to 2.0.4. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/2005 Reviewed By: fabiomassimo Differential Revision: D26888882 Pulled By: passy fbshipit-source-id: 8c2f87193b72a965cd629aeaa88536376ca6e4d2 |
||
|
|
7e884cba26 |
Bump stetho from 2.2.0 to 2.4.0 (#2008)
Summary: Bumps [stetho](https://github.com/facebook/fresco) from 2.2.0 to 2.4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/fresco/releases">stetho's releases</a>.</em></p> <blockquote> <h2>Version 2.4.0</h2> <p>No release notes provided.</p> <h2>Version 2.3.0</h2> <h1>Highlights</h1> <ul> <li> <p><strong>Bumped Fresco's minSdk to 14.</strong> We did not remove any Gingerbread-specific code yet, but will do so soon. 091e8b7c4cd11a6cc5b535dd84d8e21a1e243ac0</p> </li> <li> <p>Proper nullability annotations for some classes by using new Infer annotations - this improves Kotlin support and null-safety.</p> </li> <li> <p>Improved Java-only Fresco setup. 4a9961559c8240cbb88eeecf2303f956d0185120</p> </li> <li> <p>Lots of debug logging improvements: More reliable image origin, new MEMORY_BITMAP_SHORTCUT origin, more debug information available. These are available via <code>ImagePerfData#getExtraData()</code></p> </li> <li> <p>Added experimental option to recover from OOMs: f43d5990600c9ac6c3a18e14e4d3c260cf78b462</p> </li> <li> <p>Added option to force a single image pipeline instance: 5f5c076fe26b17a849498c27c7541550c3ef3984</p> </li> <li> <p>Disk cache support for the Fresco Flipper images plugin.</p> </li> <li> <p>Bumped SoLoader version to 0.9.0.</p> </li> <li> <p>Use <code>buildSrc</code> for Fresco's internal dependency management.</p> </li> <li> <p>WIP: Lots of improvements for our new Fresco Vito UI components.</p> </li> </ul> <p>Pull requests:</p> <ul> <li>Fixed resource leak problem while using BlurPostProcessor. Thanks <a href="https://github.com/FrancescoJo"><code>@FrancescoJo</code></a> for the PR.</li> <li>Make sure there is at least one overlay in GenericDraweeHierarchy. Thanks <a href="https://github.com/dengweichao"><code>@dengweichao</code></a> for the PR.</li> <li>Removed unused padding value. Thanks <a href="https://github.com/erenulas"><code>@erenulas</code></a> for the PR.</li> </ul> <h1>Cleanup</h1> <ul> <li>Removed Drawee-Volley module. If you're using Drawee-Volley, you can still continue using it by just copying the files removed with 7c2517edee7d4080fab0daf54fd4ac4eca6a8497 into your project. We did not significantly change these in a long time, so this has been stable.</li> <li>Removed OkHttp2 image pipeline artifact. See deba7d1c3c218377a5b67e58f269914d8f8a88be</li> </ul> <p>Full changelog: <a href="https://github.com/facebook/fresco/compare/v2.2.0...v2.3.0">https://github.com/facebook/fresco/compare/v2.2.0...v2.3.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
dd76279caf |
Bump fresco from 2.2.0 to 2.4.0 (#2009)
Summary: Bumps [fresco](https://github.com/facebook/fresco) from 2.2.0 to 2.4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/fresco/releases">fresco's releases</a>.</em></p> <blockquote> <h2>Version 2.4.0</h2> <p>No release notes provided.</p> <h2>Version 2.3.0</h2> <h1>Highlights</h1> <ul> <li> <p><strong>Bumped Fresco's minSdk to 14.</strong> We did not remove any Gingerbread-specific code yet, but will do so soon. 091e8b7c4cd11a6cc5b535dd84d8e21a1e243ac0</p> </li> <li> <p>Proper nullability annotations for some classes by using new Infer annotations - this improves Kotlin support and null-safety.</p> </li> <li> <p>Improved Java-only Fresco setup. 4a9961559c8240cbb88eeecf2303f956d0185120</p> </li> <li> <p>Lots of debug logging improvements: More reliable image origin, new MEMORY_BITMAP_SHORTCUT origin, more debug information available. These are available via <code>ImagePerfData#getExtraData()</code></p> </li> <li> <p>Added experimental option to recover from OOMs: f43d5990600c9ac6c3a18e14e4d3c260cf78b462</p> </li> <li> <p>Added option to force a single image pipeline instance: 5f5c076fe26b17a849498c27c7541550c3ef3984</p> </li> <li> <p>Disk cache support for the Fresco Flipper images plugin.</p> </li> <li> <p>Bumped SoLoader version to 0.9.0.</p> </li> <li> <p>Use <code>buildSrc</code> for Fresco's internal dependency management.</p> </li> <li> <p>WIP: Lots of improvements for our new Fresco Vito UI components.</p> </li> </ul> <p>Pull requests:</p> <ul> <li>Fixed resource leak problem while using BlurPostProcessor. Thanks <a href="https://github.com/FrancescoJo"><code>@FrancescoJo</code></a> for the PR.</li> <li>Make sure there is at least one overlay in GenericDraweeHierarchy. Thanks <a href="https://github.com/dengweichao"><code>@dengweichao</code></a> for the PR.</li> <li>Removed unused padding value. Thanks <a href="https://github.com/erenulas"><code>@erenulas</code></a> for the PR.</li> </ul> <h1>Cleanup</h1> <ul> <li>Removed Drawee-Volley module. If you're using Drawee-Volley, you can still continue using it by just copying the files removed with 7c2517edee7d4080fab0daf54fd4ac4eca6a8497 into your project. We did not significantly change these in a long time, so this has been stable.</li> <li>Removed OkHttp2 image pipeline artifact. See deba7d1c3c218377a5b67e58f269914d8f8a88be</li> </ul> <p>Full changelog: <a href="https://github.com/facebook/fresco/compare/v2.2.0...v2.3.0">https://github.com/facebook/fresco/compare/v2.2.0...v2.3.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
96d4e8f0f2 |
Bump junit from 4.12 to 4.13.2 (#2007)
Summary: Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/junit-team/junit4/releases">junit's releases</a>.</em></p> <blockquote> <h2>JUnit 4.13.2</h2> <p>Please refer to the <a href="https://github.com/junit-team/junit/blob/HEAD/doc/ReleaseNotes4.13.2.md">release notes</a> for details.</p> <h2>JUnit 4.13.1</h2> <p>Please refer to the <a href="https://github.com/junit-team/junit/blob/HEAD/doc/ReleaseNotes4.13.1.md">release notes</a> for details.</p> <h2>JUnit 4.13</h2> <p>Please refer to the <a href="https://github.com/junit-team/junit/blob/HEAD/doc/ReleaseNotes4.13.md">release notes</a> for details.</p> <h2>JUnit 4.13 RC 2</h2> <p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p> <h2>JUnit 4.13 RC 1</h2> <p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p> <h2>JUnit 4.13 Beta 3</h2> <p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p> <h2>JUnit 4.13 Beta 2</h2> <p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p> <h2>JUnit 4.13 Beta 1</h2> <p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
6af041454a |
Upgrade to FBJNI 0.2 (#1999)
Summary: This should fix https://github.com/facebook/flipper/issues/1968 Pull Request resolved: https://github.com/facebook/flipper/pull/1999 Test Plan: Built our sample app; built the sample app provided in the repo as part of the issue; locally released the Flipper artifacts and built the RN app against it. Reviewed By: fabiomassimo Differential Revision: D26817589 Pulled By: passy fbshipit-source-id: c6db5f947c08e4236442b08306791e45b4d15ec3 |
||
|
|
4d8be35d1a |
Add plugin for LeakCanary 2 (#1959)
Summary: Add plugin for LeakCanary 2 as requested various times: https://github.com/facebook/flipper/issues/1379 https://github.com/facebook/flipper/issues/832 https://github.com/square/leakcanary/issues/1777 ## Changelog * Adds a leakcanary2 plugin for Android * Adds support for leakcanary2 to existing desktop plugin Pull Request resolved: https://github.com/facebook/flipper/pull/1959 Test Plan: * Docs updated to show new implementation * Should old leakcanary plugin in sample be replaced? Reviewed By: mweststrate Differential Revision: D26691637 Pulled By: passy fbshipit-source-id: 5e236fa6cc124f0720a6b21b5ee7c117ccf96fbf |
||
|
|
3f16da4db0 |
Upgrade gradle plugin (#1936)
Summary: Upgraded to the latest Android Studio and this popped up. Pull Request resolved: https://github.com/facebook/flipper/pull/1936 Test Plan: Built the sample app. Repro'd the previous build failure. Weirdly enough, this only occurred on Linux, not on my Mac. Now it's passing. Reviewed By: mweststrate Differential Revision: D26483694 Pulled By: passy fbshipit-source-id: 9c27eb6d28a0f390154899d67469a504d68c2ad4 |
||
|
|
b25de27b8a |
Move bolts dependencies to Fresco plugin (#1937)
Summary: Fixes https://github.com/facebook/flipper/issues/1919 Somehow the diff author put the dependencies in the root `build.gradle`, which is unnecessary as this is only used by Fresco. Pull Request resolved: https://github.com/facebook/flipper/pull/1937 Test Plan: Built the sample app, checked that the Fresco stuff continues to work.  Reviewed By: mweststrate Differential Revision: D26483701 Pulled By: passy fbshipit-source-id: 88f056ed0897f2c00844e02721eb45d5b85c6908 |
||
|
|
fe3a6bd55e |
Bump maven release gradle plugin
Summary: This includes some improvements to the closing process, which is quite important for us. Reviewed By: mweststrate Differential Revision: D26452587 fbshipit-source-id: 533e97148160c4f15da52e31fbe8b136ab884e0b |
||
|
|
87d7bcf274 |
Remove JCenter specifics (#1914)
Summary: This removes Bintray/JCenter specific code and replaces it with a new plugin recommended by [Chris Banes](https://chris.banes.dev/publishing-to-maven-central/). Pull Request resolved: https://github.com/facebook/flipper/pull/1914 Test Plan: Manually uploaded as snapshot and full release, but with this setup still requires all sorts of manual setup, including GPG. Next PR will include automation for this. CI here should also verify that I didn't split this diff up incorrectly. Reviewed By: jknoxville Differential Revision: D26367350 Pulled By: passy fbshipit-source-id: faa6b488d6c95bc643d2f9328362e29fb4b05ded |
||
|
|
118cb7e9ff |
Update to SoLoader 0.10.1
Summary: Used this to find out that my 0.10 release was borked but this one works. This doesn't require any code changes because we're already using the equivalent of 0.10.1 internally through the mono repo. Changelog: Update to SoLoader 0.10.1 Reviewed By: nikoant Differential Revision: D26148652 fbshipit-source-id: 7d8c2bc8d8dfaca7118d240bd365be08948e4623 |
||
|
|
0b2e5f6454 |
Upgrade Robolectric from 4.3.1 -> 4.4
Summary: Changelog: [Internal] Reviewed By: jiawei-lyu Differential Revision: D23718455 fbshipit-source-id: 39c684722db1269e2179cf9680cb728be1171afb |
||
|
|
7acdfc196f |
Depend on litho-editor-flipper
Summary: FlipperEditor has migrated to `litho-editor-flipper`, so this diff fixes the dependency tree and deletes the file. Reviewed By: muraziz Differential Revision: D23380023 fbshipit-source-id: 75f5f037dc392194212fc156499f090c381999bd |
||
|
|
ddc9c3e243 |
Back out "Back out "[flipper][PR] Use interface SupportSQLiteDatabase in Android Databases Plugin""
Summary: jknoxville helped me debug this. The underlying problem was that we didn't include a dependency which is transitive in gradle land. We swallowed the exception and just returned an empty list. I left an error log in there to make future debugging easier. For reference, this was the error: Reviewed By: cekkaewnumchai Differential Revision: D23759727 fbshipit-source-id: 244510d2765913bf4c89458e336889c3c6838fc4 |
||
|
|
bb176577e9 |
Back out "Use interface SupportSQLiteDatabase in Android Databases Plugin"
Summary: This broke DB opening in FB apps. Will try to fix and reland this, but need to unblock people first. Reviewed By: cekkaewnumchai Differential Revision: D23705962 fbshipit-source-id: 3c9ff3a74e5a6d34e6cb2c75e7e2cec749b5a60e |
||
|
|
7a7a88bfde |
Use interface SupportSQLiteDatabase in Android Databases Plugin (#1196)
Summary: This change will allow to use various SQLiteDatabase implementations: standard Android implementation, [requery/sqlite-android](https://github.com/requery/sqlite-android) and so on. See issue https://github.com/facebook/flipper/issues/1183 ## Changelog Android Databases Plugin: `SqliteDatabaseConnectionProvider` returns `SupportSQLiteDatabase` instead of `SQLiteDatabase`. Pull Request resolved: https://github.com/facebook/flipper/pull/1196 Test Plan: Check that Databases Plugin shows correct data on the sample Android application. Reviewed By: mweststrate Differential Revision: D23294272 Pulled By: passy fbshipit-source-id: c07ebeb869ab01d41281f75541cbb3411f0ebae0 |
||
|
|
10f9a48540 |
Wire Editor to Flipper
Summary: This diff implements the integration between a Litho Editor and Flipper. It does so by converting the Editor format to FlipperObject, and then converting it back from FlipperDynamic. This conversion works for both `State` and `Prop`. We already provide default implementations for primitive + wrapped types and String, so the functionality should match the existing one. Reviewed By: passy, Katalune Differential Revision: D22455220 fbshipit-source-id: f7f633765f3d997ce6de09d2c1277019e72c0802 |
||
|
|
74c9f8ea33 |
Upgrade gradle and gradle plugin (#1327)
Summary: Android Studio is on 4.0 now, we need the plugin for proper support. Pull Request resolved: https://github.com/facebook/flipper/pull/1327 Test Plan: Synced and build with it. Reviewed By: nikoant Differential Revision: D22356268 Pulled By: passy fbshipit-source-id: 63c7b727e9a0eaaea7beed1f9819c1e2d15a0ff4 |
||
|
|
e6b7c9a346 |
Migrate Sonar Android tests (#1045)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/1045 Reviewed By: passy Differential Revision: D21181354 fbshipit-source-id: ddc329f8bafd5890b7428642d32f7f62e1d499ad |
||
|
|
7fdcbdcd59 |
Bump SoLoader to 0.9.0
Summary: Released the new version today: https://github.com/facebook/SoLoader/releases/tag/v0.9.0 Reviewed By: jknoxville Differential Revision: D21061477 fbshipit-source-id: c19147f6a28641cd2f23536a56750b27cc195435 |
||
|
|
59ac58466c |
Update Android deps (#999)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/999 Pritesh reminded me of this. Just some of the basics, the plugin itself for simpler dep updates, Kotlin, NDK (as the one referenced wasn't even installed on my laptop anymore), Litho. Reviewed By: jknoxville Differential Revision: D20946199 fbshipit-source-id: 85ee57ef239ab219af3f07d90c121f3ab8b5f9b9 |
||
|
|
99a4884fad |
Bump Gradle plugin to 3.6.1 (#958)
Summary: This is in line with the most recent stable Android Studio Release. Pull Request resolved: https://github.com/facebook/flipper/pull/958 Test Plan: Used it myself. Open Source CI required a higher NDK, so let's first check what CI says to that internally now. Reviewed By: jknoxville Differential Revision: D20794634 Pulled By: passy fbshipit-source-id: c32f934634b036ad3c1cad9fc49541e585d64329 |
||
|
|
57c573d973 |
Add disk cache support for Images plugin
Summary: Tracks images in disk cache. It seems performant even with 500+ images in disk cache. Sidebar displays the local path for an image when that image is selected. Shows total size of images in disk cache. 'Clear Cache' clears the disk cache. For now we unpack the async cache request in the plugin, should implement a `getSync()` method on `bufferedDiskCache` in the future. For some reason Flipper doesn't work with a blocking call (https://fburl.com/smj0s4li). Reviewed By: defHLT Differential Revision: D20001062 fbshipit-source-id: 1e7a7900e9f42d05e3bf30472e57cd643caa5aca |
||
|
|
9f899c7026 |
Upgrade to SoLoader 0.8.2
Summary: No changes that should impact us in any way. Reviewed By: priteshrnandgaonkar Differential Revision: D19856578 fbshipit-source-id: 35113b4b9e56b6c0b09681ac5649705cf840f60c |
||
|
|
48d6ea4c30 |
Remove stetho (#762)
Summary: ## Summary Resolves https://github.com/facebook/flipper/issues/607 This removes stetho dependencies directly in favor of just copying in the used classes. This removes the last non-androidx dependency from the project, and is useful as stetho appears to be unmaintained. The fresco stetho dependency appeared to be completely unused. ## Changelog Remove stetho dependencies. It was unused other than a few utility methods, but came at the cost of preventing Flipper consumers from completely removing dependencies that hadn't updated to Androidx yet. Pull Request resolved: https://github.com/facebook/flipper/pull/762 Test Plan: Existing tests still pass with no regressions. Functionally this should be no difference. Reviewed By: jknoxville Differential Revision: D19577969 Pulled By: passy fbshipit-source-id: b277ddf97a9d2c846dd0b9227c02bb46c1ecd930 |
||
|
|
0dd7c277d4 |
Bump gradle download library
Summary: https://github.com/michel-kraemer/gradle-download-task#migrating-from-version-3x-to-4x Major release but we're not affected by any of the changes, could use some of those in CI though. Reviewed By: jknoxville Differential Revision: D18394402 fbshipit-source-id: 89773776a11ad0c0d5ff8eb8875eb06546e43072 |
||
|
|
96049d43a5 |
Bump gradle plugin
Summary: To match latest stable Android Studio. Reviewed By: jknoxville Differential Revision: D18347347 fbshipit-source-id: fd1d4111b34bc8a00f0c0ee5cfe4636fb20f8d41 |
||
|
|
54ebb44dda |
Tidy up Flipper license headers [2/2]
Reviewed By: passy Differential Revision: D17863710 fbshipit-source-id: 5b249bdd1c06d3a526b250b035b797d0c8e796eb |
||
|
|
9af2030b43 |
Bump SoLoader dependency
Summary: 0.8.0 is required for compatibility of our sample app with new fbjni. Reviewed By: jknoxville Differential Revision: D17547812 fbshipit-source-id: 5ad98fe5629cd63be8a253c881e20e8df4d0df74 |
||
|
|
8c519abc7e |
Upgrade to fbjni 0.2.0 (#557)
Summary: This is now published to Maven Central and doesn't require a separate repository. Pull Request resolved: https://github.com/facebook/flipper/pull/557 Test Plan: CI Reviewed By: danielbuechele Differential Revision: D17526448 Pulled By: passy fbshipit-source-id: 169b5bc5f6568d40697e5e48a9873f8a64bd5e00 |
||
|
|
96d5e3ceff |
Bump gradle version
Summary: Android Studio asked me to. Reviewed By: danielbuechele Differential Revision: D17501199 fbshipit-source-id: 4e57fad00c2b92ff04909d21474f3869d9adedc1 |
||
|
|
a884f1a4ac |
Bump Android SDK to 29 (#547)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/547 Only affecting the Gradle/Open Source build. Reviewed By: danielbuechele Differential Revision: D17394866 fbshipit-source-id: 0bb77847173018a27b7552407b1d5dce10f52d0d |
||
|
|
4544c4fff1 |
Remove vendored copy of fbjni (#530)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/530 Use the pre-release of fbjni instead of our bundled copy. I hope this can be made a little less awkward, but it works for now. Reviewed By: jknoxville Differential Revision: D16988077 fbshipit-source-id: 936e414f9b2bf82ccb54b107228d79d01acdbf14 |
||
|
|
2fac83420b |
Prepare for Litho annotation removal
Summary: Without this, our build will break with the next Litho release because the `DoNotStrip` annotation will no longer be exported as part of `litho-annotations`. Reviewed By: jknoxville Differential Revision: D16828144 fbshipit-source-id: f9a78b331678882025732498f18a3443d148ef4d |
||
|
|
6168b3c604 |
Upgrade to Fresco 2.0.0
Summary: Need a Fresco release including the previous diff first. Reviewed By: danielbuechele Differential Revision: D15762090 fbshipit-source-id: ec30778ffc1cd3e48dcfc4d514a9ba13fb26fd75 |