From bd320b94e16317d767c57a50de010b77a2089a51 Mon Sep 17 00:00:00 2001 From: generatedunixname89002005306973 Date: Wed, 29 Apr 2020 08:30:03 -0700 Subject: [PATCH] Flipper Release: v0.40.0 Summary: Releasing version 0.40.0 Reviewed By: nikoant Differential Revision: D21302037 fbshipit-source-id: 2f2aeaf0aaf7a0d2fb65b21b6243c9ecd2684cdc --- Flipper.podspec | 2 +- FlipperKit.podspec | 2 +- desktop/app/package.json | 4 ++-- desktop/app/src/utils/js-client/package.json | 2 +- desktop/babel-transformer/package.json | 2 +- desktop/doctor/package.json | 2 +- desktop/e2e/package.json | 2 +- desktop/headless-tests/package.json | 2 +- desktop/headless/package.json | 2 +- desktop/package.json | 6 +++--- desktop/pkg-lib/package.json | 4 ++-- desktop/pkg/package.json | 4 ++-- desktop/plugins/seamammals/package.json | 4 ++-- desktop/static/CHANGELOG.md | 5 +++++ desktop/static/package.json | 4 ++-- docs/getting-started/android-native.mdx | 4 ++-- docs/getting-started/ios-native.mdx | 4 ++-- docs/getting-started/react-native-ios.mdx | 2 +- docs/setup/layout-plugin.mdx | 2 +- docs/setup/leak-canary-plugin.mdx | 2 +- docs/setup/network-plugin.mdx | 2 +- gradle.properties | 2 +- iOS/Tutorial/Podfile | 2 +- react-native/react-native-flipper/package.json | 2 +- 24 files changed, 37 insertions(+), 32 deletions(-) diff --git a/Flipper.podspec b/Flipper.podspec index f6ffa3b55..f9ec3fba3 100644 --- a/Flipper.podspec +++ b/Flipper.podspec @@ -3,7 +3,7 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. -flipperkit_version = '0.39.0' +flipperkit_version = '0.40.0' Pod::Spec.new do |spec| spec.name = 'Flipper' spec.version = flipperkit_version diff --git a/FlipperKit.podspec b/FlipperKit.podspec index 0eb7a03a4..7ed1884fb 100644 --- a/FlipperKit.podspec +++ b/FlipperKit.podspec @@ -5,7 +5,7 @@ folly_compiler_flags = '-DDEBUG=1 -DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=1 -DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_HAVE_LIBGFLAGS=0 -DFOLLY_HAVE_LIBJEMALLOC=0 -DFOLLY_HAVE_PREADV=0 -DFOLLY_HAVE_PWRITEV=0 -DFOLLY_HAVE_TFO=0 -DFOLLY_USE_SYMBOLIZER=0' yogakit_version = '~> 1.18' -flipperkit_version = '0.39.0' +flipperkit_version = '0.40.0' Pod::Spec.new do |spec| spec.name = 'FlipperKit' spec.version = flipperkit_version diff --git a/desktop/app/package.json b/desktop/app/package.json index 88aaeddf8..e765019d0 100644 --- a/desktop/app/package.json +++ b/desktop/app/package.json @@ -1,6 +1,6 @@ { "name": "flipper", - "version": "0.39.0", + "version": "0.40.0", "description": "Mobile development tool", "productName": "Flipper", "author": "Facebook Inc", @@ -25,7 +25,7 @@ "deep-equal": "^2.0.1", "emotion": "^10.0.23", "expand-tilde": "^2.0.2", - "flipper-doctor": "0.39.0", + "flipper-doctor": "0.40.0", "fs-extra": "^8.0.1", "immer": "^6.0.0", "immutable": "^4.0.0-rc.12", diff --git a/desktop/app/src/utils/js-client/package.json b/desktop/app/src/utils/js-client/package.json index 6fae53fbf..584dcacb6 100644 --- a/desktop/app/src/utils/js-client/package.json +++ b/desktop/app/src/utils/js-client/package.json @@ -1,6 +1,6 @@ { "name": "flipper-js-client", - "version": "0.39.0", + "version": "0.40.0", "private": true, "main": "index.js", "license": "MIT", diff --git a/desktop/babel-transformer/package.json b/desktop/babel-transformer/package.json index 914963c15..0aeeb26b0 100644 --- a/desktop/babel-transformer/package.json +++ b/desktop/babel-transformer/package.json @@ -1,6 +1,6 @@ { "name": "flipper-babel-transformer", - "version": "0.39.0", + "version": "0.40.0", "description": "Babel transformer for Flipper plugins", "repository": "facebook/flipper", "main": "lib/index.js", diff --git a/desktop/doctor/package.json b/desktop/doctor/package.json index 4654103f9..157ad9922 100644 --- a/desktop/doctor/package.json +++ b/desktop/doctor/package.json @@ -1,6 +1,6 @@ { "name": "flipper-doctor", - "version": "0.39.0", + "version": "0.40.0", "description": "Utility for checking for issues with a flipper installation", "main": "lib/index.js", "flipperBundlerEntry": "src", diff --git a/desktop/e2e/package.json b/desktop/e2e/package.json index c6516218b..1968480c8 100644 --- a/desktop/e2e/package.json +++ b/desktop/e2e/package.json @@ -1,6 +1,6 @@ { "name": "flipper-e2e", - "version": "0.39.0", + "version": "0.40.0", "private": true, "description": "E2E test suite for Flipper", "repository": "facebook/flipper", diff --git a/desktop/headless-tests/package.json b/desktop/headless-tests/package.json index a1d0b0cac..cd0c72b6f 100644 --- a/desktop/headless-tests/package.json +++ b/desktop/headless-tests/package.json @@ -1,6 +1,6 @@ { "name": "flipper-headless-tests", - "version": "0.39.0", + "version": "0.40.0", "main": "index.js", "private": true, "scripts": { diff --git a/desktop/headless/package.json b/desktop/headless/package.json index 233550c8b..997501b09 100644 --- a/desktop/headless/package.json +++ b/desktop/headless/package.json @@ -1,7 +1,7 @@ { "name": "flipper-headless", "private": true, - "version": "0.39.0", + "version": "0.40.0", "description": "Headless version of Flipper - Mobile development tool", "productName": "Flipper Headless", "author": "Facebook Inc", diff --git a/desktop/package.json b/desktop/package.json index a7ea0399a..47cec159b 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -1,6 +1,6 @@ { "name": "flipper-project", - "version": "0.39.0", + "version": "0.40.0", "description": "Mobile development tool", "productName": "Flipper", "author": "Facebook Inc", @@ -183,8 +183,8 @@ "eslint-plugin-react": "^7.16.0", "eslint-plugin-relay": "^1.4.1", "express": "^4.15.2", - "flipper-babel-transformer": "0.39.0", - "flipper-pkg-lib": "0.39.0", + "flipper-babel-transformer": "0.40.0", + "flipper-pkg-lib": "0.40.0", "flow-bin": "0.123.0", "fs-extra": "^9.0.0", "glob": "^7.1.2", diff --git a/desktop/pkg-lib/package.json b/desktop/pkg-lib/package.json index e66d69a69..a3545ffad 100644 --- a/desktop/pkg-lib/package.json +++ b/desktop/pkg-lib/package.json @@ -1,6 +1,6 @@ { "name": "flipper-pkg-lib", - "version": "0.39.0", + "version": "0.40.0", "description": "Library for building and publishing Flipper plugins", "repository": "facebook/flipper", "main": "lib/index.js", @@ -10,7 +10,7 @@ "bugs": "https://github.com/facebook/flipper/issues", "dependencies": { "fs-extra": "^8.1.0", - "flipper-babel-transformer": "0.39.0", + "flipper-babel-transformer": "0.40.0", "metro": "^0.59.0", "metro-minify-terser": "^0.59.0" }, diff --git a/desktop/pkg/package.json b/desktop/pkg/package.json index 99acb510c..591ce52b0 100644 --- a/desktop/pkg/package.json +++ b/desktop/pkg/package.json @@ -1,6 +1,6 @@ { "name": "flipper-pkg", - "version": "0.39.0", + "version": "0.40.0", "description": "Utility for building and publishing Flipper plugins", "repository": "facebook/flipper", "main": "lib/index.js", @@ -20,7 +20,7 @@ "ajv": "^6.12.2", "ajv-errors": "^1.0.1", "cli-ux": "^5.4.5", - "flipper-pkg-lib": "0.39.0", + "flipper-pkg-lib": "0.40.0", "fs-extra": "^8.1.0", "inquirer": "^7.1.0", "lodash": "^4.17.15", diff --git a/desktop/plugins/seamammals/package.json b/desktop/plugins/seamammals/package.json index 63051d065..7ad3d0cbf 100644 --- a/desktop/plugins/seamammals/package.json +++ b/desktop/plugins/seamammals/package.json @@ -24,7 +24,7 @@ "flipper": "0.39.0" }, "devDependencies": { - "flipper": "0.39.0", - "flipper-pkg": "0.39.0" + "flipper": "0.40.0", + "flipper-pkg": "0.40.0" } } diff --git a/desktop/static/CHANGELOG.md b/desktop/static/CHANGELOG.md index aa69e90b7..c685e15c1 100644 --- a/desktop/static/CHANGELOG.md +++ b/desktop/static/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.40.0 (29/4/2020) + + * D20942453 - Background plugins will no longer receive a Flipper connection if they are disabled. This should significantly reduce the overall load of Flipper both on the device and desktop when unused plugins are disabled used, which could otherwise generate 10MB/s of network traffic certain scenarios. All plugins *should* be able to handle to this gracefully, but since this is quite a fundamental change, reach out to the Flipper team when in doubt! + + # 0.38.0 (21/4/2020) * D20805231 - Internals: plugins added as "yarn workspaces" into the root package.json to simplify dependency management between them diff --git a/desktop/static/package.json b/desktop/static/package.json index c41e24e2a..6e8172b87 100644 --- a/desktop/static/package.json +++ b/desktop/static/package.json @@ -1,6 +1,6 @@ { "name": "flipper-static", - "version": "0.39.0", + "version": "0.40.0", "main": "index.js", "private": true, "license": "MIT", @@ -9,7 +9,7 @@ "expand-tilde": "^2.0.2", "fb-watchman": "^2.0.0", "fix-path": "^3.0.0", - "flipper-pkg-lib": "0.39.0", + "flipper-pkg-lib": "0.40.0", "fs-extra": "^8.1.0", "ignore": "^5.1.4", "mem": "^6.0.0", diff --git a/docs/getting-started/android-native.mdx b/docs/getting-started/android-native.mdx index 55caf257f..43778afdb 100644 --- a/docs/getting-started/android-native.mdx +++ b/docs/getting-started/android-native.mdx @@ -24,10 +24,10 @@ repositories { } dependencies { - debugImplementation 'com.facebook.flipper:flipper:0.39.0' + debugImplementation 'com.facebook.flipper:flipper:0.40.0' debugImplementation 'com.facebook.soloader:soloader:0.9.0' - releaseImplementation 'com.facebook.flipper:flipper-noop:0.39.0' + releaseImplementation 'com.facebook.flipper:flipper-noop:0.40.0' } ``` diff --git a/docs/getting-started/ios-native.mdx b/docs/getting-started/ios-native.mdx index 00775b00e..b836458bf 100644 --- a/docs/getting-started/ios-native.mdx +++ b/docs/getting-started/ios-native.mdx @@ -15,7 +15,7 @@ The following configuration assumed CocoaPods 1.9+. ```ruby project 'MyApp.xcodeproj' -flipperkit_version = '0.39.0' +flipperkit_version = '0.40.0' target 'MyApp' do platform :ios, '9.0' @@ -70,7 +70,7 @@ end ```ruby project 'MyApp.xcodeproj' -flipperkit_version = '0.39.0' +flipperkit_version = '0.40.0' target 'MyApp' do platform :ios, '9.0' diff --git a/docs/getting-started/react-native-ios.mdx b/docs/getting-started/react-native-ios.mdx index 0c7589678..e03dc1d24 100644 --- a/docs/getting-started/react-native-ios.mdx +++ b/docs/getting-started/react-native-ios.mdx @@ -16,7 +16,7 @@ Add this code to your `ios/Podfile`: platform :ios, '9.0' def flipper_pods() - flipperkit_version = '0.39.0' + flipperkit_version = '0.40.0' pod 'FlipperKit', '~>' + flipperkit_version, :configuration => 'Debug' pod 'FlipperKit/FlipperKitLayoutPlugin', '~>' + flipperkit_version, :configuration => 'Debug' pod 'FlipperKit/SKIOSNetworkPlugin', '~>' + flipperkit_version, :configuration => 'Debug' diff --git a/docs/setup/layout-plugin.mdx b/docs/setup/layout-plugin.mdx index 0759e6749..72272e096 100644 --- a/docs/setup/layout-plugin.mdx +++ b/docs/setup/layout-plugin.mdx @@ -28,7 +28,7 @@ gradle configuration: ```groovy dependencies { - debugImplementation 'com.facebook.flipper:flipper-litho-plugin:0.39.0' + debugImplementation 'com.facebook.flipper:flipper-litho-plugin:0.40.0' debugImplementation 'com.facebook.litho:litho-annotations:0.19.0' // ... } diff --git a/docs/setup/leak-canary-plugin.mdx b/docs/setup/leak-canary-plugin.mdx index e29696c0c..73e853e2f 100644 --- a/docs/setup/leak-canary-plugin.mdx +++ b/docs/setup/leak-canary-plugin.mdx @@ -9,7 +9,7 @@ Ensure that you already have an explicit dependency in your application's ```groovy dependencies { - debugImplementation 'com.facebook.flipper:flipper-leakcanary-plugin:0.39.0' + debugImplementation 'com.facebook.flipper:flipper-leakcanary-plugin:0.40.0' debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.1' releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.1' } diff --git a/docs/setup/network-plugin.mdx b/docs/setup/network-plugin.mdx index 1c2820c11..f3453eb32 100644 --- a/docs/setup/network-plugin.mdx +++ b/docs/setup/network-plugin.mdx @@ -12,7 +12,7 @@ The network plugin is shipped as a separate Maven artifact: ```groovy dependencies { - debugImplementation 'com.facebook.flipper:flipper-network-plugin:0.39.0' + debugImplementation 'com.facebook.flipper:flipper-network-plugin:0.40.0' } ``` diff --git a/gradle.properties b/gradle.properties index bff860461..bffb1255e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ # LICENSE file in the root directory of this source tree. # POM publishing constants -VERSION_NAME=0.39.1-SNAPSHOT +VERSION_NAME=0.40.0 GROUP=com.facebook.flipper POM_URL=https://github.com/facebook/flipper POM_SCM_URL=https://github.com/facebook/flipper.git diff --git a/iOS/Tutorial/Podfile b/iOS/Tutorial/Podfile index f1c2db357..8095aad35 100644 --- a/iOS/Tutorial/Podfile +++ b/iOS/Tutorial/Podfile @@ -1,6 +1,6 @@ project 'Tutorial.xcodeproj' swift_version = "4.1" -flipperkit_version = '0.39.0' +flipperkit_version = '0.40.0' use_frameworks! target 'Tutorial' do diff --git a/react-native/react-native-flipper/package.json b/react-native/react-native-flipper/package.json index 24257c139..172fcd5ab 100644 --- a/react-native/react-native-flipper/package.json +++ b/react-native/react-native-flipper/package.json @@ -1,7 +1,7 @@ { "name": "react-native-flipper", "title": "React Native Flipper Bindings", - "version": "0.39.0", + "version": "0.40.0", "description": "Flipper bindings for React Native", "main": "index.js", "types": "index.d.ts",