Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken PR:( #1421

Closed
wants to merge 457 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
457 commits
Select commit Hold shift + click to select a range
2583d23
Provide access to NSURLSession.sessionDescription (#881)
brianquinlan Feb 27, 2023
970bef4
Corrected the spelling of "Implements" in "/http/lib/src/io_client.da…
bahaafathi Mar 2, 2023
572e10b
Move to pkg:dart_flutter_team_lints, require Dart 2.19 (#883)
kevmoo Mar 2, 2023
b69493c
Fix some spelling (#884)
kevmoo Mar 2, 2023
90a1093
Fix a reference count race with forwarded delegates. (#888)
brianquinlan Mar 9, 2023
85fccfb
Add a flag to allow the default Client to be tree shaken away. (#868)
brianquinlan Mar 9, 2023
42e9af4
Add conformances test that verify that the Client works in Isolates (…
brianquinlan Mar 9, 2023
f3ec6c4
Fix some spelling (#885)
bahaafathi Apr 3, 2023
a1865c7
Fix maxRedirects documentation to mention ClientException rather than…
brianquinlan Apr 4, 2023
527a5cb
latest CI actions (#908)
kevmoo Apr 6, 2023
77c72e8
Document that RetryClient may consume a lot of memory (#915)
brianquinlan May 1, 2023
5978573
Prepare to publish (#914)
natebosch May 1, 2023
3b9a06d
Switch to "dart format" from "flutter format" (#922)
brianquinlan May 4, 2023
1be01f9
Add "base", "final" and "interface" modifiers (#920)
brianquinlan May 9, 2023
5268329
Require the release version of Dart 3.0.0 (#925)
brianquinlan May 10, 2023
964d59c
Support the NSURLSession WebSocket API (#921)
brianquinlan May 11, 2023
14914ec
Revert "Support the NSURLSession WebSocket API (#921)" (#931)
brianquinlan May 16, 2023
8916d31
blast_repo fixes (#933)
devoncarew May 17, 2023
90db1d1
Disable package:cupertino_http tests because they are failing at head…
brianquinlan May 22, 2023
db38fe3
Increment package:http version to 1.0.0 (#928)
brianquinlan May 22, 2023
85e3db2
Update CHANGELOG for 0.2.1 release (#941)
brianquinlan May 22, 2023
4f087b9
Update pubspec for 0.2.1 release (#942)
brianquinlan May 22, 2023
31cdb49
Require Dart 3.0 (#943)
brianquinlan May 22, 2023
36df5c5
fix typo in cupertino_http documentation (#879)
knaeckeKami May 24, 2023
4a0e68b
Update prepare_for_embedded.dart (#944)
AlexV525 May 24, 2023
255ec4a
regenerate with the latest mono_repo (#947)
devoncarew May 25, 2023
f1387f4
Add a better toString to _ClientSocketException (#948)
brianquinlan May 25, 2023
2683703
Fix the failing cupertino_http tests (#949)
brianquinlan May 30, 2023
4ef2fc2
Prepare to publish cupertino_http 1.0.0 (#951)
brianquinlan May 31, 2023
aebd936
Bump actions/labeler from 4.0.2 to 4.0.4 (#952)
dependabot[bot] May 31, 2023
4aa917d
Bump futureware-tech/simulator-action from 1 to 2 (#936)
dependabot[bot] May 31, 2023
3c99707
Update readme and prepare for a new release (#954)
brianquinlan May 31, 2023
4c37158
Reland "support the nsurl session web socket api" (#950)
brianquinlan Jun 2, 2023
0cc7fca
Support delegate methods for WebSocketTask (#958)
brianquinlan Jun 9, 2023
1c54b90
Run common URLSessionTask tests on URLSessionWebSocketTask (#959)
brianquinlan Jun 9, 2023
0000263
Unskip a skipped test (#966)
natebosch Jun 16, 2023
82eee3f
Make StreameRequest.sink a StreamSink (#965)
natebosch Jun 20, 2023
687028a
Create java http package (#971)
alex-james-dev Jun 26, 2023
5e755f2
Prepare to publish package:http (#973)
natebosch Jun 26, 2023
164b1e2
Bump actions/labeler from 4.0.4 to 4.2.0 (#976)
dependabot[bot] Jul 1, 2023
d8fc0e9
Support Steam<List<int>> as a provider of request data (#975)
brianquinlan Jul 5, 2023
7536d02
Fix a bug where ...WebSocketClosed had two different initializer sign…
brianquinlan Jul 5, 2023
ea4c5b3
Document that the network entitlement is required when running in the…
brianquinlan Jul 5, 2023
d41ce34
Java http BaseClient implementation (#980)
alex-james-dev Jul 7, 2023
a72fc9f
Make native bindings pass `dart analysis` (#985)
brianquinlan Jul 11, 2023
c72aeb7
Java http send method (#987)
alex-james-dev Jul 21, 2023
abc3e30
Harmonize response header behavior (#993)
brianquinlan Jul 21, 2023
0025c98
Ignore generated flutter plugin files (#996)
natebosch Jul 28, 2023
86090d6
[java_http] send request body (#995)
alex-james-dev Jul 31, 2023
587d114
Bump actions/labeler from 4.2.0 to 4.3.0 (#1000)
dependabot[bot] Aug 1, 2023
e6868a8
Remove example test from java_http (#1001)
alex-james-dev Aug 8, 2023
1aafcfe
Add some additional header tests (#1006)
brianquinlan Aug 15, 2023
93a721e
JavaClient can stream the HTTP response body (#1005)
alex-james-dev Aug 17, 2023
e1b12ce
Add java_http .gitattributes file (#999)
alex-james-dev Aug 18, 2023
4c46550
Don't check the formatting of `ffigen`ed code (#1010)
brianquinlan Aug 23, 2023
a7bf903
JavaClient stream response body using byte arrays (#1007)
alex-james-dev Aug 24, 2023
c3025b3
Add response status code test (#1009)
alex-james-dev Aug 26, 2023
48ecf18
Clarify how to set the body without a content type header (#1014)
brianquinlan Aug 31, 2023
c776f39
Avoid passing a nullable value to Completer<nn-type>.complete (#1015)
srawlins Sep 12, 2023
662f6f3
Switch `cronet_http` to use jnigen (#1016)
brianquinlan Sep 12, 2023
594934b
Separate the cronet callbacks from the `send` method (#1017)
brianquinlan Sep 12, 2023
06fccb2
Cleanup `package:http` utils (#1011)
parlough Sep 14, 2023
062596a
Use efficient operations when copying bytes between Dart and Java (#1…
brianquinlan Sep 14, 2023
aa67b39
Remove invalid status line tests and replace them with valid status l…
brianquinlan Sep 15, 2023
903b8cf
Add the ability to control the URL cache. (#1020)
brianquinlan Sep 19, 2023
6edacd2
Bump actions/cache from 3.3.1 to 3.3.2 (#1023)
dependabot[bot] Oct 1, 2023
affc57b
Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (#1024)
dependabot[bot] Oct 1, 2023
d6d79ec
Bump actions/checkout from 3 to 4 (#1025)
dependabot[bot] Oct 1, 2023
c6c92b1
Prepare to release cronet 0.4.0 (#1031)
brianquinlan Oct 10, 2023
68c788f
Remove obsolete pigeon-generated file (#1032)
brianquinlan Oct 11, 2023
03fe4cb
Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#1038)
dependabot[bot] Nov 1, 2023
0c25432
Bump futureware-tech/simulator-action from 2 to 3 (#1037)
dependabot[bot] Nov 1, 2023
83e633b
Add a skeleton "http_profile" package (#1036)
brianquinlan Nov 2, 2023
d5cd338
Fix obsolete `CronetClient()` constructor usage (#1042)
brianquinlan Nov 2, 2023
cdde2e3
Require package:jni >= 0.7.1 to fix macOS build (#1041)
brianquinlan Nov 2, 2023
92d7362
Create a flutter example application that uses multiple client implem…
brianquinlan Nov 7, 2023
caa6556
Require a package:jni version without known buffer overflows (#1044)
brianquinlan Nov 9, 2023
96cf9e2
[http] use pkg:web, require Dart 3.2 (#1049)
kevmoo Nov 21, 2023
d3081f5
[http] Fix type cast for dart2wasm (#1050)
kevmoo Nov 21, 2023
fe916b5
Update platform-specific imports for wasm (#1051)
kevmoo Nov 21, 2023
141eeec
Update lints to latest, etc (#1048)
kevmoo Nov 22, 2023
4286486
[http] Allow pkg:web v0.3.0 (#1055)
kevmoo Nov 27, 2023
70062a9
Fix a bug where cronet_http sends incorrect HTTP request methods (#1058)
brianquinlan Nov 29, 2023
8d0bf7f
Update pubspec.yaml to 0.4.2 (#1059)
brianquinlan Nov 30, 2023
839ce12
misc cleanup of yaml files (#1061)
devoncarew Nov 30, 2023
eebcd07
Bump actions/setup-java from 3 to 4 (#1065)
dependabot[bot] Dec 1, 2023
be0da79
[http_client_conformance_tests] Updates to support wasm compilation (…
kevmoo Dec 2, 2023
042c01d
Document how to use replacement `Client` implementations (#1063)
brianquinlan Dec 4, 2023
60191b2
Add support for setting headers for all requests (#1060)
brianquinlan Dec 4, 2023
e888d9f
Add documentation for "no_default_http_client" (#1068)
brianquinlan Dec 4, 2023
78f1275
Test persistentConnection with large request bodies (#984)
brianquinlan Dec 4, 2023
98731e0
Document that runWithClient must be called for every isolate (#1069)
brianquinlan Dec 5, 2023
baf4886
Provide an example of configuring IOClient with an HttpClient. (#1074)
brianquinlan Dec 7, 2023
6c9893a
Fix a bug where BrowserClient was listed as requiring Flutter (#1077)
brianquinlan Dec 12, 2023
f2a13b1
Run web tests with wasm with dev Dart sdk (#1078)
kevmoo Dec 14, 2023
514197e
Add a fake response for PNG images (#1081)
brianquinlan Dec 15, 2023
cbc93d1
Prepare to publish cupertino 1.2.0 (#1080)
brianquinlan Dec 19, 2023
e895825
[cronet_http] Enables CI for `cronet_http_embedded` (#1070)
AlexV525 Dec 21, 2023
9ae9c17
cronet_http: require android API level 28 (#1088)
brianquinlan Dec 21, 2023
8d1cf72
Prepare to publish `package:cronet_http` as 1.0.0 (#1087)
brianquinlan Dec 21, 2023
d4de327
Bump actions/labeler from 4.3.0 to 5.0.0 (#1096)
dependabot[bot] Jan 1, 2024
e12c799
Fix `labeler.yml` (#1099)
mosuem Jan 3, 2024
539c3dd
Remove the "play-services-cronet" dependency in the example app when …
brianquinlan Jan 4, 2024
9735ef3
Use `package:http_image_provider` in all `Client` implementation exam…
brianquinlan Jan 8, 2024
05f4a7f
[cronet_http] ⬇️ Downgrade `minSdkVersion` to 21 (#1104)
AlexV525 Jan 11, 2024
2ecc538
Add tests for sending "cookie" and receiving "set-cookie" headers (#1…
brianquinlan Jan 12, 2024
9d5a719
Add the ability to get response headers as a `Map<String, List<String…
brianquinlan Jan 12, 2024
bc7fa36
Add a contributing guide (#1115)
brianquinlan Jan 13, 2024
30ddbf8
Add `BaseResponseWithUrl.url` (#1109)
brianquinlan Jan 16, 2024
999ab77
Support `BaseResponseWithUrl` in `package:cupertino_http` and `packag…
brianquinlan Jan 17, 2024
a5d9616
Use preferred flutter version constraints (#1119)
brianquinlan Jan 29, 2024
5badad9
Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (#1124)
dependabot[bot] Feb 1, 2024
1ba8c01
Bump actions/cache from 3.3.2 to 4.0.0 (#1125)
dependabot[bot] Feb 1, 2024
1185855
[http] Migrate to the latest pkg:web, require Dart 3.3 (#1132)
kevmoo Feb 15, 2024
ee4e429
blast repo changes: auto-publish, github-actions, no-response (#1133)
kevmoo Feb 16, 2024
77c45bb
Create a simple WebSocket interface (#1128)
brianquinlan Feb 20, 2024
fe5c72d
Populate package:http_profile (#1046)
derekxu16 Feb 21, 2024
8e867a9
Make it possible for `CronetClient` to own the lifetime of an existin…
brianquinlan Feb 22, 2024
3c9145b
👷 Update configuration related files (#1091)
AlexV525 Feb 23, 2024
03efa84
[cronet_http] 🏗️ Use dart-define to determine dependency (#1111)
AlexV525 Feb 23, 2024
7ab9d56
Fix incorrect documentation that used the old `isOwned` name (#1140)
brianquinlan Feb 29, 2024
3f59d39
Add a dart:io WebSocket implementation (#1139)
brianquinlan Feb 29, 2024
bb6508d
API adjustments based on cupertino_http usage experience (#1141)
brianquinlan Feb 29, 2024
1056f05
Split package:http_profile into multiple files (#1143)
brianquinlan Feb 29, 2024
3e7f084
Bump actions/setup-java from 4.0.0 to 4.1.0 (#1144)
dependabot[bot] Mar 1, 2024
d5b0926
Bump actions/cache from 4.0.0 to 4.0.1 (#1145)
dependabot[bot] Mar 1, 2024
12a01ed
Implement WebSocket for the browser (#1142)
brianquinlan Mar 4, 2024
17b3105
Add a LICENSE file to package:web_socket (#1147)
brianquinlan Mar 4, 2024
ae8f3a9
Include a description and version number in web_socket pubspec (#1148)
brianquinlan Mar 5, 2024
673db5d
Add `WebSocket.connect` as a cross-platform connection method (#1149)
brianquinlan Mar 5, 2024
e0963c9
Add support for negotiating a subprotocol (#1150)
brianquinlan Mar 7, 2024
bbd28dc
[package:http_profile] Store request and response bodies in the backi…
derekxu16 Mar 8, 2024
671b05b
Add getters to classes (#1151)
derekxu16 Mar 11, 2024
f14d775
Add a WebSocket implementation to package:cupertino_http (#1153)
brianquinlan Mar 19, 2024
ed417e8
Release `package:web_socket` 0.1.0 (#1155)
brianquinlan Mar 20, 2024
4ff554c
[cronet_http] Upgrade jni to 0.7.3 (#1156)
HosseinYousefi Mar 20, 2024
ccb4f1e
Prepare package:cronet_http 1.2 for release (#1157)
brianquinlan Mar 20, 2024
24695f0
Ready cupertino_http for release with WebSocket support (#1158)
brianquinlan Mar 22, 2024
d79cd91
cupertino_http: upgrade ffigen version (#1159)
brianquinlan Mar 25, 2024
3671640
[package:http_profile] Make connectionInfo a top-level field of HttpC…
derekxu16 Mar 27, 2024
b2a217a
Fix the connectionInfo getter (#1163)
brianquinlan Mar 27, 2024
5062666
[package:http_profile] Expand README.md (#1162)
derekxu16 Mar 27, 2024
f65947e
Ignore errors added to `bodySink`s (#1164)
brianquinlan Mar 28, 2024
baf9480
Add eq, toString and hash methods to HttpProfileRedirectData (#1165)
brianquinlan Mar 28, 2024
8a6f3dd
Make `test` a dev_dependency (#1166)
brianquinlan Mar 28, 2024
34b693c
Bump actions/cache from 4.0.1 to 4.0.2 (#1169)
dependabot[bot] Apr 1, 2024
d8a3a4f
Bump actions/setup-java from 4.1.0 to 4.2.1 (#1171)
dependabot[bot] Apr 1, 2024
c90aa19
Create a `package:web_socket` `WebSocket` from `dart:io` `WebSocket` …
brianquinlan Apr 4, 2024
a0b8817
Upgrade jni and jnigen to 0.8.0 (#1176)
HosseinYousefi Apr 10, 2024
6388f6c
Fix a StateError in IOWebSocket (#1177)
brianquinlan Apr 16, 2024
328cde1
Make the cupertino_http workflow work after 'macos-latest' upgrade (#…
brianquinlan Apr 25, 2024
067dacb
Use WebSocketConnectionClosed for operations after WebSocket close (#…
brianquinlan Apr 25, 2024
fe32309
Fix runWithClient link in README (#1184)
natebosch Apr 30, 2024
9b40e0b
Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (#1187)
dependabot[bot] May 1, 2024
37670fb
Eagerly free resources on `CupertinoClient.close()` (#1191)
brianquinlan May 2, 2024
5741969
blast_repo fixes (#1194)
devoncarew May 6, 2024
6ec3783
Prepare http_profile for publish (#1197)
brianquinlan May 14, 2024
8183912
[cronet] Use the same host and Android emulator architecture. (#1201)
brianquinlan May 16, 2024
b25b4ff
[cronet_http] Upgrade jni to 0.9.2 and publish 1.2.1 (#1198)
HosseinYousefi May 16, 2024
453d847
Get ready to publish cronet_http 1.2.1 (#1202)
brianquinlan May 17, 2024
8b221fd
Create a fake WebSocket implementation (#1200)
brianquinlan May 17, 2024
959bcf6
Add `topics` to `pubspec.yaml` (#1199)
jonasfj May 21, 2024
1163c98
[package:http_profile] Update experimental status notice in README.md…
derekxu16 May 22, 2024
eee7e55
Add explanation about why `package:web_socket` exists (#1207)
brianquinlan May 23, 2024
b974f99
Update `topics` in package "http" (#1205)
szakarias May 23, 2024
05fc4bc
Remove files that are covered by .gitignore (#1208)
brianquinlan May 23, 2024
811dbbe
Integrated cupertino_http with package_http_profile (#1079)
brianquinlan May 23, 2024
e6d17d3
Integrate cronet_http with `package:http_profile` (#1167)
brianquinlan May 23, 2024
60361ad
Ready cupertino_http 1.5 for publish (#1210)
brianquinlan May 23, 2024
fbc77d6
Allow `1000` as a WebSocket close code (#1211)
brianquinlan May 24, 2024
d6f9fbc
[cronet_http] Apply relevant rules with the ProGuard (#1204)
AlexV525 May 24, 2024
c04dfec
Add a skeleton package:ok_http (#1212)
brianquinlan May 28, 2024
0367894
Mark flutter .metadata files as generated (#1214)
natebosch May 28, 2024
9c5cadc
`ok_http`: Add BaseClient Implementation and make asynchronous reques…
Anikate-De May 31, 2024
461a259
pkgs/ok_http: Condense JNI Bindings to `single_file` structure, and a…
Anikate-De Jun 3, 2024
5d34305
pkgs/http_client_conformance_tests: add boolean flag `supportsFoldedH…
Anikate-De Jun 3, 2024
07ecbaf
pkgs/ok_http: Close the client (override `close()` from `BaseClient`)…
Anikate-De Jun 3, 2024
5673c2e
[cronet_http] Upgrade jnigen to 0.9.2 to close #1213 (#1225)
HosseinYousefi Jun 5, 2024
1978701
Prepare to release cronet_http 1.3.1 (#1228)
brianquinlan Jun 5, 2024
2507720
fix inconsistent test server behavior (#1227)
Anikate-De Jun 7, 2024
32e8f22
[ok_http]: Use the Android SDK to generate JNI bindings. (#1229)
Anikate-De Jun 10, 2024
05205f0
[pkgs/ok_http] Add functionality to accept and configure redirects. (…
Anikate-De Jun 11, 2024
550b665
Update README.md (#1231)
Jun 11, 2024
66792ee
pkgs/ok_http: Stream response bodies. (#1233)
Anikate-De Jun 13, 2024
a9d50cc
Add a note saying that we only create a single `Client`. (#1234)
brianquinlan Jun 24, 2024
22b65a6
pkgs/ok_http: DevTools Networking Support. (#1242)
Anikate-De Jun 24, 2024
cf6f902
Fix some minor spelling and grammar mistakes (#1239)
parlough Jun 24, 2024
5688101
Update various flutter.dev and dart.dev links (#1238)
parlough Jun 24, 2024
c0ceb70
Update lints (#1243)
kevmoo Jun 24, 2024
73e7f08
update lints (#1244)
kevmoo Jun 24, 2024
ca697dd
misc: add missing packages to root readme (#1245)
kevmoo Jun 25, 2024
1c02bf5
[cronet_http] Upgrade jni and jnigen to 0.9.3 (#1246)
HosseinYousefi Jun 25, 2024
12bb635
[cupertino_http] Fix a bug where content-length was not set for multi…
brianquinlan Jun 26, 2024
958b489
Call out more limitations of runWithClient (#1248)
natebosch Jun 27, 2024
19e79cc
Document that runWithClient should not be used with flutter (#1249)
brianquinlan Jun 27, 2024
ca76d77
Make it more clear to using use runWithClient in the Dart SDK. (#1250)
brianquinlan Jun 28, 2024
d7e7104
Add an section explaining the benefits of using `package:ok_http`. (#…
brianquinlan Jul 1, 2024
9d2c050
Bump the github-actions group across 1 directory with 4 updates (#1251)
dependabot[bot] Jul 2, 2024
bd5eb10
Upgrade to http_image_provider: 0.0.3 (#1253)
brianquinlan Jul 2, 2024
4803224
Clarify when Client.close must be called (#1255)
brianquinlan Jul 4, 2024
f20cec7
Upgrade jni and jnigen to 0.10.1 and 0.10.0 (#1261)
HosseinYousefi Jul 11, 2024
aefe82a
Prepare to publish cronet_http 1.3.2 (#1265)
brianquinlan Jul 11, 2024
74cf9e3
Document that widgets must be initialized before using the cronet_htt…
brianquinlan Jul 11, 2024
a86522a
Remove `runWithClient` Flutter example (#1263)
brianquinlan Jul 11, 2024
9f9ea32
Prepare to publish cupertino_http 1.5.1 (#1264)
brianquinlan Jul 12, 2024
8fe8312
Add WebSocket usage examples to cupertino_http (#1266)
brianquinlan Jul 13, 2024
d1714c6
web_socket: allow latest pkg:web (#1269)
kevmoo Jul 16, 2024
46acacc
Bump pkg:web dependency (#1272)
kevmoo Jul 16, 2024
5cfe93c
pkgs/ok_http: JNIgen fixes and added WebSocket support (#1257)
Anikate-De Jul 17, 2024
89d5863
Prepare to publish ok_http (#1274)
natebosch Jul 19, 2024
d0b1a77
[docs] Add ok_http entry to readme (#1285)
Anikate-De Aug 5, 2024
b9ccf81
[docs] sort pkg list in ascending order (#1287)
Anikate-De Aug 7, 2024
354c527
test(http_client_conformance_tests): Remove old skips (#1284)
provokateurin Aug 7, 2024
7d346e3
Fix "unintended_html_in_doc_comment" analysis errors (#1291)
brianquinlan Aug 13, 2024
da90263
pkgs/ok_http: OkHttpClientConfiguration and configurable timeouts. (#…
Anikate-De Aug 16, 2024
2087c98
Add PR Health workflow (#1296)
mosuem Aug 21, 2024
5c93d16
Add a reference to AdapterWebSocketChannel for WebSocketChannel users…
brianquinlan Aug 28, 2024
380aead
fix(http_client_conformance_tests): multipart server (#1292)
Zekfad Aug 28, 2024
fb4f82c
cupertino_http: Use `sharedDarwinSource` (#1290)
brianquinlan Aug 28, 2024
c969637
Convert a `java.lang.OutOfMemoryError` into a `ClientException` (#1299)
brianquinlan Aug 28, 2024
94d3dd2
Migrate to the dart_style DartFormatter API. (#1307)
munificent Sep 25, 2024
7dd7a4a
[cronet_http] Upgrade jni and jnigen to 0.12.0 (#1311)
HosseinYousefi Oct 2, 2024
c98fd6e
Pass language version to DartFormatter(). (#1317)
munificent Oct 15, 2024
0a45b35
Merge package:http2 into the http monorepo
mosuem Oct 17, 2024
69089e3
Add issue template and other fixes
mosuem Oct 17, 2024
ad1153e
Moving fixes
mosuem Oct 17, 2024
be3c929
Rename wf
mosuem Oct 17, 2024
16fa27f
Merge package:http_parser into the http monorepo
mosuem Oct 17, 2024
6a6ac34
Add issue template and other fixes
mosuem Oct 17, 2024
f321f54
Moving fixes
mosuem Oct 17, 2024
d9585fa
Fixes as per review
mosuem Oct 18, 2024
c46fe11
Fixes as per review
mosuem Oct 18, 2024
52cb5b9
Merge pull request #1319 from dart-lang/merge-http_parser-package
mosuem Oct 18, 2024
78fa9b7
Merge branch 'master' into merge-http2-package
mosuem Oct 18, 2024
43adbc8
Merge pull request #1318 from dart-lang/merge-http2-package
mosuem Oct 18, 2024
3f2ec5a
Replace Objective-C implemented delegates with Dart implementations (…
brianquinlan Oct 23, 2024
b88ccb8
Remove package:java_http (#1389)
brianquinlan Oct 24, 2024
8cc9862
Bump the github-actions group across 1 directory with 5 updates (#1392)
dependabot[bot] Oct 25, 2024
c9cb9ac
Switch to http_image_provider 1.0 (#1391)
brianquinlan Oct 28, 2024
d37f112
Prepare to publish cupertino_http 2.0.0 (#1390)
brianquinlan Oct 28, 2024
7fb131e
Drop outdated lint (#1395)
kevmoo Oct 30, 2024
bcd07ab
Fix a bug where cupertino_http did not work on iOS<17. (#1399)
brianquinlan Nov 5, 2024
4e031e1
Release package:cupertino_http 2.0.1 (#1400)
brianquinlan Nov 5, 2024
4e49aed
Upgrade flutter_http_example to cupertino_http (#1393)
brianquinlan Nov 6, 2024
f10ed1a
Add macOS tests for `package:cupertino_http` (#1403)
brianquinlan Nov 11, 2024
bf2fce2
Switch browser_client.dart to use fetch (#1401)
mraleph Nov 14, 2024
fde0878
Upgrade to `package:`objective_c` 4.0 (#1406)
brianquinlan Nov 15, 2024
9226c60
Include names in argument lists (#1408)
brianquinlan Nov 19, 2024
e91be50
Upgrade `ok_http` to `jnigen` 0.12.2 (#1405)
brianquinlan Dec 9, 2024
09f076e
fix https://github.com/dart-lang/http/issues/175
snoopdoggy322 Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.github/workflows/dart.yml linguist-generated=true
tool/ci.sh linguist-generated=true
pkgs/*/.metadata linguist-generated=true
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/1--package-http---failing-connection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: 1) package:http - Failing Connection
about: You are attempting to make a GET or POST and getting an unexpected exception
or status code.
title: ''
labels: package:http, type-bug
assignees: ''

---

**********************************************************
**This is not the repository you want to file issues in!**
**********************************************************

Note that a failing HTTP connection is almost certainly not caused by a bug in
package:http.

This package is a wrapper around the HttpClient from dart:io and HttpRequest
from dart:html. Before filing a bug here verify that the issue is not surfaced
when using those interfaces directly.

https://api.dart.dev/stable/dart-io/HttpClient-class.html
https://api.dart.dev/stable/dart-html/HttpRequest-class.html

# Common problems:

- A security policy prevents the connection.
- Running in an emulator that does not have outside internet access.
- Using Android and not requesting internet access in the manifest.
https://github.com/flutter/flutter/issues/29688

None of these problems are influenced by the code in this repo.

# Diagnosing:

- Attempt the request outside of Dart, for instance in a browser or with `curl`.
- Attempt the request with the dart:io or dart:html equivalent code paths.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/2--package-http---i-found-a-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: 2) package:http - I found a bug
about: You found that something which is expected to work, doesn't. The same capability
works when using `dart:io` or `dart:html` directly.
title: ''
labels: package:http, type-bug
assignees: ''

---

Please describe the bug and how to reproduce it.

Note that if the bug can also be reproduced when going through the interfaces provided by `dart:html` or `dart:io` directly the bug should be filed against the Dart SDK: https://github.com/dart-lang/sdk/issues

A failure to make an HTTP request is more often a problem with the environment than with the client.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/3--package-http---i-d-like-a-new-feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: 3) package:http - I'd like a new feature
about: You are using package:http and would like a new feature to make it easier
to make http requests.
title: ''
labels: package:http, type-enhancement
assignees: ''

---


10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/4--package-cronet_http---i-found-a-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: 4) package:cronet_http - I found a bug
about: You found that something which is expected to work, doesn't.
title: ''
labels: package:cronet_http, type-bug
assignees: brianquinlan

---


Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: 5) package:cronet_http - I'd like a new feature
about: You are using package:cronet_http and would like a new feature to make it easier
to make http requests.
title: ''
labels: package:cronet_http, type-enhancement
assignees: brianquinlan

---


Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: 6) package:cupertino_http - I found a bug
about: You found that something which is expected to work, doesn't.
title: ''
labels: package:cupertino_http, type-bug
assignees: brianquinlan

---


Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: 7) package:cupertino_http - I'd like a new feature
about: You are using package:cupertino_http and would like a new feature to make it
easier to make http requests.
title: ''
labels: package:cupertino_http, type-enhancement
assignees: brianquinlan

---


5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/http2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:http2"
about: "Create a bug or file a feature request against package:http2."
labels: "package:http2"
---
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/http_parser.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:http_parser"
about: "Create a bug or file a feature request against package:http_parser."
labels: "package:http_parser"
---
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Dependabot configuration file.
# See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates

version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
labels:
- autosubmit
groups:
github-actions:
patterns:
- "*"
29 changes: 29 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Configuration for .github/workflows/pull_request_label.yml.

'type-infra':
- changed-files:
- any-glob-to-any-file: '.github/**'

'package:cronet_http':
- changed-files:
- any-glob-to-any-file: 'pkgs/cronet_http/**'

'package:cupertino_http':
- changed-files:
- any-glob-to-any-file: 'pkgs/cupertino_http/**'

'package:http':
- changed-files:
- any-glob-to-any-file: 'pkgs/http/**'

'package:http2':
- changed-files:
- any-glob-to-any-file: 'pkgs/http2/**'

'package:http_parser':
- changed-files:
- any-glob-to-any-file: 'pkgs/http_parser/**'

'package:http_client_conformance_tests':
- changed-files:
- any-glob-to-any-file: 'pkgs/http_client_conformance_tests/**'
68 changes: 68 additions & 0 deletions .github/workflows/cronet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: package:cronet_http CI

on:
push:
branches:
- main
- master
paths:
- '.github/workflows/cronet.yml'
- 'pkgs/cronet_http/**'
- 'pkgs/http_client_conformance_tests/**'
pull_request:
paths:
- '.github/workflows/cronet.yml'
- 'pkgs/cronet_http/**'
- 'pkgs/http_client_conformance_tests/**'
schedule:
- cron: "0 0 * * 0"

env:
PUB_ENVIRONMENT: bot.github

jobs:
verify:
name: Format & Analyze & Test
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
cronetHttpNoPlay: ['false', 'true']
defaults:
run:
working-directory: pkgs/cronet_http
steps:
- name: Delete unnecessary tools 🔧
uses: jlumbroso/[email protected]
with:
android: false # Don't remove Android tools
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: 'zulu'
java-version: '17'
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
with:
channel: 'stable'
- id: install
name: Install dependencies
run: flutter pub get
- name: Check formatting
if: always() && steps.install.outcome == 'success'
run: dart format --output=none --set-exit-if-changed .
- name: Analyze code
if: always() && steps.install.outcome == 'success'
run: flutter analyze --fatal-infos
- name: Run tests
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d
if: always() && steps.install.outcome == 'success'
with:
# api-level/minSdkVersion should be help in sync in:
# - .github/workflows/cronet.yml
# - pkgs/cronet_http/android/build.gradle
# - pkgs/cronet_http/example/android/app/build.gradle
api-level: 21
arch: x86_64
target: ${{ matrix.cronetHttpNoPlay == 'true' && 'default' || 'google_apis' }}
script: cd pkgs/cronet_http/example && flutter test --dart-define=cronetHttpNoPlay=${{ matrix.cronetHttpNoPlay }} --timeout=1200s integration_test/
87 changes: 87 additions & 0 deletions .github/workflows/cupertino.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
name: package:cupertino_http CI

on:
push:
branches:
- main
- master
paths:
- '.github/workflows/cupertino.yml'
- 'pkgs/cupertino_http/**'
- 'pkgs/http_client_conformance_tests/**'
pull_request:
paths:
- '.github/workflows/cupertino.yml'
- 'pkgs/cupertino_http/**'
- 'pkgs/http_client_conformance_tests/**'
schedule:
- cron: "0 0 * * 0"

env:
PUB_ENVIRONMENT: bot.github

jobs:
macos:
name: "macOS: Format & Analyze & Test"
runs-on: macos-latest
defaults:
run:
working-directory: pkgs/cupertino_http
strategy:
matrix:
# Test on the minimum supported flutter version and the latest
# version.
flutter-version: ["3.24.0", "any"]
# It would be nice to test on older versions of macOS but macOS 13 is
# the oldest supported by GitHub.
os: [macos-13, macos-latest]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
with:
flutter-version: ${{ matrix.flutter-version }}
channel: 'stable'
- id: install
name: Install dependencies
run: flutter pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
if: always() && steps.install.outcome == 'success'
- name: Analyze code
run: flutter analyze --fatal-infos
if: always() && steps.install.outcome == 'success'
- name: Run tests
run: |
cd example
flutter pub get
flutter test -d macos integration_test/main.dart --test-randomize-ordering-seed=random
ios:
name: "iOS: Test"
runs-on: macos-latest
defaults:
run:
working-directory: pkgs/cupertino_http
strategy:
fail-fast: false
matrix:
# Test on the minimum supported flutter version and the latest
# version.
flutter-version: ["3.24.0", "any"]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
with:
flutter-version: ${{ matrix.flutter-version }}
channel: 'stable'
- id: install
name: Install dependencies
run: flutter pub get
- uses: futureware-tech/simulator-action@dab10d813144ef59b48d401cd95da151222ef8cd
with:
os: iOS
os_version: '>=13.0'
- name: Run tests
run: |
cd example
flutter pub get
flutter test integration_test/main.dart --test-randomize-ordering-seed=random
Loading
Loading