Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Updated CHANGELOG.md files for all modified plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
gspencergoog committed Aug 18, 2018
1 parent 4051df5 commit 42ee552
Show file tree
Hide file tree
Showing 24 changed files with 102 additions and 13 deletions.
10 changes: 6 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ task:
- name: build-apks+java-test
env:
matrix:
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 2"
PLUGIN_SHARDING: "--shardIndex 1 --shardCount 2"
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 3"
PLUGIN_SHARDING: "--shardIndex 1 --shardCount 3"
PLUGIN_SHARDING: "--shardIndex 2 --shardCount 3"
script:
- ./script/incremental_build.sh build-examples --apk
- ./script/incremental_build.sh java-test # must come after apk build
Expand All @@ -35,8 +36,9 @@ task:
env:
PATH: $PATH:/usr/local/bin
matrix:
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 2"
PLUGIN_SHARDING: "--shardIndex 1 --shardCount 2"
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 3"
PLUGIN_SHARDING: "--shardIndex 1 --shardCount 3"
PLUGIN_SHARDING: "--shardIndex 2 --shardCount 3"
setup_script:
- brew update
- brew install libimobiledevice
Expand Down
5 changes: 5 additions & 0 deletions packages/android_alarm_manager/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.2.1
* Update dependencies for example to point to published versions of firebase_auth
and google_sign_in.
* Add missing dependency on firebase_auth.1

## 0.2.0

* **Breaking change**. A new isolate is always spawned for the background service
Expand Down
5 changes: 5 additions & 0 deletions packages/battery/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.2.3

* Updated mockito dependency to 3.0.0 to get Dart 2 support.
* Update test package dependency to 1.3.0, and fixed tests to match.

## 0.2.2

* Updated Gradle tooling to match Android Studio 3.1.2.
Expand Down
5 changes: 5 additions & 0 deletions packages/camera/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.2.3

* Added path_provider and video_player as dev dependencies because the example uses them.
* Updated example path_provider version to get Dart 2 support.

## 0.2.2

* iOS image capture is done in high quality (full camera size)
Expand Down
4 changes: 4 additions & 0 deletions packages/cloud_functions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.3

* Added missing dependency on meta package.

## 0.0.2

* Bump Android and Firebase dependency versions.
Expand Down
4 changes: 4 additions & 0 deletions packages/firebase_admob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.7

* Bumped mockito dependency to pick up Dart 2 support.

## 0.5.6

* Bump Android and Firebase dependency versions.
Expand Down
4 changes: 4 additions & 0 deletions packages/firebase_analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.3

* Updated test and mockito dependencies to pick up Dart 2 support

## 1.0.2

* Bump Android and Firebase dependency versions.
Expand Down
6 changes: 6 additions & 0 deletions packages/firebase_auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.5.19

* Update test package dependency to pick up Dart 2 support.
* Modified dependency on google_sign_in to point to a published
version instead of a relative path.

## 0.5.18

* Adding support for updateEmail in FirebaseAuth.
Expand Down
4 changes: 4 additions & 0 deletions packages/firebase_database/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.4

* Bumped test and mockito versions to pick up Dart 2 support.

## 1.0.3

* Bump Android and Firebase dependency versions.
Expand Down
4 changes: 4 additions & 0 deletions packages/firebase_messaging/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.5

* Bumped test and mockito versions to pick up Dart 2 support.

## 1.0.4

* Bump Android and Firebase dependency versions.
Expand Down
6 changes: 5 additions & 1 deletion packages/firebase_ml_vision/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 0.1.2

* Fix example imports so that publishing will be warning-free.

## 0.1.1

Set pod version of Firebase/MLVision to avoid breaking changes.
* Set pod version of Firebase/MLVision to avoid breaking changes.

## 0.1.0

Expand Down
1 change: 0 additions & 1 deletion packages/firebase_ml_vision/example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: firebase_ml_vision_example
description: Demonstrates how to use the firebase_ml_vision plugin.
author: Flutter Team <flutter-dev@googlegroups.com>
version: 1.0.1

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_ml_vision/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: firebase_ml_vision
description: Flutter plugin for Google ML Vision for Firebase, an SDK that brings Google's machine
learning expertise to Android and iOS apps in a powerful yet easy-to-use package.
version: 0.1.1
author: Flutter Team <flutter-dev@googlegroups.com>
homepage: https://github.com/flutter/plugins/tree/master/packages/firebase_ml_vision
version: 0.1.2

