Skip to content

Commit 0acc751

Browse files
committed
Merge branch 'master' into chore/ci
# Conflicts: # .github/workflows/cronet.yml # .github/workflows/cupertino.yml # .github/workflows/java.yml
2 parents 63491a9 + 6d9f9ef commit 0acc751

File tree

13 files changed

+209
-115
lines changed

13 files changed

+209
-115
lines changed

.github/workflows/cronet.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ jobs:
2828
matrix:
2929
package: ['cronet_http', 'cronet_http_embedded']
3030
steps:
31-
- uses: actions/checkout@v4
32-
- uses: actions/setup-java@v4
31+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
32+
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93
3333
with:
3434
distribution: 'zulu'
3535
java-version: '17'
36-
- uses: subosito/flutter-action@v2
36+
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225
3737
with:
3838
channel: 'stable'
3939
- name: Make cronet_http_embedded copy
@@ -55,7 +55,7 @@ jobs:
5555
run: flutter analyze --fatal-infos
5656
if: always() && steps.install.outcome == 'success'
5757
- name: Run tests
58-
uses: reactivecircus/android-emulator-runner@v2
58+
uses: reactivecircus/android-emulator-runner@6b0df4b0efb23bb0ec63d881db79aefbc976e4b2
5959
working-directory: 'pkgs/${{ matrix.package }}/example'
6060
if: always() && steps.install.outcome == 'success'
6161
with:

.github/workflows/cupertino.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
# version.
3434
flutter-version: ["3.16.0", "any"]
3535
steps:
36-
- uses: actions/checkout@v4
37-
- uses: futureware-tech/simulator-action@v3
36+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
37+
- uses: futureware-tech/simulator-action@bfa03d93ec9de6dacb0c5553bbf8da8afc6c2ee9
3838
with:
3939
model: 'iPhone 8'
40-
- uses: subosito/flutter-action@v2
40+
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225
4141
with:
4242
flutter-version: ${{ matrix.flutter-version }}
4343
channel: 'stable'

.github/workflows/dart.yml

Lines changed: 131 additions & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/java.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
run:
3030
working-directory: pkgs/java_http
3131
steps:
32-
- uses: actions/checkout@v4
33-
- uses: subosito/flutter-action@v2
32+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
33+
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225
3434
with:
3535
channel: 'stable'
3636
- id: install

.github/workflows/no-response.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# A workflow to close issues where the author hasn't responded to a request for
2+
# more information; see https://github.com/actions/stale.
3+
4+
name: No Response
5+
6+
# Run as a daily cron.
7+
on:
8+
schedule:
9+
# Every day at 8am
10+
- cron: '0 8 * * *'
11+
12+
# All permissions not specified are set to 'none'.
13+
permissions:
14+
issues: write
15+
pull-requests: write
16+
17+
jobs:
18+
no-response:
19+
runs-on: ubuntu-latest
20+
if: ${{ github.repository_owner == 'dart-lang' }}
21+
steps:
22+
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
23+
with:
24+
# Don't automatically mark inactive issues+PRs as stale.
25+
days-before-stale: -1
26+
# Close needs-info issues and PRs after 14 days of inactivity.
27+
days-before-close: 14
28+
stale-issue-label: "needs-info"
29+
close-issue-message: >
30+
Without additional information we're not able to resolve this issue.
31+
Feel free to add more info or respond to any questions above and we
32+
can reopen the case. Thanks for your contribution!
33+
stale-pr-label: "needs-info"
34+
close-pr-message: >
35+
Without additional information we're not able to resolve this PR.
36+
Feel free to add more info or respond to any questions above.
37+
Thanks for your contribution!

.github/workflows/publish.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# A CI configuration to auto-publish pub packages.
2+
3+
name: Publish
4+
5+
on:
6+
pull_request:
7+
branches: [ master ]
8+
push:
9+
tags: [ '[A-z]+-v[0-9]+.[0-9]+.[0-9]+' ]
10+
11+
jobs:
12+
publish:
13+
if: ${{ github.repository_owner == 'dart-lang' }}
14+
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
15+
permissions:
16+
id-token: write # Required for authentication using OIDC
17+
pull-requests: write # Required for writing the pull request note

pkgs/cupertino_http/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## 1.3.1-wip
2+
13
## 1.3.0
24

35
* Use `package:http_image_provider` in the example application.

pkgs/cupertino_http/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: 1.0.0+1
77

88
environment:
99
sdk: ^3.2.0
10-
flutter: ^3.16.0
10+
flutter: '>=3.16.0'
1111

1212
dependencies:
1313
cupertino_http:

pkgs/cupertino_http/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: cupertino_http
2-
version: 1.3.0
2+
version: 1.3.1-wip
33
description: >-
44
A macOS/iOS Flutter plugin that provides access to the Foundation URL
55
Loading System.
66
repository: https://github.com/dart-lang/http/tree/master/pkgs/cupertino_http
77

88
environment:
99
sdk: ^3.2.0
10-
flutter: ^3.16.0 # If changed, update test matrix.
10+
flutter: '>=3.16.0' # If changed, update test matrix.
1111

1212
dependencies:
1313
async: ^2.5.0

pkgs/http/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.2.1
2+
3+
* Require Dart `^3.3`
4+
* Require `package:web` `^0.5.0`.
5+
16
## 1.2.0
27

38
* Add `MockClient.pngResponse`, which makes it easier to fake image responses.

pkgs/http/lib/src/browser_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import 'dart:async';
66
import 'dart:js_interop';
77

8-
import 'package:web/helpers.dart';
8+
import 'package:web/web.dart';
99

1010
import 'base_client.dart';
1111
import 'base_request.dart';

pkgs/http/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
name: http
2-
version: 1.2.0
2+
version: 1.2.1
33
description: A composable, multi-platform, Future-based API for HTTP requests.
44
repository: https://github.com/dart-lang/http/tree/master/pkgs/http
55

66
environment:
7-
sdk: ^3.2.0
7+
sdk: ^3.3.0
88

99
dependencies:
1010
async: ^2.5.0
1111
http_parser: ^4.0.0
1212
meta: ^1.3.0
13-
web: '>=0.3.0 <0.5.0'
13+
web: ^0.5.0
1414

1515
dev_dependencies:
1616
dart_flutter_team_lints: ^2.0.0

pkgs/http/test/html/utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:web/helpers.dart';
5+
import 'package:web/web.dart';
66

77
export '../utils.dart';
88

0 commit comments

Comments
 (0)