Skip to content

Commit

Permalink
feat: bump dart sdk constraint to 2.18 (#10618)
Browse files Browse the repository at this point in the history
  • Loading branch information
lesnitsky authored Mar 22, 2023
1 parent 15c1e85 commit f80948a
Show file tree
Hide file tree
Showing 85 changed files with 145 additions and 156 deletions.
2 changes: 1 addition & 1 deletion packages/_flutterfire_internals/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repository: https://github.com/firebase/flutterfire/tree/master/packages/_flutte
version: 1.0.18

environment:
sdk: '>=2.16.0 <3.0.0'
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.12.13+hotfix.5'

dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: cloud_firestore_example
description: Demonstrates how to use the firestore plugin.

environment:
sdk: '>=2.16.0 <3.0.0'
sdk: '>=2.18.0 <3.0.0'

dependencies:
cloud_firestore: ^4.4.5
Expand Down
2 changes: 1 addition & 1 deletion packages/cloud_firestore/cloud_firestore/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ false_secrets:
- dartpad/**

environment:
sdk: ">=2.16.0 <3.0.0"
sdk: ">=2.18.0 <3.0.0"
flutter: ">=1.12.13+hotfix.5"

dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ homepage: https://github.com/firebase/flutterfire/tree/master/packages/cloud_fir
repository: https://github.com/firebase/flutterfire/tree/master/packages/cloud_firestore/cloud_firestore_platform_interface

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.9.1+hotfix.5"
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.9.1+hotfix.5'

dependencies:
_flutterfire_internals: ^1.0.18
Expand All @@ -17,7 +17,6 @@ dependencies:
meta: ^1.3.0
plugin_platform_interface: ^2.1.3


dev_dependencies:
firebase_core_platform_interface: ^4.5.3
flutter_test:
Expand Down
4 changes: 2 additions & 2 deletions packages/cloud_firestore/cloud_firestore_web/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ repository: https://github.com/firebase/flutterfire/tree/master/packages/cloud_f
version: 3.3.5

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.20.0"
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.20.0'

dependencies:
_flutterfire_internals: ^1.0.18
Expand Down
8 changes: 4 additions & 4 deletions packages/cloud_firestore_odm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ The Cloud Firestore ODM package enables developers to build fully type-safe appl
## What is an ODM?

The Object Document Mapper or ODM is an interface that treats a document as a tree structure wherein each node is an object representing a part of the document.
ODM methods allow programmatic access to the tree making it possible to change the structure, style or content of a document.
The Object Document Mapper or ODM is an interface that treats a document as a tree structure wherein each node is an object representing a part of the document.
ODM methods allow programmatic access to the tree making it possible to change the structure, style or content of a document.

## What does it do?
## What does it do?

The Cloud Firestore ODM package enables developers to build fully type-safe applications for Flutter using the FlutterFire Cloud Firestore plugin.

Expand All @@ -34,7 +34,7 @@ That is done by adding the following to your `pubspec.yaml`:

```yaml
environment:
sdk: ">=2.16.0 <3.0.0"
sdk: '>=2.18.0 <3.0.0'
```
### 2. FlutterFire Initialization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ version: 1.0.0-dev.1
publish_to: none

environment:
sdk: ">=2.16.0 <3.0.0"
sdk: '>=2.18.0 <3.0.0'

dependencies:
cloud_firestore: ^4.4.5
cloud_firestore_odm: ^1.0.0-dev.52
cloud_firestore_odm: ^1.0.0-dev.52
firebase_core: ^2.8.0
flutter:
sdk: flutter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ false_secrets:
- example/**

environment:
sdk: ">=2.17.0 <3.0.0"
sdk: '>=2.18.0 <3.0.0'

dependencies:
cloud_firestore: ^4.4.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 1.0.0-dev.1
publish_to: none

environment:
sdk: ">=2.16.0 <3.0.0"
sdk: '>=2.18.0 <3.0.0'

dependencies:
cloud_firestore: ^4.4.5
Expand All @@ -20,7 +20,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
freezed: ^2.0.0
json_serializable: ">=6.3.0 <7.0.0"
json_serializable: '>=6.3.0 <7.0.0'

flutter:
uses-material-design: false
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ repository: https://github.com/firebase/flutterfire/tree/master/packages/cloud_f
version: 1.0.0-dev.52

environment:
sdk: ">=2.17.0 <3.0.0"
sdk: '>=2.18.0 <3.0.0'

dependencies:
analyzer: ">=5.4.0 <6.0.0"
analyzer: '>=5.4.0 <6.0.0'
build: ^2.0.1
build_config: ^1.0.0
cloud_firestore_odm: ^1.0.0-dev.52
collection: ^1.15.0
freezed_annotation: ">=1.0.0 <3.0.0"
freezed_annotation: '>=1.0.0 <3.0.0'
json_annotation: ^4.6.0
meta: ^1.3.0
recase: ^4.0.0
Expand All @@ -22,6 +22,6 @@ dependencies:
dev_dependencies:
build_runner: ^2.0.0
expect_error: ^1.0.5
json_serializable: ">=6.3.0 <7.0.0"
json_serializable: '>=6.3.0 <7.0.0'
matcher: ^0.12.10
test: ^1.16.8
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: cloud_functions_example
description: Demonstrates how to use the cloud_functions plugin.

environment:
sdk: '>=2.16.0 <3.0.0'
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.12.13+hotfix.4'

dependencies:
Expand Down
4 changes: 2 additions & 2 deletions packages/cloud_functions/cloud_functions/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ false_secrets:
- example/**

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.12.13+hotfix.5"
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.12.13+hotfix.5'

dependencies:
cloud_functions_platform_interface: ^5.1.32
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ repository: https://github.com/firebase/flutterfire/tree/master/packages/cloud_f
version: 5.1.32

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.9.1+hotfix.5"
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.9.1+hotfix.5'

dependencies:
firebase_core: ^2.8.0
Expand All @@ -23,4 +23,3 @@ dev_dependencies:
flutter_test:
sdk: flutter
mockito: ^5.0.0

4 changes: 2 additions & 2 deletions packages/cloud_functions/cloud_functions_web/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ repository: https://github.com/firebase/flutterfire/tree/master/packages/cloud_f
version: 4.3.21

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.20.0"
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.20.0'

dependencies:
cloud_functions_platform_interface: ^5.1.32
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: firebase_analytics_example
description: Demonstrates how to use the firebase_analytics plugin.

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.12.13+hotfix.5"
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.12.13+hotfix.5'

dependencies:
firebase_analytics: ^10.1.6
Expand Down
4 changes: 2 additions & 2 deletions packages/firebase_analytics/firebase_analytics/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ repository: https://github.com/firebase/flutterfire/tree/master/packages/firebas
version: 10.1.6

false_secrets:
- example/**
- example/**

environment:
sdk: '>=2.16.0 <3.0.0'
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.12.13+hotfix.5'

dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repository: https://github.com/firebase/flutterfire/tree/master/packages/firebas
version: 3.3.23

environment:
sdk: '>=2.16.0 <3.0.0'
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.9.1+hotfix.5'

dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repository: https://github.com/firebase/flutterfire/tree/master/packages/firebas
version: 0.5.1+14

environment:
sdk: '>=2.16.0 <3.0.0'
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.20.0'

dependencies:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: firebase_app_check_example
description: Firebase App Check example application.

publish_to: "none"
publish_to: 'none'

version: 1.0.0+1

environment:
sdk: ">=2.16.0 <3.0.0"
sdk: '>=2.18.0 <3.0.0'

dependencies:
cloud_firestore: ^4.4.5
Expand Down
4 changes: 2 additions & 2 deletions packages/firebase_app_check/firebase_app_check/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ false_secrets:
- example/**

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.20.0"
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.20.0'

dependencies:
firebase_app_check_platform_interface: ^0.0.5+17
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ homepage: https://github.com/firebase/flutterfire/tree/master/packages/firebase_
version: 0.0.5+17

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.20.0"
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.20.0'

dependencies:
_flutterfire_internals: ^1.0.18
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ homepage: https://github.com/firebase/flutterfire/tree/master/packages/firebase_
version: 0.0.7+17

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.20.0"
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.20.0'

dependencies:
_flutterfire_internals: ^1.0.18
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: '>=2.16.0 <3.0.0'
sdk: '>=2.18.0 <3.0.0'

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ false_secrets:
- example/**

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.20.0"
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.20.0'

dependencies:
firebase_app_installations_platform_interface: ^0.1.1+35
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ homepage: https://github.com/firebase/flutterfire/tree/master/packages/firebase_
repository: https://github.com/firebase/flutterfire/tree/master/packages/firebase_app_installations/firebase_app_installations_platform_interface

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.17.0"
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.17.0'

dependencies:
_flutterfire_internals: ^1.0.18
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ homepage: https://github.com/firebase/flutterfire/tree/master/packages/firebase_
repository: https://github.com/firebase/flutterfire/tree/master/packages/firebase_app_installations/firebase_app_installations_web

environment:
sdk: '>=2.16.0 <3.0.0'
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.20.0'

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_auth/firebase_auth/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: firebase_auth_example
description: Demonstrates how to use the firebase_auth plugin.

environment:
sdk: '>=2.16.0 <3.0.0'
sdk: '>=2.18.0 <3.0.0'

dependencies:
firebase_auth: ^4.3.0
Expand Down
4 changes: 2 additions & 2 deletions packages/firebase_auth/firebase_auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ false_secrets:
- example/**

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.12.13+hotfix.5"
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.12.13+hotfix.5'

dependencies:
firebase_auth_platform_interface: ^6.12.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repository: https://github.com/firebase/flutterfire/tree/master/packages/firebas
version: 6.12.0

environment:
sdk: '>=2.16.0 <3.0.0'
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.9.1+hotfix.5'

dependencies:
Expand Down
4 changes: 2 additions & 2 deletions packages/firebase_auth/firebase_auth_web/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ repository: https://github.com/firebase/flutterfire/tree/master/packages/firebas
version: 5.2.10

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.20.0"
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.20.0'

dependencies:
firebase_auth_platform_interface: ^6.12.0
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_core/firebase_core/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: firebase_core_example
description: Demonstrates how to use the firebase_core plugin.

environment:
sdk: '>=2.16.0 <3.0.0'
sdk: '>=2.18.0 <3.0.0'

dependencies:
firebase_core: ^2.8.0
Expand Down
10 changes: 5 additions & 5 deletions packages/firebase_core/firebase_core/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ false_secrets:
- example/**

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.12.13+hotfix.5"
sdk: '>=2.18.0 <3.0.0'
flutter: '>=1.12.13+hotfix.5'

dependencies:
firebase_core_platform_interface: ^4.5.3
Expand Down Expand Up @@ -39,6 +39,6 @@ flutter:
default_package: firebase_core_web

firebase:
google_services_gradle_plugin_version: "4.3.10"
crashlytics_gradle_plugin_version: "2.8.1"
performance_gradle_plugin_version: "1.4.1"
google_services_gradle_plugin_version: '4.3.10'
crashlytics_gradle_plugin_version: '2.8.1'
performance_gradle_plugin_version: '1.4.1'
Loading

0 comments on commit f80948a

Please sign in to comment.