dependencies:
flutter:
Expand Down
4 changes: 4 additions & 0 deletions packages/firebase_performance/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.7

* Added missing http package dependency.

## 0.0.6

* Bump Android and Firebase dependency versions.
Expand Down
4 changes: 4 additions & 0 deletions packages/firebase_storage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.2

* Added missing http package dependency.

## 1.0.1

* Bump Android and Firebase dependency versions.
Expand Down
4 changes: 4 additions & 0 deletions packages/google_sign_in/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.0.5

* Added missing http package dependency.

## 3.0.4

* Updated Gradle tooling to match Android Studio 3.1.2.
Expand Down
4 changes: 4 additions & 0 deletions packages/image_picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.7

* Added missing video_player package dev dependency.

## 0.4.6

* Added support for picking remote images.
Expand Down
5 changes: 5 additions & 0 deletions packages/in_app_purchase/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.0.2

* Added missing flutter_test package dependency.
* Added missing flutter version requirements.

## 0.0.1

* Initial release.
8 changes: 8 additions & 0 deletions packages/location_background/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## 0.0.2

* Added missing flutter_test package dependency.
* Added missing flutter version requirements.

## 0.0.1

* Initial release.
4 changes: 4 additions & 0 deletions packages/location_background/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ dependencies:
flutter:
sdk: flutter

dev_dependencies:
flutter_test:
sdk: flutter

flutter:
plugin:
androidPackage: com.flutter.example.locationbackgroundplugin
Expand Down
4 changes: 4 additions & 0 deletions packages/sensors/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.3.5

* Added missing test package dependency.

## 0.3.4

* Make sensors Dart 2 compliant.
Expand Down
5 changes: 5 additions & 0 deletions packages/share/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.5.3

* Added missing test package dependency.
* Bumped version of mockito package dependency to pick up Dart 2 support.

## 0.5.2

* Fixes iOS sharing
Expand Down
7 changes: 4 additions & 3 deletions script/check_publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ function check_publish() {
function check_changed_packages() {
# Try get a merge base for the branch and calculate affected packages.
# We need this check because some CIs can do a single branch clones with a limited history of commits.
local branch_base_sha="$(git merge-base --fork-point FETCH_HEAD HEAD)"
# If merge-base --fork-point can't be found (it's more conservative), then use regular merge-base.
local branch_base_sha="$(git merge-base --fork-point FETCH_HEAD HEAD || git merge-base FETCH_HEAD HEAD)"
echo "Checking for changed packages from $branch_base_sha"

local packages
if [[ "$?" == 0 ]]; then
IFS=$'\n' local packages=($(git diff --name-only "$branch_base_sha" HEAD | grep -o "packages/[^/]*" | sed -e "s/packages\///g" | sort | uniq ))
IFS=$'\n' packages=( $(git diff --name-only "$branch_base_sha" HEAD | grep -o "packages/[^/]*" | sed -e "s/packages\///g" | sort | uniq) )
else
error "Cannot find a merge base for the current branch to run an incremental build..."
error "Please rebase your branch onto the latest master!"
Expand Down
6 changes: 3 additions & 3 deletions script/incremental_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ CHANGED_PACKAGES=""
function check_changed_packages() {
# Try get a merge base for the branch and calculate affected packages.
# We need this check because some CIs can do a single branch clones with a limited history of commits.
local branch_base_sha="$(git merge-base --fork-point FETCH_HEAD HEAD)"
local branch_base_sha="$(git merge-base --fork-point FETCH_HEAD HEAD || git merge-base FETCH_HEAD HEAD)"
echo "Checking for changed packages from $branch_base_sha"

local packages
if [[ "$?" == 0 ]]; then
IFS=$'\n' local packages=($(git diff --name-only "$branch_base_sha" HEAD | grep -o "packages/[^/]*" | sed -e "s/packages\///g" | sort | uniq ))
IFS=$'\n' packages=( $(git diff --name-only "$branch_base_sha" HEAD | grep -o "packages/[^/]*" | sed -e "s/packages\///g" | sort | uniq) )
else
error "Cannot find a merge base for the current branch to run an incremental build..."
error "Please rebase your branch onto the latest master!"
Expand Down

0 comments on commit 42ee552

Please sign in to comment.